[Bug middle-end/40547] comparison in lhs of ?: incorrectly converted to unsigned min
--- Comment #3 from mikpe at it dot uu dot se 2009-10-21 10:51 --- *** This bug has been marked as a duplicate of 40747 *** -- mikpe at it dot uu dot se changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40547
[Bug middle-end/40547] comparison in lhs of ?: incorrectly converted to unsigned min
--- Comment #1 from mikpe at it dot uu dot se 2009-06-24 22:25 --- Created an attachment (id=18063) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18063action=view) test case test case illustrating the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40547
[Bug middle-end/40547] comparison in lhs of ?: incorrectly converted to unsigned min
--- 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=18064action=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