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

            Bug ID: 68779
           Summary: [5.3 Regression] HPPA/PARISC 32-bit Linux kernel build
                    triggers multiple ICEs
           Product: gcc
           Version: 5.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: aaro.koskinen at iki dot fi
  Target Milestone: ---

Created attachment 36949
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36949&action=edit
Preprocessed kernel source for a reproducer.

Multiple files trigger ICE when compiling 32-bit kernel for PARISC with GCC
5.3. GCC 5.2 works OK.

One example attached.

$ hppa-linux-gnu-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
-Wno-format-security -std=gnu89 -pipe -mno-space-regs -mfast-indirect-calls
-mdisable-fpregs -ffunction-sections -march=2.0 -mschedule=8000
-fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0
-Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable
-fno-omit-frame-pointer -fno-optimize-sibling-calls
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign
-fno-strict-overflow -fconserve-stack -Werror=implicit-int
-Werror=strict-prototypes -Werror=date-time -mlong-calls -c initramfs.i
init/initramfs.c: In function 'unpack_to_rootfs':
init/initramfs.c:509:1: error: unable to generate reloads for:
 }
 ^
(insn 96 97 98 7 (parallel [
            (set (reg/v:DI 7 %r7 [orig:105 saved_offset ] [105])
                (mem/c:DI (reg/f:SI 6 %r6 [312]) [0 this_header+0 S8 A64]))
            (clobber (scratch:DI))
        ]) init/initramfs.c:467 1 {atomic_loaddi_1}
     (expr_list:REG_EQUAL (mem/c:DI (symbol_ref:SI ("this_header") [flags
0x202] <var_decl 0x7fab8823b2d0 this_header>) [0 this_header+0 S8 A64])
        (nil)))
init/initramfs.c:509:1: internal compiler error: in find_reloads, at
reload.c:3862
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to