[Bug c++/30108] internal compiler error: in make_decl_rtl, at varasm.c:890
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 8 07:55:00 GMT 2006
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-12-08 07:55 -------
(In reply to comment #5)
> Actually the return type of method "ready" was STATE in my code as.
> STATE ready ();
>
> Why should this code be invalid? It compiled and worked nicely until gcc 3.4.5
But the pointer to member function (of ready) is not the same type as STATE.
The return types differ.
Though I am thinking this is valid code, just undefined if you call the pointer
to member function with the incorrect type.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
URL|http://www.techfak.uni- |
|bielefeld.de/~rhaschke/files|
|/BaseRobot.ii |
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
GCC target triplet|i686-pc-linux-gnu |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30108
More information about the Gcc-bugs
mailing list