public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/100458] New: [10 Regression] arm: ICE in change_address_1 with -march=armv7-m -fstack-protector-all -mpure-code
@ 2021-05-06 16:02 acoplan at gcc dot gnu.org
  2021-05-06 16:03 ` [Bug target/100458] " acoplan at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: acoplan at gcc dot gnu.org @ 2021-05-06 16:02 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100458
           Summary: [10 Regression] arm: ICE in change_address_1 with
                    -march=armv7-m -fstack-protector-all -mpure-code
           Product: gcc
           Version: 10.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: acoplan at gcc dot gnu.org
  Target Milestone: ---

On the head of the GCC 10 branch, the following fails:

$ cat test.c
void a() {}
$ gcc/xgcc -B gcc test.c -c -march=armv7-m -fstack-protector-all -mpure-code
during RTL pass: mach
test.c: In function ‘a’:
test.c:1:11: internal compiler error: in change_address_1, at emit-rtl.c:2273
    1 | void a() {}
      |           ^
0x7c1890 change_address_1
        /home/alecop01/toolchain/src/gcc/gcc/emit-rtl.c:2273
0x7f069d emit_move_insn(rtx_def*, rtx_def*)
        /home/alecop01/toolchain/src/gcc/gcc/expr.c:3851
0x10a5779 gen_split_74(rtx_insn*, rtx_def**)
        /home/alecop01/toolchain/src/gcc/gcc/config/arm/arm.md:9218
0x7c6873 try_split(rtx_def*, rtx_insn*, int)
        /home/alecop01/toolchain/src/gcc/gcc/emit-rtl.c:3836
0xa76801 split_insn
        /home/alecop01/toolchain/src/gcc/gcc/recog.c:2884
0xa7acc7 split_all_insns_noflow()
        /home/alecop01/toolchain/src/gcc/gcc/recog.c:3046
0xe05ea7 arm_reorg
        /home/alecop01/toolchain/src/gcc/gcc/config/arm/arm.c:19154
0xaa5389 execute
        /home/alecop01/toolchain/src/gcc/gcc/reorg.c:4010
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

I can't reproduce it on any other active branches.

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

* [Bug target/100458] [10 Regression] arm: ICE in change_address_1 with -march=armv7-m -fstack-protector-all -mpure-code
  2021-05-06 16:02 [Bug target/100458] New: [10 Regression] arm: ICE in change_address_1 with -march=armv7-m -fstack-protector-all -mpure-code acoplan at gcc dot gnu.org
@ 2021-05-06 16:03 ` acoplan at gcc dot gnu.org
  2022-06-28 10:44 ` jakub at gcc dot gnu.org
  2023-07-07  9:39 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: acoplan at gcc dot gnu.org @ 2021-05-06 16:03 UTC (permalink / raw)
  To: gcc-bugs

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

Alex Coplan <acoplan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |arm
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |10.3.1
   Target Milestone|---                         |10.4

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

* [Bug target/100458] [10 Regression] arm: ICE in change_address_1 with -march=armv7-m -fstack-protector-all -mpure-code
  2021-05-06 16:02 [Bug target/100458] New: [10 Regression] arm: ICE in change_address_1 with -march=armv7-m -fstack-protector-all -mpure-code acoplan at gcc dot gnu.org
  2021-05-06 16:03 ` [Bug target/100458] " acoplan at gcc dot gnu.org
@ 2022-06-28 10:44 ` jakub at gcc dot gnu.org
  2023-07-07  9:39 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:44 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.4                        |10.5

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.

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

* [Bug target/100458] [10 Regression] arm: ICE in change_address_1 with -march=armv7-m -fstack-protector-all -mpure-code
  2021-05-06 16:02 [Bug target/100458] New: [10 Regression] arm: ICE in change_address_1 with -march=armv7-m -fstack-protector-all -mpure-code acoplan at gcc dot gnu.org
  2021-05-06 16:03 ` [Bug target/100458] " acoplan at gcc dot gnu.org
  2022-06-28 10:44 ` jakub at gcc dot gnu.org
@ 2023-07-07  9:39 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07  9:39 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |11.1.0
         Resolution|---                         |FIXED
   Target Milestone|10.5                        |11.0
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Doesn't occur in GCC 11+

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

end of thread, other threads:[~2023-07-07  9:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06 16:02 [Bug target/100458] New: [10 Regression] arm: ICE in change_address_1 with -march=armv7-m -fstack-protector-all -mpure-code acoplan at gcc dot gnu.org
2021-05-06 16:03 ` [Bug target/100458] " acoplan at gcc dot gnu.org
2022-06-28 10:44 ` jakub at gcc dot gnu.org
2023-07-07  9:39 ` rguenth 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).