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++/24451] [gomp] Return out of parallel loop not rejected



------- Comment #2 from cvs-commit at gcc dot gnu dot org  2005-10-21 22:07 -------
Subject: Bug 24451

CVSROOT:        /cvs/gcc
Module name:    gcc
Branch:         gomp-20050608-branch
Changes by:     rth@gcc.gnu.org 2005-10-21 22:06:53

Modified files:
        gcc/cp         : ChangeLog.gomp cp-tree.h decl.c semantics.c 
Added files:
        gcc/testsuite/g++.dg/gomp: block-8.C 
        gcc/testsuite/gcc.dg/gomp: block-8.c 

Log message:
        PR c++/24451
        * decl.c (check_omp_return): Return false on error.
        * cp-tree.h (check_omp_return): Update decl.
        * semantics.c (finish_return_stmt): Avoid adding return on error.

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.16&r2=1.1.8.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1144.4.15&r2=1.1144.4.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1403.4.11&r2=1.1403.4.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.475.4.14&r2=1.475.4.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/gomp/block-8.C.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/gomp/block-8.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=24451


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