This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/11637] [3.3/3.4 Regression]g++ invalid assembly with -fnon-call-exceptions
- From: "janis187 at us dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2003 23:07:29 -0000
- Subject: [Bug target/11637] [3.3/3.4 Regression]g++ invalid assembly with -fnon-call-exceptions
- References: <20030722222648.11637.nick@ilm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11637
------- Additional Comments From janis187 at us dot ibm dot com 2003-07-25 23:07 -------
The regression in PR 11637 was introduced or exposed with this patch:
--- gcc/gcc/ChangeLog ---
2002-11-17 Graham Stott <graham.stott@btinternet.com>
* real.c (real_to_decimal): Fix buffer overrun when buffer size
is smaller than representation.
It is still broken on the 3.3-branch but was fixed on mainline by:
--- gcc/gcc/ChangeLog ---
Tue Jan 14 00:45:33 CET 2003 Jan Hubicka <jh@suse.cz>
* convert.c (strip_float_extensions): Look for narrowest type handling
FP constants.
* fold-const.c (fold): Fold (double)float1 CMP (double)float2 into
float1 CMP float2.
* convert.c (strip_float_extensions): Make global.
* tree.h (strip_float_extensions): Declare.
The regression hunt was done on i686-pc-linux-gnu using the small test
case compiled with "-O2 -fnon-call-exceptions, and then searching the
generated .s file for "3e-2".