Subject: GCC3 ICE with netpbm/kdegraphics
To: None <port-sparc64@netbsd.org, port-sparc@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: port-sparc
Date: 01/04/2004 00:48:40
hi folks.


i was building kde3 the other day and i came across an internal
compiler error that -O0 got around.  i finally tracked it down to a
change made on the GCC3.3 branch that doesn't have the same failure
mode on the gcc mainline as it does the 3.3 branch.

i may commit this change to our tree after i test it on some other
platforms as well ... but it does let 'exif.c' compile with -O2.


.mrg.


Index: recog.c
===================================================================
RCS file: /cvsroot/src/gnu/dist/gcc/gcc/recog.c,v
retrieving revision 1.1.1.1
diff -p -r1.1.1.1 recog.c
*** recog.c	23 Jul 2003 02:41:01 -0000	1.1.1.1
--- recog.c	3 Jan 2004 13:25:06 -0000
*************** split_all_insns (upd_life)
*** 2853,2859 ****
  
    if (changed && upd_life)
      update_life_info (blocks, UPDATE_LIFE_GLOBAL_RM_NOTES,
! 		      PROP_DEATH_NOTES | PROP_REG_INFO);
  
  #ifdef ENABLE_CHECKING
    verify_flow_info ();
--- 2853,2859 ----
  
    if (changed && upd_life)
      update_life_info (blocks, UPDATE_LIFE_GLOBAL_RM_NOTES,
! 		      PROP_DEATH_NOTES /*| PROP_REG_INFO/*/);
  
  #ifdef ENABLE_CHECKING
    verify_flow_info ();