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

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
Jakub, what do you think about following c++ patch:

--cut here--
Index: semantics.c
===================================================================
--- semantics.c (revision 210137)
+++ semantics.c (working copy)
@@ -9630,6 +9630,7 @@ cxx_eval_constant_expression (const constexpr_call
     case PLUS_EXPR:
     case MINUS_EXPR:
     case MULT_EXPR:
+    case MULT_HIGHPART_EXPR:
     case TRUNC_DIV_EXPR:
     case CEIL_DIV_EXPR:
     case FLOOR_DIV_EXPR:
@@ -10484,6 +10485,7 @@ potential_constant_expression_1 (tree t, bool want

     case PLUS_EXPR:
     case MULT_EXPR:
+    case MULT_HIGHPART_EXPR:
     case POINTER_PLUS_EXPR:
     case RDIV_EXPR:
     case EXACT_DIV_EXPR:
--cut here--

This patch fixes the compilation of the testcase and allows native alpha
bootstrap to continue.

Reply via email to