[Bug tree-optimization/39643] [4.5 Regression]: cris-elf gcc.dg/torture/builtin-math-3.c -O1 and -Os sincos one

2009-04-06 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-04-06 11:14 --- For cris-axis-elf we do not fold one_1 = 1.0e+0; oneL_2 = 1.0e+0; __builtin_sincos (1.0e+0, s, c); to a constant because __builtin_sincos did not get transformed to __builtin_cexpi. We fold it later via the

[Bug tree-optimization/39643] [4.5 Regression]: cris-elf gcc.dg/torture/builtin-math-3.c -O1 and -Os sincos one

2009-04-06 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-04-06 11:00 --- Ok, I can see at least one missed CCP optimization when looking at what the x86_64 target produces. Now building a cross to see why for cris the second CCP pass together with either FRE or DOM or the third CCP pass

[Bug tree-optimization/39643] [4.5 Regression]: cris-elf gcc.dg/torture/builtin-math-3.c -O1 and -Os sincos one

2009-04-06 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-04-06 14:16 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/39643] [4.5 Regression]: cris-elf gcc.dg/torture/builtin-math-3.c -O1 and -Os sincos one

2009-04-06 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-04-06 14:16 --- Subject: Bug 39643 Author: rguenth Date: Mon Apr 6 14:16:15 2009 New Revision: 145604 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=145604 Log: 2009-04-06 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/39643] [4.5 Regression]: cris-elf gcc.dg/torture/builtin-math-3.c -O1 and -Os sincos one

2009-04-05 Thread rguenther at suse dot de
--- Comment #1 from rguenther at suse dot de 2009-04-05 18:07 --- Subject: Re: New: [4.5 Regression]: cris-elf gcc.dg/torture/builtin-math-3.c -O1 and -Os sincos one On Sat, 4 Apr 2009, hp at gcc dot gnu dot org wrote: With revision 145488 this test passed. From revision 145495

[Bug tree-optimization/39643] [4.5 Regression]: cris-elf gcc.dg/torture/builtin-math-3.c -O1 and -Os sincos one

2009-04-05 Thread hp at gcc dot gnu dot org
--- Comment #2 from hp at gcc dot gnu dot org 2009-04-05 22:00 --- (In reply to comment #1) Can you 1) reduce the testcase and attach preprocessed source that works with a cross-compiler, The test-case was already self-contained and had little context-sensitiveness due to the

[Bug tree-optimization/39643] [4.5 Regression]: cris-elf gcc.dg/torture/builtin-math-3.c -O1 and -Os sincos one

2009-04-05 Thread hp at gcc dot gnu dot org
--- Comment #3 from hp at gcc dot gnu dot org 2009-04-05 22:05 --- Created an attachment (id=17591) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17591action=view) Reduced gcc.dg/torture/builtin-math-3.c The two lines causing link_error() to be called as in the linker error