[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-12-08 Thread dominiq at lps dot ens dot fr
--- Comment #10 from dominiq at lps dot ens dot fr 2009-12-08 09:56 --- I had a look at the problem and found that it is due to the -lm flag used in the test suite. The test in comment #9 gives for x86_64-apple-darwin10: [macbook] f90/bug% a.out 2 0 [macbook] f90/bug% gcc45 pr42074.c -

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-12-08 Thread ghazi at gcc dot gnu dot org
--- Comment #9 from ghazi at gcc dot gnu dot org 2009-12-08 08:08 --- Jack, what does this program do on darwin9 and darwin10? (The correct output is "2 0".) int main(void) { volatile _Complex double val = (__DBL_MAX__ * 0.5 + __DBL_MAX__ * 0.5i); val /= (__DBL_MAX__ * 0.25 + __DBL_

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-12-07 Thread ghazi at gcc dot gnu dot org
--- Comment #8 from ghazi at gcc dot gnu dot org 2009-12-08 07:18 --- Here's a reduced testcase for the -flto/-fwhopr failures. If you compile it with "-O2 -flto" or "-O2 -fwhopr" you get the wrong answers: nan nan nan nan If you use just -O2, you get the correct output, i.e. it contai

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-12-07 Thread ghazi at gcc dot gnu dot org
--- Comment #7 from ghazi at gcc dot gnu dot org 2009-12-08 06:10 --- I took a quick look. First, there seems to be two separate bugs reported here. One bug, reported by HJ, appears to be lto/whopr related, and so happens on systems lto is activated. The other bug is specific to Darwi

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-12-07 Thread howarth at nitro dot med dot uc dot edu
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2009-12-08 00:36 --- Created an attachment (id=19255) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19255&action=view) assembly of reduced builtin-math-7 test case on x86_64-apple-darwin10 compiled at -O0. -- http://

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-12-07 Thread howarth at nitro dot med dot uc dot edu
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2009-12-08 00:35 --- Created an attachment (id=19254) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19254&action=view) preprocessed source of reduced builtin-math-7 test case on x86_64-apple-darwin10 -- http://gcc.gn

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-12-07 Thread howarth at nitro dot med dot uc dot edu
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2009-12-08 00:34 --- On x86_64-apple-darwin10, the section of the test case that is failing is... /* Test that we don't overflow. */ TESTIT (double, (__DBL_MAX__ * 0.5 + __DBL_MAX__ * 0.5i), /,

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-12-07 Thread howarth at nitro dot med dot uc dot edu
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2009-12-07 16:54 --- Oddly these errors don't show up on x86_64-apple-darwin9 built with mpc 0.8. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42074

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-11-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2009-11-17 03:56 --- On x86_64-apple-darwin10 with MPC 0.8, we are getting... FAIL: gcc.dg/torture/builtin-math-7.c -O0 execution test FAIL: gcc.dg/torture/builtin-math-7.c -O1 execution test FAIL: gcc.dg/torture/builtin-m

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-11-16 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-11-17 01:47 --- I'm also seeing this. -- paolo dot carlini at oracle dot com changed: What|Removed |Added