public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/97955] New: [11 Regression] ICE in build_array_type_1, at tree.c:8264
@ 2020-11-23 16:34 gscfq@t-online.de
2020-11-23 18:26 ` [Bug c/97955] [11 Regression] ICE in build_array_type_1, at tree.c:8264 since r11-3303-g6450f07388f9fe57 marxin at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: gscfq@t-online.de @ 2020-11-23 16:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97955
Bug ID: 97955
Summary: [11 Regression] ICE in build_array_type_1, at
tree.c:8264
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: ---
Changed between 20200823 and 20201004 :
$ cat z1.c
void f (int n, int a[n]);
void f (int *b) {}
$ gcc-11-20201122 -c z1.c
z1.c:2:1: internal compiler error: Segmentation fault
2 | void f (int *b) {}
| ^~~~
0xb42eff crash_signal
../../gcc/toplev.c:330
0xdbbf5d build_array_type_1
../../gcc/tree.c:8264
0x62930b attr_access::array_as_string[abi:cxx11](tree_node*) const
../../gcc/attribs.c:2299
0x6ff9cd warn_parm_array_mismatch(unsigned int, tree_node*, tree_node*)
../../gcc/c-family/c-warn.c:3435
0x6421a4 start_function(c_declspecs*, c_declarator*, tree_node*)
../../gcc/c/c-decl.c:9591
0x689236 c_parser_declaration_or_fndef
../../gcc/c/c-parser.c:2444
0x690a47 c_parser_external_declaration
../../gcc/c/c-parser.c:1777
0x691569 c_parser_translation_unit
../../gcc/c/c-parser.c:1650
0x691569 c_parse_file()
../../gcc/c/c-parser.c:21882
0x6e0772 c_common_parse_file()
../../gcc/c-family/c-opts.c:1198
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/97955] [11 Regression] ICE in build_array_type_1, at tree.c:8264 since r11-3303-g6450f07388f9fe57
2020-11-23 16:34 [Bug c/97955] New: [11 Regression] ICE in build_array_type_1, at tree.c:8264 gscfq@t-online.de
@ 2020-11-23 18:26 ` marxin at gcc dot gnu.org
2020-11-24 8:15 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-11-23 18:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97955
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |10.2.0
Last reconfirmed| |2020-11-23
Summary|[11 Regression] ICE in |[11 Regression] ICE in
|build_array_type_1, at |build_array_type_1, at
|tree.c:8264 |tree.c:8264 since
| |r11-3303-g6450f07388f9fe57
Target Milestone|--- |11.0
Ever confirmed|0 |1
CC| |marxin at gcc dot gnu.org,
| |msebor at gcc dot gnu.org
Status|UNCONFIRMED |NEW
Known to fail| |11.0
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r11-3303-g6450f07388f9fe57.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/97955] [11 Regression] ICE in build_array_type_1, at tree.c:8264 since r11-3303-g6450f07388f9fe57
2020-11-23 16:34 [Bug c/97955] New: [11 Regression] ICE in build_array_type_1, at tree.c:8264 gscfq@t-online.de
2020-11-23 18:26 ` [Bug c/97955] [11 Regression] ICE in build_array_type_1, at tree.c:8264 since r11-3303-g6450f07388f9fe57 marxin at gcc dot gnu.org
@ 2020-11-24 8:15 ` rguenth at gcc dot gnu.org
2020-11-24 18:49 ` msebor at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-11-24 8:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97955
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/97955] [11 Regression] ICE in build_array_type_1, at tree.c:8264 since r11-3303-g6450f07388f9fe57
2020-11-23 16:34 [Bug c/97955] New: [11 Regression] ICE in build_array_type_1, at tree.c:8264 gscfq@t-online.de
2020-11-23 18:26 ` [Bug c/97955] [11 Regression] ICE in build_array_type_1, at tree.c:8264 since r11-3303-g6450f07388f9fe57 marxin at gcc dot gnu.org
2020-11-24 8:15 ` rguenth at gcc dot gnu.org
@ 2020-11-24 18:49 ` msebor at gcc dot gnu.org
2020-11-24 22:25 ` cvs-commit at gcc dot gnu.org
2020-11-25 0:46 ` msebor at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-11-24 18:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97955
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/97955] [11 Regression] ICE in build_array_type_1, at tree.c:8264 since r11-3303-g6450f07388f9fe57
2020-11-23 16:34 [Bug c/97955] New: [11 Regression] ICE in build_array_type_1, at tree.c:8264 gscfq@t-online.de
` (2 preceding siblings ...)
2020-11-24 18:49 ` msebor at gcc dot gnu.org
@ 2020-11-24 22:25 ` cvs-commit at gcc dot gnu.org
2020-11-25 0:46 ` msebor at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-11-24 22:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97955
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>:
https://gcc.gnu.org/g:211d68dda14d6b773ad648909ef9dd0d65ec2053
commit r11-5325-g211d68dda14d6b773ad648909ef9dd0d65ec2053
Author: Martin Sebor <msebor@redhat.com>
Date: Tue Nov 24 15:23:57 2020 -0700
PR c/97955 - ICE in build_array_type_1 on invalid redeclaration of function
with VLA parameter
gcc/c-family/ChangeLog:
* c-warn.c (warn_parm_array_mismatch): Avoid invalid
redeclarations.
gcc/testsuite/ChangeLog:
* gcc.dg/pr97955.c: New test.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/97955] [11 Regression] ICE in build_array_type_1, at tree.c:8264 since r11-3303-g6450f07388f9fe57
2020-11-23 16:34 [Bug c/97955] New: [11 Regression] ICE in build_array_type_1, at tree.c:8264 gscfq@t-online.de
` (3 preceding siblings ...)
2020-11-24 22:25 ` cvs-commit at gcc dot gnu.org
@ 2020-11-25 0:46 ` msebor at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-11-25 0:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97955
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
Fixed in r11-5325.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-11-25 0:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23 16:34 [Bug c/97955] New: [11 Regression] ICE in build_array_type_1, at tree.c:8264 gscfq@t-online.de
2020-11-23 18:26 ` [Bug c/97955] [11 Regression] ICE in build_array_type_1, at tree.c:8264 since r11-3303-g6450f07388f9fe57 marxin at gcc dot gnu.org
2020-11-24 8:15 ` rguenth at gcc dot gnu.org
2020-11-24 18:49 ` msebor at gcc dot gnu.org
2020-11-24 22:25 ` cvs-commit at gcc dot gnu.org
2020-11-25 0:46 ` msebor 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).