Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire]Status on Gnome and gcc3

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Casey Harkins <charkins AT upl.cs.wisc.edu>
  • To: Gary Manning <glm1157 AT attbi.com>
  • Cc: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire]Status on Gnome and gcc3
  • Date: Fri, 26 Jul 2002 09:22:09 -0500 (CDT)



This bug will be fixed in the gcc 3.1.1 and gcc 3.2 releases, both should
be available *real soon*. However, an immediate fix is to apply a patch to
the gcc3 source tree, repackage the source tree, drop it in your
/var/spool/sorcery directory, re-cast gcc and then recast any "problem"
spells.


Patch (also attached): http://www.pobox.com/~charkins/gcc-3.1.patch

Mozilla bug:
http://bugzilla.mozilla.org/show_bug.cgi?id=145267

gcc bug:
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6703


-----
The procedure (assuming patch is in your home dir):

cp /var/spool/sorcery/gcc-3.1.tar.gz /usr/src
cd /usr/src
tar -xvzf gcc-3.1.tar.gz
cd gcc-3.1
cp ~/gcc-3.1.patch .
patch -p0 < gcc-3.1.patch
cd ..
tar -cvzf gcc-3.1.tar.gz gcc-3.1
mv gcc-3.1.tar.gz /var/spool/sorcery
rm -rf gcc-3.1/
cast gcc
-----


Hope this helps.

-casey



On 25 Jul 2002, Gary Manning wrote:

> Hello All,
>
> I believe I read recently that the problem with the odd cursor behavior
> mozilla and the gnome apps had to do with a bug in gcc 3. I missed the
> end of the thread and didn't see the resolution. Is there one?
>
>
> Thanks,
>
> --Gary Manning
--- gcc/config/i386/i386.orig 2002-07-09 09:26:01.000000000 -0500
+++ gcc/config/i386/i386.c 2002-07-09 09:42:07.000000000 -0500
@@ -9420,7 +9420,7 @@
gen_rtx_SUBREG (SImode, zeroreg, 0)));
if (TARGET_64BIT && (align <= 4 || count == 0))
{
- rtx label = ix86_expand_aligntest (destreg, 2);
+ rtx label = ix86_expand_aligntest (countreg, 2);
emit_insn (gen_strsetsi (destreg,
gen_rtx_SUBREG (SImode, zeroreg, 0)));
emit_label (label);
@@ -9431,7 +9431,7 @@
gen_rtx_SUBREG (HImode, zeroreg, 0)));
if (align <= 2 || count == 0)
{
- rtx label = ix86_expand_aligntest (destreg, 2);
+ rtx label = ix86_expand_aligntest (countreg, 2);
emit_insn (gen_strsethi (destreg,
gen_rtx_SUBREG (HImode, zeroreg, 0)));
emit_label (label);
@@ -9442,7 +9442,7 @@
gen_rtx_SUBREG (QImode, zeroreg, 0)));
if (align <= 1 || count == 0)
{
- rtx label = ix86_expand_aligntest (destreg, 1);
+ rtx label = ix86_expand_aligntest (countreg, 1);
emit_insn (gen_strsetqi (destreg,
gen_rtx_SUBREG (QImode, zeroreg, 0)));
emit_label (label);



Archive powered by MHonArc 2.6.24.

Top of Page