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 middle-end/20794] [4.0/4.1 Regression] Arrays and pointer arithmetic on __attribute ((aligned)) types permitted


------- 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


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