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 rtl-optimization/20287] New: delete_trivially_dead_insns doesn't


This patch:
2003-10-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

        PR optimization/12142
        * cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the
        uses of the register in the SET_SRC.  Remove unnecessary argument.
        * pa.c (legitimize_pic_address): Before reload, use a scratch register
        for the intermediate result in loading the address of a SYMBOL_REF.
        Set the MEM_NOTRAP_P flag for the MEM.  Add a REG_EQUAL to the insn
        which loads the SYMBOL_REF address.

broke delete_trivially_dead_insns ability to grok multi-insn sequences that
set a register.

A patch is here:
http://gcc.gnu.org/ml/gcc-patches/2004-05/msg01037.html

-- 
           Summary: delete_trivially_dead_insns doesn't
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Keywords: missed-optimization, patch
          Severity: normal
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
OtherBugsDependingO 17652
             nThis:


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


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