LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 1971 - EQUIVALENCE not supported in llvm-gfortran
Summary: EQUIVALENCE not supported in llvm-gfortran
Status: RESOLVED FIXED
Alias: None
Product: tools
Classification: Unclassified
Component: gfortran (show other bugs)
Version: trunk
Hardware: PC Linux
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords: compile-fail, missing-feature
Depends on:
Blocks:
 
Reported: 2008-02-01 05:08 PST by Anton Korobeynikov
Modified: 2008-04-09 04:41 PDT (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments
Testcase (76.62 KB, text/x-fortran)
2008-02-01 05:08 PST, Anton Korobeynikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Korobeynikov 2008-02-01 05:08:09 PST
Created attachment 1365 [details]
Testcase

Current gimple=>LLVM IR lowering does not support handling of fortran EQUIVALENCE blocks. This looks like the last 'lack of feature' bug know so far.

Testcase from polyhedron attached.
Comment 1 Anton Korobeynikov 2008-02-02 14:14:35 PST
I've checked all FORTRAN benchmarks from SPEC 2006, It looks like that only three of them fail to compile and both due to this problem. These are 416.gamess, 434.zeusmp and 481.wrf. Will check CFP2000 later.
Comment 2 Anton Korobeynikov 2008-02-02 15:08:21 PST
From CFP2000 only 187.facerec ICEs due to this problem. Other stuff builds fine
Comment 3 Duncan Sands 2008-04-09 04:41:52 PDT
Fixed with a suboptimal hack here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080407/060859.html