public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/107683] New: [13 Regression] ICE in int_fits_type_p, at tree.cc:8044
@ 2022-11-14 17:32 gscfq@t-online.de
2022-11-14 19:34 ` [Bug c/107683] " mpolacek at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: gscfq@t-online.de @ 2022-11-14 17:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107683
Bug ID: 107683
Summary: [13 Regression] ICE in int_fits_type_p, at
tree.cc:8044
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Started between 20221023 and 20221030 :
(gcc configured with --enable-checking=yes)
$ cat z1.c
enum e : int
enum e { E };
$ gcc-13-20221106 -c z1.c
z1.c:2:6: error: 'enum' declared with but defined without fixed underlying type
2 | enum e { E };
| ^
z1.c:2:10: internal compiler error: Segmentation fault
2 | enum e { E };
| ^
0xeeafcf crash_signal
../../gcc/toplev.cc:314
0x1246f30 int_fits_type_p(tree_node const*, tree_node const*)
../../gcc/tree.cc:8044
0x7c4d8b build_enumerator(unsigned int, unsigned int, c_enum_contents*,
tree_node*, tree_node*)
../../gcc/c/c-decl.cc:9786
0x82c01f c_parser_enum_specifier
../../gcc/c/c-parser.cc:3469
0x82c01f c_parser_declspecs(c_parser*, c_declspecs*, bool, bool, bool, bool,
bool, bool, bool, c_lookahead_kind)
../../gcc/c/c-parser.cc:3150
0x82cc91 c_parser_enum_specifier
../../gcc/c/c-parser.cc:3367
0x82cc91 c_parser_declspecs(c_parser*, c_declspecs*, bool, bool, bool, bool,
bool, bool, bool, c_lookahead_kind)
../../gcc/c/c-parser.cc:3150
0x850305 c_parser_declaration_or_fndef
../../gcc/c/c-parser.cc:2091
0x85cf8f c_parser_external_declaration
../../gcc/c/c-parser.cc:1833
0x85d8bd c_parser_translation_unit
../../gcc/c/c-parser.cc:1695
0x85d8bd c_parse_file()
../../gcc/c/c-parser.cc:24359
0x8da031 c_common_parse_file()
../../gcc/c-family/c-opts.cc:1244
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/107683] [13 Regression] ICE in int_fits_type_p, at tree.cc:8044
2022-11-14 17:32 [Bug c/107683] New: [13 Regression] ICE in int_fits_type_p, at tree.cc:8044 gscfq@t-online.de
@ 2022-11-14 19:34 ` mpolacek at gcc dot gnu.org
2022-11-16 12:43 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2022-11-14 19:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107683
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
CC| |mpolacek at gcc dot gnu.org
Status|UNCONFIRMED |NEW
Target Milestone|--- |13.0
Priority|P3 |P2
Last reconfirmed| |2022-11-14
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed. Started with
commit e0997c14af5e8bc4d26e28549cbce99364a1601f
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri Oct 28 00:37:28 2022 +0000
c: C2x enums with fixed underlying type [PR61469]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/107683] [13 Regression] ICE in int_fits_type_p, at tree.cc:8044
2022-11-14 17:32 [Bug c/107683] New: [13 Regression] ICE in int_fits_type_p, at tree.cc:8044 gscfq@t-online.de
2022-11-14 19:34 ` [Bug c/107683] " mpolacek at gcc dot gnu.org
@ 2022-11-16 12:43 ` rguenth at gcc dot gnu.org
2023-04-26 6:57 ` [Bug c/107683] [13/14 " rguenth at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-11-16 12:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107683
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P4
Keywords| |error-recovery
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/107683] [13/14 Regression] ICE in int_fits_type_p, at tree.cc:8044
2022-11-14 17:32 [Bug c/107683] New: [13 Regression] ICE in int_fits_type_p, at tree.cc:8044 gscfq@t-online.de
2022-11-14 19:34 ` [Bug c/107683] " mpolacek at gcc dot gnu.org
2022-11-16 12:43 ` rguenth at gcc dot gnu.org
@ 2023-04-26 6:57 ` rguenth at gcc dot gnu.org
2023-07-27 9:24 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-04-26 6:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107683
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|13.0 |13.2
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 13.1 is being released, retargeting bugs to GCC 13.2.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/107683] [13/14 Regression] ICE in int_fits_type_p, at tree.cc:8044
2022-11-14 17:32 [Bug c/107683] New: [13 Regression] ICE in int_fits_type_p, at tree.cc:8044 gscfq@t-online.de
` (2 preceding siblings ...)
2023-04-26 6:57 ` [Bug c/107683] [13/14 " rguenth at gcc dot gnu.org
@ 2023-07-27 9:24 ` rguenth at gcc dot gnu.org
2024-03-23 21:39 ` pinskia at gcc dot gnu.org
2024-03-23 21:44 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-27 9:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107683
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|13.2 |13.3
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 13.2 is being released, retargeting bugs to GCC 13.3.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/107683] [13/14 Regression] ICE in int_fits_type_p, at tree.cc:8044
2022-11-14 17:32 [Bug c/107683] New: [13 Regression] ICE in int_fits_type_p, at tree.cc:8044 gscfq@t-online.de
` (3 preceding siblings ...)
2023-07-27 9:24 ` rguenth at gcc dot gnu.org
@ 2024-03-23 21:39 ` pinskia at gcc dot gnu.org
2024-03-23 21:44 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-23 21:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107683
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |14.0
Keywords| |needs-bisection
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Looks to be fixed on the trunk.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/107683] [13/14 Regression] ICE in int_fits_type_p, at tree.cc:8044
2022-11-14 17:32 [Bug c/107683] New: [13 Regression] ICE in int_fits_type_p, at tree.cc:8044 gscfq@t-online.de
` (4 preceding siblings ...)
2024-03-23 21:39 ` pinskia at gcc dot gnu.org
@ 2024-03-23 21:44 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-23 21:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107683
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup. Even though PR 112571 is newer, it is the one which has the fix associated
with it.
*** This bug has been marked as a duplicate of bug 112571 ***
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-03-23 21:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14 17:32 [Bug c/107683] New: [13 Regression] ICE in int_fits_type_p, at tree.cc:8044 gscfq@t-online.de
2022-11-14 19:34 ` [Bug c/107683] " mpolacek at gcc dot gnu.org
2022-11-16 12:43 ` rguenth at gcc dot gnu.org
2023-04-26 6:57 ` [Bug c/107683] [13/14 " rguenth at gcc dot gnu.org
2023-07-27 9:24 ` rguenth at gcc dot gnu.org
2024-03-23 21:39 ` pinskia at gcc dot gnu.org
2024-03-23 21:44 ` pinskia 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).