This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22358] New: C++ front-end (or fold) produces mis-match types in MODIFY_EXPR
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2005 22:30:53 -0000
- Subject: [Bug c++/22358] New: C++ front-end (or fold) produces mis-match types in MODIFY_EXPR
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Take the following C++ code:
struct a
{
virtual ~a();
};
struct b : virtual a { };
b a11;
With the (to be) attached patch I get the following mis-match types:
t.cc: In constructor 'b::b()':
t.cc:10: error: statement types mismatch
iftmp.8D.1929 = 0;
intD.2
long unsigned intD.7
This was reduced from complex_io.cc in libstdc++.
--
Summary: C++ front-end (or fold) produces mis-match types in
MODIFY_EXPR
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22358