public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/97861] New: [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378
@ 2020-11-16 19:02 gscfq@t-online.de
2020-11-16 19:46 ` [Bug c/97861] " marxin at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: gscfq@t-online.de @ 2020-11-16 19:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97861
Bug ID: 97861
Summary: [11 Regression] ICE in warn_parm_array_mismatch, at
c-family/c-warn.c:3378
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
__attribute__((access(read_only, 2))) void f (int, int*);
void f (int a) { }
$ gcc-11-20201115 -c z1.c
z1.c:2:1: internal compiler error: Segmentation fault
2 | void f (int a) { }
| ^~~~
0xb3b52f crash_signal
../../gcc/toplev.c:330
0x6fef74 warn_parm_array_mismatch(unsigned int, tree_node*, tree_node*)
../../gcc/c-family/c-warn.c:3378
0x641a94 start_function(c_declspecs*, c_declarator*, tree_node*)
../../gcc/c/c-decl.c:9589
0x688a86 c_parser_declaration_or_fndef
../../gcc/c/c-parser.c:2444
0x690297 c_parser_external_declaration
../../gcc/c/c-parser.c:1777
0x690db9 c_parser_translation_unit
../../gcc/c/c-parser.c:1650
0x690db9 c_parse_file()
../../gcc/c/c-parser.c:21882
0x6dfb82 c_common_parse_file()
../../gcc/c-family/c-opts.c:1196
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/97861] [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378
2020-11-16 19:02 [Bug c/97861] New: [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378 gscfq@t-online.de
@ 2020-11-16 19:46 ` marxin at gcc dot gnu.org
2020-11-17 7: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-16 19:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97861
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marxin at gcc dot gnu.org,
| |msebor at gcc dot gnu.org
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=97860
Target Milestone|--- |11.0
Status|UNCONFIRMED |NEW
Last reconfirmed| |2020-11-16
Ever confirmed|0 |1
--- 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/97861] [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378
2020-11-16 19:02 [Bug c/97861] New: [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378 gscfq@t-online.de
2020-11-16 19:46 ` [Bug c/97861] " marxin at gcc dot gnu.org
@ 2020-11-17 7:15 ` rguenth at gcc dot gnu.org
2020-11-18 22:47 ` 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-17 7:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97861
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/97861] [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378
2020-11-16 19:02 [Bug c/97861] New: [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378 gscfq@t-online.de
2020-11-16 19:46 ` [Bug c/97861] " marxin at gcc dot gnu.org
2020-11-17 7:15 ` rguenth at gcc dot gnu.org
@ 2020-11-18 22:47 ` msebor at gcc dot gnu.org
2020-11-20 21:36 ` cvs-commit at gcc dot gnu.org
2020-11-20 21:44 ` msebor at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-11-18 22:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97861
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/97861] [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378
2020-11-16 19:02 [Bug c/97861] New: [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378 gscfq@t-online.de
` (2 preceding siblings ...)
2020-11-18 22:47 ` msebor at gcc dot gnu.org
@ 2020-11-20 21:36 ` cvs-commit at gcc dot gnu.org
2020-11-20 21:44 ` msebor at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-11-20 21:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97861
--- 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:27c5416fc8a4c2b33a0d6b6a26da2518791e0464
commit r11-5213-g27c5416fc8a4c2b33a0d6b6a26da2518791e0464
Author: Martin Sebor <msebor@redhat.com>
Date: Fri Nov 20 14:35:25 2020 -0700
PR middle-end/97861 - ICE on an invalid redeclaration of a function with
attribute access
gcc/c-family/ChangeLog:
* c-warn.c (warn_parm_array_mismatch): Bail on invalid
redeclarations
with fewer arguments.
gcc/testsuite/ChangeLog:
* gcc.dg/attr-access-4.c: New test.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/97861] [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378
2020-11-16 19:02 [Bug c/97861] New: [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378 gscfq@t-online.de
` (3 preceding siblings ...)
2020-11-20 21:36 ` cvs-commit at gcc dot gnu.org
@ 2020-11-20 21:44 ` msebor at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-11-20 21:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97861
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-5213.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-11-20 21:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 19:02 [Bug c/97861] New: [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378 gscfq@t-online.de
2020-11-16 19:46 ` [Bug c/97861] " marxin at gcc dot gnu.org
2020-11-17 7:15 ` rguenth at gcc dot gnu.org
2020-11-18 22:47 ` msebor at gcc dot gnu.org
2020-11-20 21:36 ` cvs-commit at gcc dot gnu.org
2020-11-20 21:44 ` 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).