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++/35337] Broken diagnostic for firstprivate clause



------- Comment #2 from jakub at gcc dot gnu dot org  2008-03-10 19:44 -------
Subject: Bug 35337

Author: jakub
Date: Mon Mar 10 19:43:16 2008
New Revision: 133086

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133086
Log:
        PR c++/35337
        * 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/pr35337.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/gomp/pr35337.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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