[Bug target/16010] Generated code segfaults with -mpa-risc-2-0 and -O1/-O2
danglin at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jun 16 03:15:00 GMT 2004
------- Additional Comments From danglin at gcc dot gnu dot org 2004-06-16 03:15 -------
I believe this is a duplicate of PR 11884.
PA 2.0 code is always generated for hppa64, so the -mpa-risc-2-0
option is irrelevant.
The problem relates to taking the address of the 9th argument
of the call to fb. The hppa64 port is unique as far as I know
in using an arg pointer register that is call clobbered. The
arg pointer for the call to fb gets lost in the first call to
fa and incorrect code is generated for the second call to fa.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16010
More information about the Gcc-bugs
mailing list