[Bug tree-optimization/20922] missed always false conditional

2005-04-24 Thread markus at oberhumer dot com
--- Additional Comments From markus at oberhumer dot com 2005-04-25 01:01 --- Ah, many thanks for the clarification. Still it's somewhat confusing that f1() and g1() don't agree after inlining, but "undefined" probably means exactly that... -- http://gcc.gnu.org/bugzilla/show_bug.cg

[Bug tree-optimization/20922] missed always false conditional

2005-04-24 Thread jim dot morrison at gmail dot com
--- Additional Comments From jim dot morrison at gmail dot com 2005-04-25 00:42 --- Subject: Re: missed always false conditional On 25 Apr 2005 00:39:23 -, markus at oberhumer dot com <[EMAIL PROTECTED]> wrote: > > > -- >What|Removed |Added > -

[Bug tree-optimization/20922] missed always false conditional

2005-04-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-25 00:40 --- (In reply to comment #15) > Is this optimization really legal in C/C++? Could some language lawyer look at > this (and check the output when compiling with -O3): Overflow/Underflow of signed operands in C/C+

[Bug tree-optimization/20922] missed always false conditional

2005-04-24 Thread markus at oberhumer dot com
--- Additional Comments From markus at oberhumer dot com 2005-04-25 00:38 --- Is this optimization really legal in C/C++? Could some language lawyer look at this (and check the output when compiling with -O3): #include int f1(int i) { return (i - 2) > i; } int f2(int i) { return (i

[Bug tree-optimization/20922] missed always false conditional

2005-04-18 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20922

[Bug tree-optimization/20922] missed always false conditional

2005-04-18 Thread phython at gcc dot gnu dot org
--- Additional Comments From phython at gcc dot gnu dot org 2005-04-18 15:20 --- Fixed in the last commit. -- What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/20922] missed always false conditional

2005-04-18 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-18 15:18 --- Subject: Bug 20922 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-04-18 15:18:22 Modified files: gcc: ChangeLog fold-const.c gcc/t

[Bug tree-optimization/20922] missed always false conditional

2005-04-16 Thread phython at gcc dot gnu dot org
--- Additional Comments From phython at gcc dot gnu dot org 2005-04-16 17:12 --- Created an attachment (id=8654) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8654&action=view) Fold stuff -- What|Removed |Added -

[Bug tree-optimization/20922] missed always false conditional

2005-04-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-11 19:49 --- Confirmed, the code which does this on the RTL level is in simplify_const_relational_operation. -- What|Removed |Added --

[Bug tree-optimization/20922] missed always false conditional

2005-04-10 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-10 23:43 --- Note this is only true with -fno-wrapv (which is default for C and C++ and I think Fortran too but not Java). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20922

[Bug tree-optimization/20922] missed always false conditional

2005-04-10 Thread kazu at cs dot umass dot edu
-- What|Removed |Added CC||kazu at cs dot umass dot edu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20922

[Bug tree-optimization/20922] missed always false conditional

2005-04-10 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-10 21:06 --- This is not caught untill RTL combine. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20922

[Bug tree-optimization/20922] missed always false conditional

2005-04-10 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||19986 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20922

[Bug tree-optimization/20922] missed always false conditional

2005-04-10 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-10 21:02 --- Reduced testcase showing fold does not do it: int f(int i) { return (i - 2) > i; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20922