This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/20794] [4.0/4.1 Regression] Arrays and pointer arithmetic on __attribute ((aligned)) types permitted
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Apr 2005 17:06:11 -0000
- Subject: [Bug middle-end/20794] [4.0/4.1 Regression] Arrays and pointer arithmetic on __attribute ((aligned)) types permitted
- References: <20050406144601.20794.jakub@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-04-17 17:06 -------
Joseph, RTH, and I all feel this should be invalid code. I think that's
consensus. So, I've updated the PR. Patches to actually issue a diagnostic
would be welcome.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|wrong-code |accepts-invalid
Summary|[4.0/4.1 Regression] |[4.0/4.1 Regression] Arrays
|Miscompilation with |and pointer arithmetic on
|__attribute ((aligned)) |__attribute ((aligned))
| |types permitted
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20794