This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/29592] Unending loops



------- Comment #7 from darkjames at darkjames dot ath dot cx  2006-10-25 17:24 -------
Ok, one more question, is it possible to gcc print some warnings about code
like that? Cause even with -Wall it doesn't ;( 
gcc4 is quite more verbose than gcc3 so I think 
It'll be better to print warning about situation which doesn't even generate
invalid code...

which actually -Wstrict-aliasing does (according to manpage), but neither
-Wstrict-aliasing nor -Wstrict-aliasing=2 prints warning in that testcode...

I hope it's possible, thx for all.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29592


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]