[Bug middle-end/20991] [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node

2005-04-14 Thread matz at suse dot de
--- Additional Comments From matz at suse dot de 2005-04-15 03:16 --- One strange thing is, that the call to getWidth() in B is already in .generic: if (retval.1) { getWidth (&i_bnds); } while the call to getWidth() in isEmpty() (which is inlined later into

[Bug middle-end/20991] [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node

2005-04-14 Thread matz at suse dot de
--- Additional Comments From matz at suse dot de 2005-04-15 02:40 --- We see this error in blender. I was able to reduce it quite a bit to this: struct IMG_Rect { virtual inline int getWidth() const; virtual inline bool isEmpty() const; virtual int getVisibility(int) const; };

[Bug middle-end/20991] [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node

2005-04-14 Thread commie1 at gmx dot net
--- Additional Comments From commie1 at gmx dot net 2005-04-14 12:35 --- Your simplified testcase only causes an ICE when I use the C++ headers from gcc 3.4.3 with gcc 4.0.0, otherwise it works fine. ICE: /opt/gcc40/bin/g++ -O -finline-functions test.cc -c -o test.o -isystem /usr/includ

[Bug middle-end/20991] [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node

2005-04-13 Thread dmitri at unm dot edu
-- What|Removed |Added CC||dmitri at unm dot edu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20991

[Bug middle-end/20991] [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node

2005-04-13 Thread jakub at gcc dot gnu dot org
--- Additional Comments From jakub at gcc dot gnu dot org 2005-04-13 14:26 --- Somewhat simplified testcase: #include #include struct A { int i; }; struct B { int i; }; struct C { int i; }; struct D { int i; }; struct E { E (void); E (bool b); E (const A & m); virtual ~ E (v

[Bug middle-end/20991] [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node

2005-04-13 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org Summary|ICE in