This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/9015: bc segfaults when compiled with optimization
- From: Patrick Smith <patsmith at pobox dot com>
- To: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: Tue, 24 Dec 2002 19:51:39 -0500
- Subject: Re: optimization/9015: bc segfaults when compiled with optimization
- References: <Pine.LNX.4.44.0212202353400.21574-100000@gandalf.ticam.utexas.edu>
Found it.
This turns out to be a bug in GNU bc. As luck would have it, it only
seems to cause damage when compiled with optimization on and a recent
gcc. :-(
Sorry to have bothered you.
(In case you're interested... load_code saves data in a local variable
on one call, and then tries to retrieve that data on a subsequent call.)
--
patsmith@pobox.com