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 libstdc++/64798] [5 regression] g++.old-deja/g++.eh/badalloc1.C FAILs


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64798

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

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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
__BIGGEST_ALIGNMENT__ is unnecessarily large, e.g. on i?86-linux, it is 16,
while you only need to guarantee 8-byte alignment.
Isn't the bug just in the badalloc1.C testcase, if it provides its own malloc,
it should IMHO guarantee the system malloc alignments (generally, something
like alignment of
union U
{
  long long ll;
  double d;
  long double ld;
  void *p;
};
.


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