https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89217
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89217
--- Comment #7 from Marek Polacek ---
Author: mpolacek
Date: Sun Feb 17 16:52:40 2019
New Revision: 268969
URL: https://gcc.gnu.org/viewcvs?rev=268969=gcc=rev
Log:
PR c++/89217 - ICE with list-initialization in range-based for loop.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89217
Marek Polacek changed:
What|Removed |Added
Keywords||patch
--- Comment #6 from Marek Polacek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89217
--- Comment #5 from Marek Polacek ---
...which means that we should most likely deal with REFERENCE_REF_P in case
COMPONENT_REF in tsubst_copy_and_build. Testing a patch.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89217
--- Comment #4 from Marek Polacek ---
Some sort of modification happens twice for the RANGE_FOR_EXPR. Originally we
have
{*((struct S *) this)->r}
which should be turned to
TARGET_EXPR r}>
but we now reprocess this again and get bogus
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89217
Richard Biener changed:
What|Removed |Added
Keywords||error-recovery,
|