This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/22358] New: C++ front-end (or fold) produces mis-match types in MODIFY_EXPR


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]