[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test-sprintf-posix and test-snprintf-posix test failures
From: |
Collin Funk |
Subject: |
Re: test-sprintf-posix and test-snprintf-posix test failures |
Date: |
Tue, 30 Apr 2024 19:33:59 -0700 |
User-agent: |
Mozilla Thunderbird |
Hi Bruno,
On 4/28/24 2:11 AM, Bruno Haible wrote:
> Correct. I added a comment, because the situation in ISO C and POSIX has
> changed, not too long ago.
It took me a bit to understand what was happening. Thanks for the
explination. I'm glad the standard has changed to accomodate with
glibc and others already did.
> Perfect! Thank you. You also found out in which corner of GCC the faulty
> optimization lies!
Yeah, I had a fun time exploring some of gcc. :)
Since the bug exists from GCC 7.1 ("starts from" on the report) to GCC
15, should those two test cases be updated? Maybe an '#if ...' or even
just a comment so it isn't reported as a new bug in the future.
Thanks.
Collin