optimization/3715: abort in verify_wide_reg_1
Andreas Schwab
schwab@suse.de
Tue Jul 17 12:06:00 GMT 2001
>Number: 3715
>Category: optimization
>Synopsis: abort in verify_wide_reg_1
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Tue Jul 17 12:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 3.0.1 20010717 (prerelease)
>Organization:
>Environment:
System: Linux sykes 2.4.4-SMP #1 SMP Fri Jun 8 09:14:46 GMT 2001 ia64 unknown
Architecture: ia64
host: ia64-unknown-linux-gnu
build: ia64-unknown-linux-gnu
target: m68k-unknown-linux-gnu
configured with: /cvs/branch/gcc/configure --target=m68k-linux --prefix=/usr/local/m68k-linux --enable-languages=c++ --with-ld=/usr/local/m68k-linux/m68k-linux/bin/ld --with-as=/usr/local/m68k-linux/m68k-linux/bin/as --disable-shared : (reconfigured) /cvs/branch/gcc/configure --target=m68k-linux --prefix=/usr/local/m68k-linux --enable-languages=c++ --with-ld=/usr/local/m68k-linux/m68k-linux/bin/ld --with-as=/usr/local/m68k-linux/m68k-linux/bin/as --disable-shared
>Description:
verify_wide_reg_1 is aborting because it is called with '(reg/v:SI
0 %d0 [24])'.
>How-To-Repeat:
$ cat xx.i
extern int *__errno_location (void) __attribute__ ((__const__));
void *__curbrk = 0;
int
__brk (void *addr)
{
void *newbrk;
{
register long d0 __asm__ ("%d0");
asm ("move%.l %2, %%d1\n"
"trap #0"
: "=d" (d0)
: "0" (45), "g" (addr)
: "%d0", "%d1");
newbrk = (void *) d0;
}
__curbrk = newbrk;
if (newbrk < addr)
{
(*__errno_location ()) = (12);
return -1;
}
return 0;
}
$ m68k-linux-gcc -c -v xx.i -O2
Reading specs from /usr/local/m68k-linux/lib/gcc-lib/m68k-linux/3.0.1/specs
Configured with: /cvs/branch/gcc/configure --target=m68k-linux --prefix=/usr/local/m68k-linux --enable-languages=c++ --with-ld=/usr/local/m68k-linux/m68k-linux/bin/ld --with-as=/usr/local/m68k-linux/m68k-linux/bin/as --disable-shared : (reconfigured) /cvs/branch/gcc/configure --target=m68k-linux --prefix=/usr/local/m68k-linux --enable-languages=c++ --with-ld=/usr/local/m68k-linux/m68k-linux/bin/ld --with-as=/usr/local/m68k-linux/m68k-linux/bin/as --disable-shared
Thread model: single
gcc version 3.0.1 20010717 (prerelease)
/usr/local/m68k-linux/lib/gcc-lib/m68k-linux/3.0.1/cc1 -fpreprocessed xx.i -quiet -dumpbase xx.i -O2 -version -o /tmp/cc8vqKzc.s
GNU CPP version 3.0.1 20010717 (prerelease) (cpplib) (68k GNU/Linux with ELF)
GNU C version 3.0.1 20010717 (prerelease) (m68k-linux)
compiled by GNU C version 2.96-ia64-000717 snap 001117.
xx.i: In function `__brk':
xx.i:27: Internal compiler error in verify_wide_reg_1, at flow.c:2760
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
You have new mail in /suse/schwab/Mail/.incoming
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list