public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/98294] New: [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296
@ 2020-12-15 17:20 gscfq@t-online.de
2020-12-16 8:21 ` [Bug c/98294] [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 since r6-6901-g876217ae71cf0b34 marxin at gcc dot gnu.org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: gscfq@t-online.de @ 2020-12-15 17:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98294
Bug ID: 98294
Summary: [9/10/11 Regression] ICE in calculate_line_spans, at
diagnostic-show-locus.c:1296
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Old stuff, affects versions down to r6 :
$ cat z1.c
void f ()
{
#line 9223372036854775807
g ()
+ 1;
}
$ gcc-11-20201213 -c z1.c -Wall
z1.c: In function 'f':
z1.c:3:9: warning: line number out of range
3 | #line 9223372036854775807
| ^~~~~~~~~~~~~~~~~~~
z1.c:-1:3: warning: implicit declaration of function 'g'
[-Wimplicit-function-declaration]
z1.c: warning: value computed is not used [-Wunused-value]
z1.c: internal compiler error: in calculate_line_spans, at
diagnostic-show-locus.c:1296
0x1532394 calculate_line_spans
../../gcc/diagnostic-show-locus.c:1296
0x1532394 layout
../../gcc/diagnostic-show-locus.c:1003
0x1532572 diagnostic_show_locus(diagnostic_context*, rich_location*,
diagnostic_t)
../../gcc/diagnostic-show-locus.c:2601
0x6e2435 c_diagnostic_finalizer
../../gcc/c-family/c-opts.c:174
0x152d744 diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
../../gcc/diagnostic.c:1223
0x152de6e diagnostic_impl
../../gcc/diagnostic.c:1366
0x152e392 warning_at(unsigned int, int, char const*, ...)
../../gcc/diagnostic.c:1503
0x64ea89 c_process_expr_stmt(unsigned int, tree_node*)
../../gcc/c/c-typeck.c:11213
0x64eb8d c_finish_expr_stmt(unsigned int, tree_node*)
../../gcc/c/c-typeck.c:11243
0x689d18 c_parser_statement_after_labels
../../gcc/c/c-parser.c:6249
0x68bd0a c_parser_compound_statement_nostart
../../gcc/c/c-parser.c:5788
0x68c583 c_parser_compound_statement
../../gcc/c/c-parser.c:5597
0x68de38 c_parser_declaration_or_fndef
../../gcc/c/c-parser.c:2539
0x694ca7 c_parser_external_declaration
../../gcc/c/c-parser.c:1777
0x6957c9 c_parser_translation_unit
../../gcc/c/c-parser.c:1650
0x6957c9 c_parse_file()
../../gcc/c/c-parser.c:21929
0x6e5532 c_common_parse_file()
../../gcc/c-family/c-opts.c:1211
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/98294] [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 since r6-6901-g876217ae71cf0b34
2020-12-15 17:20 [Bug c/98294] New: [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 gscfq@t-online.de
@ 2020-12-16 8:21 ` marxin at gcc dot gnu.org
2021-01-04 15:15 ` rguenth at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-16 8:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98294
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-12-16
Ever confirmed|0 |1
Summary|[9/10/11 Regression] ICE in |[9/10/11 Regression] ICE in
|calculate_line_spans, at |calculate_line_spans, at
|diagnostic-show-locus.c:129 |diagnostic-show-locus.c:129
|6 |6 since
| |r6-6901-g876217ae71cf0b34
CC| |dmalcolm at gcc dot gnu.org,
| |marxin at gcc dot gnu.org
Status|UNCONFIRMED |NEW
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r6-6901-g876217ae71cf0b34.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/98294] [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 since r6-6901-g876217ae71cf0b34
2020-12-15 17:20 [Bug c/98294] New: [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 gscfq@t-online.de
2020-12-16 8:21 ` [Bug c/98294] [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 since r6-6901-g876217ae71cf0b34 marxin at gcc dot gnu.org
@ 2021-01-04 15:15 ` rguenth at gcc dot gnu.org
2021-01-14 11:07 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-04 15:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98294
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |9.4
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/98294] [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 since r6-6901-g876217ae71cf0b34
2020-12-15 17:20 [Bug c/98294] New: [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 gscfq@t-online.de
2020-12-16 8:21 ` [Bug c/98294] [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 since r6-6901-g876217ae71cf0b34 marxin at gcc dot gnu.org
2021-01-04 15:15 ` rguenth at gcc dot gnu.org
@ 2021-01-14 11:07 ` rguenth at gcc dot gnu.org
2021-01-28 9:39 ` jakub at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-14 11:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98294
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/98294] [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 since r6-6901-g876217ae71cf0b34
2020-12-15 17:20 [Bug c/98294] New: [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 gscfq@t-online.de
` (2 preceding siblings ...)
2021-01-14 11:07 ` rguenth at gcc dot gnu.org
@ 2021-01-28 9:39 ` jakub at gcc dot gnu.org
2021-01-28 14:20 ` dmalcolm at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-01-28 9:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98294
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
David, do you think you could have a look?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/98294] [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 since r6-6901-g876217ae71cf0b34
2020-12-15 17:20 [Bug c/98294] New: [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 gscfq@t-online.de
` (3 preceding siblings ...)
2021-01-28 9:39 ` jakub at gcc dot gnu.org
@ 2021-01-28 14:20 ` dmalcolm at gcc dot gnu.org
2021-06-01 8:19 ` [Bug c/98294] [9/10/11/12 " rguenth at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2021-01-28 14:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98294
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/98294] [9/10/11/12 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 since r6-6901-g876217ae71cf0b34
2020-12-15 17:20 [Bug c/98294] New: [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 gscfq@t-online.de
` (4 preceding siblings ...)
2021-01-28 14:20 ` dmalcolm at gcc dot gnu.org
@ 2021-06-01 8:19 ` rguenth at gcc dot gnu.org
2022-05-27 9:44 ` [Bug c/98294] [10/11/12/13 " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98294
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/98294] [10/11/12/13 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 since r6-6901-g876217ae71cf0b34
2020-12-15 17:20 [Bug c/98294] New: [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 gscfq@t-online.de
` (5 preceding siblings ...)
2021-06-01 8:19 ` [Bug c/98294] [9/10/11/12 " rguenth at gcc dot gnu.org
@ 2022-05-27 9:44 ` rguenth at gcc dot gnu.org
2022-06-28 10:42 ` jakub at gcc dot gnu.org
2023-07-07 10:38 ` [Bug c/98294] [11/12/13/14 " rguenth at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27 9:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98294
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.5 |10.4
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/98294] [10/11/12/13 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 since r6-6901-g876217ae71cf0b34
2020-12-15 17:20 [Bug c/98294] New: [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 gscfq@t-online.de
` (6 preceding siblings ...)
2022-05-27 9:44 ` [Bug c/98294] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:42 ` jakub at gcc dot gnu.org
2023-07-07 10:38 ` [Bug c/98294] [11/12/13/14 " rguenth at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98294
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #5 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] 10+ messages in thread
* [Bug c/98294] [11/12/13/14 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 since r6-6901-g876217ae71cf0b34
2020-12-15 17:20 [Bug c/98294] New: [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 gscfq@t-online.de
` (7 preceding siblings ...)
2022-06-28 10:42 ` jakub at gcc dot gnu.org
@ 2023-07-07 10:38 ` rguenth at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98294
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.5 |11.5
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2023-07-07 10:38 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 17:20 [Bug c/98294] New: [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 gscfq@t-online.de
2020-12-16 8:21 ` [Bug c/98294] [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 since r6-6901-g876217ae71cf0b34 marxin at gcc dot gnu.org
2021-01-04 15:15 ` rguenth at gcc dot gnu.org
2021-01-14 11:07 ` rguenth at gcc dot gnu.org
2021-01-28 9:39 ` jakub at gcc dot gnu.org
2021-01-28 14:20 ` dmalcolm at gcc dot gnu.org
2021-06-01 8:19 ` [Bug c/98294] [9/10/11/12 " rguenth at gcc dot gnu.org
2022-05-27 9:44 ` [Bug c/98294] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:42 ` jakub at gcc dot gnu.org
2023-07-07 10:38 ` [Bug c/98294] [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).