public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/111169] New: ICE on auto with may_alias attribute
@ 2023-08-27 6:58 stevenxia990430 at gmail dot com
2023-08-27 7:12 ` [Bug c++/111169] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: stevenxia990430 at gmail dot com @ 2023-08-27 6:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111169
Bug ID: 111169
Summary: ICE on auto with may_alias attribute
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: stevenxia990430 at gmail dot com
Target Milestone: ---
The following program reports an internal compiler error. Failed on gcc-trunk.
To quickly reproduce: https://gcc.godbolt.org/z/4z81xq5qP
```
int main() {
auto __attribute__((may_alias)) res = 0; // changing auto to int compiles
successfully
}
```
note that changing auto to int compiles successfully. Also this code compiles
successfully on clang trunk.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/111169] ICE on auto with may_alias attribute
2023-08-27 6:58 [Bug c++/111169] New: ICE on auto with may_alias attribute stevenxia990430 at gmail dot com
@ 2023-08-27 7:12 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-08-27 7:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111169
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 89867
*** This bug has been marked as a duplicate of bug 89867 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-27 7:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-27 6:58 [Bug c++/111169] New: ICE on auto with may_alias attribute stevenxia990430 at gmail dot com
2023-08-27 7:12 ` [Bug c++/111169] " 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).