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

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).