This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [fortran,patch] Handle preprocessing with -g3
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: "Tobias Schlüter" <tobias dot schlueter at physik dot uni-muenchen dot de>
- Cc: "fortran at gcc dot gnu dot org Fortran" <fortran at gcc dot gnu dot org>, "gcc-patches list" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 24 Sep 2007 10:44:43 +0100
- Subject: Re: [fortran,patch] Handle preprocessing with -g3
- References: <FEBED440-739E-47AF-8223-080A90E57250@gmail.com> <46F6FE8D.4090100@physik.uni-muenchen.de>
> This patch seems to cause regressions on i386-linux and i386-darwin.
> I'm seeing new failures with literal_character_constant_*.F and
> g77/cpp5.F at -O3 -g, and your patch looks like the only possible culprit.
>
> The failures are segfaults due to NULL pointer dereferencing in dwarf2out.c.
This sounds like it's caused by my patch indeed. i386-darwin doesn't
use dwarf2 AFAIK, so I could understand, but I don't see how there can
be i386-linux failures that didn't show up during my x86_64-linux
regtesting.
I'll revert the patch later today, until I have time to design a better one.
Thanks and sorry,
FX