This is the mail archive of the gcc-bugs@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]

[Bug debug/19521] [4.0 Regression] omitted stab for gcov initialization function


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-19 01:16 -------
(In reply to comment #2)
> This is a regression from 3.3; I think the cause is this line in cgraphunit.c
> (cgraph_build_static_cdtor): (approximately line 1847)
> 
>   DECL_IGNORED_P (decl) = 1;

DECL_IGNORED_P was added with:
2004-07-01  Richard Henderson  <rth@redhat.com>

        * cgraph.h (cgraph_build_static_cdtor): Declare.
        * cgraphunit.c (cgraph_build_static_cdtor): New.
        * c-objc-common.c (build_cdtor): Use it.
        * coverage.c (create_coverage): Likewise.
        * libfuncs.h (LTI_gcov_init, gcov_init_libfunc): Remove.
        * optabs.c (init_optabs): Don't set gcov_init_libfunc.

I don't think IGNORED should be set on this decl as it was not set before the patch above


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|powerpc-apple-darwin        |
   GCC host triplet|powerpc-apple-darwin        |
           Keywords|                            |wrong-debug
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-19 01:16:15
               date|                            |
            Summary|omitted stab for gcov       |[4.0 Regression] omitted
                   |initialization function     |stab for gcov initialization
                   |                            |function
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19521


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