[Bug debug/44694] [4.5 Regression] Long var tracking compile time of GiNaC tests

2010-06-30 Thread jakub at gcc dot gnu dot org


--- Comment #10 from jakub at gcc dot gnu dot org  2010-06-30 07:16 ---
Fixed on the trunk so far.


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|[4.5/4.6 Regression] Long   |[4.5 Regression] Long var
   |var tracking compile time of|tracking compile time of
   |GiNaC tests |GiNaC tests


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



[Bug debug/44694] [4.5 Regression] Long var tracking compile time of GiNaC tests

2010-06-30 Thread jakub at gcc dot gnu dot org


--- Comment #11 from jakub at gcc dot gnu dot org  2010-06-30 15:41 ---
Subject: Bug 44694

Author: jakub
Date: Wed Jun 30 15:40:53 2010
New Revision: 161610

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161610
Log:
Backport from mainline
2010-06-30  Jakub Jelinek  

PR debug/44694
* cselib.h (cselib_preserve_cfa_base_value): Add regno argument.
* cselib.c (cfa_base_preserved_regno): New static variable.
(cselib_reset_table): Don't reset cfa_base_preserved_regno instead
of REGNO (cfa_base_preserved_val->locs->loc).
(cselib_preserve_cfa_base_value): Add regno argument, set
cfa_base_preserved_regno to it.
(cselib_invalidate_regno): Allow removal of registers other than
cfa_base_preserved_regno from cfa_base_preserved_val.
(cselib_finish): Set cfa_base_preserved_regno to INVALID_REGNUM.
* var-tracking.c (adjust_mems): Replace sp or hfp even outside
of MEM addresses, if not on LHS.
(reverse_op): Don't add reverse ops for cfa_base_rtx.
(vt_init_cfa_base): Adjust cselib_preserve_cfa_base_value caller.

Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/cselib.c
branches/gcc-4_5-branch/gcc/cselib.h
branches/gcc-4_5-branch/gcc/var-tracking.c


-- 


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



[Bug debug/44694] [4.5 Regression] Long var tracking compile time of GiNaC tests

2010-06-30 Thread rearnsha at gcc dot gnu dot org


--- Comment #12 from rearnsha at gcc dot gnu dot org  2010-06-30 23:42 
---
(In reply to comment #9)
> Subject: Bug 44694
> 
> Author: jakub
> Date: Wed Jun 30 06:12:22 2010
> New Revision: 161587
> 
> URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161587
> Log:
> PR debug/44694
>
This patch causes a build failure on arm-eabi when building libstdc++.  The
compiler ends up passing the internal version of the frame pointer register
(which has to be eliminated into either SP of FP) to arm_dbx_register_number().


-- 


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



[Bug debug/44694] [4.5 Regression] Long var tracking compile time of GiNaC tests

2010-06-30 Thread rearnsha at gcc dot gnu dot org


--- Comment #13 from rearnsha at gcc dot gnu dot org  2010-06-30 23:43 
---
Created an attachment (id=21048)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21048&action=view)
testcase for introduced regression

compiler options in first line of testcase.


-- 


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



[Bug debug/44694] [4.5 Regression] Long var tracking compile time of GiNaC tests

2010-06-30 Thread rearnsha at gcc dot gnu dot org


--- Comment #14 from rearnsha at gcc dot gnu dot org  2010-06-30 23:55 
---
Created an attachment (id=21050)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21050&action=view)
testcase for introduced regression

compiler options in first line of testcase.


-- 


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



[Bug debug/44694] [4.5 Regression] Long var tracking compile time of GiNaC tests

2010-07-01 Thread jakub at gcc dot gnu dot org


--- Comment #15 from jakub at gcc dot gnu dot org  2010-07-01 07:13 ---
Created an attachment (id=21052)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21052&action=view)
gcc46-pr44694-arm.patch

Untested fix for this issue.


-- 


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



[Bug debug/44694] [4.5 Regression] Long var tracking compile time of GiNaC tests

2010-07-01 Thread jakub at gcc dot gnu dot org


--- Comment #16 from jakub at gcc dot gnu dot org  2010-07-01 07:24 ---
Created an attachment (id=21053)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21053&action=view)
gcc46-pr44694-arm.patch

Actually that was wrong, we need to emit DW_OP_fbreg offset DW_OP_stack_value
in that case instead.


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

  Attachment #21052|0   |1
is obsolete||


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



[Bug debug/44694] [4.5 Regression] Long var tracking compile time of GiNaC tests

2010-07-01 Thread jakub at gcc dot gnu dot org


--- Comment #17 from jakub at gcc dot gnu dot org  2010-07-01 11:12 ---
Subject: Bug 44694

Author: jakub
Date: Thu Jul  1 11:11:46 2010
New Revision: 161662

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161662
Log:
PR debug/44694
* dwarf2out.c (reg_loc_descriptor): For eliminated arg_pointer_rtx
or frame_pointer_rtx use DW_OP_fbreg offset DW_OP_stack_value.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c


-- 


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



[Bug debug/44694] [4.5 Regression] Long var tracking compile time of GiNaC tests

2010-07-01 Thread jakub at gcc dot gnu dot org


--- Comment #18 from jakub at gcc dot gnu dot org  2010-07-01 11:13 ---
Subject: Bug 44694

Author: jakub
Date: Thu Jul  1 11:12:24 2010
New Revision: 161663

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161663
Log:
PR debug/44694
* dwarf2out.c (reg_loc_descriptor): For eliminated arg_pointer_rtx
or frame_pointer_rtx use DW_OP_fbreg offset DW_OP_stack_value.

Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/dwarf2out.c


-- 


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



[Bug debug/44694] [4.5 Regression] Long var tracking compile time of GiNaC tests

2010-07-01 Thread jakub at gcc dot gnu dot org


--- Comment #19 from jakub at gcc dot gnu dot org  2010-07-01 12:37 ---
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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