[Bug tree-optimization/40635] bogus name and location in 'may be used uninitialized' warning
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 19 10:17:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40635
--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to philipp from comment #4)
> I have this or a very similar problem with debian amd64 4:4.8.2-1:
>
> main.c: In function ‘main’:
> main.c:1231:23: error: ‘rv’ may be used uninitialized in this function
> [-Werror=maybe-uninitialized]
> return (rv_main >= 0 && rv_main < 0x70) ? rv_main : 1;
Can you attach a small, preprocessed testcase? See
http://gcc.gnu.org/bugs/minimize.html
More information about the Gcc-bugs
mailing list