[Bug rtl-optimization/47337] [4.6 Regression] Wrong RTL dce of calls

2011-01-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47337

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #4 from Jakub Jelinek  2011-01-19 
15:15:36 UTC ---
Fixed.


[Bug rtl-optimization/47337] [4.6 Regression] Wrong RTL dce of calls

2011-01-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47337

--- Comment #3 from Jakub Jelinek  2011-01-19 
15:13:05 UTC ---
Author: jakub
Date: Wed Jan 19 15:13:01 2011
New Revision: 168997

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168997
Log:
PR rtl-optimization/47337
* dce.c (check_argument_store): New function.
(find_call_stack_args): Ignore debug insns.  Use check_argument_store.

* gcc.c-torture/execute/pr47337.c: New test.

Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr47337.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dce.c
trunk/gcc/testsuite/ChangeLog


[Bug rtl-optimization/47337] [4.6 Regression] Wrong RTL dce of calls

2011-01-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47337

--- Comment #2 from Jakub Jelinek  2011-01-18 
09:58:04 UTC ---
Created attachment 23016
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23016
gcc46-pr47337.patch

Untested fix.  Thanks for the report.


[Bug rtl-optimization/47337] [4.6 Regression] Wrong RTL dce of calls

2011-01-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47337

Jakub Jelinek  changed:

   What|Removed |Added

   Keywords||wrong-code
 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2011.01.18 09:22:11
  Component|c   |rtl-optimization
 AssignedTo|unassigned at gcc dot   |jakub at gcc dot gnu.org
   |gnu.org |
Summary|[4.6 Regression] memory |[4.6 Regression] Wrong RTL
   |unsafety bug leading to |dce of calls
   |wrong code generation   |
 Ever Confirmed|0   |1