target/10236: SH: Failure in gcc/testsuite/gcc.c-torture/execute/va-arg-10.c
naveens@noida.hcltech.com
naveens@noida.hcltech.com
Thu Mar 27 09:26:00 GMT 2003
>Number: 10236
>Category: target
>Synopsis: SH: Failure in gcc/testsuite/gcc.c-torture/execute/va-arg-10.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Thu Mar 27 06:06:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Naveen Sharma
>Release: gcc version 3.4 20030325 (experimental)
>Organization:
>Environment:
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: sh-unknown-elf
configured with: ../../combined/configure --target=sh-elf --prefix=/home/naveens/hawk/sh --enable-languages=c --enable-checking=rtl
>Description:
When the following file in gcc testsuite
gcc/testsuite/gcc.c-torture/execute/va-arg-10.c
is compiled as follows:
~/hawk/sh/bin/sh-elf-gcc -ml -m3 -O3 -g va-arg-10.c
the compiler aborts with the following message:
va-arg-10.c: In function `f4':
va-arg-10.c:88: internal compiler error: RTL check: expected code `subreg', have `post_inc' in mem_loc_descriptor, at dwarf2out.c:8398
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
Comopile the TC using "-O3 -g" options.
The problem does not occur at O1 or O2 optimization
levels.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list