This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/31748] [4.2/4.3 regression] bad diagnostic for invalid private clause



------- Comment #3 from jakub at gcc dot gnu dot org  2007-07-02 13:01 -------
Subject: Bug 31748

Author: jakub
Date: Mon Jul  2 13:01:37 2007
New Revision: 126202

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126202
Log:
        PR c++/31748
        * semantics.c (finish_omp_clauses): Use %qD instead of %qE for
        DECL_P in not a variable and appears more than once error messages.

        * g++.dg/gomp/pr31748.C: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/gomp/pr31748.C
Modified:
    branches/gcc-4_2-branch/gcc/cp/ChangeLog
    branches/gcc-4_2-branch/gcc/cp/semantics.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]