re PR c++/26559 (ICE with __builtin_constant_p in template argument)
authorMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 15 Jun 2006 05:49:19 +0000 (05:49 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 15 Jun 2006 05:49:19 +0000 (05:49 +0000)
commite6bd55657aa22a960174d604e2b363e7600d7aff
treedc8c58c5f22b679a93f2bbb7b3e86bd109033421
parent4c4e648c764466b842ddaae513af83f7ac88c21c
re PR c++/26559 (ICE with __builtin_constant_p in template argument)

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.

From-SVN: r114671
gcc/cp/semantics.c