[Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters

2008-12-03 Thread jakub at gcc dot gnu dot org
--- 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 =

[Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters

2008-12-03 Thread jakub at gcc dot gnu dot org
--- 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|

[Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters

2008-12-03 Thread pint at tlink dot de
--- 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

[Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters

2008-12-03 Thread jakub at gcc dot gnu dot org
--- 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

[Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters

2008-12-03 Thread schwab at suse dot de
--- 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

[Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters

2008-12-02 Thread schwab at suse dot de
-- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC target

[Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters

2008-12-02 Thread jakub at gcc dot gnu dot org
--- 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

[Bug debug/38367] [4.1/4.2/4.3/4.4 regression] Wrong debug information for big endian function parameters

2008-12-02 Thread schwab at suse dot de
--- Comment #2 from schwab at suse dot de 2008-12-03 00:49 --- 600b9bbf6c9016b24a7c8f1cc1f4385d859f2b46 is first bad commit commit 600b9bbf6c9016b24a7c8f1cc1f4385d859f2b46 Author: jakub [EMAIL PROTECTED] Date: Thu Aug 11 21:22:43 2005 + * dwarf2out.c