[Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call

zak at transversal dot com gcc-bugzilla@gcc.gnu.org
Mon Sep 13 11:49:00 GMT 2004


The following code produces a sensible error (statement cannot resolve address
of overloaded function) immediately followed by an ICE.

Note that removing the base class makes the ICE go away.

Fails in all 3.3 versions; other branches seem unaffected.


struct B { };

struct D : B
{
  void foo();

  D() { foo; }
};

-- 
           Summary: [3.3 regression] ICE when brackets missing from member
                    function call
           Product: gcc
           Version: 3.3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zak at transversal dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17456



More information about the Gcc-bugs mailing list