------- Comment #1 from jakub at gcc dot gnu dot org  2008-05-29 13:38 -------
Given that get_alias_set uses TYPE_MAIN_VARIANT on the type before
c_common_get_alias_set gets a chance to return 0 for types with may_alias
attribute, it is obvious why this depends on other code using the same base
type.
I wonder why doesn't handle_may_alias_attribute set TYPE_ALIAS_SET (type) = 0;
right away, but still that wouldn't help.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.1


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

Reply via email to