From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19317 invoked by alias); 27 Apr 2010 20:08:30 -0000 Received: (qmail 19205 invoked by uid 48); 27 Apr 2010 20:08:14 -0000 Date: Tue, 27 Apr 2010 20:08:00 -0000 Message-ID: <20100427200814.19204.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/34640] ICE when assigning item of a derived-component to a pointer In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" 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 X-SW-Source: 2010-04/txt/msg02885.txt.bz2 ------- Comment #13 from dominiq at lps dot ens dot fr 2010-04-27 20:08 ------- As pointed out in comment #10 pr38471 is a duplicate of this one, as well as pr42851 (see comment #1 of pr43091). They all give the same backtrace: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000018 0x00000001000d072a in gfc_trans_pointer_assignment (expr1=0x14182ba40, expr2=0x14182be20) at ../../work/gcc/fortran/trans-expr.c:4711 4711 gfc_add_modify (&lse.post, GFC_DECL_SPAN(decl), tmp); (gdb) bt #0 0x00000001000d072a in gfc_trans_pointer_assignment (expr1=0x14182ba40, expr2=0x14182be20) at ../../work/gcc/fortran/trans-expr.c:4711 #1 0x00000001000aa9a6 in trans_code (code=0x14182c1e0, cond=0x0) at ../../work/gcc/fortran/trans.c:1093 #2 0x00000001000c783f in gfc_generate_function_code (ns=) at ../../work/gcc/fortran/trans-decl.c:4422 #3 0x00000001000aadeb in gfc_generate_module_code (ns=) at ../../work/gcc/fortran/trans.c:1392 #4 0x000000010006b6df in gfc_parse_file () at ../../work/gcc/fortran/parse.c:4303 #5 0x00000001000a5bbc in gfc_be_parse_file (set_yydebug=) at ../../work/gcc/fortran/f95-lang.c:239 #6 0x00000001006e447b in toplev_main (argc=2, argv=0x7fff5fbfd960) at ../../work/gcc/toplev.c:1053 #7 0x0000000100000c74 in start () -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34640