2017-09-21 12:28 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0013779CentOS-7gccpublic2017-09-08 21:36
Product Version7.3.1611 
Target VersionFixed in Version 
Summary0013779: internal compiler error: in rs6000_secondary_reload_fail, at config/rs6000/rs6000.c:16984
DescriptionA similar issue has been reported and fixed earlier as part of https://bugzilla.redhat.com/show_bug.cgi?id=1063999 but surfaced on ppc64 (BE).

Building nx-libs on ppc64le.


gcc -m64 -c -O2 -fno-strict-aliasing -mminimal-toc -I../../../../../extras/Mesa/src/mesa -I../../../../../extras/Mesa/src/mesa/main -I../../../../../extras/Mesa/src/mesa/glapi -I../../../.
./../extras/Mesa/src/mesa/swrast -I../../../../../extras/Mesa/src/mesa/swrast_setup -I../../../../../extras/Mesa/src/mesa/shader -I../../../../../extras/Mesa/include -I../../../
../../programs/Xserver/include -I../../../../../exports/include/X11 -I../../../../../programs/Xserver/GL/include -I../../../../../programs/Xserver/GL/glx -I../../../../../lib/GL/include
      -I../../../../../programs/Xserver/hw/xfree86 -I../../../../../exports/include -I../../../../.. -I../../../../../exports/include -Dlinux -D__powerpc64__ -D__powerpc__ -D_POSIX_C_SOURCE=199309L
PRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86Server -DXF86VIDMODE -DXvMCExtension
        -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_BIG_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((9) * 100000) +
rs6000_secondary_reload_inner:17193, type = load
(parallel [
        (set (reg:SF 33 1)
            (mem/u/c:SF (unspec:DI [
                        (symbol_ref/u:DI ("*.LC15") [flags 0x2])
                        (reg:DI 30 30)
                    ] UNSPEC_TOCREL) [0 S4 A32]))
        (clobber (reg:DI 9 9))
s_aatriangle.c: In function 'spec_tex_aa_tri':
s_aatriangle.c:429:1: internal compiler error: in rs6000_secondary_reload_fail, at config/rs6000/rs6000.c:16984

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57936 could be related, although that also surfaced on ppc64.

In any case, the patch seems not to have been backported to either 4.8.3-9 or 4.8.5-11. Could be worth a stab, but no idea if that's actually fixing the problem.

Preprocessed source of the file attached.
TagsNo tags attached.
Attached Files




Ionic (reporter)

I've tried backporting the patch mentioned in GCC's BTS, but that didn't change the situation. I guess the ICE is triggered by something else specific to ppc64le.

-Issue History
Date Modified Username Field Change
2017-09-08 07:50 Ionic New Issue
2017-09-08 07:50 Ionic File Added: s_aatriangle.c.pp.c
2017-09-08 21:36 Ionic Note Added: 0030032
+Issue History