packages: crossmingw64-gcc/gcc-branch.diff (NEW) - branch.diff like in gcc....
pluto
pluto at pld-linux.org
Sun Sep 26 17:46:09 CEST 2010
Author: pluto Date: Sun Sep 26 15:46:09 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- branch.diff like in gcc.spec.
---- Files affected:
packages/crossmingw64-gcc:
gcc-branch.diff (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/crossmingw64-gcc/gcc-branch.diff
diff -u /dev/null packages/crossmingw64-gcc/gcc-branch.diff:1.1
--- /dev/null Sun Sep 26 17:46:09 2010
+++ packages/crossmingw64-gcc/gcc-branch.diff Sun Sep 26 17:46:04 2010
@@ -0,0 +1,11158 @@
+Index: gcc/optabs.c
+===================================================================
+--- gcc/optabs.c (.../tags/gcc_4_5_1_release) (wersja 163628)
++++ gcc/optabs.c (.../branches/gcc-4_5-branch) (wersja 163628)
+@@ -7033,6 +7033,7 @@
+ if (icode == CODE_FOR_nothing)
+ return NULL_RTX;
+
++ do_pending_stack_adjust ();
+ do
+ {
+ start_sequence ();
+Index: gcc/DATESTAMP
+===================================================================
+--- gcc/DATESTAMP (.../tags/gcc_4_5_1_release) (wersja 163628)
++++ gcc/DATESTAMP (.../branches/gcc-4_5-branch) (wersja 163628)
+@@ -1 +1 @@
+-20100731
++20100829
+Index: gcc/postreload.c
+===================================================================
+--- gcc/postreload.c (.../tags/gcc_4_5_1_release) (wersja 163628)
++++ gcc/postreload.c (.../branches/gcc-4_5-branch) (wersja 163628)
+@@ -810,7 +810,7 @@
+ rtx reg = SET_DEST (set);
+ rtx plus = SET_SRC (set);
+ rtx base = XEXP (plus, 1);
+- rtx prev = prev_nonnote_insn (insn);
++ rtx prev = prev_nonnote_nondebug_insn (insn);
+ rtx prev_set = prev ? single_set (prev) : NULL_RTX;
+ unsigned int regno = REGNO (reg);
+ rtx index_reg = NULL_RTX;
+@@ -1323,7 +1323,7 @@
+ && MODES_OK_FOR_MOVE2ADD (GET_MODE (reg),
+ reg_mode[REGNO (src)]))
+ {
+- rtx next = next_nonnote_insn (insn);
++ rtx next = next_nonnote_nondebug_insn (insn);
+ rtx set = NULL_RTX;
+ if (next)
+ set = single_set (next);
+Index: gcc/rtlanal.c
+===================================================================
+--- gcc/rtlanal.c (.../tags/gcc_4_5_1_release) (wersja 163628)
++++ gcc/rtlanal.c (.../branches/gcc-4_5-branch) (wersja 163628)
+@@ -4755,9 +4755,7 @@
+ stop if it isn't a single set or if it has a REG_INC note because
+ we don't want to bother dealing with it. */
+
+- do
+- prev = prev_nonnote_insn (prev);
+- while (prev && DEBUG_INSN_P (prev));
++ prev = prev_nonnote_nondebug_insn (prev);
+
+ if (prev == 0
+ || !NONJUMP_INSN_P (prev)
+Index: gcc/fold-const.c
+===================================================================
+--- gcc/fold-const.c (.../tags/gcc_4_5_1_release) (wersja 163628)
++++ gcc/fold-const.c (.../branches/gcc-4_5-branch) (wersja 163628)
+@@ -4737,9 +4737,9 @@
+ n_high = range_binop (MINUS_EXPR, exp_type,
+ build_int_cst (exp_type, 0),
+ 0, low, 0);
+- low = n_low, high = n_high;
+- exp = arg0;
+- continue;
++ if (n_high != 0 && TREE_OVERFLOW (n_high))
++ break;
++ goto normalize;
+
+ case BIT_NOT_EXPR:
+ /* ~ X -> -X - 1 */
+@@ -4773,6 +4773,7 @@
+ if (TYPE_OVERFLOW_UNDEFINED (arg0_type))
+ *strict_overflow_p = true;
+
++ normalize:
+ /* Check for an unsigned range which has wrapped around the maximum
+ value thus making n_high < n_low, and normalize it. */
+ if (n_low && n_high && tree_int_cst_lt (n_high, n_low))
+Index: gcc/DEV-PHASE
+===================================================================
+--- gcc/DEV-PHASE (.../tags/gcc_4_5_1_release) (wersja 163628)
++++ gcc/DEV-PHASE (.../branches/gcc-4_5-branch) (wersja 163628)
+@@ -0,0 +1 @@
++prerelease
+Index: gcc/ChangeLog
+===================================================================
+--- gcc/ChangeLog (.../tags/gcc_4_5_1_release) (wersja 163628)
++++ gcc/ChangeLog (.../branches/gcc-4_5-branch) (wersja 163628)
+@@ -1,3 +1,244 @@
++2010-08-28 Eric Botcazou <ebotcazou at adacore.com>
++
++ * config/ia64/ia64.md (cstorebi4): Fix thinko.
++
++2010-08-28 Uros Bizjak <ubizjak at gmail.com>
++
++ PR target/41484
++ * config/i386/sse.md (sse4_1_extendv8qiv8hi2): Also accept memory
++ operands for operand 1.
++ (sse4_1_extendv4qiv4si2): Ditto.
++ (sse4_1_extendv2qiv2di2): Ditto.
++ (sse4_1_extendv4hiv4si2): Ditto.
++ (sse4_1_extendv2hiv2di2): Ditto.
++ (sse4_1_extendv2siv2di2): Ditto.
++ (sse4_1_zero_extendv8qiv8hi2): Ditto.
++ (sse4_1_zero_extendv4qiv4si2): Ditto.
++ (sse4_1_zero_extendv2qiv2di2): Ditto.
++ (sse4_1_zero_extendv4hiv4si2): Ditto.
++ (sse4_1_zero_extendv2hiv2di2): Ditto.
++ (sse4_1_zero_extendv2siv2di2): Ditto.
++ (*sse4_1_extendv8qiv8hi2): Remove insn pattern.
++ (*sse4_1_extendv4qiv4si2): Ditto.
++ (*sse4_1_extendv2qiv2di2): Ditto.
++ (*sse4_1_extendv4hiv4si2): Ditto.
++ (*sse4_1_extendv2hiv2di2): Ditto.
++ (*sse4_1_extendv2siv2di2): Ditto.
++ (*sse4_1_zero_extendv8qiv8hi2): Ditto.
++ (*sse4_1_zero_extendv4qiv4si2): Ditto.
++ (*sse4_1_zero_extendv2qiv2di2): Ditto.
++ (*sse4_1_zero_extendv4hiv4si2): Ditto.
++ (*sse4_1_zero_extendv2hiv2di2): Ditto.
++ (*sse4_1_zero_extendv2siv2di2): Ditto.
++
++2010-08-25 Jakub Jelinek <jakub at redhat.com>
++
++ PR rtl-optimization/44858
++ * combine.c (try_combine): If recog_for_combine added CLOBBERs to
++ newi2pat, make sure they don't affect newpat.
++
++ PR rtl-optimization/45400
++ * combine.c (simplify_shift_const_1) <case SUBREG>: Only use
++ SUBREG_REG if both modes are of MODE_INT class.
++
++2010-08-20 Changpeng Fang <changpeng.fang at amd.com>
++
++ PR tree-optimization/45260
++ * tree-flow.h (may_be_nonaddressable_p): New definition. Make the
++ existing static function global.
++
++ * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): This function
++ is changed to global.
++
++ * tree-ssa-loop-prefetch.c (gather_memory_references_ref): Call
++ may_be_nonaddressable_p on base, and don't collect this reference
++ if the address of the base could not be taken.
++
++2010-08-20 David Edelsohn <edelsohn at gnu.org>
++
++ Backport from mainline
++ 2010-04-22 David Edelsohn <edelsohn at gnu.org>
++
++ * config/rs6000/x-aix: Override LDFLAGS for all COMPILERS.
++
++2010-08-19 Uros Bizjak <ubizjak at gmail.com>
++
++ * config/i386/i386.md (*add<SWI:mode>3_cconly_overflow): Do not use
++ ix86_binary_operator_ok.
++
++2010-08-18 Uros Bizjak <ubizjak at gmail.com>
++
++ PR target/45327
++ * config/i386/i386.md (<any_or:code><SWI:mode>_3): Do not use
++ ix86_binary_operator_ok.
++
++2010-08-18 H.J. Lu <hongjiu.lu at intel.com>
++
++ Backport from mainline
++ 2010-08-18 Paolo Bonzini <bonzini at gnu.org>
++
++ PR middle-end/45292
++ * optabs.c (expand_bool_compare_and_swap): Expand pending
++ pops before trying the optab.
++
++2010-08-17 Uros Bizjak <ubizjak at gmail.com>
++
++ PR target/45296
++ * reginfo.c (globalize_reg): Reject stack registers.
++
++2010-08-16 Changpeng Fang <changpeng.fang at amd.com>
++
++ Backport from mainline:
++ 2010-08-12 Changpeng Fang <changpeng.fang at amd.com>
++
++ PR tree-optimization/45241
++ * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Give
++ up dot_prod pattern searching if a stmt is outside the loop.
++
++2010-08-16 John David Anglin <dave.anglin at nrc-cnrc.gc.ca>
++
++ Backport from mainline:
++ 2010-08-09 Richard Guenther <rguenther at suse.de>
++
++ PR middle-end/44632
++ * function.c (gimplify_parameters): Do not clear addressable
++ bit of the original parameter.
++
++2010-08-14 John David Anglin <dave.anglin at nrc-cnrc.gc.ca>
++
++ Revert:
++ 2010-08-08 John David Anglin <dave.anglin at nrc-cnrc.gc.ca>
++
++ PR boehm-gc/34544
++ * gthr-posix.h (__gthread_start): Delete.
++ (__gthread_active_init): Use pthread_default_stacksize_np instead of
++ pthread_create to determine if hpux pthreads are active.
++ * gthr-posix95.h (__gthread_start): Delete.
++ (__gthread_active_init): Likewise use pthread_default_stacksize_np.
++
++2010-08-12 Jakub Jelinek <jakub at redhat.com>
++
++ PR middle-end/45262
++ * fold-const.c (make_range) <case NEGATE_EXPR>: Punt if
++ -a overflows. Normalize the range.
++
++ PR debug/45259
++ * caller-save.c (save_call_clobbered_regs): Only swap notes with
++ DEBUG_INSNs if n_regs_saved.
++
++ Backport from mainline
++ 2010-07-30 Jakub Jelinek <jakub at redhat.com>
++
++ PR debug/45055
++ PR rtl-optimization/45137
++ * rtl.h (prev_nonnote_nondebug_insn, next_nonnote_nondebug_insn): New
++ prototypes.
++ * emit-rtl.c (prev_nonnote_nondebug_insn, next_nonnote_nondebug_insn):
++ New functions.
++ * combine.c (next_nonnote_nondebug_insn): Removed.
++ * ifcvt.c (noce_process_if_block): Use prev_nonnote_nondebug_insn.
++ * haifa-sched.c (queue_to_ready): Use next_nonnote_nondebug_insn.
++ * sched-deps.c (sched_analyze_insn): Likewise.
++ (fixup_sched_groups, deps_start_bb): Use prev_nonnote_nondebug_insn.
++ * rtlanal.c (canonicalize_condition): Likewise.
++ * postreload.c (reload_combine): Likewise.
++ (reload_cse_move2add): Use next_nonnote_nondebug_insn.
++
++2010-08-08 John David Anglin <dave.anglin at nrc-cnrc.gc.ca>
++
++ Backport from mainline.
++ 2010-07-17 John David Anglin <dave.anglin at nrc-cnrc.gc.ca>
++
++ PR target/44805
++ * config/pa/pa.h (CONSTANT_ALIGNMENT): Align strings to BITS_PER_WORD
++ on all targets.
++
++2010-08-08 Richard Guenther <rguenther at suse.de>
++
++ PR middle-end/45034
++ * convert.c (convert_to_integer): Always use an unsigned
++ type for narrowed negate and bitwise not.
++
++2010-08-08 Richard Guenther <rguenther at suse.de>
++
++ PR tree-optimization/45109
++ * tree-ssa-structalias.c (get_constraint_for_component_ref):
++ Explicitly strip handled components and indirect references.
++
++2010-08-08 John David Anglin <dave.anglin at nrc-cnrc.gc.ca>
++
++ PR boehm-gc/34544
++ * gthr-posix.h (__gthread_start): Delete.
++ (__gthread_active_init): Use pthread_default_stacksize_np instead of
++ pthread_create to determine if hpux pthreads are active.
++ * gthr-posix95.h (__gthread_start): Delete.
++ (__gthread_active_init): Likewise use pthread_default_stacksize_np.
++
++2010-08-06 Eric Botcazou <ebotcazou at adacore.com>
++
++ PR target/44942
++ * config/sparc/sparc.c (function_arg_advance): Always take into account
++ the padding, if any.
++
++2010-08-06 Uros Bizjak <ubizjak at gmail.com>
++
++ * expmed.c (expand_mult_const) <case alg_shift>: Expand shift into
++ temporary. Emit move from temporary to accum, so REG_EQUAL note will
++ be attached to this insn in correct mode.
++
++2010-08-06 Uros Bizjak <ubizjak at gmail.com>
++
++ * config/i386/i386.c (ix86_decompose_address): Check for SI_REG
++ using REGNO of base_reg directly.
++
++2010-08-03 Ulrich Weigand <Ulrich.Weigand at de.ibm.com>
++
++ * config/spu/spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of
++ non-NOTE insns.
++
++2010-08-03 Uros Bizjak <ubizjak at gmail.com>
++
++ PR target/41089
++ * config/alpha/alpha.c (alpha_build_builtin_va_list): Mark __offset
++ as volatile.
++
++2010-08-03 Martin Jambor <mjambor at suse.cz>
++
++ PR tree-optimization/44914
++ * tree-sra.c (cfg_changed): New variable.
++ (sra_initialize): Initialize cgf_changed to false.
++ (scan_function): Set cfg_changed if cfg was changed.
++ (perform_intra_sra): Return also TODO_cleanup_cfg if cfg was changed.
++ (ipa_early_sra): Likewise.
++
++2010-08-02 DJ Delorie <dj at redhat.com>
++
++ * config/rx/predicates.md (rx_constshift_operand): New.
++ * config/rx/rx.md (zs_cond): New.
++ (cbranchsi4): Remove mode.
++ (*cbranchsi4_<code>): Likewise.
++ (*tstbranchsi4_<code>): New.
++ (*tstbranchsi4r_<code>): New.
++ (*tstbranchsi4m_eq): New.
++ (*tstbranchsi4m_ne): New.
++ (cbranchsf4): Remove mode.
++ (*cbranchsf4_<code>): Likewise.
++
++2010-07-31 Richard Guenther <rguenther at suse.de>
++
++ PR tree-optimization/45052
++ * ipa-pure-const.c (check_stmt): Check volatileness.
++
++2010-07-31 Richard Guenther <rguenther at suse.de>
++
++ * ipa-prop.c (ipa_modify_formal_parameters): Use
++ build_distinct_type_copy.
++
++2010-07-31 Richard Guenther <rguenther at suse.de>
++
++ * DEV-PHASE: Set back to prerelease.
++ * BASE-VER: Bump to 4.5.2.
++
+ 2010-07-31 Release Manager
+
+ * GCC 4.5.1 released.
+@@ -105,8 +346,8 @@
+ 2010-07-19 Bingfeng Mei <bmei at broadcom.com>
+
+ * ddg.c (create_ddg): Exclude nodes of debug_insn in counting nodes
+- of a loop.
+- * loop-doloop.c (doloop_condition_get): Skip possible debug_insn.
++ of a loop.
++ * loop-doloop.c (doloop_condition_get): Skip possible debug_insn.
+
+ 2010-07-15 Jie Zhang <jie at codesourcery.com>
+
+@@ -286,7 +527,7 @@
+ if old_decl was DECL_ONE_ONLY.
+
+ 2010-06-21 Jakub Jelinek <jakub at redhat.com>
+-
++
+ PR target/44575
+ * config/i386/i386.c (ix86_gimplify_va_arg): When copying
+ va_arg from a set of register save slots into a temporary,
+@@ -392,24 +633,24 @@
+ Backport from mainline
+ 2010-05-17 Martin Jambor <mjambor at suse.cz>
+
+- PR middle-end/44133
+- * tree-sra.c (create_access_replacement): New parameter rename, mark
+- the replaement for renaming only when it is true.
+- (get_access_replacement): Pass true in the rename parameter of
+- create_access_replacement.
+- (get_unrenamed_access_replacement): New function.
+- (replace_uses_with_default_def_ssa_name): New parameter racc, get the
+- replacement declaration from it.
++ PR middle-end/44133
++ * tree-sra.c (create_access_replacement): New parameter rename, mark
++ the replaement for renaming only when it is true.
++ (get_access_replacement): Pass true in the rename parameter of
++ create_access_replacement.
++ (get_unrenamed_access_replacement): New function.
++ (replace_uses_with_default_def_ssa_name): New parameter racc, get the
++ replacement declaration from it.
+
+ 2010-06-29 Martin Jambor <mjambor at suse.cz>
+
+ Backport from mainline
+ 2010-04-13 Martin Jambor <mjambor at suse.cz>
+
+- * tree-sra.c (replace_uses_with_default_def_ssa_name): New function.
+- (sra_modify_assign): Delete stmts loading dead data even if racc has no
+- children. Call replace_uses_with_default_def_ssa_name to handle
+- SSA_NAES on lhs.
++ * tree-sra.c (replace_uses_with_default_def_ssa_name): New function.
++ (sra_modify_assign): Delete stmts loading dead data even if racc has no
++ children. Call replace_uses_with_default_def_ssa_name to handle
++ SSA_NAES on lhs.
+
+ 2010-06-27 Jan Hubicka <jh at suse.cz>
+
+@@ -536,7 +777,7 @@
+ Backport from mainline:
+ 2010-05-18 Steven Bosscher <steven at gcc.gnu.org>
+
+- * darwin.c (darwin_asm_named_section): Do not add assembler comment
++ * darwin.c (darwin_asm_named_section): Do not add assembler comment
+ after .section directive; just print it before the directive
+ instead.
+
+@@ -1659,7 +1900,7 @@
+ * tree-tailcall.c (find_tail_calls): Verify the tail call
+ properly.
+
+-2010-04-19 Ira Rosen <irar at il.ibm.com>
++2010-04-19 Ira Rosen <irar at il.ibm.com>
+
+ PR tree-optimization/43771
+ * tree-vect-slp.c (vect_supported_load_permutation_p): Check that
+@@ -1925,11 +2166,11 @@
+ * Makefile.in ($(out_object_file)): Depend on
+ gt-$(basename $(notdir $(out_file))).h.
+
+-2010-04-01 Ralf Corsépius <ralf.corsepius at rtems.org>
++2010-04-01 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * config.gcc (lm32-*-rtems*): Add t-lm32.
+
+-2010-04-01 Joel Sherrill <joel.sherrill at oarcorp.com>
++2010-04-01 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * config.gcc: Add lm32-*-rtems*.
+ * config/lm32/rtems.h: New file.
+@@ -1984,8 +2225,8 @@
+
+ PR middle-end/43602
+ Revert
+- 2010-03-30 Seongbae Park <seongbae.park at gmail.com>
+- Jack Howarth <howarth at bromo.med.uc.edu>
++ 2010-03-30 Seongbae Park <seongbae.park at gmail.com>
++ Jack Howarth <howarth at bromo.med.uc.edu>
+
+ * tree-profile.c (tree_init_ic_make_global_vars): Make static
+ variables TLS.
+@@ -2276,8 +2517,8 @@
+ * config/s390/s390.c (s390_emit_prologue): Omit issuing a dynamic
+ stack check if the mask would be zero.
+
+-2010-03-30 Seongbae Park <seongbae.park at gmail.com>
+- Jack Howarth <howarth at bromo.med.uc.edu>
++2010-03-30 Seongbae Park <seongbae.park at gmail.com>
++ Jack Howarth <howarth at bromo.med.uc.edu>
+
+ * tree-profile.c (tree_init_ic_make_global_vars): Make static
+ variables TLS.
+@@ -2620,7 +2861,7 @@
+ instead of callq.
+
+ 2010-03-22 Janis Johnson <janis187 at us.ibm.com>
+- Rainer Orth <ro at CeBiTec.Uni-Bielefeld.DE>
++ Rainer Orth <ro at CeBiTec.Uni-Bielefeld.DE>
+
+ * doc/sourcebuild.texi (Test Directives): Split into six
+ subsections, with most of the current text in new subsections
+@@ -2775,8 +3016,8 @@
+ (sparc_file_end): Emit a hidden comdat symbol for the PIC
+ thunk if possible. Output CFI information as needed.
+
+-2010-03-18 Francois-Xavier Coudert <fxcoudert at gcc.gnu.org>
+- Jack Howarth <howarth at bromo.med.uc.edu>
++2010-03-18 Francois-Xavier Coudert <fxcoudert at gcc.gnu.org>
++ Jack Howarth <howarth at bromo.med.uc.edu>
+
+ PR target/36399
+ * config/i386/i386.h: Fix ABI on darwin x86-32.
+@@ -2919,7 +3160,7 @@
+ * graphite-sese-to-poly.c (split_reduction_stmt): Skip debug
+ statements before splitting block.
+
+-2010-03-16 Rainer Orth <ro at CeBiTec.Uni-Bielefeld.DE>
++2010-03-16 Rainer Orth <ro at CeBiTec.Uni-Bielefeld.DE>
+
+ * doc/sourcebuild.texi (Testsuites): Fix markup.
+ Use pathnames relative to gcc/testsuite.
+@@ -3531,7 +3772,7 @@
+ * tree-vect-loop.c (vect_transform_loop): Kill out-of-loop debug
+ uses of relevant DEFs that are dead outside the loop too.
+
+-2010-03-06 Alexandre Oliva <aoliva at redhat.com>
++2010-03-06 Alexandre Oliva <aoliva at redhat.com>
+
+ * var-tracking.c (dataflow_set_merge): Swap src and src2.
+ Reverted:
+@@ -4313,7 +4554,7 @@
+ * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Call
+ lang_hooks.types_compatible_p instead of comptypes.
+
+-2010-02-18 Sebastian Huber <sebastian.huber at embedded-brains.de>
++2010-02-18 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * config/arm/lib1funcs.asm (__prefer_thumb__): New define.
+ (udivsi3, aeabi_uidivmod, divsi3, aeabi_idivmod): Use Thumb-1 variant
+@@ -4384,7 +4625,7 @@
+ statements ...
+ (vrp_visit_phi_node): ... but only for loop PHI nodes.
+
+-2010-02-16 Ira Rosen <irar at il.ibm.com>
++2010-02-16 Ira Rosen <irar at il.ibm.com>
+
+ PR tree-optimization/43074
+ * tree-vectorizer.h (VECTORIZABLE_CYCLE_DEF): New.
+@@ -4412,8 +4653,8 @@
+ flag_var_tracking_assignments.
+ * Makefile.in (var-tracking.o): Adjust dependencies.
+
+-2010-02-16 Jack Howarth <howarth at bromo.med.uc.edu>
+- Jakub Jelinek <jakub at redhat.com>
++2010-02-16 Jack Howarth <howarth at bromo.med.uc.edu>
++ Jakub Jelinek <jakub at redhat.com>
+
+ PR target/42854
+ * config/darwin.h (ASM_WEAKEN_DECL): Don't check weak attribute
+@@ -4511,7 +4752,7 @@
+
+ 2010-02-12 Dave Korn <dave.korn.cygwin at gmail.com>
+ Jack Howarth <howarth at bromo.med.uc.edu>
+- Iain Sandoe <iain.sandoe at sandoe-acoustics.co.uk>
++ Iain Sandoe <iain.sandoe at sandoe-acoustics.co.uk>
+
+ PR target/42982
+ Partial revert of unintended change in fix for PR41605.
+@@ -5934,7 +6175,7 @@
+ (maybe_tidy_empty_bb): Delete prototype.
+ (purge_empty_blocks): Declare.
+
+-2010-01-14 Andrey Belevantsev <abel at ispras.ru>
++2010-01-14 Andrey Belevantsev <abel at ispras.ru>
+
+ PR rtl-optimization/42249
+ * sel-sched.c (try_replace_dest_reg): When chosen register
+Index: gcc/testsuite/gcc.c-torture/execute/pr45034.c
+===================================================================
+--- gcc/testsuite/gcc.c-torture/execute/pr45034.c (.../tags/gcc_4_5_1_release) (wersja 0)
++++ gcc/testsuite/gcc.c-torture/execute/pr45034.c (.../branches/gcc-4_5-branch) (wersja 163628)
+@@ -0,0 +1,45 @@
++extern void abort (void);
++static void fixnum_neg(signed char x, signed char *py, int *pv)
++{
++ unsigned char ux, uy;
++
++ ux = (unsigned char)x;
++ uy = -ux;
++ *py = (uy <= 127) ? (signed char)uy : (-(signed char)(255 - uy) - 1);
++ *pv = (x == -128) ? 1 : 0;
++}
++
++void __attribute__((noinline)) foo(int x, int y, int v)
++{
++ if (y < -128 || y > 127)
++ abort();
++}
++
++int test_neg(void)
++{
++ signed char x, y;
++ int v, err;
++
++ err = 0;
++ x = -128;
++ for (;;) {
++ fixnum_neg(x, &y, &v);
++ foo((int)x, (int)y, v);
++ if ((v && x != -128) || (!v && x == -128))
++ ++err;
++ if (x == 127)
++ break;
++ ++x;
++ }
++ return err;
++}
++
++int main(void)
++{
++ if (sizeof (char) != 1)
++ return 0;
++ if (test_neg() != 0)
++ abort();
++ return 0;
++}
++
+Index: gcc/testsuite/gcc.c-torture/execute/pr44858.c
+===================================================================
+--- gcc/testsuite/gcc.c-torture/execute/pr44858.c (.../tags/gcc_4_5_1_release) (wersja 0)
++++ gcc/testsuite/gcc.c-torture/execute/pr44858.c (.../branches/gcc-4_5-branch) (wersja 163628)
+@@ -0,0 +1,28 @@
++/* PR rtl-optimization/44858 */
++
++extern void abort (void);
++int a = 3;
<<Diff was trimmed, longer than 597 lines>>
More information about the pld-cvs-commit
mailing list