Open sylt opened 5 days ago
Dupe of #167 I believe, which is resolved on the development branch. So, closing...
@eyalroz Thanks for having a look! Perhaps I'm mistaken though but I don't think it's a dupe: The fix for #167 is, according to git log
, already present on master. Therefore, in my reproduction steps (which is based on master), I don't think I should see it if actually was a dupe, or?
You are right, actually.
I've run the command-line you've provided. Interestingly, one gets the error with gcc-13 (13.3.0); but with gcc-14 (14.2.0) there is no warning!
Also, I now notice that it's a different line than the one I added the fix for in #167. So, not a dupe, but still already resolved on development.
Hmm, maybe I misunderstood the bug process, I thought that bugs fixed on development (but are valid on master) were kept open, but with the added label "resolved-on-develop" ?
Well, you didn't misunderstand, but since it's a compiler bug, I don't think it makes sense to keep this open. But I'm kind of wishy-washy, so let's say it's open-and-resolved-on-dev
First of all, this is not reproducible on the
develop
branch as of writing this.How to reproduce (on the current master):
Yielding the output:
I've only seen this on GCC 13.2 (no warning on 9, 11, nor 12), compiling for/on x86-64.
If one doesn't need support for the specifiers
%[egEG]
, the easiest way to work around it is to add-DPRINTF_SUPPORT_EXPONENTIAL_SPECIFIERS=0
when compiling.