This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Committed: gcc.dg/tree-ssa/20040703-1.c: Quote decimal dot.


This started failing for mmix-knuth-mmixware, and I noticed the dump
containing:

------------------------------
;; Function foo (foo)

foo (x)
{
  float D.1050;

<bb 0>:
  x_2 = x_1 + 1.0e+0;
  x_3 = x_2 - 1.0e+0;
  return x_3;

}
------------------------------

Oopsie! 1050 =~ /0.0/

Grepping in tree-ssa shows a few more testcases with unquoted dots that
should properly be quoted, of which 20031021-1.c seems to be next to catch
a spurious failure.  Aint broke yet, though.

Committed as obvious.

	* gcc.dg/tree-ssa/20040703-1.c: Quote decimal dot.

Index: 20040703-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/20040703-1.c,v
retrieving revision 1.1
diff -p -c -u -p -r1.1 20040703-1.c
--- 20040703-1.c	3 Jul 2004 18:57:18 -0000	1.1
+++ 20040703-1.c	12 Feb 2005 07:42:55 -0000
@@ -9,4 +9,4 @@ float foo(float x)
 }

 /* We should *not* fold the arithmetic.  */
-/* { dg-final { scan-tree-dump-times "0.0" 0 "dom2"} } */
+/* { dg-final { scan-tree-dump-times "0\\.0" 0 "dom2"} } */

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]