Date: Fri, 23 May 2003 22:10:53 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 31765 for review Message-ID: <200305240510.h4O5ArCb026387@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=31765 Change 31765 by peter@peter_hammer on 2003/05/23 22:09:56 Stop gcc from generating some truely crack-smoking code for switch() jump tables. Backported from gcc-3.3 verbatim. The original code causes massive conditional parsing in gas, and it explodes for complicated files. The 3.3 version is identical but without making gas choke. GRRRR. Affected files ... .. //depot/projects/hammer/contrib/gcc/config/i386/i386.c#6 edit Differences ... ==== //depot/projects/hammer/contrib/gcc/config/i386/i386.c#6 (text+ko) ==== @@ -6764,7 +6764,7 @@ int value, rel; { if (TARGET_64BIT) - fprintf (file, "%s%s%d-.+(.-%s%d)\n", + fprintf (file, "%s%s%d-%s%d\n", ASM_LONG, LPREFIX, value, LPREFIX, rel); else if (HAVE_AS_GOTOFF_IN_DATA) fprintf (file, "%s%s%d@GOTOFF\n", ASM_LONG, LPREFIX, value);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305240510.h4O5ArCb026387>