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++/35158] g++ does not compile valid C++ for loops with -fopenmp



------- Comment #10 from manu at gcc dot gnu dot org  2008-08-20 16:36 -------
Subject: Bug 35158

Author: manu
Date: Wed Aug 20 16:35:21 2008
New Revision: 139335

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139335
Log:
2008-08-20  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

        PR c++/35158
cp/   
        * parser.c (cp_parser_omp_for_loop): Handle parenthesized
        initializers.
testsuite/
        * g++.dg/gomp/pr35158.C: New.

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


-- 


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


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