target/5356: [PA-RISC] Generates bad code for indirect calls
falk.hueffner@student.uni-tuebingen.de
falk.hueffner@student.uni-tuebingen.de
Sat May 3 00:23:00 GMT 2003
Synopsis: [PA-RISC] Generates bad code for indirect calls
State-Changed-From-To: open->closed
State-Changed-By: falk
State-Changed-When: Sat May 3 00:13:36 2003
State-Changed-Why:
I can "nearly" reproduce this with 3.0.4:
% gcc-3.0 --version
3.0.4
% gcc-3.0 test.c && ./a.out
Calling via function pointer: 3.141593
Calling directly: 3.141593
% gcc-3.0 -O2 test.c && ./a.out
Calling via function pointer: 0.000000
Calling directly: 0.000000
I guess 3.0.3 -> 3.0.4 shifted the bug slightly.
However, I cannot reproduce it with 3.2 anymore, so I close the bug.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5356
More information about the Gcc-bugs
mailing list