Summary: | ICE with may_alias and auto | ||
---|---|---|---|
Product: | gcc | Reporter: | Paul Pluzhnikov <ppluzhnikov> |
Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | aloysius.wild, mpolacek, ville.voutilainen, webrown.cpp |
Priority: | P3 | Keywords: | ice-on-valid-code |
Version: | 4.8.2 | ||
Target Milestone: | --- | ||
See Also: | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97222 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | 4.8.2, 4.9.1, 5.0, 8.2.0, 9.0 | Last reconfirmed: | 2020-12-09 00:00:00 |
Description
Paul Pluzhnikov
2014-10-17 16:49:51 UTC
Here we're calling cplus_decl_attributes on a variable that is undeduced_auto_decl; calling layout_type then of course crashes because the middle end can't handle undeduced auto. |