[gfortran] help needed with patch

Paul Brook paul@codesourcery.com
Mon Sep 6 16:05:00 GMT 2004


On Monday 06 September 2004 16:50, Per Bothner wrote:
> > I do get tests segfaulting inside dwarf2out because we don't set the
> > source location for function decls, but that's a different problem. After
> > a quick and dirty hack for that, the rest your patch seems to work ok.
>
> Thanks!
>
> Have you run the testsuite on the patch?  I'm hoping for no
> regressions both with and without --enable-mapped-location.
> To check it in we need no regressions with --disable-mapped-location
> and "boostraps and mostly works" with --enable-mapped-location.
> (Use --enable-languages=c,f95 - Java doesn't build yet with
> --enable-mapped-location, and neither does Ada.)

I did make check-f95. The results were the same before and after.

The debug information generated with --enable-mapped location is incorrect 
(gdb gives errors). This is probably because my "fix" for the segfault 
mentioned above was to put "return 0;" at the top of the offending routine in 
dwarf2out.c :-/ I'll see if I can figure out the proper solution.

Paul



More information about the Gcc-patches mailing list