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



             Bug #: 56517

           Summary: ICE: in find_valid_class, at reload.c:704

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Keywords: ice-on-valid-code, ra

          Severity: normal

          Priority: P3

         Component: other

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: g...@gcc.gnu.org

            Blocks: 56183

            Target: avr





This ICE occurs for gcc.c-torture/compile/pr55921.c from the GCC test suite:



/gnu/gcc.gnu.org/trunk/gcc/testsuite/gcc.c-torture/compile/pr55921.c: In

function 'foo':



/gnu/gcc.gnu.org/trunk/gcc/testsuite/gcc.c-torture/compile/pr55921.c:21:1:

internal compiler error: in find_valid_class, at reload.c:704



0x850ee60 find_valid_class



    ../../../gcc.gnu.org/trunk/gcc/reload.c:704



0x851339d push_reload(rtx_def*, rtx_def*, rtx_def**, rtx_def**, reg_class,

machine_mode, machine_mode, int, int, int, reload_type)



    ../../../gcc.gnu.org/trunk/gcc/reload.c:1152



0x8519705 find_reloads(rtx_def*, int, int, int, short*)



    ../../../gcc.gnu.org/trunk/gcc/reload.c:4099



0x8528544 calculate_needs_all_insns



    ../../../gcc.gnu.org/trunk/gcc/reload1.c:1520



0x8528544 reload(rtx_def*, int)



    ../../../gcc.gnu.org/trunk/gcc/reload1.c:941



0x843f543 do_reload



    ../../../gcc.gnu.org/trunk/gcc/ira.c:4631



0x843f543 rest_of_handle_reload



    ../../../gcc.gnu.org/trunk/gcc/ira.c:4731



Please submit a full bug report,





== configure ==



Target: avr

Configured with: ../../gcc.gnu.org/trunk/configure --target=avr

--prefix=/local/gnu/install/gcc-4.8 --disable-nls --with-dwarf2

--enable-target-optspace=yes --enable-languages=c,c++

Thread model: single

gcc version 4.8.0 20130228 (experimental) (GCC)





FAIL: gcc.c-torture/compile/pr55921.c  -O1  (internal compiler error)

FAIL: gcc.c-torture/compile/pr55921.c  -O2  (internal compiler error)

FAIL: gcc.c-torture/compile/pr55921.c  -O3 -fomit-frame-pointer  (internal

compiler error)

FAIL: gcc.c-torture/compile/pr55921.c  -O3 -g  (internal compiler error)

FAIL: gcc.c-torture/compile/pr55921.c  -Os  (internal compiler error)

FAIL: gcc.c-torture/compile/pr55921.c  -O2 -flto -flto-partition=none 

(internal compiler error)

FAIL: gcc.c-torture/compile/pr55921.c  -O2 -flto  (internal compiler error)

Reply via email to