public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/105988] New: [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064
@ 2022-06-15 8:28 gscfq@t-online.de
2022-06-15 8:29 ` [Bug c/105988] " gscfq@t-online.de
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: gscfq@t-online.de @ 2022-06-15 8:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105988
Bug ID: 105988
Summary: [10/11/12/13 Regression] ICE in
linemap_ordinary_map_lookup, at
libcpp/line-map.cc:1064
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Started with r12, using file gcc.dg/pr59020.c :
(gcc configured with --enable-checking=yes)
$ gcc-13-20220612 -c pr59020.c -O2 -da -fmodulo-sched
$ gcc-13-20220612 -c pr59020.c -O2 -da -fmodulo-sched -fno-tree-dce
during RTL pass: sms
dump file: pr59020.c.297r.sms
pr59020.c: In function 'f':
pr59020.c:15:1: internal compiler error: in linemap_ordinary_map_lookup, at
libcpp/line-map.cc:1064
15 | }
| ^
0x1eb9ca4 linemap_ordinary_map_lookup
../../libcpp/line-map.cc:1064
0x1ebb07d linemap_macro_loc_to_exp_point
../../libcpp/line-map.cc:1561
0x1e93586 expand_location_1
../../gcc/input.cc:243
0x1e950df expand_location(unsigned int)
../../gcc/input.cc:956
0x9b3b4b insn_location(rtx_insn const*)
../../gcc/emit-rtl.cc:6558
0x1d09e6a dump_insn_location
../../gcc/modulo-sched.cc:1250
0x1d0dc02 sms_schedule
../../gcc/modulo-sched.cc:1418
0x1d1056f execute
../../gcc/modulo-sched.cc:3358
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064
2022-06-15 8:28 [Bug c/105988] New: [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 gscfq@t-online.de
@ 2022-06-15 8:29 ` gscfq@t-online.de
2022-06-15 9:34 ` [Bug rtl-optimization/105988] " rguenth at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: gscfq@t-online.de @ 2022-06-15 8:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105988
G. Steinmetz <gscfq@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Target| |x86_64-pc-linux-gnu
--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---
Starts with r6 and file gcc.dg/torture/pr56034.c, etc. :
(starts with r7 without option -fno-tree-dce)
$ gcc-13-20220612 -c pr56034.c -O2 -da -fmodulo-sched -fno-tree-dce
during RTL pass: sms
dump file: pr56034.c.297r.sms
pr56034.c: In function 'f':
pr56034.c:19:1: internal compiler error: in linemap_ordinary_map_lookup, at
libcpp/line-map.cc:1064
19 | }
| ^
0x1eb9ca4 linemap_ordinary_map_lookup
../../libcpp/line-map.cc:1064
0x1ebb07d linemap_macro_loc_to_exp_point
../../libcpp/line-map.cc:1561
0x1e93586 expand_location_1
../../gcc/input.cc:243
0x1e950df expand_location(unsigned int)
../../gcc/input.cc:956
0x9b3b4b insn_location(rtx_insn const*)
../../gcc/emit-rtl.cc:6558
0x1d09e6a dump_insn_location
../../gcc/modulo-sched.cc:1250
0x1d0dc02 sms_schedule
../../gcc/modulo-sched.cc:1418
0x1d1056f execute
../../gcc/modulo-sched.cc:3358
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064
2022-06-15 8:28 [Bug c/105988] New: [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 gscfq@t-online.de
2022-06-15 8:29 ` [Bug c/105988] " gscfq@t-online.de
@ 2022-06-15 9:34 ` rguenth at gcc dot gnu.org
2022-06-16 14:06 ` [Bug rtl-optimization/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 since r6-4873-gebedc9a3414d8422 marxin at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-06-15 9:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105988
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |10.4
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 since r6-4873-gebedc9a3414d8422
2022-06-15 8:28 [Bug c/105988] New: [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 gscfq@t-online.de
2022-06-15 8:29 ` [Bug c/105988] " gscfq@t-online.de
2022-06-15 9:34 ` [Bug rtl-optimization/105988] " rguenth at gcc dot gnu.org
@ 2022-06-16 14:06 ` marxin at gcc dot gnu.org
2022-06-28 10:49 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-06-16 14:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105988
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Summary|[10/11/12/13 Regression] |[10/11/12/13 Regression]
|ICE in |ICE in
|linemap_ordinary_map_lookup |linemap_ordinary_map_lookup
|, at |, at
|libcpp/line-map.cc:1064 |libcpp/line-map.cc:1064
| |since
| |r6-4873-gebedc9a3414d8422
Ever confirmed|0 |1
Last reconfirmed| |2022-06-16
CC| |dmalcolm at gcc dot gnu.org,
| |marxin at gcc dot gnu.org
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to G. Steinmetz from comment #1)
> Starts with r6 and file gcc.dg/torture/pr56034.c, etc. :
> (starts with r7 without option -fno-tree-dce)
Started with r6-4873-gebedc9a3414d8422.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 since r6-4873-gebedc9a3414d8422
2022-06-15 8:28 [Bug c/105988] New: [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 gscfq@t-online.de
` (2 preceding siblings ...)
2022-06-16 14:06 ` [Bug rtl-optimization/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 since r6-4873-gebedc9a3414d8422 marxin at gcc dot gnu.org
@ 2022-06-28 10:49 ` jakub at gcc dot gnu.org
2022-07-25 15:59 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105988
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #3 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] 11+ messages in thread
* [Bug rtl-optimization/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 since r6-4873-gebedc9a3414d8422
2022-06-15 8:28 [Bug c/105988] New: [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 gscfq@t-online.de
` (3 preceding siblings ...)
2022-06-28 10:49 ` jakub at gcc dot gnu.org
@ 2022-07-25 15:59 ` rguenth at gcc dot gnu.org
2022-08-04 15:04 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-07-25 15:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105988
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Bug with -da and SMS, so not really too important.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 since r6-4873-gebedc9a3414d8422
2022-06-15 8:28 [Bug c/105988] New: [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 gscfq@t-online.de
` (4 preceding siblings ...)
2022-07-25 15:59 ` rguenth at gcc dot gnu.org
@ 2022-08-04 15:04 ` pinskia at gcc dot gnu.org
2022-08-05 5:30 ` rdapp at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-08-04 15:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105988
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rdapp at gcc dot gnu.org
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 106527 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 since r6-4873-gebedc9a3414d8422
2022-06-15 8:28 [Bug c/105988] New: [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 gscfq@t-online.de
` (5 preceding siblings ...)
2022-08-04 15:04 ` pinskia at gcc dot gnu.org
@ 2022-08-05 5:30 ` rdapp at gcc dot gnu.org
2022-10-19 10:32 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rdapp at gcc dot gnu.org @ 2022-08-05 5:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105988
rdapp at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|x86_64-pc-linux-gnu |x86_64-pc-linux-gnu s390
--- Comment #6 from rdapp at gcc dot gnu.org ---
We are also seeing this on s390 as well as several other problems with
-fmodulo-sched. Is this pass here to stay or is it safe to ignore all
issues/FAILs with it because it's going away anyway?
Regards
Robin
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 since r6-4873-gebedc9a3414d8422
2022-06-15 8:28 [Bug c/105988] New: [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 gscfq@t-online.de
` (6 preceding siblings ...)
2022-08-05 5:30 ` rdapp at gcc dot gnu.org
@ 2022-10-19 10:32 ` rguenth at gcc dot gnu.org
2022-10-19 10:33 ` rguenth at gcc dot gnu.org
2023-07-07 10:43 ` [Bug rtl-optimization/105988] [11/12/13/14 " rguenth at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-10-19 10:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105988
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
The rtx_insn in question is
(note 13 14 17 5 [bb 5] NOTE_INSN_BASIC_BLOCK)
but INSN_LOCATION here is the NOTE kind!? Still it says INSN_HAS_LOCATION
and the XUINT access RTL_CHECK2 isn't flagging this.
What's the correct check to use here in
/* Dump file:line from INSN's location info to dump_file. */
static void
dump_insn_location (rtx_insn *insn)
{
if (dump_file && INSN_HAS_LOCATION (insn))
{
expanded_location xloc = insn_location (insn);
fprintf (dump_file, " %s:%i", xloc.file, xloc.line);
}
}
?
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 since r6-4873-gebedc9a3414d8422
2022-06-15 8:28 [Bug c/105988] New: [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 gscfq@t-online.de
` (7 preceding siblings ...)
2022-10-19 10:32 ` rguenth at gcc dot gnu.org
@ 2022-10-19 10:33 ` rguenth at gcc dot gnu.org
2023-07-07 10:43 ` [Bug rtl-optimization/105988] [11/12/13/14 " rguenth at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-10-19 10:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105988
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/105988] [11/12/13/14 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 since r6-4873-gebedc9a3414d8422
2022-06-15 8:28 [Bug c/105988] New: [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 gscfq@t-online.de
` (8 preceding siblings ...)
2022-10-19 10:33 ` rguenth at gcc dot gnu.org
@ 2023-07-07 10:43 ` rguenth at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105988
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.5 |11.5
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2023-07-07 10:43 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-15 8:28 [Bug c/105988] New: [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 gscfq@t-online.de
2022-06-15 8:29 ` [Bug c/105988] " gscfq@t-online.de
2022-06-15 9:34 ` [Bug rtl-optimization/105988] " rguenth at gcc dot gnu.org
2022-06-16 14:06 ` [Bug rtl-optimization/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 since r6-4873-gebedc9a3414d8422 marxin at gcc dot gnu.org
2022-06-28 10:49 ` jakub at gcc dot gnu.org
2022-07-25 15:59 ` rguenth at gcc dot gnu.org
2022-08-04 15:04 ` pinskia at gcc dot gnu.org
2022-08-05 5:30 ` rdapp at gcc dot gnu.org
2022-10-19 10:32 ` rguenth at gcc dot gnu.org
2022-10-19 10:33 ` rguenth at gcc dot gnu.org
2023-07-07 10:43 ` [Bug rtl-optimization/105988] [11/12/13/14 " 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).