[Bug c/15033] [3.5 regression] libgcc2.c:470: internal compiler error: Segmentation fault

dave at hiauly1 dot hia dot nrc dot ca gcc-bugzilla@gcc.gnu.org
Wed Apr 21 06:18:00 GMT 2004


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-04-21 04:07 -------
Subject: Re:  [3.5 regression] libgcc2.c:470: internal compiler e

> ------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-21
> 03:34 -------
> Again here are three patches which could have caused this:

Actually, it's

2004-04-20  DJ Delorie  <dj@redhat.com>

	* dwarf2out.c (rtl_for_decl_location): Adjust rtl for byte
	variables stored in word registers, then in memory.

...
Assembling functions:
 __muldi3

Program received signal SIGSEGV, Segmentation fault.
0x00169a48 in rtl_for_decl_location (decl=0x40361f50)
   at ../../gcc/gcc/dwarf2out.c:9760
9760      else if (TREE_CODE (decl) == VAR_DECL
(gdb) p rtl
$2 = 0x0

Dave


-- 


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



More information about the Gcc-bugs mailing list