[Bug c/53749] New: ice in expand_shift_1

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jun 22 08:34:00 GMT 2012


             Bug #: 53749
           Summary: ice in expand_shift_1
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dcb314@hotmail.com

Created attachment 27688
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27688
C source code

I just tried to compile the package slang-2.2.4
on gcc-4.8 trunk dated 20120620 on an AMD x86_64 box.

The compiler said

/home/dcb/rpmbuild/BUILD/slang-2.2.4/src/slarith.inc:697:32: internal compiler
error: in expand_shift_1, at expmed.c:2335
  for (n = 0; n < na; n++) b[n] = (2 * a[n]);
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. Flag -O3 required.

More information about the Gcc-bugs mailing list