------- Comment #5 from cvs-commit at gcc dot gnu dot org  2005-10-25 21:40 
-------
Subject: Bug 24513

CVSROOT:        /cvs/gcc
Module name:    gcc
Branch:         gomp-20050608-branch
Changes by:     [EMAIL PROTECTED]       2005-10-25 21:39:57

Modified files:
        gcc/cp         : ChangeLog.gomp 
        gcc/testsuite  : ChangeLog.gomp 
        gcc/cp         : parser.c 
Added files:
        gcc/testsuite/g++.dg/gomp: method-1.C 

Log message:
        PR c++/24513
        * parser.c (cp_parser_cache_group): Don't stop if next token
        is CPP_PRAGMA_EOL and end is CPP_PRAGMA_EOL as well.  If current
        token is CPP_PRAGMA, consume everything until CPP_PRAGMA_EOL
        inclusive.

        * g++.dg/gomp/method-1.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.8.23&r2=1.1.8.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.45&r2=1.1.2.46
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.340.4.20&r2=1.340.4.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/gomp/method-1.C.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=NONE&r2=1.1.2.1


-- 


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

Reply via email to