This is the mail archive of the gcc-regression@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: GCC build failed for native with your patch on 2002-06-02T22:30:03Z.


> With your recent patch, GCC does not compile on:
>  native
> Attached is build output for those targets.
> 
> The last time the regression tests were run, GCC did not compile either,
> so the problem might not be caused by your patch.
> 
> There were also 18 new regression test failures, and 0
> failures that existed before and after that patch; 0 failures
> have been fixed.
> 
> The new failures are:
> powerpc-eabisim g77.sum g77.f-torture/execute/19981119-0.f
> powerpc-eabisim g77.sum g77.f-torture/execute/19990826-2.f
> powerpc-eabisim g77.sum g77.f-torture/execute/20010116.f
> powerpc-eabisim g77.sum g77.f-torture/execute/f90-intrinsic-bit.f
> powerpc-eabisim g77.sum g77.f-torture/execute/f90-intrinsic-mathematical.f
> powerpc-eabisim g77.sum g77.f-torture/execute/f90-intrinsic-numeric.f
> powerpc-eabisim g77.sum g77.f-torture/execute/intrinsic-f2c-z.f
> powerpc-eabisim g77.sum g77.f-torture/execute/intrinsic-unix-bessel.f
> powerpc-eabisim g77.sum g77.f-torture/execute/intrinsic-unix-erf.f
> powerpc-eabisim g77.sum g77.f-torture/execute/intrinsic-vax-cd.f
> powerpc-eabisim g77.sum g77.f-torture/execute/intrinsic77.f
> powerpc-eabisim g77.sum g77.f-torture/execute/short.f

This should be fixed by the attached patch. I am installing it as
obvious and apologize for the breakage.
I am now trying to reproduce the native build failure, but it does not
seem to be mine.

Mon Jun  3 11:53:01 CEST 2002  Jan Hubicka  <jh@suse.cz>
	* integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.
	* toplev.c: Include cfglahout.h
	* Makefile.in (toplev.c): Add dependnecy.
Index: integrate.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/integrate.c,v
retrieving revision 1.193
diff -c -3 -p -r1.193 integrate.c
*** integrate.c	2 Jun 2002 21:09:29 -0000	1.193
--- integrate.c	3 Jun 2002 09:51:31 -0000
*************** copy_insn_list (insns, map, static_chain
*** 1334,1340 ****
        switch (GET_CODE (insn))
  	{
  	case INSN:
- 	  INSN_SCOPE (copy) = INSN_SCOPE (insn);
  	  pattern = PATTERN (insn);
  	  set = single_set (insn);
  	  copy = 0;
--- 1334,1339 ----
*************** copy_insn_list (insns, map, static_chain
*** 1505,1514 ****
  #else
  	  try_constants (copy, map);
  #endif
  	  break;
  
  	case JUMP_INSN:
- 	  INSN_SCOPE (copy) = INSN_SCOPE (insn);
  	  if (map->integrating && returnjump_p (insn))
  	    {
  	      if (map->local_return_label == 0)
--- 1504,1513 ----
  #else
  	  try_constants (copy, map);
  #endif
+ 	  INSN_SCOPE (copy) = INSN_SCOPE (insn);
  	  break;
  
  	case JUMP_INSN:
  	  if (map->integrating && returnjump_p (insn))
  	    {
  	      if (map->local_return_label == 0)
*************** copy_insn_list (insns, map, static_chain
*** 1526,1531 ****
--- 1525,1531 ----
  	  cc0_insn = 0;
  #endif
  	  try_constants (copy, map);
+ 	  INSN_SCOPE (copy) = INSN_SCOPE (insn);
  
  	  /* If this used to be a conditional jump insn but whose branch
  	     direction is now know, we must do something special.  */
*************** copy_insn_list (insns, map, static_chain
*** 1555,1561 ****
  	  /* If this is a CALL_PLACEHOLDER insn then we need to copy the
  	     three attached sequences: normal call, sibling call and tail
  	     recursion.  */
- 	  INSN_SCOPE (copy) = INSN_SCOPE (insn);
  	  if (GET_CODE (PATTERN (insn)) == CALL_PLACEHOLDER)
  	    {
  	      rtx sequence[3];
--- 1555,1560 ----
*************** copy_insn_list (insns, map, static_chain
*** 1594,1599 ****
--- 1593,1599 ----
  
  	  SIBLING_CALL_P (copy) = SIBLING_CALL_P (insn);
  	  CONST_OR_PURE_CALL_P (copy) = CONST_OR_PURE_CALL_P (insn);
+ 	  INSN_SCOPE (copy) = INSN_SCOPE (insn);
  
  	  /* Because the USAGE information potentially contains objects other
  	     than hard registers, we need to copy it.  */
Index: toplev.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/toplev.c,v
retrieving revision 1.641
diff -c -3 -p -r1.641 toplev.c
*** toplev.c	2 Jun 2002 21:09:49 -0000	1.641
--- toplev.c	3 Jun 2002 09:51:33 -0000
*************** Software Foundation, 59 Temple Place - S
*** 70,75 ****
--- 70,76 ----
  #include "debug.h"
  #include "target.h"
  #include "langhooks.h"
+ #include "cfglayout.h"
  
  #if defined (DWARF2_UNWIND_INFO) || defined (DWARF2_DEBUGGING_INFO)
  #include "dwarf2out.h"
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/Makefile.in,v
retrieving revision 1.886
diff -c -3 -p -r1.886 Makefile.in
*** Makefile.in	2 Jun 2002 20:50:28 -0000	1.886
--- Makefile.in	3 Jun 2002 09:51:37 -0000
*************** toplev.o : toplev.c $(CONFIG_H) $(SYSTEM
*** 1369,1375 ****
     dwarf2out.h sdbout.h dbxout.h $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) \
     graph.h $(LOOP_H) except.h $(REGS_H) $(TIMEVAR_H) $(lang_options_files) \
     ssa.h $(PARAMS_H) $(TM_P_H) reload.h dwarf2asm.h $(TARGET_H) halfpic.h \
!    langhooks.h insn-flags.h options.h
  	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
  	  -DTARGET_NAME=\"$(target_alias)\" \
  	  -c $(srcdir)/toplev.c $(OUTPUT_OPTION)
--- 1369,1375 ----
     dwarf2out.h sdbout.h dbxout.h $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) \
     graph.h $(LOOP_H) except.h $(REGS_H) $(TIMEVAR_H) $(lang_options_files) \
     ssa.h $(PARAMS_H) $(TM_P_H) reload.h dwarf2asm.h $(TARGET_H) halfpic.h \
!    langhooks.h insn-flags.h options.h cfglayout.h
  	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
  	  -DTARGET_NAME=\"$(target_alias)\" \
  	  -c $(srcdir)/toplev.c $(OUTPUT_OPTION)


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