[Bug debug/42299] [4.5 Regression] another verify_ssa failure with -g -O2

2009-12-11 Thread hjl at gcc dot gnu dot org


--- Comment #6 from hjl at gcc dot gnu dot org  2009-12-12 01:45 ---
Subject: Bug 42299

Author: hjl
Date: Sat Dec 12 01:45:12 2009
New Revision: 155191

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155191
Log:
Backport testcases from trunk.

2009-12-11  H.J. Lu  hongjiu...@intel.com

Backport from mainline:
2009-12-07  Richard Henderson  r...@redhat.com

PR rtl-opt/42269
* gcc.c-torture/execute/pr42269-2.c: New.

2009-12-07  Richard Henderson  r...@redhat.com

PR debug/42299
PR debug/42166
* gcc.c-torture/compile/pr42299.c: New.
* gfortran.dg/pr42166.f90: Likewise.

2009-12-06  Richard Henderson  r...@redhat.com

PR debug/42234
* gcc.c-torture/compile/pr42234.c: New.

2009-12-02  Richard Henderson  r...@redhat.com

PR tree-opt/42215
* gcc.dg/pr42215.c: New.

Added:
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr42234.c
  - copied unchanged from r155190,
trunk/gcc/testsuite/gcc.c-torture/compile/pr42234.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr42299.c
  - copied unchanged from r155190,
trunk/gcc/testsuite/gcc.c-torture/compile/pr42299.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/pr42269-2.c
  - copied unchanged from r155190,
trunk/gcc/testsuite/gcc.c-torture/execute/pr42269-2.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr42215.c
  - copied unchanged from r155190, trunk/gcc/testsuite/gcc.dg/pr42215.c
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/pr42166.f90
  - copied unchanged from r155190,
trunk/gcc/testsuite/gfortran.dg/pr42166.f90
Modified:
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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



[Bug debug/42299] [4.5 Regression] another verify_ssa failure with -g -O2

2009-12-07 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P1


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



[Bug debug/42299] [4.5 Regression] another verify_ssa failure with -g -O2

2009-12-07 Thread jakub at gcc dot gnu dot org


--- Comment #3 from jakub at gcc dot gnu dot org  2009-12-07 17:09 ---
Distilled testcase (-g -O2):
extern int bar (void);

static int
foo (int x, int y)
{
  if (y)
goto lab;
  if (x)
y = 0;
  if (y)
goto lab;
  y = 0;
lab:
  return y;
}

void
baz (int x, int y)
{
  y = foo (x, y);
  if (y != 0)
bar ();
}


-- 


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



[Bug debug/42299] [4.5 Regression] another verify_ssa failure with -g -O2

2009-12-07 Thread rth at gcc dot gnu dot org


--- Comment #4 from rth at gcc dot gnu dot org  2009-12-07 22:16 ---
Same problem as PR42166.  I'll add the C testcase as well.

*** This bug has been marked as a duplicate of 42166 ***


-- 

rth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


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



[Bug debug/42299] [4.5 Regression] another verify_ssa failure with -g -O2

2009-12-07 Thread rth at gcc dot gnu dot org


--- Comment #5 from rth at gcc dot gnu dot org  2009-12-07 22:42 ---
Subject: Bug 42299

Author: rth
Date: Mon Dec  7 22:42:10 2009
New Revision: 155063

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155063
Log:
PR debug/42299
PR debug/42166
* tree-ssa.c (insert_debug_temp_for_var_def): Skip propagation
for ssa names already registered for update.

Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr42299.c
trunk/gcc/testsuite/gfortran.dg/pr42166.f90
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa.c


-- 


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



[Bug debug/42299] [4.5 Regression] another verify_ssa failure with -g -O2

2009-12-06 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

  Component|c   |debug
   Keywords||ice-on-valid-code
Summary|another verify_ssa failure  |[4.5 Regression] another
   |with -g -O2 |verify_ssa failure with -g -
   ||O2
   Target Milestone|--- |4.5.0


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