[Bug c++/56177] [4.8 Regression] ICE when used forward for 'auto f();'
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 4 10:05:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56177
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |error-recovery,
| |ice-on-invalid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-02-04
Known to work| |4.7.2
Target Milestone|--- |4.8.0
Summary|ICE when used forward for |[4.8 Regression] ICE when
|'auto f();' |used forward for 'auto
| |f();'
Ever Confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2013-02-04 10:05:28 UTC ---
Confirmed. With 4.7:
t.C:2:8: error: 'f' function uses 'auto' type specifier without trailing return
type
t.C:3:8: error: 'f' function uses 'auto' type specifier without trailing return
type
t.C: In function 'int main()':
t.C:5:23: error: 'f' was not declared in this scope
More information about the Gcc-bugs
mailing list