This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: x86-linux bootstrap broken on mainline?
- From: Jan Hubicka <jh at suse dot cz>
- To: Laurent GUERBY <laurent at guerby dot net>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, gcc at gcc dot gnu dot org
- Date: Thu, 16 Jun 2005 22:47:10 +0200
- Subject: Re: x86-linux bootstrap broken on mainline?
- References: <1118945017.3246.317.camel@pc.site>
> stage1/xgcc -Bstage1/ -B/home/guerby/work/gcc/install/install-20050616T132922/i686-pc-linux-gnu/bin/ -c -O2 -g -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I/home/guerby/work/gcc/version-head/gcc -I/home/guerby/work/gcc/version-head/gcc/. -I/home/guerby/work/gcc/version-head/gcc/../include -I/home/guerby/work/gcc/version-head/gcc/../libcpp/include \
> /home/guerby/work/gcc/version-head/gcc/config/i386/i386.c -o i386.o
> /home/guerby/work/gcc/version-head/gcc/config/i386/i386.c: In function 'ix86_expand_builtin':
> /home/guerby/work/gcc/version-head/gcc/config/i386/i386.c:15127: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> make[2]: *** [i386.o] Error 1
>
> It looks like the only patch between my last successful bootstrap and the current failure is
> the following, am I alone in seeing this?
Can I have backtrace? Both patches was bootstrapped/regtested on i686
so everything shall be fine. I am double checking now. I also received
reports from memory tester so it's build apparently passed too.
Honza
>
> Laurent
>
> $ cvs diff -u -D 'Wed Jun 15 21:20:45 UTC 2005' -D 'Thu Jun 16 11:26:54 UTC 2005' ChangeLog
> Index: ChangeLog
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
> retrieving revision 2.9159
> retrieving revision 2.9161
> diff -u -r2.9159 -r2.9161
> --- ChangeLog 15 Jun 2005 20:13:04 -0000 2.9159
> +++ ChangeLog 16 Jun 2005 10:31:51 -0000 2.9161
> @@ -1,3 +1,59 @@
> +2005-06-16 Jan Hubicka <jh@suse.cz>
> +
> + * basic-block.h (rtl_bb_info): Break out head_, end_,
> + global_live_at_start, global_live_at_end from ...
> + (basic_block_def): ... here; update all references
> + (BB_RTL): New flag.
> + (init_rtl_bb_info): Declare.
> + * cfgexpand.c (expand_gimple_basic_block): Init bb info, set BB_RTL
> + flag.
> + * cfgrtl.c: Include ggc.h
> + (create_basic_block_structure): Init bb info.
> + (rtl_verify_flow_info_1): Check BB_RTL flag and rtl_bb_info pointer.
> + (init_rtl_bb_info): New function.
> + (rtl_merge_block, cfglayout_merge_block): Copy global_live_at_end here.
> + * cfghooks.c (merge_block): Do not copy global_live_at_end here.
> + * cfg.c (clear_bb_flags): Skip BB_RTL flag.
> + (dump_flow_info): Gueard global_live_* dumping.
> +
> + * Makefile.in (cfg.o): Add new dependencies.
> + * basic-block.h (reorder_block_def): Kill
> + original/copy/duplicated/copy_number fields.
> + (BB_DUPLICATED): New flag.
> + (initialize_original_copy_tables, free_original_copy_tables,
> + set_bb_original, get_bb_original, set_bb_copy, get_bb_copy): New.
> + * cfg.c: Include hashtab.h and alloc-pool.h
> + (bb_original, bb_copy, original_copy_bb_pool): New static vars.
> + (htab_bb_copy_original_entry): New struct.
> + (bb_copy_original_hash, bb_copy_original_eq): New static functions.
> + (initialize_original_copy_tables, free_original_copy_tables,
> + set_bb_original, get_bb_original, set_bb_copy, get_bb_copy): New
> + global functions.
> + * cfghooks.c (duplicate_block): Update original/copy handling.
> + * cfglayout.c (fixup_reorder_chain): Likewise.
> + (cfg_layout_initialize): Initialize orignal_copy tables.
> + (cfg_layout_finalize): FInalize original_copy tables.
> + (can_copy_bbs_p): Use BB_DUPLICATED flag.
> + (copy_bbs): Likewise.
> + * cfgloopmanip.c (update-single_exits_after_duplication): Likewise.
> + (duplicate_loop_to_header_edge): Likewise; update handling of
> + copy_number.
> + (loop_version): Likewise.
> + * dominance.c (get_dominated_by_region): Use BB_DUPLICATED_FLAG.
> + * except.c (expand_resx_expr): Check that reg->resume is not set.
> + * loop-unroll.c (unroll_loop_constant_iterations,
> + unroll_loop_runtime_iterations, apply_opt_in_copies): Update
> + copy/original handling.
> + * loop-unwitch.c (unswitch_loop): Likewise.
> + * tree-cfg.c (create_bb): Do not initialize RBI.
> + (disband_implicit_edges): Do not kill RBI.
> + (add_phi_args_after_copy_bb): Use new original/copy mapping.
> + (add_phi_args_after_copy): Use BB_DUPLICATED flag.
> + (tree_duplicate_sese_region): Update original/copy handling.
> + * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Likewise.
> + * tree-ssa-loop-manip.c (copy_phi_node_args): Likewise.
> + * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Likewise.
> +
>