[Bug c++/26559] [4.0 Regression] ICE with __builtin_constant_p in template argument

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 29 12:17:00 GMT 2006



------- Comment #7 from jakub at gcc dot gnu dot org  2006-06-29 11:49 -------
Subject: Bug 26559

Author: jakub
Date: Thu Jun 29 11:49:07 2006
New Revision: 115067

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115067
Log:
2006-06-14  Mark Mitchell  <mark@codesourcery.com>

        PR c++/26559
        * c-common.h (c_finish_omp_atomic): Adjust declaration.
        * c-omp.c (c_finish_omp_atomic): Return the expression to perform,
        rather than calling add_stmt on it.
        * c-parser.c (c_parser_omp_atomic): Adjust accordingly.

        * pt.c (tsubst_expr): Use finish_omp_atomic.
        * semantics.c (finish_omp_atomic): Rework to use standard
        paradigms for handling non-dependent expressions.

        * g++.dg/gomp/tpl-atomic-2.C: Remove XFAIL.

Modified:
    branches/redhat/gcc-4_1-branch/gcc/ChangeLog
    branches/redhat/gcc-4_1-branch/gcc/c-common.h
    branches/redhat/gcc-4_1-branch/gcc/c-omp.c
    branches/redhat/gcc-4_1-branch/gcc/c-parser.c
    branches/redhat/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/redhat/gcc-4_1-branch/gcc/cp/pt.c
    branches/redhat/gcc-4_1-branch/gcc/cp/semantics.c
    branches/redhat/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/redhat/gcc-4_1-branch/gcc/testsuite/g++.dg/gomp/tpl-atomic-2.C


-- 


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



More information about the Gcc-bugs mailing list