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/24689] store_ccp does nothing for array references



------- Comment #3 from pinskia at gcc dot gnu dot org  2005-11-06 04:50 -------
(In reply to comment #0)
> This function should be optimized to "return 0;", but it isn't.
> Interestingly, if you change "#if 1" to "#if 0", you are going to get
> this optimized.
Not really because SRA works then, using -fno-tree-sra will show the same
issue.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|store_ccp is missing an     |store_ccp does nothing for
                   |opportunity because of call |array references
                   |clobber/alias load?         |


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


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