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

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Dec 10 12:36:00 GMT 2006



------- Comment #11 from rguenth at gcc dot gnu dot org  2006-12-10 12:36 -------
Looking at trans-decl.c I wonder where the pstat argument is for the function
decl?  It seems we don't check for excess arguments to function calls...

I have a patch for the interface change to the allocate_array variant that I'll
post shortly.  It will of course change the library ABI ... but the interface
change still looks worthwhile even if we decide to inline the implementation
in cases where it does not increase code size (like if the stat argument is
not present).


-- 


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



More information about the Gcc-bugs mailing list