------- Comment #14 from dominiq at lps dot ens dot fr 2009-12-14 20:42 ------- When compiled with '-m64 -O1 -frename-registers' the code in comment #6 fails, but passes with ''-m64 -O1'.
> If no calls remain in the assembly as dominiq suggests then the > *call_value_nonlocal_darwin64 pattern must be bogus. I do not see "call", but in both cases ... bl L_casinf$stub ... which I understand as an other form of call. So the darwin math lib seems to work correctly when -frename-registers is not used. I'll attach the assembly generated with/without the option. -- dominiq at lps dot ens dot fr changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |UNCONFIRMED Summary|[4.5 Regression] FAIL: |[4.5 Regression] FAIL: |gfortran.dg/complex_intrinsi|gfortran.dg/complex_intrinsi |c_5.f90 -m64 -O -frename- |c_5.f90 -m64 -O -frename- |registers -fomit-frame- |registers |pointers | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42220