other/8403: ICE in gcc/testsuite/gcc.c-torture/execute/20010122-1.c for sh-elf target.

naveens@noida.hcltech.com naveens@noida.hcltech.com
Wed Oct 30 05:15:00 GMT 2002


>Number:         8403
>Category:       other
>Synopsis:       ICE in gcc/testsuite/gcc.c-torture/execute/20010122-1.c for sh-elf target.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 30 04:25:59 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Naveen sharma
>Release:        3.3 20020919
>Organization:
>Environment:
System: Linux 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: sh-unknown-elf
configured with: ../gcc/configure --target=sh-elf --prefix=/home/naveens/debug --with-ld=/home/gnu/local/bin/sh-elf-ld --with-as=/home/gnu/local/bin/sh-elf-as --with-newlib --with-libs=/home/naveens/newlib/sh-elf/lib --with-headers=/home/naveens/newlib/sh-elf/include --enable-languages=c,c++ --enable-checking=rtl
>Description:
The test case:

gcc/testsuite/gcc.c-torture/execute/20010122-1.c
gives an ICE when rtl checking is enabled.
>How-To-Repeat:
$ sh-elf-gcc  -ml -m4 -O1 20010122-1.c

20010122-1.c: In function `test4a':
20010122-1.c:47: warning: unsupported arg to `__builtin_return_address'
20010122-1.c: In function `test5a':
20010122-1.c:62: warning: unsupported arg to `__builtin_return_address'
20010122-1.c: In function `test6a':
20010122-1.c:76: warning: unsupported arg to `__builtin_return_address'
20010122-1.c: In function `test9':
20010122-1.c:112: internal compiler error: RTL check: expected code `reg', have `mem' in calc_live_regs, at config/sh/sh.c:4422
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list