This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/14619] New: Incorrect Dwarf 2 information in function prologue


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]