From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15967 invoked by alias); 12 May 2003 15:56:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 15884 invoked by uid 71); 12 May 2003 15:56:01 -0000 Date: Mon, 12 May 2003 15:56:00 -0000 Message-ID: <20030512155601.15864.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Peter Barada Subject: Re: target/8309: [3.2/? regression][m68k] m68k-elf-gcc -m5200 produces erroneous SImode set of short varaible on stack Reply-To: Peter Barada X-SW-Source: 2003-05/txt/msg01241.txt.bz2 List-Id: The following reply was made to PR target/8309; it has been noted by GNATS. From: Peter Barada To: giovannibajo@libero.it, Peter.Barada@motorola.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: target/8309: [3.2/? regression][m68k] m68k-elf-gcc -m5200 produces erroneous SImode set of short varaible on stack Date: Mon, 12 May 2003 11:48:55 -0400 >you reported this bug about 6 months ago. Can you confirm whether it's >still present in 3.3 branch and mainline today? Thanks, Ok, I pulled out the prerelease of gcc-3.3 and I still see this problem: [pbarada: /tmp] > /tmp/m68k-elf-3.3/bin/m68k-elf-gcc -v Reading specs from /tmp/m68k-elf-3.3/lib/gcc-lib/m68k-elf/3.3/specs Configured with: /home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-3.3-20030508/configure --target=m68k-elf --prefix=/tmp/m68k-elf-3.3 --enable-languages=c --with-local-prefix=/tmp/m68k-elf-3.3/m68k-elf --without-headers --with-newlib --disable-shared --verbose Thread model: single gcc version 3.3 20030509 (prerelease) [pbarada: /tmp] > /tmp/m68k-elf-3.3/bin/m68k-elf-gcc -O2 -fno-common -ffixed-a2 -m5200 -S -o yy.s yy.c -dp -da yy.c.11.gcse: (insn 230 228 231 9 0x4001f420 (set (reg:SI 94) (plus:SI (subreg:SI (reg/v:HI 40) 0) (const_int 1 [0x1]))) 100 {*addsi3_5200} (nil) (nil)) (insn 231 230 232 9 0x4001f420 (set (reg/v:HI 40) (subreg:HI (reg:SI 94) 2)) 33 {*m68k.md:1024} (nil) (nil)) yy.c.23.lreg: (insn 231 230 232 10 0x4001f420 (set (subreg:SI (reg/v:HI 40) 0) (plus:SI (subreg:SI (reg/v:HI 40) 0) (const_int 1 [0x1]))) 100 {*addsi3_5200} (nil) (nil)) (insn 232 231 235 10 0x4001f420 (set (reg/f:SI 15 %sp) (plus:SI (reg/f:SI 15 %sp) (const_int 8 [0x8]))) 100 {*addsi3_5200} (nil) (nil)) yy.c.24.greg: (note 230 228 371 10 NOTE_INSN_DELETED) (insn 371 230 231 10 (nil) (set (reg:SI 1 %d1) (const_int 1 [0x1])) 30 {*m68k.md:993} (nil) (nil)) (insn 231 371 232 10 0x4001f420 (set (mem:SI (plus:SI (reg/f:SI 14 %a6) (const_int -38 [0xffffffda])) [23 rotate S4 A16]) (plus:SI (mem:SI (plus:SI (reg/f:SI 14 %a6) (const_int -38 [0xffffffda])) [23 rotate S4 A16]) (reg:SI 1 %d1))) 100 {*addsi3_5200} (nil) (nil)) Note that in yy.c.11.gcse insn 231 was (set (mem:HI...)), and in yy.c.24.greg is (set (mem:SI...))