egcs 1.1 miscompiles TeX
Jeffrey A Law
law@cygnus.com
Mon Sep 21 01:34:00 GMT 1998
In message < Pine.LNX.4.02A.9809202005500.928-100000@octomino.demon.co.uk >you write:
> egcs 1.1 on i686-pc-linux-gnu misoptimises TeX when compiling with -O2.
> This bug has already been reported and reduced to a single function
> <URL: http://www.cygnus.com/ml/egcs-bugs/1998-Jun/0550.html > but that bug
> report did not include a self-contained testcase. Below is the result of
> preprocessing the file containing the offending function given in the
> previous bug report (reported there as OK with -O2 -fno-force-mem,
> miscompiled with -O2). If this can't be fixed for egcs 1.1.1, perhaps a
> note could be added in the FAQ giving the workaround (compile with -O or
> -O2 -fno-force-mem, rather than -O2)?
We recently fixed a bug where the ppc port was mis-compiling part of
TeX. Can you extract the diffs between revision 1.11 and 1.12 of gcse.c
via cvs (or cvsweb) and see if it fixes your problem?
[ I am planning on including that change in egcs-1.1.1. ]
jeff
More information about the Gcc-bugs
mailing list