The fortran allocate() interface which is

  void allocate (void **, int)

to the middle-end does not allow aliasing to create a separate alias tag
for the allocated memory.  The middle-end only supports malloc style
interfaces for this, it looks like internal_malloc which the fortran
frontend defines uses this.

Why do we generate calls to the above inferior interface at all?


-- 
           Summary: allocate() interface pessimizes aliasing
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: missed-optimization, alias
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org
OtherBugsDependingO 30038
             nThis:


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

Reply via email to