https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69963
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-03-01 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- On x86_64-apple-darwin15, I get from 4.8 up to trunk (6.0) IMPLICIT statement at (1) cannot follow * (null):0: confused by earlier errors, bailing out for the tests 1, 3-6, 8, 11, and 14; Error: Unexpected IMPLICIT statement at (1) (null):0: confused by earlier errors, bailing out for the tests 2, 7, 10, 15, and 16; Error: IMPLICIT statement is not allowed inside of BLOCK at (1) (null):0: confused by earlier errors, bailing out for the test 9; and Error: Unexpected IMPLICIT statement in CONTAINS section at (1) (null):0: confused by earlier errors, bailing out for the tests 12 and 13. Note that (null):0: confused by earlier errors, bailing out is replaced with f951: internal compiler error: Segmentation fault: 11 ... for 4.8 up to 5.3 (+ some non-deterministic errors: no ICE or gfc_resolve_expr(): Bad expression type with 4.8 and tests 5 and 11). The end of the backtrace is the same for all the testsError: IMPLICIT statement at (1) cannot follow data declaration statement at (2) Process 91167 stopped * thread #1: tid = 0x7407e3b, 0x00007fff8d3c08d0 libsystem_platform.dylib`_platform_memmove$VARIANT$Nehalem + 112, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x34e9) frame #0: 0x00007fff8d3c08d0 libsystem_platform.dylib`_platform_memmove$VARIANT$Nehalem + 112 libsystem_platform.dylib`_platform_memmove$VARIANT$Nehalem: -> 0x7fff8d3c08d0 <+112>: movups (%rsi), %xmm0 0x7fff8d3c08d3 <+115>: addq $0x10, %rdi 0x7fff8d3c08d7 <+119>: andq $-0x10, %rdi 0x7fff8d3c08db <+123>: movq %rdi, %rcx (lldb) bt * thread #1: tid = 0x7407e3b, 0x00007fff8d3c08d0 libsystem_platform.dylib`_platform_memmove$VARIANT$Nehalem + 112, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x34e9) * frame #0: 0x00007fff8d3c08d0 libsystem_platform.dylib`_platform_memmove$VARIANT$Nehalem + 112 frame #1: 0x0000000100033e78 f951`gfc_copy_expr(p=0x00000000000034e9) + 40 at expr.c:273 frame #2: 0x00000001000c37b4 f951`gfc_new_charlen(ns=0x0000000143822a00, old_cl=0x00000001426068d0) + 100 at symbol.c:3633 frame #3: 0x00000001000c3989 f951`gfc_set_default_type(sym=0x0000000142606c30, error_flag=0, ns=<unavailable>) + 377 at symbol.c:268 frame #4: 0x0000000100090204 f951`gfc_match_varspec(primary=0x0000000142606d60, equiv_flag=<unavailable>, sub_flag=<unavailable>, ppc_arg=<unavailable>) + 2276 at primary.c:2134 frame #5: 0x000000010009050b f951`::match_variable(result=0x00007fff5fbfee50, equiv_flag=0, host_flag=<unavailable>) + 395 at primary.c:3397 frame #6: 0x000000010005f93c f951`gfc_match(target=" %v =") + 780 at match.c:1033 frame #7: 0x0000000100061271 f951`gfc_match_assignment() + 49 at match.c:1210 frame #8: 0x00000001000806ca f951`(subr=<unavailable>, old_locus=0x00007fff5fbfeec0, simd_matched=<unavailable>, str=<unavailable>)(match (*)(), locus *, bool *, const char *) + 10 at parse.c:93 frame #9: 0x0000000100083a12 f951`(null)() + 162 at parse.c:351 frame #10: 0x0000000100085ad5 f951`::next_statement() + 389 at parse.c:1076 frame #11: 0x00000001000876ba f951`::parse_spec(st=ST_IMPLICIT) + 4554 at parse.c:3357 frame #12: 0x000000010008ada7 f951`::parse_progunit(st=<unavailable>) + 39 at parse.c:5190 frame #13: 0x000000010008c682 f951`gfc_parse_file() + 994 at parse.c:5699 frame #14: 0x00000001000d29a9 f951`::gfc_be_parse_file() + 57 at f95-lang.c:201 frame #15: 0x00000001009a939c f951`::compile_file() + 60 at toplev.c:465 frame #16: 0x0000000100d996cf f951`toplev::main(int, char**) + 1154 at toplev.c:1988 frame #17: 0x0000000100d9924d f951`toplev::main(this=<unavailable>, argc=<unavailable>, argv=<unavailable>) + 733 frame #18: 0x0000000100d9b0a9 f951`main(argc=2, argv=0x00007fff5fbff360) + 41 at main.c:39 frame #19: 0x00007fff97c615ad libdyld.dylib`start + 1