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/16325] value profiling clobbers gp on mips


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


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