problem building gcc 3.4 20030705 with gcc-3.3

Andrew Pinski pinskia@physics.uc.edu
Sat Jul 5 04:14:00 GMT 2003


This is a known bootstrap failure (it happens on most platforms, too):

It is caused by:
+Thu Jul  3 20:36:47 CEST 2003  Jan Hubicka  <jh@suse.cz>
  +
  +        * basic-block.h (create_basic_block, merge_blocks_nomove): 
Kill.
  +        * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move.
  +        (merge_blocks_move_predecessor_nojumps,
  +         merge_blocks_move_successor_nojumps): Use merge_blocks.
  +        (try_optimize_cfg): Use merge_blocks_move.
  +        * cfgrtl.c (create_basic_block): Rename to 
rtl_create_basic_block.
  +        (merge_blocks_nomove): Rename to rtl_merge_blocks.
  +        (cfg_layout_create_basic_block): New.
  +        (rtl_can_merge_blocks): New.
  +        (cfg_layout_split_block): Do not alloc aux by hand.
  +        * cfghooks.h (cfg_hooks): Add create_basic_block, 
can_merge_blocks_p,
  +        merge_blocks.
  +        (create_basic_block, can_merge_blocks_p, merge_blocks): New 
macros.
  +        * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux 
by hand.
  +        * cfgloopmanip.c (loop_split_edge_with): Likewise.
  +        * ifcvt.c (merge_if_block): Use merge_blocks_nomove.
  +
  +        * basic-block.h (basic_block_def): Add field 'rbi'.
  +        * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited,
  +        find_traces_1_round, copy_bb, connect_traces): Update use of 
rbi.
  +        * cfg.c (entry_exit_blocks): Add new field.
  +        * cfglayout.c: Include alloc-pool.h;
  +        (cfg_layout_pool): New.
  +        (record_effective_endpoints, fixup_reorder_chain,
  +        fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): 
Update use
  +        of rbi.
  +        (cfg_layout_initialize_rbi): New function.
  +        (cfg_layout_initialize): Use it.
  +        (cfg_layout_finalize): Clear rbi fields.
  +        * cfglayout.h (RBI): Kill.
  +        (cfg_layout_initialize_rbi): Declare.
  +        * cfgloopmanip.c (copy_bbs): Use rbi.
  +        (record_exit_edges): Likewise.
  +        (duplicate_loop_to_header_edge): Likewise.
  +        * cfgrtl.c (cfg_layout_create_basic_block): Use
  +        cfg_layout_initialize_rbi.
  +        (cfg_layout_split_block): Use rbi.
  +        (cfg_layout_delete_block): Likewise.
  +        * loop-init.c (loop_optimizer_finalize): Likewise.
  +        * loop-unswitch.c (unswitch_loop): Likewise.
  +        * tracer.c (seen, tail_duplicate, layout_superblocks): 
Likewise.
  +
  +        * cfgrtl.c: Update comments.
  +        (try_redirect_by_replacing_jump): New argument.
  +        (redirect_branch_edge): Break out from ...
  +        (rtl_redirect_edge_and_branch): ... this one.
  +        (update_cfg_after_block_merging): Break out from ...
  +        (rtl_merge_blocks): ... this one.
  +        (cfg_layout_split_edge): New.
  +        (cfg_layout_merge_blocks): New.
  +        (cfg_layout_can_merge_blocks_p): New.
  +        (cfg_layout_redirect_edge_and_branch): Reorganize.
  +        (cfg_layout_rtl_cfg_hooks): Fill in.
  +        (cfg_layout_delete_block): Kill barriers.
  +        * cfganal.c (can_fallthru): Deal with exit blocks
  +        * cfglayout.c (cfg_layout_function_header): New function
  +        (record_effective_endpoints): Record function header.
  +        (fixup_reorder_chain): Fixup dead jumptables; place header
  +
  +        * basic-block.h (CLEANUP_CFGLAYOUT): New flag.
  +        * bb-reorder.c (cfg_layout_initialize): Update call.
  +        * cfgcleanup.c (try_optimize_cfg): Supress optimizations of 
fallthru
  +        edges in cfglayout mode.
  +        * cfglayout.c (cleanup_unconditional_jumps): Kill.
  +        (cfg_layout_initialize): Kill agrument loops; use cfgcleanup.
  +        * cfglayout.h (cfg_layout_initialize): Update prototype.
  +        * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill.
  +        * cfgloopmanip.c (loop_split_edge_with): Use split_edge.
  +        * flow.c (propagate_block): Do not crash when basic block ends
  +        by first insn in the chain.
  +        * loop-init.c (loop_optimizer_init):  First enter cfglayout 
mode;  later
  +        do loop discovery.
  +        * tracer.c (tracer): Update call of cfg_layout_initialize.

<http://gcc.gnu.org/ml/gcc-patches/2003-06/msg01741.html>
<http://gcc.gnu.org/ml/gcc-patches/2003-07/msg00287.html>
<http://gcc.gnu.org/ml/gcc-patches/2003-06/msg02034.html>

All where okayed by Richard Henderson.

Thanks,
Andrew Pinski


On Friday, Jul 4, 2003, at 23:59 US/Eastern, george goffe wrote:

> Howdy,
>
> I'm reporting a problem with a build of the above
> version of gcc. I'm just trying to be helpful. Here's
> the short version of the problem:
>
> de -I../intl  -m64 -DL__gcc_bcmp -c
> ../../gcc/libgcc2.c -o libgcc/sparcv9/__gcc_bcmp.o
> ../../gcc/libgcc2.c: In function `__gcc_bcmp':
> ../../gcc/libgcc2.c:1519: error: head insn 102 for
> block 0 not found in the insn stream
> ../../gcc/libgcc2.c:1519: 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]: *** [libgcc/sparcv9/__gcc_bcmp.o] Error 1
> make[2]: Leaving directory
> `/tls/gcc/gcc/obj.sparc-sun-solaris2.9/gcc'
> make[1]: *** [stmp-multilib] Error 2
> make[1]: Leaving directory
> `/tls/gcc/gcc/obj.sparc-sun-solaris2.9/gcc'
>
>
>
> The long version is in the included build.log.gz file.
>
> If anyone would like more info please email me.
>
> Regards,
>
> George...
>
> =====
> =====
>     _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ -----
>    _/       _/       _/    _/ _/    _/ _/       _/
>   _/  _/_/ _/_/_/_/ _/    _/ _/_/_/_/ _/  _/_/ _/_/_/_/ -----
>  _/    _/ _/       _/    _/ _/    _/ _/    _/ _/
> _/_/_/_/ _/_/_/_/ _/_/_/_/ _/    _/ _/_/_/_/ _/_/_/_/ -----
> "It's not what you know that hurts you, It's what you know that ain't 
> so." Wil Rogers
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com<bld.log.gz>



More information about the Gcc-bugs mailing list