http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48435

           Summary: Assertion failure during IRA (df_scan)
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: a...@gjlay.de


This problem occurs with a file from avr-libc, the libc-like support library
for avr.

This is a regression that is present in last snapshot (SVN 171894)

http://gcc.gnu.org/ml/gcc/2011-04/msg00044.html

As previous snapshots broke the build for avr-gcc alltogether (for some other
reason), I cannot say since when the problem occured.

Updating to trunk doesn't help either.

== configuration

Reading specs from /mnt/nfs/home/georg/gnu/build/gcc-4.6-avr/gcc/specs
COLLECT_GCC=/mnt/nfs/home/georg/gnu/build/gcc-4.6-avr/gcc/xgcc
COLLECT_LTO_WRAPPER=/mnt/nfs/home/georg/gnu/build/gcc-4.6-avr/gcc/lto-wrapper
Target: avr
Configured with: ../../gcc.gnu.org/trunk/configure --target=avr
--prefix=/local/gnu/install/gcc-4.6 --enable-languages=c,c++ --disable-libssp
--disable-libada --disable-nls --disable-sharedThread model: single
gcc version 4.7.0 20110404 (experimental) (GCC)

== run

avr-gcc strtod-i.c -S -Os
strtod-i.c: In function 'strtod':
strtod-i.c:834:106: error: can't find a register in class 'POINTER_REGS' while
reloading 'asm'
strtod-i.c:834:106: error: 'asm' operand has impossible constraints
strtod-i.c:482:5: error: 'asm' operand has impossible constraints
strtod-i.c:844:1: internal compiler error: in df_ref_record, at df-scan.c:2841
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

The assertion sees a stack slot where REG or SUBREG is needed.

Reply via email to