[Bug c++/27547] [4.0/4.1/4.2 regression] ICE on invalid operator=

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu May 11 14:49:00 GMT 2006



------- Comment #4 from reichelt at gcc dot gnu dot org  2006-05-11 14:49 -------
Subject: Bug 27547

Author: reichelt
Date: Thu May 11 14:49:17 2006
New Revision: 113698

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113698
Log:
        PR c++/27547
        * decl.c (copy_fn_p): Return early on non-member functions.

        * g++.dg/other/operator1.C: New test.

Added:
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/other/operator1.C
Modified:
    branches/gcc-4_0-branch/gcc/cp/ChangeLog
    branches/gcc-4_0-branch/gcc/cp/decl.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list