[LLVMdev] llvm-gfortran

Eli Friedman eli.friedman at gmail.com
Tue Jun 7 15:04:18 PDT 2011


On Tue, Jun 7, 2011 at 2:33 PM, Yuanfang Chen <tabloid.adroit at gmail.com> wrote:
> Hello folks,
> I want to compile some fortran code to IR, but llvm-gfortran 4.2-2.9 does
> compile my fortran code. gfortran 4.2.1 fail with the same error. but
> gfortran 4.4.6 and ifort compiles fine. Attached is the file causing
> error. Error message is
> m_List.F90: In function 'exporttostring_':
> m_List.F90:925: error: conversion to non-scalar type requested
> I wonder if there any way I can get upgrade the gfortran part of
> llvm-gfortran? If any, I will go with that, otherwise I will try dragonegg.

dragonegg is definitely the way to go here; you can't just throw
together pieces of gcc 4.4 and gcc 4.2.

-Eli




More information about the llvm-dev mailing list