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

            Bug ID: 61336
           Summary: ICE on alpha: in print_operand_address, at
                    config/alpha/alpha.c:5454
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mcree at orcon dot net.nz
            Target: alpha

Created attachment 32869
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32869&action=edit
Failing preprocessed source being malloc/malloc.c from glibc

ICE noted with Debian gcc-4.8.3 and now verified with trunk when compiling
malloc.c from glibc on alpha.  Preprocessed source attached.

/home/mjc/toolchain/gcc-build/./gcc/xgcc -B/home/mjc/toolchain/gcc-build/./gcc/
ccjDEL1Z.c -c -std=gnu99 -fgnu89-inline  -O2 -Wall -Winline -Wwrite-strings
-fmerge-all-constants -frounding-math -g -pipe -Wstrict-prototypes
-mlong-double-128 -mieee -mfp-rounding-mode=d  -fpic
In file included from malloc.c:1878:0:
arena.c: In function ‘ptmalloc_unlock_all2’:
arena.c:303:33: warning: right-hand operand of comma expression has no effect
[-Wunused-value]
arena.c:313:25: warning: right-hand operand of comma expression has no effect
[-Wunused-value]
In file included from malloc.c:1878:0:
arena.c: In function ‘_int_new_arena’:
arena.c:768:24: warning: right-hand operand of comma expression has no effect
[-Wunused-value]
malloc.c: In function ‘__libc_mallopt’:
malloc.c:4833:1: internal compiler error: in print_operand_address, at
config/alpha/alpha.c:5468
0x120a110cf print_operand_address(_IO_FILE*, rtx_def*)
    ../../gcc.git/gcc/config/alpha/alpha.c:5468
0x1206b3aa7 default_print_operand_address(_IO_FILE*, rtx_def*)
    ../../gcc.git/gcc/targhooks.c:344
0x12039cc87 output_address(rtx_def*)
    ../../gcc.git/gcc/final.c:3838
0x120a10e83 print_operand(_IO_FILE*, rtx_def*, int)
    ../../gcc.git/gcc/config/alpha/alpha.c:5345
0x1206b3a77 default_print_operand(_IO_FILE*, rtx_def*, int)
    ../../gcc.git/gcc/targhooks.c:330
0x12039cb87 output_operand(rtx_def*, int)
    ../../gcc.git/gcc/final.c:3822
0x12039d267 output_asm_insn
    ../../gcc.git/gcc/final.c:3720
0x12039ec2f output_asm_insn
    ../../gcc.git/gcc/final.c:2643
0x12039ec2f final_scan_insn(rtx_def*, _IO_FILE*, int, int, int*)
    ../../gcc.git/gcc/final.c:2594
0x12039ef23 final(rtx_def*, _IO_FILE*, int)
    ../../gcc.git/gcc/final.c:2025
0x12039f533 rest_of_handle_final
    ../../gcc.git/gcc/final.c:4444
0x12039f533 execute
    ../../gcc.git/gcc/final.c:4518
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
{standard input}: Assembler messages:
{standard input}:14226: Warning: end of file in string; '"' inserted
{standard input}: Warning: .ent directive without matching .end
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc
directive

Reply via email to