This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/13525] New: ICE on valid code.


When compiling using the options -O2 -m4 -fnew-ra -S, GCC crashes on almost
every file in stress-1.17:

./aiunit.i:5631: internal compiler error: in remember_move, at ra-build.c:579
./advdomestic.i:3820: internal compiler error: in remember_move, at
ra-build.c:579
./advmilitary.i:3944: internal compiler error: in remember_move, at
ra-build.c:579
./attsub.i:12800: internal compiler error: in remember_move, at ra-build.c:579
./avl.i:1720: internal compiler error: in remember_move, at ra-build.c:579
./avltr.i:2706: internal compiler error: in remember_move, at ra-build.c:579
./blitcursor.i:19374: internal compiler error: in remember_move, at
ra-build.c:579
...

It appears to be failing a sanity check in new-ra:

          /* Some sanity test for the copy insn.  */
          struct df_link *slink = DF_INSN_USES (df, insn);
          struct df_link *link = DF_INSN_DEFS (df, insn);
          if (!link || !link->ref || !slink || !slink->ref) <- line 578
            abort ();

Toshi

-- 
           Summary: ICE on valid code.
           Product: gcc
           Version: new-ra
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: matz at suse dot de
        ReportedBy: tm at kloo dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-linux
  GCC host triplet: i386-linux
GCC target triplet: sh-elf


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]