https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71012

            Bug ID: 71012
           Summary: ICE: in expand_expr_real_2, at expr.c:9348 when
                    compiling stress-ng
           Product: gcc
           Version: 5.3.1
               URL: https://buildd.debian.org/status/fetch.php?pkg=stress-
                    ng&arch=powerpcspe&ver=0.06.01-1&stamp=1462574245
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: glaubitz at physik dot fu-berlin.de
  Target Milestone: ---
              Host: powerpc-linux-gnuspe
            Target: powerpc-linux-gnuspe

Created attachment 38445
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38445&action=edit
Pre-processed source for stress-vecmath.c

Hi!

When building stress-ng on powerpc-linux-gnuspe, an internal compiler error
occurs when compiling stress-vecmath.c:

cc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall
-Wextra -DVERSION="0.06.01" -O2 -DHAVE_APPARMOR -DHAVE_KEYUTILS_H
-DHAVE_XATTR_H -DHAVE_LIB_BSD -DHAVE_LIB_Z -DHAVE_LIB_CRYPT -DHAVE_LIB_RT
-DHAVE_LIB_PTHREAD -DHAVE_FLOAT_DECIMAL -DHAVE_SECCOMP_H -DHAVE_LIB_AIO
-DHAVE_SYS_CAP_H -c -o stress-vecmath.o stress-vecmath.c
stress-vecmath.c: In function 'stress_vecmath':
stress-vecmath.c:49:4: internal compiler error: in expand_expr_real_2, at
expr.c:9348
  a ^= c;  \
    ^
stress-vecmath.c:114:4: note: in expansion of macro 'OPS'
    OPS(a64, b64, c64, s64);
    ^
0x103166eb expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        ../../src/gcc/expr.c:9348
0x1021f24b expand_gimple_stmt_1
        ../../src/gcc/cfgexpand.c:3462
0x1021f24b expand_gimple_stmt
        ../../src/gcc/cfgexpand.c:3522
0x10222ed3 expand_gimple_basic_block
        ../../src/gcc/cfgexpand.c:5534
0x10224f33 execute
        ../../src/gcc/cfgexpand.c:6152
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccRHm88P.out file, please attach this to
your bugreport.

This has been failing for quite some time. However, it seems it does not seem
to be related to gcc directly as both the last successful build [1] and the
last unsuccessful build [2] used both the same revision of gcc-4.9.2: r218987.

Attaching the pre-processed source from the last build with gcc-5.

Adrian

> [1] 
> https://buildd.debian.org/status/fetch.php?pkg=stress-ng&arch=powerpcspe&ver=0.03.12-1&stamp=1422673290
> [2] 
> https://buildd.debian.org/status/fetch.php?pkg=stress-ng&arch=powerpcspe&ver=0.03.13-1&stamp=1422840779

Reply via email to