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?

Reply via email to