This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/36054] bad code generation with -ftree-vectorize
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2008 09:14:29 -0000
- Subject: [Bug tree-optimization/36054] bad code generation with -ftree-vectorize
- References: <bug-36054-12873@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #19 from pinskia at gcc dot gnu dot org 2008-05-05 09:14 -------
(In reply to comment #17)
> Comment #c16 doesn't make sense. Of course malloc(3) can't be changed to
> return
> alignment, that would break all programs out there, violate many standards,
> etc.
Right now malloc violates the C standard with respect of alignment. I am not
saying we should add an alignment argument to malloc but if the standard there
is an alignment on the returned value, likewise for operator new.
-- Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36054