This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/27697] [4.0/4.1/4.2 Regression] incorrect warning about constness of pointer to an array in a const struct
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 May 2006 16:15:04 -0000
- Subject: [Bug c/27697] [4.0/4.1/4.2 Regression] incorrect warning about constness of pointer to an array in a const struct
- References: <bug-27697-10744@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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