This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30703] ICE Segmentation fault on using OpenMP
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Feb 2007 13:37:45 -0000
- Subject: [Bug c++/30703] ICE Segmentation fault on using OpenMP
- References: <bug-30703-12330@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jakub at gcc dot gnu dot org 2007-02-07 13:37 -------
Subject: Bug 30703
Author: jakub
Date: Wed Feb 7 13:37:29 2007
New Revision: 121690
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121690
Log:
PR c++/30703
* gimplify.c (gimplify_scan_omp_clauses): Remove special casing
of INDIRECT_REF <RESULT_DECL>.
* cp-gimplify.c (cp_genericize_r): Don't dereference invisiref
parameters and result decls in omp clauses.
(cxx_omp_privatize_by_reference): Pass also invisiref PARM_DECLs
by reference.
* testsuite/libgomp.c++/pr30703.C: New test.
Added:
branches/gcc-4_2-branch/libgomp/testsuite/libgomp.c++/pr30703.C
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/cp-gimplify.c
branches/gcc-4_2-branch/gcc/gimplify.c
branches/gcc-4_2-branch/libgomp/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30703