--disable-checking bootstrap failure

Nathan Sidwell nathan@codesourcery.com
Fri Sep 10 17:11:00 GMT 2004


I have tracked the --disable-checking bootstrap failure to the assertification
of tree-cfg.c.  However, the bug is not a misapplied assert, or
an assert with sideeffects. It must reside elsewhere.

I attach a patch which reinserts the check with an abort, but this is
obviously papering over the problem.


I've attached a preprocessed tree-cfg.i file, with this patch applied
(line 24410).  Removing that line causes miscompilation of the file
on (at least) i686-pc-linux-gnu, with '-O2 -g'.

It's getting to the end of the day here, and I'm going to have another
learning curve figuring out where to look next.  anyone want to help?

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tree-cfg-1.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040910/8fb91cb0/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tree-cfg.i.gz
Type: application/x-gunzip
Size: 100413 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040910/8fb91cb0/attachment.bin>


More information about the Gcc-patches mailing list