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 rtl-optimization/55717] [4.8 Regression] ICE in form_sum, at reload.c:5400


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-18 10:50:51 UTC ---
Author: jakub
Date: Tue Dec 18 10:50:47 2012
New Revision: 194575

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194575
Log:
    PR debug/55717
    * rtlhooks-def.h (RTL_HOOKS_GEN_LOWPART_NO_EMIT): Define to
    gen_lowpart_if_possible.
    (gen_lowpart_no_emit_general): Remove prototype.
    * rtlhooks.c (gen_lowpart_no_emit_general): Removed.
    * simplify-rtx.c (simplify_unary_operation_1, 
    simplify_binary_operation_1): Continue simplifying if
    rtl_hooks.gen_lowpart_no_emit returns NULL_RTX.
    * dwarf2out.c (mem_loc_descriptor) <case TRUNCATE>: Handle
    truncation like lowpart SUBREG.

    * testsuite/g++.dg/opt/pr55717.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr55717.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/rtlhooks-def.h
    trunk/gcc/rtlhooks.c
    trunk/gcc/simplify-rtx.c
    trunk/gcc/testsuite/ChangeLog


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