[Bug target/11637] [3.3/3.4 Regression]g++ invalid assembly with -fnon-call-exceptions

janis187 at us dot ibm dot com gcc-bugzilla@gcc.gnu.org
Fri Jul 25 23:07:00 GMT 2003


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".



More information about the Gcc-bugs mailing list