[Bug c++/82835] [8 Regression] ICE on valid code with -fopenmp

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 7 20:51:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82835

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Nov  7 20:51:05 2017
New Revision: 254511

URL: https://gcc.gnu.org/viewcvs?rev=254511&root=gcc&view=rev
Log:
        PR c++/82835
        * cp-gimplify.c (cxx_omp_clause_apply_fn): For methods pass i - 1 to
        convert_default_arg instead of i.

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

Added:
    trunk/libgomp/testsuite/libgomp.c++/pr82835.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-gimplify.c
    trunk/libgomp/ChangeLog


More information about the Gcc-bugs mailing list