[Bug objc/43535] ICE on objc.dg/objc-gc-4.m -fgnu-runtime
--- Comment #1 from developer at sandoe-acoustics dot co dot uk 2010-03-26 12:16 --- I believe that this test was not previously carried out with -fgnu-runtime . So, technically I think it's a failed New test rather than a regression (but I will triple-check a little later). In any event, I don't suppose we want an ICE as a response to a command line error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43535
[Bug objc/43535] ICE on objc.dg/objc-gc-4.m -fgnu-runtime
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2010-03-26 12:20 --- A backtrace shows... Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x assemble_external (decl=0x0) at ../../gcc-4.5-20100325/gcc/varasm.c:2372 2372 if (!DECL_P (decl) || !DECL_EXTERNAL (decl) || !TREE_PUBLIC (decl)) (gdb) bt #0 assemble_external (decl=0x0) at ../../gcc-4.5-20100325/gcc/varasm.c:2372 #1 0x0001d99f in objc_generate_write_barrier (lhs=value temporarily unavailable, due to optimizations, modifycode=value temporarily unavailable, due to optimizations, rhs=value temporarily unavailable, due to optimizations) at ../../gcc-4.5-20100325/gcc/objc/objc-act.c:3152 #2 0x000100035cc2 in build_modify_expr (location=487750, lhs=0x1424328c0, lhs_origtype=0x1424a09d8, modifycode=NOP_EXPR, rhs_loc=1112148440, rhs=0x1424aa640, rhs_origtype=0x0) at ../../gcc-4.5-20100325/gcc/c-typeck.c:4815 #3 0x00010006fd11 in c_parser_expr_no_commas (parser=value temporarily unavailable, due to optimizations, after=value temporarily unavailable, due to optimizations) at ../../gcc-4.5-20100325/gcc/c-parser.c:4609 #4 0x00010006fe26 in c_parser_expression (parser=0x14154a038) at ../../gcc-4.5-20100325/gcc/c-parser.c:6000 #5 0x0001000701d1 in c_parser_expression_conv (parser=0x14154a038) at ../../gcc-4.5-20100325/gcc/c-parser.c:6025 #6 0x000100073a1e in c_parser_statement_after_labels (parser=0x14154a038) at ../../gcc-4.5-20100325/gcc/c-parser.c:3895 #7 0x000100075833 in c_parser_compound_statement_nostart (parser=0x14154a038) at ../../gcc-4.5-20100325/gcc/c-parser.c:3575 #8 0x000100076d3d in c_parser_compound_statement (parser=0x14154a038) at ../../gcc-4.5-20100325/gcc/c-parser.c:3413 #9 0x000100074fac in c_parser_statement_after_labels (parser=0x14154a038) at ../../gcc-4.5-20100325/gcc/c-parser.c:3988 #10 0x000100074c3d in c_parser_statement_after_labels (parser=0x14154a038) at ../../gcc-4.5-20100325/gcc/c-parser.c:4018 #11 0x000100075833 in c_parser_compound_statement_nostart (parser=0x14154a038) at ../../gcc-4.5-20100325/gcc/c-parser.c:3575 #12 0x000100076d3d in c_parser_compound_statement (parser=0x14154a038) at ../../gcc-4.5-20100325/gcc/c-parser.c:3413 #13 0x000100078d14 in c_parser_external_declaration (parser=0x14154a038) at ../../gcc-4.5-20100325/gcc/c-parser.c:6446 #14 0x000100079a44 in c_parse_file () at ../../gcc-4.5-20100325/gcc/c-parser.c:1005 #15 0x00010005fe55 in c_common_parse_file (set_yydebug=value temporarily unavailable, due to optimizations) at ../../gcc-4.5-20100325/gcc/c-opts.c:1283 #16 0x0001005a9e08 in toplev_main (argc=25, argv=0x7fff5fbfeb78) at ../../gcc-4.5-20100325/gcc/toplev.c:1053 #17 0x00011664 in start () -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43535
Re: [Bug objc/43535] ICE on objc.dg/objc-gc-4.m -fgnu-runtime
I think there is an already filed bug about this option with the gnu runtime also. This option should not be supported or a nop there. Sent from my iPhone On Mar 26, 2010, at 5:16 AM, developer at sandoe-acoustics dot co dot uk gcc-bugzi...@gcc.gnu.org wrote: --- Comment #1 from developer at sandoe-acoustics dot co dot uk 2010-03-26 12:16 --- I believe that this test was not previously carried out with -fgnu- runtime . So, technically I think it's a failed New test rather than a regression (but I will triple-check a little later). In any event, I don't suppose we want an ICE as a response to a command line error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43535
[Bug objc/43535] ICE on objc.dg/objc-gc-4.m -fgnu-runtime
--- Comment #3 from pinskia at gmail dot com 2010-03-26 16:14 --- Subject: Re: ICE on objc.dg/objc-gc-4.m -fgnu-runtime I think there is an already filed bug about this option with the gnu runtime also. This option should not be supported or a nop there. Sent from my iPhone On Mar 26, 2010, at 5:16 AM, developer at sandoe-acoustics dot co dot uk gcc-bugzi...@gcc.gnu.org wrote: --- Comment #1 from developer at sandoe-acoustics dot co dot uk 2010-03-26 12:16 --- I believe that this test was not previously carried out with -fgnu- runtime . So, technically I think it's a failed New test rather than a regression (but I will triple-check a little later). In any event, I don't suppose we want an ICE as a response to a command line error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43535 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43535
[Bug objc/43535] ICE on objc.dg/objc-gc-4.m -fgnu-runtime
--- Comment #4 from developer at sandoe-acoustics dot co dot uk 2010-03-26 16:36 --- (In reply to comment #3) Subject: Re: ICE on objc.dg/objc-gc-4.m -fgnu-runtime This option should not be supported or a nop there. if gc is incompatible with gnu runtime then that should be thrown out either in options processing - or in objc init.. .. I'm happy to take on doing the latter ; the question then is error or remove the flag and warn? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43535
[Bug objc/43535] ICE on objc.dg/objc-gc-4.m -fgnu-runtime
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2010-03-26 17:40 --- *** This bug has been marked as a duplicate of 35996 *** -- howarth at nitro dot med dot uc dot edu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43535