re PR c++/56481 (endless loop compiling a C++ file)
authorJason Merrill <jason@redhat.com>
Thu, 28 Feb 2013 20:21:23 +0000 (15:21 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 28 Feb 2013 20:21:23 +0000 (15:21 -0500)
commit728761beb09e1d14952d08ffe18cf1494e05c782
tree057a232c70168d39ceaf82e43e99f4fd566d83db
parent15fd8332c06b873289196e91bdc3fe9723648ca9
re PR c++/56481 (endless loop compiling a C++ file)

PR c++/56481
* semantics.c (potential_constant_expression_1): Use
cxx_eval_outermost_constant_expr rather than maybe_constant_value.

From-SVN: r196358
gcc/cp/ChangeLog
gcc/cp/semantics.c