[PATCH] Fix PR target/10114 and PR target/10084

Eric Botcazou ebotcazou@libertysurf.fr
Thu Mar 27 10:26:00 GMT 2003


Hi,

The attached testcase doesn't compile on any active branch (a regression from 
2.95.3) on sparc-linux because dwarf2out.c:mem_loc_descriptor doesn't know 
how to handle LO_SUM and thus aborts.

Compiled on i586-redhat-linux-gnu-x-sparc-sun-solaris2.9, the testcase now 
compiles fine with -gdwarf-2. Ok everywhere?

-- 
Eric Botcazou


2003-03-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
                  Richard Henderson  <rth@redhat.com>

	PR target/10114 and PR target/10084
	* dwarf2out.c (mem_loc_descriptor): Handle LO_SUM.


2003-03-27  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* gcc.dg/sparc-dwarf2.c: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr10114.diff
Type: text/x-diff
Size: 677 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030327/8525b2f0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sparc-dwarf2.c
Type: text/x-csrc
Size: 779 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030327/8525b2f0/attachment-0001.bin>


More information about the Gcc-patches mailing list