public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/14619] New: Incorrect Dwarf 2 information in function prologue
@ 2004-03-17 12:05 orjanf at axis dot com
  2004-03-17 16:27 ` [Bug target/14619] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: orjanf at axis dot com @ 2004-03-17 12:05 UTC (permalink / raw)
  To: gcc-bugs

For the following example code:

000802e4 <foo>:
void foo(void) 
{
   802e4:	fce1 ee8f           	push $r8
   802e8:	6e86                	move.d $sp,$r8
}
   802ea:	68e6                	move.d $r8,$sp
   802ec:	7fb6                	ret 
   802ee:	6e8e                	pop $r8

the corresponding Dwarf 2 information is

00000038 00000014 00000010 FDE cie=00000010 pc=000802f0..00080310
  DW_CFA_advance_loc: 0 to 000802f0
  DW_CFA_def_cfa: r8 ofs 8
  DW_CFA_offset: r16 at cfa-4
  DW_CFA_offset: r8 at cfa-8

which incorrectly specifies that at 802f0 CFA is r8 + 8 and both r16 and r8 are 
saved.

-- 
           Summary: Incorrect Dwarf 2 information in function prologue
           Product: gcc
           Version: 3.2.1
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: target
        AssignedTo: hp at gcc dot gnu dot org
        ReportedBy: orjanf at axis dot com
                CC: gcc-bugs at gcc dot gnu dot org,orjanf at axis dot com
GCC target triplet: cris-axis-linux-gnu


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/14619] Incorrect Dwarf 2 information in function prologue
  2004-03-17 12:05 [Bug target/14619] New: Incorrect Dwarf 2 information in function prologue orjanf at axis dot com
@ 2004-03-17 16:27 ` pinskia at gcc dot gnu dot org
  2004-03-17 16:51 ` hp at bitrange dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-17 16:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-17 16:27 -------
Can you see what GCC 3.3.3 gives as 3.2.x is no longer being updated at all?

-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/14619] Incorrect Dwarf 2 information in function prologue
  2004-03-17 12:05 [Bug target/14619] New: Incorrect Dwarf 2 information in function prologue orjanf at axis dot com
  2004-03-17 16:27 ` [Bug target/14619] " pinskia at gcc dot gnu dot org
@ 2004-03-17 16:51 ` hp at bitrange dot com
  2004-03-17 17:04 ` hp at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: hp at bitrange dot com @ 2004-03-17 16:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at bitrange dot com  2004-03-17 16:51 -------
Subject: Re:  Incorrect Dwarf 2 information in function
 prologue

On Wed, 17 Mar 2004, pinskia at gcc dot gnu dot org wrote:
>
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-17 16:27 -------
> Can you see what GCC 3.3.3 gives as 3.2.x is no longer being updated at all?

No need to worry about repeating with FSF-maintained releases, I
have it covered.  (For the record, GCC-3.3.3, 3.4 and HEAD are
expected to emit exactly the same thing.)

brgds, H-P


-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/14619] Incorrect Dwarf 2 information in function prologue
  2004-03-17 12:05 [Bug target/14619] New: Incorrect Dwarf 2 information in function prologue orjanf at axis dot com
  2004-03-17 16:27 ` [Bug target/14619] " pinskia at gcc dot gnu dot org
  2004-03-17 16:51 ` hp at bitrange dot com
@ 2004-03-17 17:04 ` hp at gcc dot gnu dot org
  2004-03-17 20:01 ` hp at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-03-17 17:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at gcc dot gnu dot org  2004-03-17 17:04 -------
The information is fine and minimal for EH, but that's not good
enough for gdb's use.
(The gdb support is work-in-progress for the CRIS target.)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-03-17 17:04:15
               date|                            |
   Target Milestone|---                         |3.5.0


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/14619] Incorrect Dwarf 2 information in function prologue
  2004-03-17 12:05 [Bug target/14619] New: Incorrect Dwarf 2 information in function prologue orjanf at axis dot com
                   ` (2 preceding siblings ...)
  2004-03-17 17:04 ` hp at gcc dot gnu dot org
@ 2004-03-17 20:01 ` hp at gcc dot gnu dot org
  2004-12-05 17:02 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-03-17 20:01 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2004-03-17 17:04:15         |2004-03-17 20:01:02
               date|                            |


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/14619] Incorrect Dwarf 2 information in function prologue
  2004-03-17 12:05 [Bug target/14619] New: Incorrect Dwarf 2 information in function prologue orjanf at axis dot com
                   ` (3 preceding siblings ...)
  2004-03-17 20:01 ` hp at gcc dot gnu dot org
@ 2004-12-05 17:02 ` pinskia at gcc dot gnu dot org
  2005-02-25  3:27 ` cvs-commit at gcc dot gnu dot org
  2005-02-25  3:51 ` hp at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-05 17:02 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.0                       |---


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/14619] Incorrect Dwarf 2 information in function prologue
  2004-03-17 12:05 [Bug target/14619] New: Incorrect Dwarf 2 information in function prologue orjanf at axis dot com
                   ` (4 preceding siblings ...)
  2004-12-05 17:02 ` pinskia at gcc dot gnu dot org
@ 2005-02-25  3:27 ` cvs-commit at gcc dot gnu dot org
  2005-02-25  3:51 ` hp at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-25  3:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-24 22:17 -------
Subject: Bug 14619

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	hp@gcc.gnu.org	2005-02-24 22:17:43

Modified files:
	gcc            : ChangeLog 
	gcc/config/cris: cris.c 

Log message:
	PR target/14619
	* config/cris/cris.c (cris_target_asm_function_prologue): Create
	dwarf2 label manually and put it after, not before the prologue.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7587&r2=2.7588
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/cris/cris.c.diff?cvsroot=gcc&r1=1.65&r2=1.66



-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/14619] Incorrect Dwarf 2 information in function prologue
  2004-03-17 12:05 [Bug target/14619] New: Incorrect Dwarf 2 information in function prologue orjanf at axis dot com
                   ` (5 preceding siblings ...)
  2005-02-25  3:27 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-25  3:51 ` hp at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-02-25  3:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at gcc dot gnu dot org  2005-02-24 22:26 -------
Partial fix committed,
<URL:http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01546.html>.

-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/14619] Incorrect Dwarf 2 information in function prologue
       [not found] <bug-14619-8149@http.gcc.gnu.org/bugzilla/>
@ 2005-10-16 17:57 ` hp at gcc dot gnu dot org
  0 siblings, 0 replies; 9+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-10-16 17:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hp at gcc dot gnu dot org  2005-10-16 17:57 -------
Oh my, I forgot to close this PR.
It was fixed by <URL:http://gcc.gnu.org/ml/gcc-patches/2005-04/msg01501.html>.
The Dwarf2 EH info is now bloated as a result (fixing the patch referred to is
still on the TODO-list), but that's a separate issue.


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-10-16 17:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-17 12:05 [Bug target/14619] New: Incorrect Dwarf 2 information in function prologue orjanf at axis dot com
2004-03-17 16:27 ` [Bug target/14619] " pinskia at gcc dot gnu dot org
2004-03-17 16:51 ` hp at bitrange dot com
2004-03-17 17:04 ` hp at gcc dot gnu dot org
2004-03-17 20:01 ` hp at gcc dot gnu dot org
2004-12-05 17:02 ` pinskia at gcc dot gnu dot org
2005-02-25  3:27 ` cvs-commit at gcc dot gnu dot org
2005-02-25  3:51 ` hp at gcc dot gnu dot org
     [not found] <bug-14619-8149@http.gcc.gnu.org/bugzilla/>
2005-10-16 17:57 ` hp at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).