This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 5 GCC regressions, 1 new, with your patch on 2003-06-08T21:39:04Z.



On Sunday, Jun 8, 2003, at 22:23 US/Eastern, GCC regression checker wrote:
The new failures are:
native g++.sum g++.dg/conversion/to-virtual-base-1.C


This one is most likely caused by:
+Sun Jun 8 21:27:41 CEST 2003 Jan Hubicka <jh@suse.cz>
+
+ * cfglayout.c (insn_scope): New static function
+ (block_locators_*, line_locators*, file_locators*): New static varrays.
+ (scope_to_insns_initialize): Use them.
+ (insn_line, insn_file): New functions.
+ (scope_to_insns_finalize): Use insn_scope.
+ (prologue_locator, epilogue_locator): New global variables.
+ * emit-rt.c (try_split, make_insn_raw, make_jump_insn_raw,
+ make_call_insn_raw, emit_copy_of_insn_after): Use locators.
+ (emit_insn_after_scope, emit_insn_before_scope
+ emit_jump_insn_after_scope, emit_jump_insn_before_scope
+ emit_call_insn_after_scope, emit_call_insn_before_scope): Rename to...
+ (emit_insn_after_setloc, emit_insn_before_setloc
+ emit_jump_insn_after_setloc, emit_jump_insn_before_setloc
+ emit_call_insn_after_setloc, emit_call_insn_before_setloc): ... these;
+ use locators.
+ * final.c (notice_source_line): Use locators.
+ (final_start_function): Set initial source file and line.
+ (final_scan_insn): Use locators.
+ * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
+ noce_try_addcc, noce_try_store_flag_mask, noce_try_cmove,
+ noce_try_cmove_arith, noce_try_minmax, noce_try_abs,
+ noce_process_if_block, find_cond_trap): Likewise.
+ * integrate.c (copy_insn_list): Likewise.
+ * jump.c (duplicate_loop_exit_test): LIkewise.
+ * print-rtl.c (print_rtx): Print locators.
+ * recog.c (peephole2_optimize): Likewise.
+ * rtl.h (INSN_SCOPE): Remove.
+ (emit_insn_after_scope, emit_insn_before_scope
+ emit_jump_insn_after_scope, emit_jump_insn_before_scope
+ emit_call_insn_after_scope, emit_call_insn_before_scope): Rename to...
+ (emit_insn_after_setloc, emit_insn_before_setloc
+ emit_jump_insn_after_setloc, emit_jump_insn_before_setloc
+ emit_call_insn_after_setloc, emit_call_insn_before_setloc): ... these;
+ (insn_file, insn_line, prologue_locator, epilogue_locator): Declare.
+ * unroll.c (copy_loop_body): Use locators.
+ * function.c (set_insn_locators): New function.
+ (thread_prologue_and_epilogue_insns): Set the locators accordingly.


gdb log:

src/gcc/testsuite/g++.dg/conversion/to-virtual-base-1.C: In member function `virtual void B::f(const A*)':
src/gcc/testsuite/g++.dg/conversion/to-virtual-base-1.C:14: error: cannot convert from base `A' to derived type `B' via virtual base `A'


Program received signal EXC_BAD_ACCESS, Could not access memory.
insn_file (insn=0x10ad2a0) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cfglayout.c:464
464 int max = VARRAY_ACTIVE_SIZE (file_locators_locs);
(gdb) bt
#0 insn_file (insn=0x10ad2a0) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cfglayout.c:464
#1 0x00214684 in notice_source_line (insn=0x10ad2a0) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/final.c:2529
#2 0x00214008 in final_scan_insn (insn=0x10ad2a0, file=0xa0006b0c, optimize=1, prescan=0, nopeepholes=0) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/final.c:2051
#3 0x00213674 in final (first=0xbffff360, file=0x0, optimize=0, prescan=17486496) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/final.c:1627
#4 0x00178f70 in rs6000_output_mi_thunk (file=0x1, thunk_fndecl=0x0, delta=-1610585332, vcall_offset=-1073745056, function=0x109f640) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/config/rs6000/ rs6000.c:12282
#5 0x000830bc in use_thunk (thunk_fndecl=0x109f640, emit_p=2684381964) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/method.c:436
#6 0x0008ad14 in emit_associated_thunks (fn=0x10ad2a0) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/ semantics.c:2367
#7 0x000687e8 in cp_parser_function_definition_after_declarator (parser=0x10a0c40, inline_p=2684381964) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/ parser.c:13853
#8 0x00068750 in cp_parser_function_definition_from_specifiers_and_declarator (parser=0x10a0c40, decl_specifiers=0x0, attributes=0x1, declarator=0x0) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/ parser.c:13792
#9 0x00064554 in cp_parser_init_declarator (parser=0x10a0c40, decl_specifiers=0x10a81c8, prefix_attributes=0x0, function_definition_allowed_p=4456448, member_p=false, function_definition_p=0x0) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/ parser.c:9610
#10 0x00061184 in cp_parser_simple_declaration (parser=0x108f450, function_definition_allowed_p=17466160) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/ parser.c:6582
#11 0x00061050 in cp_parser_block_declaration (parser=0x10a0c40, statement_p=false) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/ parser.c:6508
#12 0x00060edc in cp_parser_declaration (parser=0x10a0c40) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/ parser.c:6428
#13 0x00060d48 in cp_parser_declaration_seq_opt (parser=0x10a0c40) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/ parser.c:6337
#14 0x0005c8a0 in cp_parser_translation_unit (parser=0x10a0c40) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/ parser.c:2256
#15 0x0006995c in yyparse () at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/ parser.c:14671
#16 0x000b1c5c in c_common_parse_file (set_yydebug=17486496) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/c-opts.c:1198
#17 0x000cd110 in compile_file () at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/toplev.c:2214
#18 0x000d31c4 in do_compile () at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/toplev.c:5742
#19 0x000d3250 in toplev_main (argc=19, argv=0xbffffb28) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/toplev.c:5771
#20 0x00001a78 in _start (argc=19, argv=0xbffffb28, envp=0xbffffb78) at /SourceCache/Csu/Csu-45/crt.c:267
#21 0x000018f8 in start ()
(gdb) p file_locators_locs
$1 = 0x0



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]