packages: gcc/gcc-branch.diff - updated.

pluto pluto at pld-linux.org
Wed Oct 21 13:13:47 CEST 2009


Author: pluto                        Date: Wed Oct 21 11:13:47 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated.

---- Files affected:
packages/gcc:
   gcc-branch.diff (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/gcc/gcc-branch.diff
diff -u packages/gcc/gcc-branch.diff:1.20 packages/gcc/gcc-branch.diff:1.21
--- packages/gcc/gcc-branch.diff:1.20	Thu Oct 15 16:24:49 2009
+++ packages/gcc/gcc-branch.diff	Wed Oct 21 13:13:41 2009
@@ -1,14 +1,231 @@
+Index: gcc/DATESTAMP
+===================================================================
+--- gcc/DATESTAMP	(.../tags/gcc_4_4_2_release)	(wersja 153054)
++++ gcc/DATESTAMP	(.../branches/gcc-4_4-branch)	(wersja 153054)
+@@ -1 +1 @@
+-20091015
++20091021
+Index: gcc/configure
+===================================================================
+--- gcc/configure	(.../tags/gcc_4_4_2_release)	(wersja 153054)
++++ gcc/configure	(.../branches/gcc-4_4-branch)	(wersja 153054)
+@@ -21680,6 +21680,42 @@
+ _ACEOF
+ 
+ 
++echo "$as_me:$LINENO: checking assembler for cfi sections directive" >&5
++echo $ECHO_N "checking assembler for cfi sections directive... $ECHO_C" >&6
++if test "${gcc_cv_as_cfi_sections_directive+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  gcc_cv_as_cfi_sections_directive=no
++  if test x$gcc_cv_as != x; then
++    echo '	.text
++	.cfi_sections .debug_frame, .eh_frame
++	.cfi_startproc
++	.cfi_endproc' > conftest.s
++    if { ac_try='$gcc_cv_as  -o conftest.o conftest.s >&5'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }
++    then
++	gcc_cv_as_cfi_sections_directive=yes
++    else
++      echo "configure: failed program was" >&5
++      cat conftest.s >&5
++    fi
++    rm -f conftest.o conftest.s
++  fi
++fi
++echo "$as_me:$LINENO: result: $gcc_cv_as_cfi_sections_directive" >&5
++echo "${ECHO_T}$gcc_cv_as_cfi_sections_directive" >&6
++
++
++cat >>confdefs.h <<_ACEOF
++#define HAVE_GAS_CFI_SECTIONS_DIRECTIVE `if test $gcc_cv_as_cfi_sections_directive = yes;
++    then echo 1; else echo 0; fi`
++_ACEOF
++
++
+ # GAS versions up to and including 2.11.0 may mis-optimize
+ # .eh_frame data.
+ echo "$as_me:$LINENO: checking assembler for eh_frame optimization" >&5
+Index: gcc/vmsdbgout.c
+===================================================================
+--- gcc/vmsdbgout.c	(.../tags/gcc_4_4_2_release)	(wersja 153054)
++++ gcc/vmsdbgout.c	(.../branches/gcc-4_4-branch)	(wersja 153054)
+@@ -166,6 +166,7 @@
+ 
+ static void vmsdbgout_init (const char *);
+ static void vmsdbgout_finish (const char *);
++static void vmsdbgout_assembly_start (void);
+ static void vmsdbgout_define (unsigned int, const char *);
+ static void vmsdbgout_undef (unsigned int, const char *);
+ static void vmsdbgout_start_source_file (unsigned int, const char *);
+@@ -188,6 +189,7 @@
+ const struct gcc_debug_hooks vmsdbg_debug_hooks
+ = {vmsdbgout_init,
+    vmsdbgout_finish,
++   vmsdbgout_assembly_start,
+    vmsdbgout_define,
+    vmsdbgout_undef,
+    vmsdbgout_start_source_file,
+@@ -1636,6 +1638,15 @@
+ /* Not implemented in VMS Debug.  */
+ 
+ static void
++vmsdbgout_assembly_start (void)
++{
++  if (write_symbols == VMS_AND_DWARF2_DEBUG)
++    (*dwarf2_debug_hooks.assembly_start) ();
++}
++
++/* Not implemented in VMS Debug.  */
++
++static void
+ vmsdbgout_define (unsigned int lineno, const char *buffer)
+ {
+   if (write_symbols == VMS_AND_DWARF2_DEBUG)
+Index: gcc/debug.c
+===================================================================
+--- gcc/debug.c	(.../tags/gcc_4_4_2_release)	(wersja 153054)
++++ gcc/debug.c	(.../branches/gcc-4_4-branch)	(wersja 153054)
+@@ -27,6 +27,7 @@
+ {
+   debug_nothing_charstar,
+   debug_nothing_charstar,
++  debug_nothing_void,
+   debug_nothing_int_charstar,
+   debug_nothing_int_charstar,
+   debug_nothing_int_charstar,
 Index: gcc/DEV-PHASE
 ===================================================================
---- gcc/DEV-PHASE	(.../tags/gcc_4_4_2_release)	(wersja 152845)
-+++ gcc/DEV-PHASE	(.../branches/gcc-4_4-branch)	(wersja 152845)
+--- gcc/DEV-PHASE	(.../tags/gcc_4_4_2_release)	(wersja 153054)
++++ gcc/DEV-PHASE	(.../branches/gcc-4_4-branch)	(wersja 153054)
 @@ -0,0 +1 @@
 +prerelease
+Index: gcc/debug.h
+===================================================================
+--- gcc/debug.h	(.../tags/gcc_4_4_2_release)	(wersja 153054)
++++ gcc/debug.h	(.../branches/gcc-4_4-branch)	(wersja 153054)
+@@ -31,6 +31,10 @@
+   /* Output debug symbols.  */
+   void (* finish) (const char *main_filename);
+ 
++  /* Called from cgraph_optimize before starting to assemble
++     functions/variables/toplevel asms.  */
++  void (* assembly_start) (void);
++
+   /* Macro defined on line LINE with name and expansion TEXT.  */
+   void (* define) (unsigned int line, const char *text);
+ 
+Index: gcc/cgraphunit.c
+===================================================================
+--- gcc/cgraphunit.c	(.../tags/gcc_4_4_2_release)	(wersja 153054)
++++ gcc/cgraphunit.c	(.../branches/gcc-4_4-branch)	(wersja 153054)
+@@ -1293,6 +1293,7 @@
+   timevar_pop (TV_CGRAPHOPT);
+ 
+   /* Output everything.  */
++  (*debug_hooks->assembly_start) ();
+   if (!quiet_flag)
+     fprintf (stderr, "Assembling functions:\n");
+ #ifdef ENABLE_CHECKING
 Index: gcc/ChangeLog
 ===================================================================
---- gcc/ChangeLog	(.../tags/gcc_4_4_2_release)	(wersja 152845)
-+++ gcc/ChangeLog	(.../branches/gcc-4_4-branch)	(wersja 152845)
-@@ -1,3 +1,17 @@
+--- gcc/ChangeLog	(.../tags/gcc_4_4_2_release)	(wersja 153054)
++++ gcc/ChangeLog	(.../branches/gcc-4_4-branch)	(wersja 153054)
+@@ -1,3 +1,105 @@
++2009-10-20  John David Anglin  <dave.anglin at nrc-cnrc.gc.ca>
++
++        Backport from mainline:
++	2009-10-15  John David Anglin  <dave.anglin at nrc-cnrc.gc.ca>
++
++	PR target/41702
++	* pa.md (casesi): Use sign extended index in call to
++	gen_casesi64p.
++	(casesi64p): Update pattern to reflect above.
++
++2009-10-20  Joseph Myers  <joseph at codesourcery.com>
++
++	* config/arm/arm.c (output_move_neon): Use DImode in call to
++	adjust_address.
++
++2009-10-19  Jakub Jelinek  <jakub at redhat.com>
++
++	* unwind-dw2.c (execute_stack_op): Fix operand order for
++	DW_OP_le, DW_OP_ge, DW_OP_lt and DW_OP_gt.
++
++2009-10-19  Andreas Krebbel  <Andreas.Krebbel at de.ibm.com>
++
++	* config/s390/s390.c (s390_z10_optimize_cmp): Don't touch FP compares.
++
++2009-10-19  Andreas Krebbel  <Andreas.Krebbel at de.ibm.com>
++
++	* config/s390/s390.c (s390_z10_optimize_cmp): Skip notes and debug
++	insns when investigating previous or next insns.
++
++2009-10-19  Jakub Jelinek  <jakub at redhat.com>
++
++	Backport from mainline:
++	2009-10-16  Jakub Jelinek  <jakub at redhat.com>
++
++	PR debug/40521
++	* debug.h (struct gcc_debug_hooks): Add assembly_start hook.
++	* cgraphunit.c (cgraph_optimize): Call it.
++	* dwarf2out.c (dwarf2out_init): Move .cfi_sections printing into...
++	(dwarf2out_assembly_start): ... here.  New hook.
++	(dwarf2out_debug_hooks): Add dwarf2out_assembly_start.
++	* debug.c (do_nothing_debug_hooks): Do nothing for assembly_start
++	hook.
++	* dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise.
++	* sdbout.c (sdb_debug_hooks): Likewise.
++	* vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_assembly_start.
++	(vmsdbgout_assembly_start): New hook.
++
++	2009-10-09  Jakub Jelinek  <jakub at redhat.com>
++
++	PR debug/40521
++	* dwarf2out.c (dwarf2out_init): Test whether
++	HAVE_GAS_CFI_SECTIONS_DIRECTIVE is non-zero instead of checking
++	it is defined.
++
++	2009-10-02  Jakub Jelinek  <jakub at redhat.com>
++
++	PR debug/40521
++	* configure.ac (HAVE_GAS_CFI_SECTIONS_DIRECTIVE): New test.
++	* configure: Regenerated.
++	* config.in: Regenerated.
++	* dwarf2out.c (dwarf2out_do_cfi_asm): Return false if
++	!HAVE_GAS_CFI_SECTIONS_DIRECTIVE and not emitting .eh_frame.
++	(dwarf2out_init): If HAVE_GAS_CFI_SECTIONS_DIRECTIVE and
++	not emitting .eh_frame, emit .cfi_sections .debug_frame
++	directive.
++
++2009-10-15  John David Anglin  <dave.anglin at nrc-cnrc.gc.ca>
++
++	Backport from mainline
++	2009-09-17  Michael Haubenwallner  <michael.haubenwallner at salomon.at>
++
++	PR target/40913
++	* config/pa/t-hpux-shlib: Set soname in libgcc_s.sl.
++
++	Backport from mainline
++	2009-05-05  Ben Elliston  <bje at au.ibm.com>
++
++	* config/pa/linux-atomic.c: Eliminate conditional include of
++	errno.h on non-LP64 systems to simplify build requirements.
++
++2009-10-15  Uros Bizjak  <ubizjak at gmail.com>
++
++	Backport from mainline:
++	2009-10-07  Vladimir Makarov  <vmakarov at redhat.com>
++
++	PR middle-end/22072
++	* ira-lives.c (check_and_make_def_conflict): Process all operands.
++
 +2009-10-15  H.J. Lu  <hongjiu.lu at intel.com>
 +
 +	Backport from mainline:
@@ -26,17 +243,1884 @@
  2009-10-15  Release Manager
  
  	* GCC 4.4.2 released.
+@@ -43,8 +145,8 @@
+ 2009-10-05  Ramana Radhakrishnan  <ramana.radhakrishnan at arm.com>
+ 
+ 	Backport from mainline.
+-        * config/arm/arm.c (arm_override_options): Really initialize
+-        flag_dwarf2_cfi_asm to 0.
++	* config/arm/arm.c (arm_override_options): Really initialize
++	flag_dwarf2_cfi_asm to 0.
+ 
+ 2009-10-02  Ramana Radhakrishnan  <ramana.radhakrishnan at arm.com>
+ 
+@@ -113,7 +215,7 @@
+ 	premark_types_used_by_global_vars): New functions.
+ 	(prune_unused_types): Do not prune types used by global variables.
+ 
+-2009-09-23 Uros Bizjak <ubizjak at gmail.com>
++2009-09-23  Uros Bizjak  <ubizjak at gmail.com>
+ 
+ 	PR c/39779
+ 	* c-typeck.c (build_binary_op) <short_shift>: Check that integer
+Index: gcc/testsuite/gcc.c-torture/compile/pr41634.c
+===================================================================
+--- gcc/testsuite/gcc.c-torture/compile/pr41634.c	(.../tags/gcc_4_4_2_release)	(wersja 0)
++++ gcc/testsuite/gcc.c-torture/compile/pr41634.c	(.../branches/gcc-4_4-branch)	(wersja 153054)
+@@ -0,0 +1,19 @@
++extern int _xgetw();
++extern int foo(char*);
++
++void test_readmode( int ascii_mode )
++{
++  static const char outbuffer[]
++    = "0,1,2,3,4,5,6,7,8,9\r\n\r\nA,B,C,D,E\r\nX,Y,Z";
++  char buffer[2*512 +256];
++  int i, j, ao;
++  unsigned int fp;
++
++  foo(buffer);
++
++  for (i=0, j=0; i<6; i++) {
++      if (ao==0 || outbuffer[fp-3+i] != '\r')
++	buffer[j++] = outbuffer[fp-3+i];
++  }
++  _xgetw();
++}
+Index: gcc/testsuite/gcc.c-torture/compile/pr41661.c
+===================================================================
+--- gcc/testsuite/gcc.c-torture/compile/pr41661.c	(.../tags/gcc_4_4_2_release)	(wersja 0)
++++ gcc/testsuite/gcc.c-torture/compile/pr41661.c	(.../branches/gcc-4_4-branch)	(wersja 153054)
+@@ -0,0 +1,20 @@
++/* PR tree-optimization/41661 */
++/* { dg-do compile } */
++/* { dg-options "-fno-early-inlining" } */
++
++int g;
++
++void foo (int x)
++{
++  g = x;
++}
++
++void bar (double d)
++{
++  foo (d == 1);
++}
++
++void baz (int a)
++{
++  bar (1);
++}
+Index: gcc/testsuite/gcc.c-torture/compile/pr41182-1.c
+===================================================================
+--- gcc/testsuite/gcc.c-torture/compile/pr41182-1.c	(.../tags/gcc_4_4_2_release)	(wersja 0)
++++ gcc/testsuite/gcc.c-torture/compile/pr41182-1.c	(.../branches/gcc-4_4-branch)	(wersja 153054)
+@@ -0,0 +1,6 @@
++typedef long unsigned int size_t;
++int _lae_process_opts(char *pr, char *pe)
++{ 
++  return (strlen ("on") < ((size_t) ((pe-&pr[2])>(strlen("on"))                
++                                     ? (pe-&pr[2]) : (strlen("on")))));
++}
+Index: gcc/testsuite/gcc.target/arm/neon-thumb2-move.c
+===================================================================
+--- gcc/testsuite/gcc.target/arm/neon-thumb2-move.c	(.../tags/gcc_4_4_2_release)	(wersja 0)
++++ gcc/testsuite/gcc.target/arm/neon-thumb2-move.c	(.../branches/gcc-4_4-branch)	(wersja 153054)
+@@ -0,0 +1,98 @@
++/* { dg-do compile } */
++/* { dg-require-effective-target arm_neon_ok } */
++/* { dg-options "-O2 -mthumb -march=armv7-a -mfloat-abi=softfp -mfpu=neon" } */
++
++#include <arm_neon.h>
++#include <stddef.h>
++
++void *
++memset (DST, C, LENGTH)
++     void *DST;
++     int C;
++     size_t LENGTH;
++{
++  void* DST0 = DST;
++  unsigned char C_BYTE = C;
++
++
++  if (__builtin_expect(LENGTH < 4, 1)) {
++    size_t i = 0;
++    while (i < LENGTH) {
++      ((char*)DST)[i] = C_BYTE;
++      i++;
++    }
++    return DST;
++  }
++
++  const char* DST_end = (char*)DST + LENGTH;
++
++
++  while ((uintptr_t)DST % 4 != 0) {
++    *(char*) (DST++) = C_BYTE;
++  }
++
++
++  uint32_t C_SHORTWORD = (uint32_t)(unsigned char)(C_BYTE) * 0x01010101;
++
++
++  if (__builtin_expect(DST_end - (char*)DST >= 16, 0)) {
++    while ((uintptr_t)DST % 16 != 0) {
++      *((uint32_t*)((char*)(DST) + (0))) = C_SHORTWORD;
++      DST += 4;
++    }
++
++
++    uint8x16_t C_WORD = vdupq_n_u8(C_BYTE);
++
++
++
++
++
++    size_t i = 0;
++    LENGTH = DST_end - (char*)DST;
++    while (i + 16 * 16 <= LENGTH) {
++      *((uint8x16_t*)((char*)(DST) + (i))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 1))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 2))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 3))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 4))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 5))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 6))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 7))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 8))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 9))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 10))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 11))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 12))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 13))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 14))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 15))) = C_WORD;
++      i += 16 * 16;
++    }
++    while (i + 16 * 4 <= LENGTH) {
++      *((uint8x16_t*)((char*)(DST) + (i))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 1))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 2))) = C_WORD;
++      *((uint8x16_t*)((char*)(DST) + (i + 16 * 3))) = C_WORD;
++      i += 16 * 4;
++    }
++    while (i + 16 <= LENGTH) {
++      *((uint8x16_t*)((char*)(DST) + (i))) = C_WORD;
++      i += 16;
++    }
++    DST += i;
++  }
++
++  while (4 <= DST_end - (char*)DST) {
++    *((uint32_t*)((char*)(DST) + (0))) = C_SHORTWORD;
++    DST += 4;
++  }
++
++
++  while ((char*)DST < DST_end) {
++    *((char*)DST) = C_BYTE;
++    DST++;
++  }
++
++  return DST0;
++}
+Index: gcc/testsuite/gcc.dg/torture/pr41555.c
+===================================================================
+--- gcc/testsuite/gcc.dg/torture/pr41555.c	(.../tags/gcc_4_4_2_release)	(wersja 0)
++++ gcc/testsuite/gcc.dg/torture/pr41555.c	(.../branches/gcc-4_4-branch)	(wersja 153054)
+@@ -0,0 +1,119 @@
++/* { dg-do run } */
++/* { dg-options "-std=c99" } */
++
++#include <stdint.h>
++#include <limits.h>
++
++extern void abort (void);
++
++static uint64_t safe_div_func_uint64_t_u_u (uint64_t _ui1, uint64_t _ui2)
++{
++  if (_ui2==0) return _ui1;
++  return _ui1 / _ui2;
++}
++
++static int64_t safe_div_func_int64_t_s_s (int64_t _si1, int64_t _si2)
++{
++  if (_si2==0 || (_si1==INT64_MIN && _si2==-1)) return _si1;
++  return _si1 / _si2;
++}
++
++#define safe_add_macro_int8_t_s_s(si1,si2) \
++                ((((((int8_t)(si1))>((int8_t)0)) && (((int8_t)(si2))>((int8_t)0)) && (((int8_t)(si1)) > ((INT8_MAX)-((int8_t)(si2))))) \
++                  || ((((int8_t)(si1))<((int8_t)0)) && (((int8_t)(si2))<((int8_t)0)) && (((int8_t)(si1)) < ((INT8_MIN)-((int8_t)(si2)))))) \
++                 ? ((int8_t)(si1)) \
++                 : (((int8_t)(si1)) + ((int8_t)(si2))) \
++                 ) 
++
++static int8_t
++safe_add_func_int8_t_s_s(int8_t _si1, int8_t _si2)
++{
++  return safe_add_macro_int8_t_s_s(_si1,_si2);
++}
++
++#define safe_rshift_macro_uint64_t_u_s(left,right) \
++        (((((int)(right)) < ((uint64_t)0)) \
++                         || (((int)(right)) >= sizeof(uint64_t)*CHAR_BIT)) \
++                        ? ((uint64_t)(left)) \
++                        : (((uint64_t)(left)) >> ((int)(right))))
++
++static uint64_t
++safe_rshift_func_uint64_t_u_s(uint64_t _left, int _right)
++{
++  return safe_rshift_macro_uint64_t_u_s(_left,_right);
++}
++
++#define safe_mul_macro_int32_t_s_s(si1,si2) \
++  ((((((int32_t)(si1)) > ((int32_t)0)) && (((int32_t)(si2)) > ((int32_t)0)) && (((int32_t)(si1)) > ((INT32_MAX) / ((int32_t)(si2))))) || \
++  ((((int32_t)(si1)) > ((int32_t)0)) && (((int32_t)(si2)) <= ((int32_t)0)) && (((int32_t)(si2)) < ((INT32_MIN) / ((int32_t)(si1))))) || \
++  ((((int32_t)(si1)) <= ((int32_t)0)) && (((int32_t)(si2)) > ((int32_t)0)) && (((int32_t)(si1)) < ((INT32_MIN) / ((int32_t)(si2))))) || \
++  ((((int32_t)(si1)) <= ((int32_t)0)) && (((int32_t)(si2)) <= ((int32_t)0)) && (((int32_t)(si1)) != ((int32_t)0)) && (((int32_t)(si2)) < ((INT32_MAX) / ((int32_t)(si1)))))) \
++  ? ((int32_t)(si1)) \
++  : ((int32_t)(si1)) * ((int32_t)(si2)))
++
++static int32_t
++safe_mul_func_int32_t_s_s (int32_t _si1, int32_t _si2)
++{
++  return safe_mul_macro_int32_t_s_s(_si1,_si2);
++}
++
++static int8_t g_39;
++static volatile uint8_t g_46;
++static uint8_t g_47;
++static uint8_t *g_62;
++static uint8_t g_79;
++static int8_t g_101 = -1L;
++static uint8_t *g_114;
++static uint8_t *g_126;
++static uint8_t g_133;
++
++static uint16_t func_35 (int32_t * p_36, uint64_t p_37, uint32_t p_38);
++static uint16_t func_35 (int32_t * p_36, uint64_t p_37, uint32_t p_38)
++{
++  if (g_62 != 0)
++    abort ();
++  for (g_39 = 1; g_39 < 0; g_39 = 1)
++    {
++    }
++  return 1;
++}
++
++static int32_t func_19 (int32_t p_20);
++static int32_t func_19 (int32_t p_20)
++{
++  if (1 !=
++      safe_div_func_uint64_t_u_u ((safe_div_func_int64_t_s_s (p_20, 1)),
++                                  g_101))
++    {
++      func_35 (0, 1 <= (safe_add_func_int8_t_s_s (g_47, g_46)) > p_20 < 1, 1);
++      g_133 = 1;
++      if (g_114 != 0)
++	abort ();
++      if (g_126 != 0)
++	abort ();
++    }
++  return 1;
++}
++
++static uint8_t func_2 (int32_t p_6);
++static uint8_t func_2 (int32_t p_6)
++{
++  for (1; p_6 > 1; 1)
++    return 0;
++  func_19 (g_79);
++  if (safe_mul_func_int32_t_s_s
++      ((0, 1 < (safe_rshift_func_uint64_t_u_s (1 ^ p_6, 1))),
++       (func_35 (&p_6, 1, 1) < 1)))
++    {
++    }
++  return 1;
++}
++
++int main (void)
++{
++  func_2 (1);
++  if (g_133 != 1)
++    abort ();
++  return 0;
++}
++
+Index: gcc/testsuite/gcc.dg/pr41573.c
+===================================================================
+--- gcc/testsuite/gcc.dg/pr41573.c	(.../tags/gcc_4_4_2_release)	(wersja 0)
++++ gcc/testsuite/gcc.dg/pr41573.c	(.../branches/gcc-4_4-branch)	(wersja 153054)
+@@ -0,0 +1,15 @@
++/* { dg-do compile } */
++/* { dg-options "-O2" } */
++__inline __attribute__ ((__always_inline__)) char *
++strcpy (char *__dest, __const char *__src)
++{
++  return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
++}
++
++const char* get_attr(unsigned attr)
++{
++    static char tmp[256];
++
++    strcpy(tmp, "");
++    return tmp;
++}
+Index: gcc/testsuite/gcc.dg/cleanup-13.c
+===================================================================
+--- gcc/testsuite/gcc.dg/cleanup-13.c	(.../tags/gcc_4_4_2_release)	(wersja 0)
++++ gcc/testsuite/gcc.dg/cleanup-13.c	(.../branches/gcc-4_4-branch)	(wersja 153054)
+@@ -0,0 +1,319 @@
++/* HP-UX libunwind.so doesn't provide _UA_END_OF_STACK */
++/* { dg-do run } */
++/* { dg-options "-fexceptions" } */
++/* { dg-skip-if "" { "ia64-*-hpux11.*" }  { "*" } { "" } } */
++/* Verify DW_OP_* handling in the unwinder.  */
++
++#include <unwind.h>
++#include <stdlib.h>
++#include <string.h>
++
++/* #define OP_addr(x) 0x06, ... */
++#define OP_deref 0x06,
++#define SLEB128(x) (x)&0x7f	/* Assume here the value is -0x40 ... 0x3f.  */
++#define ULEB128(x) (x)&0x7f	/* Assume here the value is 0 ... 0x7f.  */
++#define VAL1(x) (x)&0xff
++#if defined (__BIG_ENDIAN__)
++#define VAL2(x) ((x)>>8)&0xff,(x)&0xff
++#define VAL4(x) ((x)>>24)&0xff,((x)>>16)&0xff,((x)>>8)&0xff,(x)&0xff
++#define VAL8(x) ((x)>>56)&0xff,((x)>>48)&0xff,((x)>>40)&0xff,((x)>>32)&0xff,((x)>>24)&0xff,((x)>>16)&0xff,((x)>>8)&0xff,(x)&0xff
<<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.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list