-
sayle authored
PR middle-end/12002 * tree.h (SCALAR_FLOAT_TYPE_P, COMPLEX_FLOAT_TYPE_P): New macros. (FLOAT_TYPE_P): Define in terms of these two new macros. * fold-const.c (fold <PLUS_EXPR>): Don't convert x+x into x*2.0 for complex floating point types. * g77.f-torture/compile/12002.f: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70821 138bc75d-0d04-0410-961f-82ee72b054a4
4b69983d