]> gcc.gnu.org Git - gcc.git/commit
re PR c++/26559 (ICE with __builtin_constant_p in template argument)
authorMark Mitchell <mark@codesourcery.com>
Thu, 15 Jun 2006 03:26:38 +0000 (03:26 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 15 Jun 2006 03:26:38 +0000 (03:26 +0000)
commitfe89d79748951c95a113e10b6184ca5284d3936d
tree2419236a5dd577e978264804fe2c75548fb14e25
parent801522dead7b6e710f78eb26017195c814db04a2
re PR c++/26559 (ICE with __builtin_constant_p in template argument)

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.

2006-06-14  Mark Mitchell  <mark@codesourcery.com>

PR c++/26559
* pt.c (tsubst_expr): Use finish_omp_atomic.
(value_dependent_expression_p): All CALL_EXPRs are dependent.
* semantics.c (finish_omp_atomic): Rework to use standard
paradigms for handling non-dependent expressions.

2006-06-14  Mark Mitchell  <mark@codesourcery.com>

PR c++/26559
* g++.dg/template/builtin1.C: New test.
* g++.dg/gomp/tpl-atomic-2.C: Remove XFAIL.

From-SVN: r114665
gcc/ChangeLog
gcc/c-common.h
gcc/c-omp.c
gcc/c-parser.c
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/tpl-atomic-2.C
gcc/testsuite/g++.dg/template/builtin1.C [new file with mode: 0644]
This page took 0.059713 seconds and 5 git commands to generate.