This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/64971] [5 Regression] gcc.c-torture/compile/pr37433.c ICEs with -mabi=ilp32


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
            Version|5.0                         |6.0
         Resolution|WORKSFORME                  |---
   Target Milestone|5.0                         |---

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---

FAIL: gcc.c-torture/compile/pr37433.c   -O2  (internal compiler error)
FAIL: gcc.c-torture/compile/pr37433.c   -O2  (test for excess errors)
FAIL: gcc.c-torture/compile/pr37433.c   -O3 -g  (internal compiler error)
FAIL: gcc.c-torture/compile/pr37433.c   -O3 -g  (test for excess errors)
FAIL: gcc.c-torture/compile/pr37433.c   -Os  (internal compiler error)
FAIL: gcc.c-torture/compile/pr37433.c   -Os  (test for excess errors)
FAIL: gcc.c-torture/compile/pr37433.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (internal compiler error)
FAIL: gcc.c-torture/compile/pr37433.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (test for excess errors)


I definitely can reproduce it on the trunk:
Executing on host: /home/apinski/src/ilp32/gcc/objdir-ilp32/gcc/xgcc
-B/home/apinski/src/ilp32/gcc/objdir-ilp32/gcc/  -fno-diagnostics-show-caret
-fdiagnostics-color=never    -O2  -w -c  -mabi=ilp32  -o pr37433.o
/home/apinski/src/ilp32/gcc/gcc/testsuite/gcc.c-torture/compile/pr37433.c   
(timeout = 300)
spawn /home/apinski/src/ilp32/gcc/objdir-ilp32/gcc/xgcc
-B/home/apinski/src/ilp32/gcc/objdir-ilp32/gcc/ -fno-diagnostics-show-caret
-fdiagnostics-color=never -O2 -w -c -mabi=ilp32 -o pr37433.o
/home/apinski/src/ilp32/gcc/gcc/testsuite/gcc.c-torture/compile/pr37433.c^M
/home/apinski/src/ilp32/gcc/gcc/testsuite/gcc.c-torture/compile/pr37433.c: In
function 'regex_subst':^M
/home/apinski/src/ilp32/gcc/gcc/testsuite/gcc.c-torture/compile/pr37433.c:5:1:
error: unrecognizable insn:^M
(call_insn/j 6 5 7 2 (parallel [^M
            (set (reg:SI 0 x0)^M
                (call (mem:DI (symbol_ref/f:SI ("*.LC0") [flags 0x82] <var_decl
0x40003ef81200 *.LC0>) [0 *subst.0_1 S8 A8])^M
                    (const_int 0 [0])))^M
            (return)^M
            (use (const_int 0 [0]))^M
        ])
/home/apinski/src/ilp32/gcc/gcc/testsuite/gcc.c-torture/compile/pr37433.c:4
-1^M
     (expr_list:REG_CALL_DECL (nil)^M
        (nil))^M
    (expr_list (clobber (reg:DI 17 x17))^M
        (expr_list (clobber (reg:DI 16 x16))^M
            (expr_list:SI (use (reg:SI 0 x0))^M
                (nil)))))^M
/home/apinski/src/ilp32/gcc/gcc/testsuite/gcc.c-torture/compile/pr37433.c:5:1:
internal compiler error: in extract_insn, at recog.c:2287^M
0xa9dd3f _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)^M
        ../../gcc/rtl-error.c:108^M
0xa9dd87 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)^M
        ../../gcc/rtl-error.c:116^M
0xa702eb extract_insn(rtx_insn*)^M
        ../../gcc/recog.c:2287^M
0x854deb instantiate_virtual_regs_in_insn^M
        ../../gcc/function.c:1630^M
0x854deb instantiate_virtual_regs^M
        ../../gcc/function.c:1950^M
0x854deb execute^M
        ../../gcc/function.c:1999^M
Please submit a full bug report,^M
with preprocessed source if appropriate.^M
Please include the complete backtrace with any bug report.^M
See <http://gcc.gnu.org/bugs.html> for instructions.^M
compiler exited with status 1

apinski@arm64:~/src/ilp32/gcc/objdir-ilp32/gcc$ ./xgcc --version
xgcc (GCC) 6.0.0 20160322 (experimental)
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]