This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] Make all labels DECL_ARTIFICIAL


On Monday 20 December 2004 21:23, 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?

It'd be nice if we could figure out what "some reason" was, and/or why gdb 
won't set breakpoints on these labels. Last time I brought this up I was told 
that user labels should not effect the optimizers. IMHO labels should not 
affect code quality, and this is an optimizer bug.

Marking them as artificial seems a reasonbale short term workaround.

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]