[Bug fortran/30115] allocate() interface pessimizes aliasing

tkoenig at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Dec 9 19:03:00 GMT 2006



------- Comment #8 from tkoenig at gcc dot gnu dot org  2006-12-09 19:03 -------
(In reply to comment #7)
> I guess it may work to only change
> 
>   void allocate (void **, size_t, int *)

> to
> 
>   void *allocate (void *, size_t, int *)

> and use it like

>   descriptor.data = allocate (descriptor.data, size, pstat)

Sounds good.  Who'll write the patch? :-)


-- 


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



More information about the Gcc-bugs mailing list