This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]