[Bug lto/42074] gcc.dg/torture/builtin-math-7.c fails with -flto or -fwhopr

ghazi at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 8 16:36:00 GMT 2009



------- Comment #11 from ghazi at gcc dot gnu dot org  2009-12-08 16:35 -------
(In reply to comment #10)
> I had a look at the problem and found that it is due to the -lm flag used in
> the test suite. [...]
> and tgcc.dg/torture/builtin-math-7.c passes when it is compiled manually
> without -lm.

Thanks.  Clearly now these are separate bugs.  I've opened PR42333 for the
darwin10 issue.  Let's continue the discussion about that problem in that PR.

This PR will remain solely for the -flto/-fwhopr failures.  I've modified the
description accordingly.  Someone who understands LTO needs to investigate the
code from comment#8.


-- 

ghazi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|gcc.dg/torture/builtin-math-|gcc.dg/torture/builtin-math-
                   |7.c failed                  |7.c fails with -flto or -
                   |                            |fwhopr


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42074



More information about the Gcc-bugs mailing list