Skip to content
Snippets Groups Projects
Commit 9734ebaf authored by Roger Sayle's avatar Roger Sayle Committed by Roger Sayle
Browse files

fold-const.c (fold_unary): Ensure folded expressions are type correct.

	* fold-const.c (fold_unary) <CONJ_EXPR>: Ensure folded expressions
	are type correct.  Clean-up.
	<REALPART_EXPR>: Likewise.  Optimize creal(~z) as creal(z).
	<IMAGPART_EXPR>: Likewise.  Optimize cimag(~z) as -cimag(z).

From-SVN: r114330
parent 8659e538
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment