This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/38725] [4.4 regression] ICE with goto
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jan 2009 23:04:32 -0000
- Subject: [Bug c++/38725] [4.4 regression] ICE with goto
- References: <bug-38725-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-01-04 23:04 -------
IMHO this is invalid. extend.texi says
@smallexample
goto *ptr;
@end smallexample
@noindent
Any expression of type @code{void *} is allowed.
and integers are not promoted to pointers.
This checking is only enabled with checking.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords|ice-on-valid-code |accepts-invalid, ice-
| |checking
Last reconfirmed|0000-00-00 00:00:00 |2009-01-04 23:04:32
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38725