public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/95634] New: [11 Regression] ICE in output_operand: invalid address mode
@ 2020-06-11 7:15 marxin at gcc dot gnu.org
2020-06-11 7:16 ` [Bug sanitizer/95634] " marxin at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-06-11 7:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95634
Bug ID: 95634
Summary: [11 Regression] ICE in output_operand: invalid address
mode
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-linux-gnu
Target: aarch64-linux-gnu
The following fails:
$ /xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/execute/pr38048-1.c
-mabi=ilp32 -fsanitize=address -c -S -fdump-rtl-all
during RTL pass: final
dump file: pr38048-1.c.320r.final
/home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/execute/pr38048-1.c:
In function ‘foo’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/execute/pr38048-1.c:14:1:
internal compiler error: output_operand: invalid address mode
14 | }
| ^
0xc65336 output_operand_lossage(char const*, ...)
/home/marxin/Programming/gcc/gcc/final.c:3609
0x15a4dfd aarch64_print_address_internal
/home/marxin/Programming/gcc/gcc/config/aarch64/aarch64.c:10464
0x15a5546 aarch64_print_operand_address
/home/marxin/Programming/gcc/gcc/config/aarch64/aarch64.c:10568
0xc65553 output_address(machine_mode, rtx_def*)
/home/marxin/Programming/gcc/gcc/final.c:4067
0x15a4601 aarch64_print_operand
/home/marxin/Programming/gcc/gcc/config/aarch64/aarch64.c:10250
0xc654b1 output_operand(rtx_def*, int)
/home/marxin/Programming/gcc/gcc/final.c:4051
0xc65efc output_asm_insn(char const*, rtx_def**)
/home/marxin/Programming/gcc/gcc/final.c:3963
0xc69dc3 output_asm_insn(char const*, rtx_def**)
/home/marxin/Programming/gcc/gcc/final.c:3840
0xc69dc3 final_scan_insn_1
/home/marxin/Programming/gcc/gcc/final.c:3106
0xc6a0bb final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
/home/marxin/Programming/gcc/gcc/final.c:3152
0xc6a1c6 final_1
/home/marxin/Programming/gcc/gcc/final.c:2020
0xc6adb4 rest_of_handle_final
/home/marxin/Programming/gcc/gcc/final.c:4658
0xc6adb4 execute
/home/marxin/Programming/gcc/gcc/final.c:4736
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug sanitizer/95634] [11 Regression] ICE in output_operand: invalid address mode
2020-06-11 7:15 [Bug sanitizer/95634] New: [11 Regression] ICE in output_operand: invalid address mode marxin at gcc dot gnu.org
@ 2020-06-11 7:16 ` marxin at gcc dot gnu.org
2020-06-11 7:40 ` pinskia at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-06-11 7:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95634
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-06-11
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with my g:8b6731e674c76cb48a417f2eef74ced92a17f469.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug sanitizer/95634] [11 Regression] ICE in output_operand: invalid address mode
2020-06-11 7:15 [Bug sanitizer/95634] New: [11 Regression] ICE in output_operand: invalid address mode marxin at gcc dot gnu.org
2020-06-11 7:16 ` [Bug sanitizer/95634] " marxin at gcc dot gnu.org
@ 2020-06-11 7:40 ` pinskia at gcc dot gnu.org
2020-06-11 7:42 ` marxin at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-06-11 7:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95634
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Most likely a ptr_mode vs Pmode issue.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug sanitizer/95634] [11 Regression] ICE in output_operand: invalid address mode
2020-06-11 7:15 [Bug sanitizer/95634] New: [11 Regression] ICE in output_operand: invalid address mode marxin at gcc dot gnu.org
2020-06-11 7:16 ` [Bug sanitizer/95634] " marxin at gcc dot gnu.org
2020-06-11 7:40 ` pinskia at gcc dot gnu.org
@ 2020-06-11 7:42 ` marxin at gcc dot gnu.org
2020-06-11 9:04 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-06-11 7:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95634
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> Most likely a ptr_mode vs Pmode issue.
Yep, I've got a working patch for it..
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug sanitizer/95634] [11 Regression] ICE in output_operand: invalid address mode
2020-06-11 7:15 [Bug sanitizer/95634] New: [11 Regression] ICE in output_operand: invalid address mode marxin at gcc dot gnu.org
` (2 preceding siblings ...)
2020-06-11 7:42 ` marxin at gcc dot gnu.org
@ 2020-06-11 9:04 ` cvs-commit at gcc dot gnu.org
2020-06-11 9:04 ` marxin at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-11 9:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95634
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:
https://gcc.gnu.org/g:8cff672cb9a132d3d3158c2edfc9a64b55292b80
commit r11-1197-g8cff672cb9a132d3d3158c2edfc9a64b55292b80
Author: Martin Liska <mliska@suse.cz>
Date: Thu Jun 11 09:34:41 2020 +0200
asan: fix RTX emission for ilp32
gcc/ChangeLog:
PR sanitizer/95634
* asan.c (asan_emit_stack_protection): Fix emission for ilp32
by using Pmode instead of ptr_mode.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug sanitizer/95634] [11 Regression] ICE in output_operand: invalid address mode
2020-06-11 7:15 [Bug sanitizer/95634] New: [11 Regression] ICE in output_operand: invalid address mode marxin at gcc dot gnu.org
` (3 preceding siblings ...)
2020-06-11 9:04 ` cvs-commit at gcc dot gnu.org
@ 2020-06-11 9:04 ` marxin at gcc dot gnu.org
2020-06-12 8:03 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-06-11 9:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95634
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug sanitizer/95634] [11 Regression] ICE in output_operand: invalid address mode
2020-06-11 7:15 [Bug sanitizer/95634] New: [11 Regression] ICE in output_operand: invalid address mode marxin at gcc dot gnu.org
` (4 preceding siblings ...)
2020-06-11 9:04 ` marxin at gcc dot gnu.org
@ 2020-06-12 8:03 ` cvs-commit at gcc dot gnu.org
2020-06-12 8:17 ` cvs-commit at gcc dot gnu.org
2020-06-12 8:30 ` cvs-commit at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-12 8:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95634
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Martin Liska
<marxin@gcc.gnu.org>:
https://gcc.gnu.org/g:e1d68582022cfa2b1dc76646724b397ba2739439
commit r10-8284-ge1d68582022cfa2b1dc76646724b397ba2739439
Author: Martin Liska <mliska@suse.cz>
Date: Thu Jun 11 09:34:41 2020 +0200
asan: fix RTX emission for ilp32
gcc/ChangeLog:
PR sanitizer/95634
* asan.c (asan_emit_stack_protection): Fix emission for ilp32
by using Pmode instead of ptr_mode.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
(cherry picked from commit 8cff672cb9a132d3d3158c2edfc9a64b55292b80)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug sanitizer/95634] [11 Regression] ICE in output_operand: invalid address mode
2020-06-11 7:15 [Bug sanitizer/95634] New: [11 Regression] ICE in output_operand: invalid address mode marxin at gcc dot gnu.org
` (5 preceding siblings ...)
2020-06-12 8:03 ` cvs-commit at gcc dot gnu.org
@ 2020-06-12 8:17 ` cvs-commit at gcc dot gnu.org
2020-06-12 8:30 ` cvs-commit at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-12 8:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95634
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Martin Liska
<marxin@gcc.gnu.org>:
https://gcc.gnu.org/g:187c96ea5310cef1977d8a44b0b9a6b561b6c8c7
commit r9-8672-g187c96ea5310cef1977d8a44b0b9a6b561b6c8c7
Author: Martin Liska <mliska@suse.cz>
Date: Thu Jun 11 09:34:41 2020 +0200
asan: fix RTX emission for ilp32
gcc/ChangeLog:
PR sanitizer/95634
* asan.c (asan_emit_stack_protection): Fix emission for ilp32
by using Pmode instead of ptr_mode.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
(cherry picked from commit 8cff672cb9a132d3d3158c2edfc9a64b55292b80)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug sanitizer/95634] [11 Regression] ICE in output_operand: invalid address mode
2020-06-11 7:15 [Bug sanitizer/95634] New: [11 Regression] ICE in output_operand: invalid address mode marxin at gcc dot gnu.org
` (6 preceding siblings ...)
2020-06-12 8:17 ` cvs-commit at gcc dot gnu.org
@ 2020-06-12 8:30 ` cvs-commit at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-12 8:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95634
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Martin Liska
<marxin@gcc.gnu.org>:
https://gcc.gnu.org/g:5222017313f5abf39e2374dc11bcac9b444f1b4c
commit r8-10308-g5222017313f5abf39e2374dc11bcac9b444f1b4c
Author: Martin Liska <mliska@suse.cz>
Date: Thu Jun 11 09:34:41 2020 +0200
asan: fix RTX emission for ilp32
gcc/ChangeLog:
PR sanitizer/95634
* asan.c (asan_emit_stack_protection): Fix emission for ilp32
by using Pmode instead of ptr_mode.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
(cherry picked from commit 8cff672cb9a132d3d3158c2edfc9a64b55292b80)
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-06-12 8:30 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11 7:15 [Bug sanitizer/95634] New: [11 Regression] ICE in output_operand: invalid address mode marxin at gcc dot gnu.org
2020-06-11 7:16 ` [Bug sanitizer/95634] " marxin at gcc dot gnu.org
2020-06-11 7:40 ` pinskia at gcc dot gnu.org
2020-06-11 7:42 ` marxin at gcc dot gnu.org
2020-06-11 9:04 ` cvs-commit at gcc dot gnu.org
2020-06-11 9:04 ` marxin at gcc dot gnu.org
2020-06-12 8:03 ` cvs-commit at gcc dot gnu.org
2020-06-12 8:17 ` cvs-commit at gcc dot gnu.org
2020-06-12 8:30 ` cvs-commit 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).