https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61968
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2014-08-16 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- I don't get an ICE on x86_64-apple-darwin13 at r213892, but Undefined symbols for architecture x86_64: "_test", referenced from: ___testmod_MOD_test_array in ccZ9AqLx.o ___testmod_MOD_test_32 in ccZ9AqLx.o _test_32__ in ccZ9AqLx.o (maybe you meant: _test_32__, ___testmod_MOD_test_32 , ___testmod_MOD___vtab__STAR , ___testmod_MOD_test_array ) ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status Compiling the code with 4.9.1 gives pr61968.f90:31.35: call test_lib (a, int (sizeof (a), kind=c_size_t)) 1 Error: Assumed-rank argument at (1) is only permitted as actual argument to intrinsic inquiry functions