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 c/27697] [4.0/4.1/4.2 Regression] incorrect warning about constness of pointer to an array in a const struct



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-05-21 16:15 -------
This is also rejects valid with -pedantic-errors.
I don't understand what is correct here so I am not going to confirm it.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic, rejects-valid
      Known to fail|                            |4.0.3 4.1.0 4.2.0
      Known to work|                            |4.0.2
            Summary|incorrect warning about     |[4.0/4.1/4.2 Regression]
                   |constness of pointer to an  |incorrect warning about
                   |array in a const struct     |constness of pointer to an
                   |                            |array in a const struct
   Target Milestone|---                         |4.0.4


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


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