public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/114727] New: ICE with c23 with aligned attribute and .-g
@ 2024-04-15 20:22 muecker at gwdg dot de
2024-04-15 20:24 ` [Bug c/114727] " pinskia at gcc dot gnu.org
2024-04-16 7:34 ` rguenth at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: muecker at gwdg dot de @ 2024-04-15 20:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114727
Bug ID: 114727
Summary: ICE with c23 with aligned attribute and .-g
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: muecker at gwdg dot de
Target Milestone: ---
The following ICEs with -std=c23, -g and checking:
#define Y [[gnu::aligned(128)]]
extern struct Y foo { int x; } x;
struct foo { int x; };
We should probably reject redefinition by having
the following in tagged_types_tu_compatible_p.
if (TYPE_USER_ALIGN (t1) != TYPE_USER_ALIGN (t2))
data->different_types_p = true;
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-04-16 7:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-15 20:22 [Bug c/114727] New: ICE with c23 with aligned attribute and .-g muecker at gwdg dot de
2024-04-15 20:24 ` [Bug c/114727] " pinskia at gcc dot gnu.org
2024-04-16 7:34 ` rguenth 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).