This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22494] New: C++ front-end produces mis-match types in EQ_EXPR (array deconstructor)
- 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: 14 Jul 2005 20:09:57 -0000
- Subject: [Bug c++/22494] New: C++ front-end produces mis-match types in EQ_EXPR (array deconstructor)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Take following example:
struct Priority_Task
{
virtual ~Priority_Task (void);
};
Priority_Task tasks[2];
See PR 22368 for the patch to detect this.
pr22481.2.cc: In function 'void __static_initialization_and_destruction_0(int, int)':
pr22481.2.cc:7: error: types mismatch in comparsion
struct Priority_TaskD.1716[2] *
struct Priority_TaskD.1716 *
&tasksD.1734 == D.1760;
--
Summary: C++ front-end produces mis-match types in EQ_EXPR (array
deconstructor)
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
OtherBugsDependingO 22368
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22494