From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1910 invoked by alias); 13 Jul 2014 12:55:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1838 invoked by uid 48); 13 Jul 2014 12:55:32 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/60898] model compile error with gfortran 4.7 and gcc 4.9 on Mac OS 10.9 Date: Sun, 13 Jul 2014 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg00798.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60898 --- Comment #8 from Dominique d'Humieres --- Backtrace for the reduced test case * thread #1: tid = 0x1357c7a, 0x00000001000afb00 f951`count_st_nodes(st=) + 16 at symbol.c:3580, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x9) frame #0: 0x00000001000afb00 f951`count_st_nodes(st=) + 16 at symbol.c:3580 3577 if (!st) 3578 return 0; 3579 -> 3580 nodes = count_st_nodes (st->left); 3581 nodes++; 3582 nodes += count_st_nodes (st->right); 3583 (lldb) bt * thread #1: tid = 0x1357c7a, 0x00000001000afb00 f951`count_st_nodes(st=) + 16 at symbol.c:3580, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x9) * frame #0: 0x00000001000afb00 f951`count_st_nodes(st=) + 16 at symbol.c:3580 frame #1: 0x00000001000afb09 f951`count_st_nodes(st=) + 25 at symbol.c:3580 frame #2: 0x00000001000afb09 f951`count_st_nodes(st=) + 25 at symbol.c:3580 frame #3: 0x00000001000afb09 f951`count_st_nodes(st=) + 25 at symbol.c:3580 frame #4: 0x00000001000afb09 f951`count_st_nodes(st=) + 25 at symbol.c:3580 frame #5: 0x00000001000afb09 f951`count_st_nodes(st=) + 25 at symbol.c:3580 frame #6: 0x00000001000afb09 f951`count_st_nodes(st=) + 25 at symbol.c:3580 frame #7: 0x00000001000afb09 f951`count_st_nodes(st=) + 25 at symbol.c:3580 frame #8: 0x00000001000b1a61 f951`do_traverse_symtree(st=, st_func=0x0000000000000000, sym_func=0x00000001000f6040) + 49 at symbol.c:3617 frame #9: 0x00000001000f7255 f951`gfc_generate_function_code(ns=0x0000000142052e00) + 373 at trans-decl.c:5126 frame #10: 0x00000001000cb9b2 f951`gfc_generate_module_code(ns=) + 466 at trans.c:1998 frame #11: 0x00000001000817c3 f951`gfc_parse_file() + 167 at parse.c:4934 frame #12: 0x000000010008171c f951`gfc_parse_file() + 1116 frame #13: 0x00000001000c4c56 f951`gfc_be_parse_file + 38 at f95-lang.c:212 frame #14: 0x00000001008ba397 f951`compile_file + 39 at toplev.c:548 frame #15: 0x00000001008bcbbf f951`toplev_main(argc=2, argv=0x00007fff5fbff440) + 3327 at toplev.c:1946