[Bug c++/60708] [4.8/4.9 Regression] An array temporary causes an ICE in gimplify
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 31 08:24:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60708
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Known to work| |4.7.3
Keywords| |accepts-invalid
Last reconfirmed| |2014-03-31
Ever confirmed|0 |1
Summary|An array temporary causes |[4.8/4.9 Regression] An
|an ICE in gimplify |array temporary causes an
| |ICE in gimplify
Target Milestone|--- |4.8.3
Known to fail| |4.8.0
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
With 4.7 I get the maybe informative
t.ii:5:55: error: 'my_make_pair' function uses 'auto' type specifier without
trailing return type
t.ii: In instantiation of 'mypair<T*, int> S<T>::get_pair() [with T = char]':
t.ii:23:19: required from here
t.ii:12:36: error: 'my_make_pair' was not declared in this scope
t.ii:23: confused by earlier errors, bailing out
thus we miss the error in 4.8.x and 4.9 (but ICE the same later).
Marking as accepts-invalid regression. After that it would be an
error-recovery
ice-on-invalid.
More information about the Gcc-bugs
mailing list