[Bug c/47473] [4.5 Regression] Incorrect computation with complex numbers when using -std=c99
dnovillo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 2 18:07:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47473
--- Comment #8 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 17:53:56 UTC ---
Author: dnovillo
Date: Wed Feb 2 17:53:51 2011
New Revision: 169624
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169624
Log:
PR c/47473
* c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
REAL_TYPE.
* gcc.dg/torture/pr47473.c: New test.
Added:
branches/google/integration/gcc/testsuite/gcc.dg/torture/pr47473.c
Modified:
branches/google/integration/gcc/c-family/ChangeLog
branches/google/integration/gcc/c-family/c-lex.c
branches/google/integration/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list