This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/32122] indirect goto to an integer accepted
- From: "sjackman at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2007 17:30:40 -0000
- Subject: [Bug c/32122] indirect goto to an integer accepted
- References: <bug-32122-6809@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from sjackman at gmail dot com 2007-11-23 17:30 -------
I've always used `goto *123;' on embedded targets as a feature to be able to
jump to a constant address. This particularly useful feature should not be
removed. Is a simple change of syntax being suggested, such as `goto *(void
*)123;'? Dereferencing a void pointer looks strange to me, but I guess no
stranger than dereferencing an integer.
--
sjackman at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sjackman at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32122