This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug fortran/29975] [meta-bugs] ICEs with CP2K



------- Comment #11 from burnus at gcc dot gnu dot org  2006-12-01 17:20 -------
Created an attachment (id=12724)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12724&action=view)
test case for interface "bl_copy"

(In reply to comment #10)
> This patch fixes the testcase of #6 and regtests on Cygwin_NT/PIV
Tested on x86_64-unknown-linux-gnu and I get no ICE for both the test case in
comment 6 as for all_cp2k_gfortran.f90.gz of comment 0.

For all_cp2k_gfortran.f90, however, I get an error (after 2min compiling):

all_cp2k_gfortran.f90:418697.22:
  USE f77_blas_generic
                     1
Error: Name 'bl_copy' at (1) is an ambiguous reference to 'bl_copy' from
current program unit
This is an error (see attachment) since the 'bl_copy' is only enhanced by the
second "interface bl_copy" (happily accepted by ifort, g95 and NAG f95). I
think even if one copies the sdcopy definition from f77_blas_extra to
f77_blas_generic this shouldn't be an error as long as one does not access
'bl_copy' (f95 and ifort accept this; g95 rejects it).

I tried compiling all_cp2k_gfortran.f90.gz with ifort, but I get after 4
minutes using "ifort -O0":
Fatal compilation error: Out of memory asking for 33558536.

And g95 (after using VIRT=3GB of memory for 7m [on a 2GB system]):
virtual memory exhausted: Cannot allocate memory


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29975


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