public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/97860] New: [11 Regression] ICE in handle_argspec_attribute, at c-family/c-attribs.c:3244
@ 2020-11-16 19:00 gscfq@t-online.de
  2020-11-16 19:41 ` [Bug c/97860] [11 Regression] ICE in handle_argspec_attribute, at c-family/c-attribs.c:3244 since r11-3303-g6450f07388f9fe57 marxin at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: gscfq@t-online.de @ 2020-11-16 19:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97860

            Bug ID: 97860
           Summary: [11 Regression] ICE in handle_argspec_attribute, at
                    c-family/c-attribs.c:3244
           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 somewhere between 20200823 and 20201004 :


$ cat z1.c
void f (int n)
{
  typedef int T[0];
  typedef T a[n];
  void *g (a);
}


$ gcc-10-20201114 -c z1.c
$
$ gcc-11-20201115 -c z1.c
z1.c: In function 'f':
z1.c:5:3: internal compiler error: in handle_argspec_attribute, at
c-family/c-attribs.c:3244
    5 |   void *g (a);
      |   ^~~~
0x6f34c9 handle_argspec_attribute
        ../../gcc/c-family/c-attribs.c:3244
0x6299f1 decl_attributes(tree_node**, tree_node*, int, tree_node*)
        ../../gcc/attribs.c:724
0x642595 push_parm_decl(c_parm const*, tree_node**)
        ../../gcc/c/c-decl.c:5871
0x67788c c_parser_parms_list_declarator
        ../../gcc/c/c-parser.c:4300
0x677be8 c_parser_parms_declarator
        ../../gcc/c/c-parser.c:4226
0x671163 c_parser_direct_declarator_inner
        ../../gcc/c/c-parser.c:4139
0x671583 c_parser_declarator(c_parser*, bool, c_dtr_syn, bool*)
        ../../gcc/c/c-parser.c:3889
0x6882b7 c_parser_declaration_or_fndef
        ../../gcc/c/c-parser.c:2148
0x6879e9 c_parser_compound_statement_nostart
        ../../gcc/c/c-parser.c:5709
0x687e23 c_parser_compound_statement
        ../../gcc/c/c-parser.c:5606
0x6896b1 c_parser_declaration_or_fndef
        ../../gcc/c/c-parser.c:2543
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] 11+ messages in thread

end of thread, other threads:[~2020-11-19 20:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 19:00 [Bug c/97860] New: [11 Regression] ICE in handle_argspec_attribute, at c-family/c-attribs.c:3244 gscfq@t-online.de
2020-11-16 19:41 ` [Bug c/97860] [11 Regression] ICE in handle_argspec_attribute, at c-family/c-attribs.c:3244 since r11-3303-g6450f07388f9fe57 marxin at gcc dot gnu.org
2020-11-17  7:15 ` rguenth at gcc dot gnu.org
2020-11-18 14:19 ` jakub at gcc dot gnu.org
2020-11-18 15:40 ` msebor at gcc dot gnu.org
2020-11-18 15:42 ` jakub at gcc dot gnu.org
2020-11-18 16:37 ` msebor at gcc dot gnu.org
2020-11-18 16:43 ` jakub at gcc dot gnu.org
2020-11-18 17:13 ` msebor at gcc dot gnu.org
2020-11-19 19:10 ` cvs-commit at gcc dot gnu.org
2020-11-19 20:53 ` jakub 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).