[Bug middle-end/40547] comparison in lhs of ?: incorrectly converted to unsigned min
mikpe at it dot uu dot se
gcc-bugzilla@gcc.gnu.org
Wed Jun 24 22:29:00 GMT 2009
------- Comment #2 from mikpe at it dot uu dot se 2009-06-24 22:29 -------
Created an attachment (id=18064)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18064&action=view)
proposed patch fixing this error
This patch adapts Paolo Bonzini's patch for PR39867 to handle the remaining two
cases in fold_cond_expr_with_comparison that produce MIN rather than MAX.
Bootstrapped on i686-pc-linux-gnu and verified to fix the test case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40547
More information about the Gcc-bugs
mailing list