[Bug c/27697] [4.0/4.1/4.2 Regression] incorrect warning about constness of pointer to an array in a const struct

jsm28 at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun May 21 23:53:00 GMT 2006



------- Comment #4 from jsm28 at gcc dot gnu dot org  2006-05-21 23:53 -------
Confirmed, my first guess as to a fix would be to make build_component_ref
arrange for the type of the COMPONENT_REF to have the necessary qualifiers via
c_build_qualified_type.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |16620, 16989
              nThis|                            |
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-21 23:53:40
               date|                            |


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



More information about the Gcc-bugs mailing list