This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26559] [4.0 Regression] ICE with __builtin_constant_p in template argument
- 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: 29 Jun 2006 11:49:20 -0000
- Subject: [Bug c++/26559] [4.0 Regression] ICE with __builtin_constant_p in template argument
- References: <bug-26559-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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