[Bug rtl-optimization/56434] document that __attribute__((__malloc__)) assumes returned pointer has BIGGEST_ALIGNMENT

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 25 09:41:00 GMT 2013


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|                            |4.8.0
         Resolution|                            |FIXED

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> 2013-03-25 09:41:29 UTC ---
Author: rguenth
Date: Mon Mar 25 09:39:52 2013
New Revision: 197030

URL: http://gcc.gnu.org/viewcvs?rev=197030&root=gcc&view=rev
Log:
2013-03-25  Richard Biener  <rguenther@suse.de>

    PR middle-end/56434
    * calls.c (expand_call): Use MALLOC_ABI_ALIGNMENT to annotate
    the pointer returned by calls with ECF_MALLOC set.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/calls.c



More information about the Gcc-bugs mailing list