This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gfortran translation to C.


Hi,

Maksim A. Boyko wrote:
does gfortran translate fortran code to C representation ? Can I see
this representation for any program?

you can try the -fdump-tree-original option when compiling your code. This generates files called somewhat.original which you can look at afterwards.


The format is more-or-less C like, although by no means actual C code. However, if all you want to do is look at it, it should be (in my opinion) just about the same as if it were real C.

Good luck,
Daniel

--
http://www.pro-vegan.info/
--
Done:  Arc-Bar-Cav-Ran-Rog-Sam-Tou-Val-Wiz
To go: Hea-Kni-Mon-Pri


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]