This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15795] No way to teach operator new anything about alignment requirements
- From: "ma1flfs at bath dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jun 2004 20:26:27 -0000
- Subject: [Bug c++/15795] No way to teach operator new anything about alignment requirements
- References: <20040603143635.15795.ma1flfs@bath.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ma1flfs at bath dot ac dot uk 2004-06-08 20:26 -------
Subject: Re: No way to teach operator new anything about alignment requirements
On Tuesday 08 June 2004 20:06, jason at redhat dot com wrote:
> > That's my point. Doing this would suck very much... And is sometimes not
> > possible. Think template classes, STL or Qt are good examples.
>
> Feel free to propose an alternative solution.
Ok, sorry for that, I am just incredible annoyed by this "feature"...
I think I will patch my glibc sometime late, and see if it works, and how
severe the penalties really are.
Wolfgang Bangerth wrote:
> In other words, the ball is back in our field. Anyone got ideas as to what
> to do? How do other compilers do this?
I got a friend to compile the program from comment #11 on windoze with visual
studio .net. It segfaults as well.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15795