public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/63669] New: [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in reload.c on 4.8 branch or on 4.9 and 5.0 with -mno-lra
@ 2014-10-28 16:10 ktkachov at gcc dot gnu.org
  2014-10-28 16:14 ` [Bug middle-end/63669] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-10-28 16:10 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63669
           Summary: [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in
                    reload.c on 4.8 branch or on 4.9 and 5.0 with -mno-lra
           Product: gcc
           Version: 4.8.4
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ktkachov at gcc dot gnu.org

gcc.dg/torture/asm-subreg-1.c ICEs with:

$ aarch64-none-elf-gcc $TOP/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c
-fno-diagnostics-show-caret -O1 -S  -o asm-subreg-1.s
$TOP/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c: In function
'evas_common_convert_yuv_420p_601_rgba':
$TOP/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c:14:1: internal compiler error:
Segmentation fault
0x9ec985 crash_signal
        $TOP/gcc/toplev.c:349
0x972555 find_reloads_address_part
        $TOP/gcc/reload.c:6106
0x972134 find_reloads_address
        $TOP/gcc/reload.c:5273
0x974936 find_reloads(rtx_insn*, int, int, int, short*)
        $TOP/gcc/reload.c:2895
0x984e92 calculate_needs_all_insns
        $TOP/gcc/reload1.c:1519
0x98679b reload(rtx_insn*, int)
        $TOP/gcc/reload1.c:1007
0x87eaa2 do_reload
        $TOP/gcc/ira.c:5386
0x87eaa2 execute
        $TOP/gcc/ira.c:5536
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.


Since this happens reload it needs an -mno-lra to reproduce on trunk and 4.9


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/63669] [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in reload.c on 4.8 branch or on 4.9 and 5.0 with -fPIC
  2014-10-28 16:10 [Bug middle-end/63669] New: [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in reload.c on 4.8 branch or on 4.9 and 5.0 with -mno-lra ktkachov at gcc dot gnu.org
  2014-10-28 16:14 ` [Bug middle-end/63669] " pinskia at gcc dot gnu.org
@ 2014-10-28 16:14 ` pinskia at gcc dot gnu.org
  2014-10-28 16:14 ` ktkachov at gcc dot gnu.org
  2014-10-28 16:30 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-10-28 16:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
We (Cavium) had worked on trying to this bug earlier:
https://gcc.gnu.org/ml/gcc-patches/2012-11/msg02286.html

Richard S. also worked on it too:
https://gcc.gnu.org/ml/gcc-patches/2014-04/msg00826.html


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/63669] [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in reload.c on 4.8 branch or on 4.9 and 5.0 with -mno-lra
  2014-10-28 16:10 [Bug middle-end/63669] New: [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in reload.c on 4.8 branch or on 4.9 and 5.0 with -mno-lra ktkachov at gcc dot gnu.org
@ 2014-10-28 16:14 ` pinskia at gcc dot gnu.org
  2014-10-28 16:14 ` [Bug middle-end/63669] [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in reload.c on 4.8 branch or on 4.9 and 5.0 with -fPIC pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-10-28 16:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
it also fails with -fPIC on aarch64 even without -mno-lra.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/63669] [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in reload.c on 4.8 branch or on 4.9 and 5.0 with -fPIC
  2014-10-28 16:10 [Bug middle-end/63669] New: [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in reload.c on 4.8 branch or on 4.9 and 5.0 with -mno-lra ktkachov at gcc dot gnu.org
  2014-10-28 16:14 ` [Bug middle-end/63669] " pinskia at gcc dot gnu.org
  2014-10-28 16:14 ` [Bug middle-end/63669] [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in reload.c on 4.8 branch or on 4.9 and 5.0 with -fPIC pinskia at gcc dot gnu.org
@ 2014-10-28 16:14 ` ktkachov at gcc dot gnu.org
  2014-10-28 16:30 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-10-28 16:14 UTC (permalink / raw)
  To: gcc-bugs

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

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Target|                            |aarch64-none-elf
            Summary|[AArch64]                   |[AArch64]
                   |gcc.dg/torture/asm-subreg-1 |gcc.dg/torture/asm-subreg-1
                   |.c ICE in reload.c on 4.8   |.c ICE in reload.c on 4.8
                   |branch or on 4.9 and 5.0    |branch or on 4.9 and 5.0
                   |with -mno-lra               |with -fPIC
      Known to fail|                            |4.8.4, 4.9.2, 5.0
           Severity|minor                       |normal

--- Comment #2 from ktkachov at gcc dot gnu.org ---
(In reply to Andrew Pinski from comment #1)
> it also fails with -fPIC on aarch64 even without -mno-lra.

Indeed, with the backtrace:
$TOP/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c:14:1: internal compiler error:
in lra_set_insn_recog_data, at lra.c:945
0x8bb49b lra_set_insn_recog_data(rtx_insn*)
        $TOP/gcc/lra.c:943
0x8bc425 lra_get_insn_recog_data
        $TOP/gcc/lra-int.h:475
0x8bc425 lra_update_insn_regno_info(rtx_insn*)
        $TOP/gcc/lra.c:1584
0x8bc670 lra_push_insn_1
        $TOP/gcc/lra.c:1637
0x8bc670 lra_push_insn(rtx_insn*)
        $TOP/gcc/lra.c:1645
0x8bc829 push_insns
        $TOP/gcc/lra.c:1688
0x8bcd0c lra_process_new_insns(rtx_insn*, rtx_insn*, rtx_insn*, char const*)
        $TOP/gcc/lra.c:1734
0x8ccede curr_insn_transform
        $TOP/gcc/lra-constraints.c:3741
0x8cdede lra_constraints(bool)
        $TOP/gcc/lra-constraints.c:4237
0x8bd96c lra(_IO_FILE*)
        $TOP/gcc/lra.c:2178
0x87e00a do_reload
        $TOP/gcc/ira.c:5374
0x87e00a execute
        $TOP/gcc/ira.c:5536
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/63669] [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in reload.c on 4.8 branch or on 4.9 and 5.0 with -fPIC
  2014-10-28 16:10 [Bug middle-end/63669] New: [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in reload.c on 4.8 branch or on 4.9 and 5.0 with -mno-lra ktkachov at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-10-28 16:14 ` ktkachov at gcc dot gnu.org
@ 2014-10-28 16:30 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-10-28 16:30 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|aarch64-none-elf            |aarch64-*-*
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-10-28
     Ever confirmed|0                           |1

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-10-28 16:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-28 16:10 [Bug middle-end/63669] New: [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in reload.c on 4.8 branch or on 4.9 and 5.0 with -mno-lra ktkachov at gcc dot gnu.org
2014-10-28 16:14 ` [Bug middle-end/63669] " pinskia at gcc dot gnu.org
2014-10-28 16:14 ` [Bug middle-end/63669] [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in reload.c on 4.8 branch or on 4.9 and 5.0 with -fPIC pinskia at gcc dot gnu.org
2014-10-28 16:14 ` ktkachov at gcc dot gnu.org
2014-10-28 16:30 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).