From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5798 invoked by alias); 16 Oct 2004 19:31:13 -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 5786 invoked by uid 48); 16 Oct 2004 19:31:12 -0000 Date: Sat, 16 Oct 2004 19:31:00 -0000 Message-ID: <20041016193112.5785.qmail@sourceware.org> From: "hjl at lucon dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040829002954.17224.tege-gcc@swox.com> References: <20040829002954.17224.tege-gcc@swox.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/17224] [3.4/4.0 Regression]: relocation truncated to fit: GPREL22 X-Bugzilla-Reason: CC X-SW-Source: 2004-10/txt/msg02271.txt.bz2 List-Id: ------- Additional Comments From hjl at lucon dot org 2004-10-16 19:31 ------- This is a 3.4/4.0 regression. Gcc 3.2 generates correct code: .file "foo.c" .pred.safe_across_calls p1-p5,p16-p63 .sbss .align 4 .type n.0#,@object .size n.0#,4 n.0: .skip 4 .text .align 16 .global main# .proc main# main: .prologue .body .mib nop 0 mov r8 = r14 br.ret.sptk.many b0 .endp main# .align 16 .global foo# .proc foo# foo: .prologue .body .mlx addl r2 = @gprel(n.0#), gp movl r3 = -357910392 ;; .mib nop 0 add r8 = r2, r3 br.ret.sptk.many b0 .endp foo# .ident "GCC: (GNU) 3.2.3 20030502 (Red Hat Linux 3.2.3-42)" -- What |Removed |Added ---------------------------------------------------------------------------- Summary|relocation truncated to fit:|[3.4/4.0 Regression]: |GPREL22 |relocation truncated to fit: | |GPREL22 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17224