[Bug c++/22256] diagnostic shows wrong type for cast operator
gdr at integrable-solutions dot net
gcc-bugzilla@gcc.gnu.org
Thu Jun 30 20:56:00 GMT 2005
------- Additional Comments From gdr at integrable-solutions dot net 2005-06-30 20:56 -------
Subject: Re: diagnostic shows wrong type
"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| Confirmed. Also happens with 3.3.x.
I think this happens because when the C++ front-end finds that a
declaration is erroneous, it sets its TREE_TYPE to "int", presumably
thinking that a default type should be "int".
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22256
More information about the Gcc-bugs
mailing list