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/53708] [4.8 Regression] Many failures of the objc tests with -O3 -fnext-runtime and -m32


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-30 18:38:14 UTC ---
I'm not sure if DECL_USER_ALIGN || DECL_P is the right test for this, I'd say
instead
  if (DECL_SECTION_NAME (decl) != NULL_TREE
      && !DECL_HAS_IMPLICIT_SECTION_NAME_P (decl))
is what is the problem here, this is what I'm using in asan.c to find out
whether it is ok to increase alignment and/or add padding after the decl.
It is a common way of filling arrays to just put variables into user defined
sections, and expect the whole section to contain an array of those decls.  Any
alignment increases there or additional paddings of course break that
assumption.


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