[Bug c++/65398] [5 Regression] [C++11] GCC rejects constexpr variable definitions with valid initialization
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 13 09:52:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65398
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-03-13
CC| |mpolacek at gcc dot gnu.org
Target Milestone|--- |5.0
Summary|[C++11] GCC rejects |[5 Regression] [C++11] GCC
|constexpr variable |rejects constexpr variable
|definitions with valid |definitions with valid
|initialization |initialization
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed, started with r214941, which did away with try_move_mult_to_index
that tried to replace &a[idx] p+ s * delta with &a[idx + delta]. I think the
fix is to teach cxx_fold_indirect_ref to do similar transformation.
More information about the Gcc-bugs
mailing list