[Bug bootstrap/49908] -lm missing after -lmpc

2021-07-18 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49908

--- Comment #5 from Marc Glisse  ---
(In reply to Andrew Pinski from comment #4)
> GCC builds now with the c++ which means this won't show up.

Just because g++ has an implicit -lm doesn't mean that any random 3rd-party C++
compiler does too.
(I don't really care about this PR though, I don't mind it being closed)

[Bug bootstrap/49908] -lm missing after -lmpc

2021-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49908

Andrew Pinski  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED
   Target Milestone|--- |7.0

--- Comment #4 from Andrew Pinski  ---
GCC builds now with the c++ which means this won't show up.  So closing as
fixed.

[Bug bootstrap/49908] -lm missing after -lmpc

2011-07-29 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49908

--- Comment #3 from Marc Glisse  2011-07-29 
22:18:52 UTC ---
(In reply to comment #2)
> > Normally most compilers inline cimag and creal.  Seems weird that Sun's
> > compiler does not.
> It does on a trivial testcase. I'll try to see why it doesn't in mpc.

Er, forget that, different PATH in this terminal :-(
Even with -fast (which implies -xbuiltin=%all), oracle solaris studio 12.3
never inlines cimag...


[Bug bootstrap/49908] -lm missing after -lmpc

2011-07-29 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49908

--- Comment #2 from Marc Glisse  2011-07-29 
22:09:21 UTC ---
(In reply to comment #1)
> Normally most compilers inline cimag and creal.  Seems weird that Sun's
> compiler does not.

It does on a trivial testcase. I'll try to see why it doesn't in mpc.


[Bug bootstrap/49908] -lm missing after -lmpc

2011-07-29 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49908

--- Comment #1 from Andrew Pinski  2011-07-29 
21:59:32 UTC ---
Normally most compilers inline cimag and creal.  Seems weird that Sun's
compiler does not.