This is the mail archive of the gcc-prs@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]

optimization/3763: Internal compiler error in update_equiv_regs, at local-alloc.c:1097



>Number:         3763
>Category:       optimization
>Synopsis:       Internal compiler error in update_equiv_regs, at local-alloc.c:1097
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 22 10:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        3.0.1 20010720 (prerelease)
>Organization:
>Environment:
System: Linux sykes 2.4.4-SMP #1 SMP Fri Jun 8 09:14:46 GMT 2001 ia64 unknown
Architecture: ia64

	
host: ia64-unknown-linux-gnu
build: ia64-unknown-linux-gnu
target: m68k-unknown-linux-gnu
configured with: /cvs/branch/gcc/configure --target=m68k-linux --prefix=/usr/local/m68k-linux --enable-languages=c++ --with-ld=/usr/local/m68k-linux/m68k-linux/bin/ld --with-as=/usr/local/m68k-linux/m68k-linux/bin/as --disable-shared : (reconfigured) /cvs/branch/gcc/configure --target=m68k-linux --prefix=/usr/local/m68k-linux --enable-languages=c++ --with-ld=/usr/local/m68k-linux/m68k-linux/bin/ld --with-as=/usr/local/m68k-linux/m68k-linux/bin/as --disable-shared : (reconfigured) 
>Description:
	Internal compiler error in update_equiv_regs, at
	local-alloc.c:1097, when compiling with -O1 or higher.
>How-To-Repeat:
	$ cat x.i
	typedef long int __clock_t;
	typedef __clock_t clock_t;
	struct tms
	  {
	    clock_t tms_utime;
	    clock_t tms_stime;
	    clock_t tms_cutime;
	    clock_t tms_cstime;
	  };
	extern clock_t __times (struct tms *__buffer);
	enum
	  {
	    _SC_ARG_MAX,
	    _SC_CHILD_MAX,
	    _SC_CLK_TCK,
	  };
	extern long int sysconf (int __name) __attribute__ ((__const__));
	clock_t
	clock (void)
	{
	  struct tms buf;
	  long clk_tck = __sysconf (_SC_CLK_TCK);
	  __times (&buf);
	  return
	    (clk_tck <= 1000000l)
	    ? ((unsigned long) buf.tms_utime + buf.tms_stime) * (1000000l
								 / clk_tck)
	    : ((unsigned long) buf.tms_utime + buf.tms_stime) / (clk_tck
								 / 1000000l);
	}
	$ m68k-linux-gcc -c -O x.i -v
	Reading specs from /usr/local/m68k-linux/lib/gcc-lib/m68k-linux/3.0.1/specs
	Configured with: /cvs/branch/gcc/configure --target=m68k-linux --prefix=/usr/local/m68k-linux --enable-languages=c++ --with-ld=/usr/local/m68k-linux/m68k-linux/bin/ld --with-as=/usr/local/m68k-linux/m68k-linux/bin/as --disable-shared : (reconfigured) /cvs/branch/gcc/configure --target=m68k-linux --prefix=/usr/local/m68k-linux --enable-languages=c++ --with-ld=/usr/local/m68k-linux/m68k-linux/bin/ld --with-as=/usr/local/m68k-linux/m68k-linux/bin/as --disable-shared : (reconfigured) 
	Thread model: single
	gcc version 3.0.1 20010720 (prerelease)
	 /usr/local/m68k-linux/lib/gcc-lib/m68k-linux/3.0.1/cc1 -fpreprocessed x.i -quiet -dumpbase x.i -O -version -o /tmp/cc8ryOGP.s
	GNU CPP version 3.0.1 20010720 (prerelease) (cpplib) (68k GNU/Linux with ELF)
	GNU C version 3.0.1 20010720 (prerelease) (m68k-linux)
		compiled by GNU C version 2.96-ia64-000717 snap 001117.
	x.i: In function `clock':
	x.i:30: Internal compiler error in update_equiv_regs, at local-alloc.c:1097
	Please submit a full bug report,
	with preprocessed source if appropriate.
	See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


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