This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55573] [4.8 Regression] ICE in adjust_temp_type, at cp/semantics.c:6454
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Dec 2012 13:45:40 +0000
- Subject: [Bug c++/55573] [4.8 Regression] ICE in adjust_temp_type, at cp/semantics.c:6454
- Auto-submitted: auto-generated
- References: <bug-55573-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55573
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-03 13:45:40 UTC ---
On that testcase just calling cp_fold_convert on the VECTOR_CST did the right
thing, the reason for the per-element conversion was that cp_fold_convert
calls ignore_overflows, I was worried that for VECTOR_CST it wouldn't deal with
overflows the way it should (not sure if adjust_temp_type can be e.g. called
with
4xint type and 4xlong long VECTOR_CST).
Jason, what do you prefer here?