[Bug c++/55573] [4.8 Regression] ICE in adjust_temp_type, at cp/semantics.c:6454

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 3 13:46:00 GMT 2012


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?



More information about the Gcc-bugs mailing list