public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/38367]  New: Wrong debug information for big endian function parameters
@ 2008-12-02  9:33 pint at tlink dot de
  2008-12-02 20:27 ` [Bug debug/38367] [4.1/4.2/4.3/4.4 regression] " schwab at suse dot de
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: pint at tlink dot de @ 2008-12-02  9:33 UTC (permalink / raw)
  To: gcc-bugs

When viewing the values of the parameters s1, s2, c1, c2 in the following
program with gdb or trace32 debugger a value of zero is displayed. Looking at
the dwarf info it seems that DW_AT_location is wrong. On m68k short and char
parameters are pushed as 32 bit integers on the stack. The location of the
debug symbol points to the LSB of the integer. This is correct for little
endian but for big endian the location must be adjusted to point to the MSB or
MSW. The generated code works correctly.

The configuration was:
../gcc-4.3.2/configure --target=m68k-elf --prefix=/opt/gcc-4.3.2 --with-newlib
--disable-shared --with-gnu-as --with-gnu-ld --enable-languages=c,c++
--with-headers=/src/gcc-4.3.2/build-gcc/../newlib-1.16.0/newlib/libc/include
--with-arch=cf

and the command line:
m68k-elf-gcc -m528x -Wall -g -O2 -c main/chpar.c -oDebug/chpar.o 


__attribute__((noinline)) void charpar(int i1, int i2, int i3, short s1, short
s2, char c1, char c2, int i4)
{
    volatile int _i1 = i1;
    volatile int _i2 = i2;
    volatile int _i3 = i3;
    volatile short _s1 = s1;
    volatile short _s2 = s2;
    volatile char _c1 = c1;
    volatile char _c2 = c2;
    volatile int _i4 = i4;
}


int main()
{
    charpar(1,2,3,4,5,6,7,8);
}



  Compilation Unit @ offset 0x0:
   Length:        0x150 (32-bit)
   Version:       2
   Abbrev Offset: 0
   Pointer Size:  4
 <0><b>: Abbrev Number: 1 (DW_TAG_compile_unit)
    < c>   DW_AT_producer    : (indirect string, offset: 0xa): GNU C 4.3.2      
    <10>   DW_AT_language    : 1        (ANSI C)
    <11>   DW_AT_name        : (indirect string, offset: 0x30): main/chpar.c    
    <15>   DW_AT_comp_dir    : (indirect string, offset: 0x20): /c/A/P4 
    <19>   DW_AT_low_pc      : 0x0      
    <1d>   DW_AT_high_pc     : 0x6a     
    <21>   DW_AT_stmt_list   : 0x0      
 <1><25>: Abbrev Number: 2 (DW_TAG_subprogram)
    <26>   DW_AT_external    : 1        
    <27>   DW_AT_name        : (indirect string, offset: 0x28): charpar 
    <2b>   DW_AT_decl_file   : 1        
    <2c>   DW_AT_decl_line   : 3        
    <2d>   DW_AT_prototyped  : 1        
    <2e>   DW_AT_low_pc      : 0x0      
    <32>   DW_AT_high_pc     : 0x38     
    <36>   DW_AT_frame_base  : 0x0      (location list)
    <3a>   DW_AT_sibling     : <0x117>  
 <2><3e>: Abbrev Number: 3 (DW_TAG_formal_parameter)
    <3f>   DW_AT_name        : i1       
    <42>   DW_AT_decl_file   : 1        
    <43>   DW_AT_decl_line   : 2        
    <44>   DW_AT_type        : <0x117>  
    <48>   DW_AT_location    : 2 byte block: 91 0       (DW_OP_fbreg: 0)
 <2><4b>: Abbrev Number: 3 (DW_TAG_formal_parameter)
    <4c>   DW_AT_name        : i2       
    <4f>   DW_AT_decl_file   : 1        
    <50>   DW_AT_decl_line   : 2        
    <51>   DW_AT_type        : <0x117>  
    <55>   DW_AT_location    : 2 byte block: 91 4       (DW_OP_fbreg: 4)
 <2><58>: Abbrev Number: 3 (DW_TAG_formal_parameter)
    <59>   DW_AT_name        : i3       
    <5c>   DW_AT_decl_file   : 1        
    <5d>   DW_AT_decl_line   : 2        
    <5e>   DW_AT_type        : <0x117>  
    <62>   DW_AT_location    : 2 byte block: 91 8       (DW_OP_fbreg: 8)
 <2><65>: Abbrev Number: 3 (DW_TAG_formal_parameter)
    <66>   DW_AT_name        : s1       
    <69>   DW_AT_decl_file   : 1        
    <6a>   DW_AT_decl_line   : 2        
    <6b>   DW_AT_type        : <0x11e>  
    <6f>   DW_AT_location    : 2 byte block: 91 c       (DW_OP_fbreg: 12)
 <2><72>: Abbrev Number: 3 (DW_TAG_formal_parameter)
    <73>   DW_AT_name        : s2       
    <76>   DW_AT_decl_file   : 1        
    <77>   DW_AT_decl_line   : 2        
    <78>   DW_AT_type        : <0x11e>  
    <7c>   DW_AT_location    : 2 byte block: 91 10      (DW_OP_fbreg: 16)
 <2><7f>: Abbrev Number: 3 (DW_TAG_formal_parameter)
    <80>   DW_AT_name        : c1       
    <83>   DW_AT_decl_file   : 1        
    <84>   DW_AT_decl_line   : 2        
    <85>   DW_AT_type        : <0x125>  
    <89>   DW_AT_location    : 2 byte block: 91 14      (DW_OP_fbreg: 20)
 <2><8c>: Abbrev Number: 3 (DW_TAG_formal_parameter)
    <8d>   DW_AT_name        : c2       
    <90>   DW_AT_decl_file   : 1        
    <91>   DW_AT_decl_line   : 2        
    <92>   DW_AT_type        : <0x125>  
    <96>   DW_AT_location    : 2 byte block: 91 18      (DW_OP_fbreg: 24)
 <2><99>: Abbrev Number: 3 (DW_TAG_formal_parameter)
    <9a>   DW_AT_name        : i4       
    <9d>   DW_AT_decl_file   : 1        
    <9e>   DW_AT_decl_line   : 2        
    <9f>   DW_AT_type        : <0x117>  
    <a3>   DW_AT_location    : 2 byte block: 91 1c      (DW_OP_fbreg: 28)
 <2><a6>: Abbrev Number: 4 (DW_TAG_variable)
    <a7>   DW_AT_name        : _i1      
    <ab>   DW_AT_decl_file   : 1        
    <ac>   DW_AT_decl_line   : 4        
    <ad>   DW_AT_type        : <0x12c>  
    <b1>   DW_AT_location    : 2 byte block: 7e 76      (DW_OP_breg14: -10)
 <2><b4>: Abbrev Number: 4 (DW_TAG_variable)
    <b5>   DW_AT_name        : _i2      
    <b9>   DW_AT_decl_file   : 1        
    <ba>   DW_AT_decl_line   : 5        
    <bb>   DW_AT_type        : <0x12c>  
    <bf>   DW_AT_location    : 2 byte block: 7e 72      (DW_OP_breg14: -14)
 <2><c2>: Abbrev Number: 4 (DW_TAG_variable)
    <c3>   DW_AT_name        : _i3      
    <c7>   DW_AT_decl_file   : 1        
    <c8>   DW_AT_decl_line   : 6        
    <c9>   DW_AT_type        : <0x12c>  
    <cd>   DW_AT_location    : 2 byte block: 7e 6e      (DW_OP_breg14: -18)
 <2><d0>: Abbrev Number: 4 (DW_TAG_variable)
    <d1>   DW_AT_name        : _s1      
    <d5>   DW_AT_decl_file   : 1        
    <d6>   DW_AT_decl_line   : 7        
    <d7>   DW_AT_type        : <0x131>  
    <db>   DW_AT_location    : 2 byte block: 7e 7c      (DW_OP_breg14: -4)
 <2><de>: Abbrev Number: 4 (DW_TAG_variable)
    <df>   DW_AT_name        : _s2      
    <e3>   DW_AT_decl_file   : 1        
    <e4>   DW_AT_decl_line   : 8        
    <e5>   DW_AT_type        : <0x131>  
    <e9>   DW_AT_location    : 2 byte block: 7e 7a      (DW_OP_breg14: -6)
 <2><ec>: Abbrev Number: 4 (DW_TAG_variable)
    <ed>   DW_AT_name        : _c1      
    <f1>   DW_AT_decl_file   : 1        
    <f2>   DW_AT_decl_line   : 9        
    <f3>   DW_AT_type        : <0x136>  
    <f7>   DW_AT_location    : 2 byte block: 7e 7f      (DW_OP_breg14: -1)
 <2><fa>: Abbrev Number: 4 (DW_TAG_variable)
    <fb>   DW_AT_name        : _c2      
    <ff>   DW_AT_decl_file   : 1        
    <100>   DW_AT_decl_line   : 10      
    <101>   DW_AT_type        : <0x136> 
    <105>   DW_AT_location    : 2 byte block: 7e 7e     (DW_OP_breg14: -2)
 <2><108>: Abbrev Number: 4 (DW_TAG_variable)
    <109>   DW_AT_name        : _i4     
    <10d>   DW_AT_decl_file   : 1       
    <10e>   DW_AT_decl_line   : 11      
    <10f>   DW_AT_type        : <0x12c> 
    <113>   DW_AT_location    : 2 byte block: 7e 6a     (DW_OP_breg14: -22)
 <1><117>: Abbrev Number: 5 (DW_TAG_base_type)
    <118>   DW_AT_byte_size   : 4       
    <119>   DW_AT_encoding    : 5       (signed)
    <11a>   DW_AT_name        : int     
 <1><11e>: Abbrev Number: 6 (DW_TAG_base_type)
    <11f>   DW_AT_byte_size   : 2       
    <120>   DW_AT_encoding    : 5       (signed)
    <121>   DW_AT_name        : (indirect string, offset: 0x0): short int       
 <1><125>: Abbrev Number: 6 (DW_TAG_base_type)
    <126>   DW_AT_byte_size   : 1       
    <127>   DW_AT_encoding    : 6       (signed char)
    <128>   DW_AT_name        : (indirect string, offset: 0x1b): char   
 <1><12c>: Abbrev Number: 7 (DW_TAG_volatile_type)
    <12d>   DW_AT_type        : <0x117> 
 <1><131>: Abbrev Number: 7 (DW_TAG_volatile_type)
    <132>   DW_AT_type        : <0x11e> 
 <1><136>: Abbrev Number: 7 (DW_TAG_volatile_type)
    <137>   DW_AT_type        : <0x125> 
 <1><13b>: Abbrev Number: 8 (DW_TAG_subprogram)
    <13c>   DW_AT_external    : 1       
    <13d>   DW_AT_name        : (indirect string, offset: 0x16): test   
    <141>   DW_AT_decl_file   : 1       
    <142>   DW_AT_decl_line   : 16      
    <143>   DW_AT_type        : <0x117> 
    <147>   DW_AT_low_pc      : 0x38    
    <14b>   DW_AT_high_pc     : 0x6a    
    <14f>   DW_AT_frame_base  : 0x20    (location list)


-- 
           Summary: Wrong debug information for big endian function
                    parameters
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pint at tlink dot de
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: m68k-unknown-elf


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


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

* [Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters
  2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
@ 2008-12-02 20:27 ` schwab at suse dot de
  2008-12-03  0:20 ` jakub at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: schwab at suse dot de @ 2008-12-02 20:27 UTC (permalink / raw)
  To: gcc-bugs



-- 

schwab at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
 GCC target triplet|m68k-unknown-elf            |m68k-*-*
      Known to fail|                            |4.1.3
      Known to work|                            |4.0.4
   Last reconfirmed|0000-00-00 00:00:00         |2008-12-02 20:24:57
               date|                            |
            Summary|Wrong debug information for |[4.1/4.2/4.3/4.4 regression]
                   |big endian function         |Wrong debug information for
                   |parameters                  |big endian function
                   |                            |parameters
   Target Milestone|---                         |4.3.3


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


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

* [Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters
  2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
  2008-12-02 20:27 ` [Bug debug/38367] [4.1/4.2/4.3/4.4 regression] " schwab at suse dot de
