This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/48197] possible wrong code bug at -O0
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 19 Mar 2011 15:06:34 +0000
- Subject: [Bug c/48197] possible wrong code bug at -O0
- Auto-submitted: auto-generated
- References: <bug-48197-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48197
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-19 15:06:14 UTC ---
Created attachment 23723
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23723
gcc47-pr48197.patch
Maybe, but it might not be very easy, as it is related to diagnostics too (both
this routine issues warnings and I believe some warnings like -Wconversion rely
on the shortening too).
In the mean time, here is an untested fix.