[Bug rtl-optimization/15921] New: [3.5 Regression] gcc.c-torture/compile/920501-4.c fails on powerpc-*
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jun 10 22:58:00 GMT 2004
/Users/regress/tbox/cvs-gcc/gcc/gcc/testsuite/gcc.c-torture/compile/920501-4.c: In function `foo':
^M
/Users/regress/tbox/cvs-gcc/gcc/gcc/testsuite/gcc.c-torture/compile/920501-4.c:53: error: insn
does not satisfy its constraints:^M
(insn 171 169 173 0 (parallel [^M
(set (reg:SI 6 r6 [186])^M
(lshiftrt:SI (neg:SI (abs:SI (reg/v:SI 0 r0 [orig:132 m_max ] [132])))^M
(const_int 31 [0x1f])))^M
(clobber (reg:SI 0 r0))^M
]) 419 {*ne0} (nil)^M
(nil))^M
Could have been caused by:
+2004-05-25 Vladimir Makarov <vmakarov@redhat.com>
+
+ * global.c (global_alloc): Call make_accurate_live_analysis.
+ (record_one_conflict): Remove dead code.
+ (mark_reg_clobber): Remove ATTRIBUTE_UNUSED for parameter data.
+ (bb_info): New structure.
+ (BB_INFO, BB_INFO_BY_INDEX): New macros.
+ (allocate_bb_info, free_bb_info, mark_reg_change,
+ calculate_local_reg_bb_info, set_up_bb_rts_numbers, rpost_cmp,
+ modify_bb_reg_pav, calculate_reg_pav,
+ make_accurate_live_analysis): New functions.
+2004-05-25 Paolo Bonzini <bonzini@gnu.org>
+
+ * Makefile.in (OBJS): Add rtlhooks.o.
+ (rtlanal.o): Depend on function.h.
+ (cse.o): Depend on rtlhooks-def.h.
+ (combine.o): Depend on rtlhooks-def.h.
+ (rtlhooks.o): New rule.
+ * combine.c: Include rtlhooks-def.h.
+ (nonzero_bits, cached_nonzero_bits, nonzero_bits1,
+ num_sign_bit_copies, cached_num_sign_bit_copies,
+ num_sign_bit_copies1): Move most of the code to rtlanal.c.
+ (reg_nonzero_bits_for_combine,
+ reg_num_sign_bit_copies_for_combine): New functions holding
+ the remnants of the above.
+ (combine_rtl_hooks): New.
+ (combine_instructions): Set rtl_hooks instead of gen_lowpart.
+ * cse.c: Include rtlhooks-def.h.
+ (cse_rtl_hooks): New.
+ (cse_main): Set rtl_hooks instead of gen_lowpart.
+ * emit-rtl.c (gen_lowpart): Remove.
+ (gen_lowpart_general): Move to rtlhooks.c.
+ * rtl.h (nonzero_bits, num_sign_bit_copies,
+ struct rtl_hooks, rtl_hooks, general_rtl_hooks): New.
+ (gen_lowpart_general): Remove.
+ (gen_lowpart): Temporarily redefine as a macro.
+ * rtlanal.c: Include function.h.
+ (nonzero_bits, cached_nonzero_bits, nonzero_bits1,
+ num_sign_bit_copies, cached_num_sign_bit_copies,
+ num_sign_bit_copies1): New, from combine.c.
+ * rtlhooks.c: New file.
+
--
Summary: [3.5 Regression] gcc.c-torture/compile/920501-4.c fails
on powerpc-*
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: critical
Priority: P2
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: bonzini at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
dot org,vmakarov at gcc dot gnu dot org
GCC target triplet: powerpc-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15921
More information about the Gcc-bugs
mailing list