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: ICE with 4.3.2 and Snapshot 4.4-20081226


On Sunday 28 December 2008 15:07:16 Tom Browder wrote:
> When I changed to using "-cpp" (instead of "-x f77-cpp-input"), I get
> new warnings such as:
>
>   Warning: distrib.f:12: Illegal preprocessor directive
>
> for the line:
>
>   #if defined(NAG) || defined(__G95__) || defined(__GNUC__)
>
> which then leads to compile errors.

Just a guess, the file is included with the INCLUDE statement, not via 
#include? If so, use #include instead.

As for the ICE, we would either need the full sources or a reduced, self-
contained testcase. The latter being preferable, of course :)

Thanks

	Daniel


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