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 c++/15795] No way to teach operator new anything about alignment requirements


------- Additional Comments From nathan at gcc dot gnu dot org  2004-06-04 11:29 -------
Florian, malloc is supposed to know what the strictest alignment requirement is,
and DTRT whatever (after all, we use it for 'new int' which, on many systems,
must also be aligned). This is not a gcc bug, but a system library bug.  It is
not sensible for GCC to go down the path of checking that each and every 
syslib call conforms to the appropriate std.

-- 


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


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