Author: arekm                        Date: Sun Aug 29 19:29:00 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2; branch fixes

---- Files affected:
packages/gcc:
   gcc-branch.diff (1.36 -> 1.37) , gcc.spec (1.625 -> 1.626) 

---- Diffs:

================================================================
Index: packages/gcc/gcc-branch.diff
diff -u packages/gcc/gcc-branch.diff:1.36 packages/gcc/gcc-branch.diff:1.37
--- packages/gcc/gcc-branch.diff:1.36   Tue Aug  3 14:53:15 2010
+++ packages/gcc/gcc-branch.diff        Sun Aug 29 21:28:52 2010
@@ -1,21 +1,299 @@
+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 162840)
-+++ gcc/DATESTAMP      (.../branches/gcc-4_5-branch)   (wersja 162840)
+--- gcc/DATESTAMP      (.../tags/gcc_4_5_1_release)    (wersja 163628)
++++ gcc/DATESTAMP      (.../branches/gcc-4_5-branch)   (wersja 163628)
 @@ -1 +1 @@
 -20100731
-+20100803
++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 162840)
-+++ gcc/DEV-PHASE      (.../branches/gcc-4_5-branch)   (wersja 162840)
+--- 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 162840)
-+++ gcc/ChangeLog      (.../branches/gcc-4_5-branch)   (wersja 162840)
-@@ -1,3 +1,40 @@
+--- 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  <[email protected]>
++
++      * config/ia64/ia64.md (cstorebi4): Fix thinko.
++
++2010-08-28  Uros Bizjak  <[email protected]>
++
++      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  <[email protected]>
++
++      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  <[email protected]>
++
++      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  <[email protected]>
++
++      Backport from mainline
++      2010-04-22  David Edelsohn  <[email protected]>
++
++      * config/rs6000/x-aix: Override LDFLAGS for all COMPILERS.
++
++2010-08-19  Uros Bizjak  <[email protected]>
++
++      * config/i386/i386.md (*add<SWI:mode>3_cconly_overflow): Do not use
++      ix86_binary_operator_ok.
++
++2010-08-18  Uros Bizjak  <[email protected]>
++
++      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  <[email protected]>
++
++      Backport from mainline
++      2010-08-18  Paolo Bonzini  <[email protected]>
++
++      PR middle-end/45292
++      * optabs.c (expand_bool_compare_and_swap): Expand pending
++      pops before trying the optab.
++
++2010-08-17  Uros Bizjak  <[email protected]>
++
++      PR target/45296
++      * reginfo.c (globalize_reg): Reject stack registers.
++
++2010-08-16  Changpeng Fang  <[email protected]>
++
++      Backport from mainline:
++      2010-08-12  Changpeng Fang  <[email protected]>
++
++      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  <[email protected]>
++
++      Backport from mainline:
++      2010-08-09  Richard Guenther  <[email protected]>
++
++      PR middle-end/44632
++      * function.c (gimplify_parameters): Do not clear addressable
++      bit of the original parameter.
++
++2010-08-14  John David Anglin  <[email protected]>
++
++      Revert:
++      2010-08-08  John David Anglin  <[email protected]>
++
++      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  <[email protected]>
++
++      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  <[email protected]>
++
++      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  <[email protected]>
++
++      Backport from mainline.
++      2010-07-17  John David Anglin  <[email protected]>
++
++      PR target/44805
++      * config/pa/pa.h (CONSTANT_ALIGNMENT): Align strings to BITS_PER_WORD
++      on all targets.
++
++2010-08-08  Richard Guenther  <[email protected]>
++
++      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  <[email protected]>
++
++      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  <[email protected]>
++
++      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  <[email protected]>
++
++      PR target/44942
++      * config/sparc/sparc.c (function_arg_advance): Always take into account
++      the padding, if any.
++
++2010-08-06  Uros Bizjak  <[email protected]>
++
++      * 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  <[email protected]>
++
++      * config/i386/i386.c (ix86_decompose_address): Check for SI_REG
++      using REGNO of base_reg directly.
++
++2010-08-03  Ulrich Weigand  <[email protected]>
++
++      * config/spu/spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of
++      non-NOTE insns.
++
++2010-08-03  Uros Bizjak  <[email protected]>
++
++      PR target/41089
++      * config/alpha/alpha.c (alpha_build_builtin_va_list): Mark __offset
++      as volatile.
++
 +2010-08-03  Martin Jambor  <[email protected]>
 +
 +      PR tree-optimization/44914
@@ -56,7 +334,18 @@
  2010-07-31  Release Manager
  
        * GCC 4.5.1 released.
-@@ -286,7 +323,7 @@
+@@ -105,8 +346,8 @@
+ 2010-07-19  Bingfeng Mei  <[email protected]>
+ 
+       * 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  <[email protected]>
+ 
+@@ -286,7 +527,7 @@
        if old_decl was DECL_ONE_ONLY.
  
        2010-06-21  Jakub Jelinek  <[email protected]>
@@ -65,440 +354,10633 @@
        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,
