[Bug c++/83659] [7/8 Regression] ICE on compilable C++ code: in tree_to_shwi, at tree.c:6821
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 9 05:48:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83659
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 9 05:46:18 2018
New Revision: 257512
URL: https://gcc.gnu.org/viewcvs?rev=257512&root=gcc&view=rev
Log:
PR c++/83659
* fold-const.c (fold_indirect_ref_1): Use VECTOR_TYPE_P macro.
Formatting fixes. Verify first that tree_fits_poly_int64_p (op01).
Sync some changes from cxx_fold_indirect_ref.
* constexpr.c (cxx_fold_indirect_ref): Sync some changes from
fold_indirect_ref_1, including poly_*int64. Verify first that
tree_fits_poly_int64_p (op01). Formatting fixes.
* g++.dg/torture/pr83659.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr83659.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list