[Bug c++/56217] ICE: OpenMP: when combining shared() and a move constructor

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 19 17:20:00 GMT 2013


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-19 17:19:41 UTC ---
Author: jakub
Date: Tue Feb 19 17:19:36 2013
New Revision: 196141

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196141
Log:
    Backported from mainline
    2013-02-06  Jakub Jelinek  <jakub@redhat.com>

    PR middle-end/56217
    * omp-low.c (use_pointer_for_field): Return false if
    lower_send_shared_vars doesn't generate any copy-out code.

    * g++.dg/gomp/pr56217.C: New test.

    * testsuite/libgomp.c++/pr56217.C: New test.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/gomp/pr56217.C
    branches/gcc-4_7-branch/libgomp/testsuite/libgomp.c++/pr56217.C
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/omp-low.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_7-branch/libgomp/ChangeLog



More information about the Gcc-bugs mailing list