This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] Make all labels DECL_ARTIFICIAL
- From: Steven Bosscher <stevenb at suse dot de>
- To: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 20 Dec 2004 23:20:53 +0100
- Subject: Re: [gfortran] Make all labels DECL_ARTIFICIAL
- Organization: SUSE Labs
- References: <200412202223.44499.stevenb@suse.de> <41C74C9E.2070203@physik.uni-muenchen.de>
On Monday 20 December 2004 23:05, Tobias Schlüter wrote:
> Steven Bosscher wrote:
> > There is absolutely nothing we gain from making Fortran's numeric
> > labels user labels (gdb can't put break points on them), and they
> > for some reason hurt performance. So the attached patch just all
> > marks them as compiler-generated. Thoughts?
>
> Why emit them in the first place if they serve no purpose? Or is there?
They probably represent control flow, so otherwise the compiler
will generate them. Now at least it makes the tree dumps a bit
more readable...
Gr.
Steven