------- Comment #2 from pinskia at gcc dot gnu dot org  2006-04-22 19:07 -------
ipa-pure-const is just a symtom of the problem.
TREE_THIS_VOLATILE is not set on the INDIRECT_REF.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2 Regression] ipa-   |[4.1/4.2 Regression] inliner
                   |pure-const says functions   |creates an INDIRECT_REF
                   |which read from volatile mem|without TREE_THIS_VOLATILE
                   |are pure                    |set for *a


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

Reply via email to