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 debug/48163] [4.7 Regression]: ICEs for cris-elf, like gcc.c-torture/compile/calls.c gcc.c-torture/execute/complex-1.c


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48163

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-17 12:07:03 UTC ---
Created attachment 23690
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23690
gcc47-pr48163-2.patch

Patch to fix the wrap_constant ICE.  In the (rare) case where a constant is
casted to a function pointer and called the constant is VOIDmode, which doesn't
work too well with cselib_lookup.  Furthermore, there is no point to cselib
looking the constant up, we can just add the constant as is.


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