This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
-O3 -gdwarf-2 breaks on static function redeclared in local scope
- To: gcc-patches at gcc dot gnu dot org
- Subject: -O3 -gdwarf-2 breaks on static function redeclared in local scope
- From: Alexandre Oliva <aoliva at cygnus dot com>
- Date: 22 May 2000 18:05:27 -0300
- Organization: Cygnus Solutions, a Red Hat Company
I'm checking in this testcase as gcc.dg/dwarf2-1.c:
/* { dg-do compile } */
/* { dg-options "-O3 -gdwarf-2" } */
/* Copyright (C) 2000 Free Software Foundation */
/* Contributed by Alexandre Oliva <aoliva@cygnus.com> */
static int foo () {}
int bar () {
int foo ();
int foo ();
}
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me