------- 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

Reply via email to