Skip to content
Snippets Groups Projects
Commit 31cc6081 authored by Paolo Bonzini's avatar Paolo Bonzini Committed by Paolo Bonzini
Browse files

re PR middle-end/14092 (fold strips conversion from pointer to integer)

PR c/14092
* gcc.dg/pr14092-1.c: New testcase.
* fold-const.c (fold) <NEGATE_EXPR>: Convert result of
negate_expr back to the original type.

From-SVN: r77602
parent d1d5c836
Loading
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