[Bug c++/59627] ICE with OpenMP "declare reduction" and -flto

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 8 18:23:00 GMT 2016


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb  8 18:23:03 2016
New Revision: 233225

URL: https://gcc.gnu.org/viewcvs?rev=233225&root=gcc&view=rev
Log:
        PR c++/59627
        * parser.c (cp_parser_omp_declare_reduction): Set assembler name
        of the DECL_OMP_DECLARE_REDUCTION_P decls.

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

Added:
    trunk/gcc/testsuite/g++.dg/gomp/pr59627.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list