This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/16010] Generated code segfaults with -mpa-risc-2-0 and -O1/-O2


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]