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: mcore-elf on 3.3 branch


Hi Joel,

> mcore-elf has a problem on the 3.3 branch.  I currently have a 
> cc1 running with over 17 minutes CPU time on a 2.4 Ghz P4 
> compiling _lshrdi3.o.

Still investigating.  Problem is in the second if-conversion pass.
Applying the workaround patch below allows the compiler to build, (and
possibly bootstrap, I have not checked).

Cheers
        Nick

2003-05-13  Nick Clifton  <nickc@redhat.com>

	* config/mcore/mcore.h (OPTIMIZATION_OPTIONS): Disable second
	if-conversion pass.

Index: gcc/config/mcore/mcore.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mcore/mcore.h,v
retrieving revision 1.41.4.1
diff -c -3 -p -w -r1.41.4.1 mcore.h
*** gcc/config/mcore/mcore.h	29 Apr 2003 14:31:53 -0000	1.41.4.1
--- gcc/config/mcore/mcore.h	13 May 2003 17:20:52 -0000
*************** extern const char * mcore_stack_incremen
*** 194,199 ****
--- 194,200 ----
      {						\
        flag_no_function_cse = 1;			\
        flag_omit_frame_pointer = 1;		\
+       flag_if_conversion2 = 0; \
  						\
        if (LEVEL >= 2)				\
          {					\
        


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