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 gcov-profile/53546] New: gcc ICEs when using -fripa at varpool.c:45


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

             Bug #: 53546
           Summary: gcc ICEs when using -fripa at varpool.c:45
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: asharif@gcc.gnu.org


Created attachment 27535
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27535
Proposed patch to fix this problem.

This only happens in -fripa compilation mode under some circumstances.

The reason is that in dwarf2asm.c dw2_output_indirect_constant_1, we do not
copy the TREE_STATIC() property from id to decl.

I am attaching a patch that fixes this problem.


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