[MITgcm-devel] g77 on darwin does not compile w2_print_e2setup.F
Martin Losch
Martin.Losch at awi.de
Wed Jun 3 05:18:29 EDT 2009
Hi there, I am getting an error when running "testreport -t
global_ocean.cs32x15":
g77 -Wunused -ffloat-store -O0 -c w2_print_e2setup.f
w2_print_e2setup.f: In subroutine `w2_print_e2setup':
In file included from w2_print_e2setup.f:0:
w2_print_e2setup.f:1060: internal compiler error: in
instantiate_virtual_regs_lossage, at function.c:3746
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [w2_print_e2setup.o] Error 1
make: Target `all' not remade because of errors.
And this is the statement (appears twice) that causes this error (at
least the error goes away, when I comment it out):
IF ( ii.NE.0 ) cc1 = edge(ii)
I can make it compile by changing
CHARACTER*1 edge(4), cc1
to
CHARACTER*1 edge(4)
CHARACTER*2 cc1
which is certainly not what the programmer intended, but maybe it give
you a hint, why this is happening and how it can be fixed.
Martin
PS. I think g77 is no longer continued so I am not sure if it makes
sense to send a bug report
More information about the MITgcm-devel
mailing list