[Bug c/65244] Bogus -Wmaybe-uninitialized warning with posix_memalign() and -Og

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 27 21:48:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65244

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Ulf Magnusson from comment #4)
> Created attachment 34894 [details]
> -Wmaybe-uninitialized-warning with -Og with GCC 4.9.1
> 
> The testcase was in the comment. I'm attaching it.

Please read the link that I posted. We need "preprocessed" code because the
stdlib.h of Apple may be doing something weird which is confusing GCC.


More information about the Gcc-bugs mailing list