@ 2008-12-03  0:20 ` jakub at gcc dot gnu dot org
  2008-12-03  0:50 ` schwab at suse dot de
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-03  0:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jakub at gcc dot gnu dot org  2008-12-03 00:19 -------
Works just fine e.g. on ppc (big-endian as well; had to add a couple of extra
int arguments before the short ones to make them passed on the stack).

Can you reproduce it on any primary/secondary big-endian target (mips, sparc,
hppa, s390), or is it just m68k specific?


-- 


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


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

* [Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters
  2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
  2008-12-02 20:27 ` [Bug debug/38367] [4.1/4.2/4.3/4.4 regression] " schwab at suse dot de
  2008-12-03  0:20 ` jakub at gcc dot gnu dot org
@ 2008-12-03  0:50 ` schwab at suse dot de
  2008-12-03 12:13 ` jakub at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: schwab at suse dot de @ 2008-12-03  0:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from schwab at suse dot de  2008-12-03 00:49 -------
600b9bbf6c9016b24a7c8f1cc1f4385d859f2b46 is first bad commit
commit 600b9bbf6c9016b24a7c8f1cc1f4385d859f2b46
Author: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Aug 11 21:22:43 2005 +0000

        * dwarf2out.c (add_location_or_const_value_attribute): Prefer
        locations gathered by var-tracking in single entry loc_list
        over loc_descriptor_from_tree.


    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103004
138bc75d-0d04-0410-961f-82ee72b054a4

:040000 040000 c77d309e7ca92270a960f92ed192aa000165ff2c
ef161af933b0fe7541dc9b4a7404e1033144527c M      gcc


-- 


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


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

* [Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters
  2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
                   ` (2 preceding siblings ...)
  2008-12-03  0:50 ` schwab at suse dot de
@ 2008-12-03 12:13 ` jakub at gcc dot gnu dot org
  2008-12-03 12:31 ` jakub at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-03 12:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2008-12-03 12:12 -------
I'd say the bug is in assign_parm_find_stack_rtl:

  stack_parm = crtl->args.internal_arg_pointer;
  if (offset_rtx != const0_rtx)
    stack_parm = gen_rtx_PLUS (Pmode, stack_parm, offset_rtx);   
  stack_parm = gen_rtx_MEM (data->promoted_mode, stack_parm);

  set_mem_attributes (stack_parm, parm, 1);
  /* set_mem_attributes could set MEM_SIZE to the passed mode's size,
     while promoted mode's size is needed.  */
  if (data->promoted_mode != BLKmode
      && data->promoted_mode != DECL_MODE (parm))
    set_mem_size (stack_parm, GEN_INT (GET_MODE_SIZE (data->promoted_mode)));

In addition to setting MEM_SIZE it should also set MEM_OFFSET.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-12-02 20:24:57         |2008-12-03 12:12:26
               date|                            |


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


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

* [Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters
  2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
                   ` (3 preceding siblings ...)
  2008-12-03 12:13 ` jakub at gcc dot gnu dot org
@ 2008-12-03 12:31 ` jakub at gcc dot gnu dot org
  2008-12-03 17:02 ` pint at tlink dot de
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-03 12:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2008-12-03 12:28 -------
Patch posted.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2008-
                   |                            |12/msg00166.html


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


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

* [Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters
  2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
                   ` (4 preceding siblings ...)
  2008-12-03 12:31 ` jakub at gcc dot gnu dot org
@ 2008-12-03 17:02 ` pint at tlink dot de
  2008-12-03 17:13 ` jakub at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pint at tlink dot de @ 2008-12-03 17:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pint at tlink dot de  2008-12-03 17:00 -------
Sorry, I can't try it. The patch cannot be applied to 4.3.2. There is no
set_mem_size there in assign_parm_find_stack_rtl.


-- 


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


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

* [Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters
  2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
                   ` (5 preceding siblings ...)
  2008-12-03 17:02 ` pint at tlink dot de
@ 2008-12-03 17:13 ` jakub at gcc dot gnu dot org
  2008-12-03 19:50 ` schwab at suse dot de
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-03 17:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jakub at gcc dot gnu dot org  2008-12-03 17:11 -------
PR37408 got fixed on gcc-4_3-branch only after 4.3.2 release,
you can probably apply both patches to 4.3.2.


-- 


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


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

* [Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters
  2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
                   ` (6 preceding siblings ...)
  2008-12-03 17:13 ` jakub at gcc dot gnu dot org
@ 2008-12-03 19:50 ` schwab at suse dot de
  2008-12-05 12:37 ` [Bug debug/38367] [4.2/4.3/4.4 Regression] " rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: schwab at suse dot de @ 2008-12-03 19:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from schwab at suse dot de  2008-12-03 19:48 -------
Fixes the bug for me.


-- 


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


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

* [Bug debug/38367] [4.2/4.3/4.4 Regression] Wrong debug information for big endian function parameters
  2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
                   ` (7 preceding siblings ...)
  2008-12-03 19:50 ` schwab at suse dot de
@ 2008-12-05 12:37 ` rguenth at gcc dot gnu dot org
  2008-12-05 16:56 ` jakub at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-12-05 12:37 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
            Summary|[4.1/4.2/4.3/4.4 regression]|[4.2/4.3/4.4 Regression]
                   |Wrong debug information for |Wrong debug information for
                   |big endian function         |big endian function
                   |parameters                  |parameters


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


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

* [Bug debug/38367] [4.2/4.3/4.4 Regression] Wrong debug information for big endian function parameters
  2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
                   ` (8 preceding siblings ...)
  2008-12-05 12:37 ` [Bug debug/38367] [4.2/4.3/4.4 Regression] " rguenth at gcc dot gnu dot org
@ 2008-12-05 16:56 ` jakub at gcc dot gnu dot org
  2008-12-05 17:00 ` [Bug debug/38367] [4.2/4.3 " jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-05 16:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jakub at gcc dot gnu dot org  2008-12-05 16:55 -------
Subject: Bug 38367

Author: jakub
Date: Fri Dec  5 16:53:39 2008
New Revision: 142481

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142481
Log:
        PR debug/38367
        * function.c (assign_parm_find_stack_rtl): If promoted_mode
        is wider than DECL_MODE, adjust MEM_OFFSET (stack_parm) for
        big endian.

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


-- 


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


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

* [Bug debug/38367] [4.2/4.3 Regression] Wrong debug information for big endian function parameters
  2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
                   ` (9 preceding siblings ...)
  2008-12-05 16:56 ` jakub at gcc dot gnu dot org
@ 2008-12-05 17:00 ` jakub at gcc dot gnu dot org
  2009-01-24 10:27 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-05 17:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jakub at gcc dot gnu dot org  2008-12-05 16:55 -------
Fixed on the trunk.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|4.0.4                       |4.0.4 4.4.0
            Summary|[4.2/4.3/4.4 Regression]    |[4.2/4.3 Regression] Wrong
                   |Wrong debug information for |debug information for big
                   |big endian function         |endian function parameters
                   |parameters                  |


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


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

* [Bug debug/38367] [4.2/4.3 Regression] Wrong debug information for big endian function parameters
  2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
                   ` (10 preceding siblings ...)
  2008-12-05 17:00 ` [Bug debug/38367] [4.2/4.3 " jakub at gcc dot gnu dot org
@ 2009-01-24 10:27 ` rguenth at gcc dot gnu dot org
  2009-08-04 12:51 ` rguenth at gcc dot gnu dot org
  2009-08-23 18:52 ` schwab at linux-m68k dot org
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-24 10:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from rguenth at gcc dot gnu dot org  2009-01-24 10:21 -------
GCC 4.3.3 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.3                       |4.3.4


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


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

* [Bug debug/38367] [4.2/4.3 Regression] Wrong debug information for big endian function parameters
  2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
                   ` (11 preceding siblings ...)
  2009-01-24 10:27 ` rguenth at gcc dot gnu dot org
@ 2009-08-04 12:51 ` rguenth at gcc dot gnu dot org
  2009-08-23 18:52 ` schwab at linux-m68k dot org
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from rguenth at gcc dot gnu dot org  2009-08-04 12:29 -------
GCC 4.3.4 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.4                       |4.3.5


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


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

* [Bug debug/38367] [4.2/4.3 Regression] Wrong debug information for big endian function parameters
  2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
                   ` (12 preceding siblings ...)
  2009-08-04 12:51 ` rguenth at gcc dot gnu dot org
@ 2009-08-23 18:52 ` schwab at linux-m68k dot org
  13 siblings, 0 replies; 15+ messages in thread
From: schwab at linux-m68k dot org @ 2009-08-23 18:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from schwab at linux-m68k dot org  2009-08-23 18:52 -------
Wontfix for 4.3.


-- 

schwab at linux-m68k dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2009-08-23 18:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-02  9:33 [Bug debug/38367] New: Wrong debug information for big endian function parameters pint at tlink dot de
2008-12-02 20:27 ` [Bug debug/38367] [4.1/4.2/4.3/4.4 regression] " schwab at suse dot de
2008-12-03  0:20 ` jakub at gcc dot gnu dot org
2008-12-03  0:50 ` schwab at suse dot de
2008-12-03 12:13 ` jakub at gcc dot gnu dot org
2008-12-03 12:31 ` jakub at gcc dot gnu dot org
2008-12-03 17:02 ` pint at tlink dot de
2008-12-03 17:13 ` jakub at gcc dot gnu dot org
2008-12-03 19:50 ` schwab at suse dot de
2008-12-05 12:37 ` [Bug debug/38367] [4.2/4.3/4.4 Regression] " rguenth at gcc dot gnu dot org
2008-12-05 16:56 ` jakub at gcc dot gnu dot org
2008-12-05 17:00 ` [Bug debug/38367] [4.2/4.3 " jakub at gcc dot gnu dot org
2009-01-24 10:27 ` rguenth at gcc dot gnu dot org
2009-08-04 12:51 ` rguenth at gcc dot gnu dot org
2009-08-23 18:52 ` schwab at linux-m68k 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).