This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -O3 -gdwarf-2 breaks on static function redeclared in local scope
- To: Alexandre Oliva <aoliva at cygnus dot com>
- Subject: Re: -O3 -gdwarf-2 breaks on static function redeclared in local scope
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 22 May 2000 17:11:53 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <orhfbqmguw.fsf@tamanduatei.dcc.unicamp.br>you write:
> On May 22, 2000, Jeffrey A Law <law@cygnus.com> wrote:
>
> > In message <orln12mh2g.fsf@tamanduatei.dcc.unicamp.br>you write:
> >> I'm checking in this testcase as gcc.dg/dwarf2-1.c:
> >>
> >> /* { dg-do compile } */
> >> /* { dg-options "-O3 -gdwarf-2" } */
> > Note you need to make it conditional since several platforms do not suppo
> rt
> > dwarf2 debugging.
>
> Wow! That was fast! :-)
>
> How about just -g, then?
That would be OK too; however, be aware that many targets that support dwarf2
do it as an option, not as the default.
jeff