http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52286
--- Comment #9 from Jakub Jelinek 2012-02-20
12:19:54 UTC ---
Author: jakub
Date: Mon Feb 20 12:19:47 2012
New Revision: 184391
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184391
Log:
PR tree-optimization/52286
* fold-const.c (
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52286
Richard Guenther changed:
What|Removed |Added
Target Milestone|--- |4.6.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52286
--- Comment #8 from Jakub Jelinek 2012-02-17
11:17:12 UTC ---
Created attachment 26694
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26694
gcc47-pr52286.patch
Untested fix.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52286
--- Comment #7 from Jakub Jelinek 2012-02-17
10:31:14 UTC ---
Yeah, the bug is in fold-const.c, working on a fix already.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52286
--- Comment #6 from Andrew Pinski 2012-02-17
04:52:36 UTC ---
Note VRP has the same issue.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52286
--- Comment #5 from Andrew Pinski 2012-02-17
04:50:20 UTC ---
double_int_negative_p is returning true because of that.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52286
Andrew Pinski changed:
What|Removed |Added
Keywords||wrong-code
Component|c