This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16325] value profiling clobbers gp on mips
- From: "wilson at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2004 03:19:25 -0000
- Subject: [Bug target/16325] value profiling clobbers gp on mips
- References: <20040702031629.16325.wilson@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From wilson at gcc dot gnu dot org 2004-07-02 03:19 -------
Created an attachment (id=6672)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6672&action=view)
Reduced C language testcase
Compile this with -O -fprofile-generate -mabi=32 on any mips*-linux-gnu system,
and run it. It will generate a bus error because the gp reg was clobbered.
This fails with both gcc-3.4.x and mainline.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16325