From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19404 invoked by alias); 2 Jul 2004 03:19:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 19397 invoked by uid 48); 2 Jul 2004 03:19:25 -0000 Date: Fri, 02 Jul 2004 03:19:00 -0000 Message-ID: <20040702031925.19396.qmail@sourceware.org> From: "wilson at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040702031629.16325.wilson@gcc.gnu.org> References: <20040702031629.16325.wilson@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/16325] value profiling clobbers gp on mips X-Bugzilla-Reason: CC X-SW-Source: 2004-07/txt/msg00119.txt.bz2 List-Id: ------- 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