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 tree-optimization/31982] Missed forw prop with indirect ref and addr. (and char types or sizeof(type) == 1)



------- Comment #3 from rguenth at gcc dot gnu dot org  2007-05-25 10:07 -------
Fixed.


------- Comment #4 from rguenth at gcc dot gnu dot org  2007-05-25 10:07 -------
Subject: Bug 31982

Author: rguenth
Date: Fri May 25 09:07:29 2007
New Revision: 125058

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125058
Log:
2007-05-24  Richard Guenther  <rguenther@suse.de>
        Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR tree-optimization/31982
        * tree-ssa-forwprop.c
        (forward_propagate_addr_into_variable_array_index): Handle arrays
        with element size one.

        * gcc.dg/tree-ssa/forwprop-2.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/forwprop-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-forwprop.c


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


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


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