[Bug c++/26195] [4.0/4.1/4.2 regression] pragma interface no longer handles explicit names

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 7 06:53:00 GMT 2006



------- Comment #12 from jason at gcc dot gnu dot org  2006-09-07 06:53 -------
Subject: Bug 26195

Author: jason
Date: Thu Sep  7 06:53:21 2006
New Revision: 116740

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116740
Log:
        PR c++/26195
        * decl.c (make_rtl_for_nonlocal_decl),
        (start_preparsed_function): Don't use lbasename on
        input_filename when calling get_fileinfo.
        * semantics.c (begin_class_definition): Likewise.
        * lex.c (cxx_make_type): Likewise.
        (handle_pragma_interface): Call get_fileinfo on input_filename,
        not on the parameter to the directive.

Added:
    trunk/gcc/testsuite/g++.dg/ext/interface2.C
    trunk/gcc/testsuite/g++.dg/ext/interface2a.h
    trunk/gcc/testsuite/g++.dg/ext/interface2b.cc
    trunk/gcc/testsuite/g++.dg/ext/interface3/
    trunk/gcc/testsuite/g++.dg/ext/interface3/dir1/
    trunk/gcc/testsuite/g++.dg/ext/interface3/dir1/interface3.h
    trunk/gcc/testsuite/g++.dg/ext/interface3/dir2/
    trunk/gcc/testsuite/g++.dg/ext/interface3/dir2/interface3.h
    trunk/gcc/testsuite/g++.dg/ext/interface3/interface3a.C
    trunk/gcc/testsuite/g++.dg/ext/interface3/interface3a2.cc
    trunk/gcc/testsuite/g++.dg/ext/interface3/interface3b.C
    trunk/gcc/testsuite/g++.dg/ext/interface3/interface3b2.cc
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/lex.c
    trunk/gcc/cp/semantics.c


-- 


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



More information about the Gcc-bugs mailing list