Commit 9645592c by Yufeng Zhang Committed by Yufeng Zhang

Use complex floating-point constant in CDBL.

2011-11-29  Yufeng Zhang  <yufeng.zhang@arm.com>

	Use complex floating-point constant in CDBL.

	* gcc.dg/compat/compat-common.h (CDBL): Replace 1i with 1.0i.

From-SVN: r181804
parent e62acfd2
2011-11-29 Yufeng Zhang <yufeng.zhang@arm.com>
Use complex floating-point constant in CDBL.
* gcc.dg/compat/compat-common.h (CDBL): Replace 1i with 1.0i.
2011-11-29 Tobias Burnus <burnus@net-b.de>
PR fortran/51306
......
......@@ -33,7 +33,7 @@
#ifndef SKIP_COMPLEX
#ifdef __GNUC__
#define CINT(x, y) (x + y * __extension__ 1i)
#define CDBL(x, y) (x + y * __extension__ 1i)
#define CDBL(x, y) (x + y * __extension__ 1.0i)
#else
#ifdef __SUNPRO_C
/* ??? Complex support without <complex.h>. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment