Summary: | [ICE] at cp/constexpr.c:2768 in initializing __vector in a loop | ||
---|---|---|---|
Product: | gcc | Reporter: | vincenzo Innocente <vincenzo.innocente> |
Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | easyhack, ice-on-valid-code |
Priority: | P3 | ||
Version: | 6.0 | ||
Target Milestone: | 7.0 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2015-11-25 00:00:00 |
Description
vincenzo Innocente
2015-11-02 14:20:06 UTC
t88.cc: In function ‘float32x4_t foo(float32x4_t)’: t88.cc:10:33: in constexpr expansion of ‘fill(1.0e+0f)’ t88.cc:10:37: internal compiler error: tree check: expected constructor, have vector_cst in cxx_eval_store_expression, at cp/constexpr.c:3051 constexpr float32x4_t v = fill(1.f); ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://www.cavium.com/support.html> for instructions. This should not be hard to fix. Basically after: ctx->values->get (object) You convert VECTOR_CST back into a CONSTRUCTOR. Then the rest will work. Author: paolo Date: Thu Nov 17 09:59:07 2016 New Revision: 242541 URL: https://gcc.gnu.org/viewcvs?rev=242541&root=gcc&view=rev Log: 2016-11-17 Paolo Carlini <paolo.carlini@oracle.com> PR c++/68180 * g++.dg/cpp1y/pr68180.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp1y/pr68180.C Modified: trunk/gcc/testsuite/ChangeLog Author: jakub Date: Fri Nov 18 23:51:30 2016 New Revision: 242610 URL: https://gcc.gnu.org/viewcvs?rev=242610&root=gcc&view=rev Log: PR c++/68180 * g++.dg/cpp1y/pr68180.C: Add -Wno-psabi as dg-additional-options. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp1y/pr68180.C |