-Index: gcc/testsuite/ChangeLog
+@@ -392,24 +633,24 @@
+       Backport from mainline
+       2010-05-17  Martin Jambor  <[email protected]>
+ 
+-        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  <[email protected]>
+ 
+       Backport from mainline
+       2010-04-13  Martin Jambor  <[email protected]>
+ 
+-        * 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  <[email protected]>
+ 
+@@ -536,7 +777,7 @@
+       Backport from mainline:
+       2010-05-18  Steven Bosscher  <[email protected]>
+ 
+-        * 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 <[email protected]>
++2010-04-19 Ira Rosen  <[email protected]>
+ 
+       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 <[email protected]>
++2010-04-01  Ralf Corsépius  <[email protected]>
+ 
+       * config.gcc (lm32-*-rtems*): Add t-lm32.
+ 
+-2010-04-01  Joel Sherrill <[email protected]>
++2010-04-01  Joel Sherrill  <[email protected]>
+ 
+       * 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 <[email protected]>
+-          Jack Howarth <[email protected]>
++      2010-03-30  Seongbae Park  <[email protected]>
++                  Jack Howarth  <[email protected]>
+ 
+       * 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 <[email protected]>
+-          Jack Howarth <[email protected]>
++2010-03-30  Seongbae Park  <[email protected]>
++          Jack Howarth  <[email protected]>
+ 
+       * 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  <[email protected]>
+-          Rainer Orth <[email protected]>
++          Rainer Orth  <[email protected]>
+ 
+       * 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 <[email protected]>
+-          Jack Howarth <[email protected]>
++2010-03-18  Francois-Xavier Coudert  <[email protected]>
++          Jack Howarth  <[email protected]>
+ 
+       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 <[email protected]>
++2010-03-16  Rainer Orth  <[email protected]>
+ 
+       * 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 <[email protected]>
++2010-03-06  Alexandre Oliva  <[email protected]>
+ 
+       * 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 <[email protected]>
++2010-02-18  Sebastian Huber  <[email protected]>
+ 
+       * 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 <[email protected]>
++2010-02-16  Ira Rosen  <[email protected]>
+ 
+       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 <[email protected]>
+-          Jakub Jelinek <[email protected]>
++2010-02-16  Jack Howarth  <[email protected]>
++          Jakub Jelinek  <[email protected]>
+ 
+       PR target/42854
+       * config/darwin.h (ASM_WEAKEN_DECL): Don't check weak attribute
+@@ -4511,7 +4752,7 @@
+ 
+ 2010-02-12  Dave Korn  <[email protected]>
+           Jack Howarth  <[email protected]>
+-          Iain Sandoe <[email protected]>
++          Iain Sandoe  <[email protected]>
+ 
+       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 <[email protected]>
++2010-01-14  Andrey Belevantsev  <[email protected]>
+ 
+       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/ChangeLog    (.../tags/gcc_4_5_1_release)    (wersja 162840)
-+++ gcc/testsuite/ChangeLog    (.../branches/gcc-4_5-branch)   (wersja 162840)
-@@ -1,3 +1,20 @@
-+2010-08-03  Martin Jambor  <[email protected]>
-+
-+      PR tree-optimization/44914
-+      * g++.dg/tree-ssa/pr44914.C: New test.
+--- 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;
 +
-+2010-08-02  Uros Bizjak  <[email protected]>
++  ux = (unsigned char)x;
++  uy = -ux;
++  *py = (uy <= 127) ? (signed char)uy : (-(signed char)(255 - uy) - 1);
++  *pv = (x == -128) ? 1 : 0;
++}
 +
-+        * lib/gcc-dg.exp (cleanup-coverage-files): Remove options from
-+        test name.
-+        (cleanup-repo-files): Ditto.
-+        (cleanup-saved-temps): Ditto.
++void __attribute__((noinline)) foo(int x, int y, int v)
++{
++  if (y < -128 || y > 127)
++    abort();
++}
 +
-+2010-07-31  Ulrich Weigand  <[email protected]>
++int test_neg(void)
++{
++  signed char x, y;
++  int v, err;
 +
-+      PR c++/45112
-+      * testsuite/g++.dg/pr45112.C: New test.
++  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;
++}
 +
- 2010-07-31  Release Manager
- 
-       * GCC 4.5.1 released.
-@@ -636,7 +653,7 @@
-       PR testsuite/44518
-       * obj-c++.dg/encode-2.mm: XFAIL new test for all targets.
-       * obj-c++.dg/encode-3.mm: Restore XFAIL run for all targets.
--      
++int main(void)
++{
++  if (sizeof (char) != 1)
++    return 0;
++  if (test_neg() != 0)
++    abort();
++  return 0;
++}
 +
- 2010-06-12  Daniel Franke  <[email protected]>
- 
-       PR fortran/44347
-Index: gcc/testsuite/g++.dg/tree-ssa/pr44914.C
+Index: gcc/testsuite/gcc.c-torture/execute/pr44858.c
 ===================================================================
---- gcc/testsuite/g++.dg/tree-ssa/pr44914.C    (.../tags/gcc_4_5_1_release)    
(wersja 0)
-+++ gcc/testsuite/g++.dg/tree-ssa/pr44914.C    (.../branches/gcc-4_5-branch)   
(wersja 162840)
-@@ -0,0 +1,20 @@
-+/* { dg-do compile } */
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gcc/gcc-branch.diff?r1=1.36&r2=1.37&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gcc/gcc.spec?r1=1.625&r2=1.626&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to