--- Comment #3 from rguenth at gcc dot gnu dot org 2010-04-02 12:50 ---
Really a CCP bug.
int flag;
extern void abort (void);
int main()
{
int x;
if (flag)
x = -1;
else
x = 0xff;
if (x ~0xff)
abort ();
return 0;
}
--
rguenth at gcc dot gnu dot org changed:
--- Comment #4 from julien dot etienne at gmail dot com 2010-04-02 15:03
---
What about using -O1 -fno-tree-ccp as a workaround rather than -O1
-fno-tree-rsa ?
Isn't it more efficient and more related to the root cause ?
Thanks for your help.
FYI: I was unable to check out the trunk
--- Comment #5 from rguenther at suse dot de 2010-04-02 15:04 ---
Subject: Re: [4.3/4.4/4.5 Regression] Struct
to register optimization fails
On Fri, 2 Apr 2010, julien dot etienne at gmail dot com wrote:
--- Comment #4 from julien dot etienne at gmail dot com 2010-04-02 15:03
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-04-02 16:50 ---
Subject: Bug 43629
Author: rguenth
Date: Fri Apr 2 16:50:04 2010
New Revision: 157944
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157944
Log:
2010-04-02 Richard Guenther rguent...@suse.de
PR