aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/class.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-10-26 09:18:30 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-10-26 09:18:30 +0000
commit96285749d88e8bf954b7e977d43e5cb947357ce5 (patch)
treee79ab049985d601289566c278b52580210cc2ad4 /gcc/java/class.c
parent9df01367f2f481d91b4927669cec5dbf80f489a1 (diff)
downloadgcc-96285749d88e8bf954b7e977d43e5cb947357ce5.zip
gcc-96285749d88e8bf954b7e977d43e5cb947357ce5.tar.gz
gcc-96285749d88e8bf954b7e977d43e5cb947357ce5.tar.bz2
Move cexp simplifications to match.pd
This required reinstating support for captures in the result of a simplification. That part (genmatch.c) is by Richard B. Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. gcc/ 2015-10-20 Richard Sandiford <richard.sandiford@arm.com> Richard Biener <rguenther@suse.de> * genmatch.c (dt_simplify::gen): Skip captures that are part of the result. (parser::parse_expr): Allow captures in results too. * builtins.c (fold_builtin_cexp): Delete. (fold_builtin_1): Handle constant cexp arguments here. * match.pd: Fold cexp(x+yi) to exp(x) * cexpi(y). Co-Authored-By: Richard Biener <rguenther@suse.de> From-SVN: r229308
Diffstat (limited to 'gcc/java/class.c')
0 files changed, 0 insertions, 0 deletions