diff options
author | Richard Biener <rguenther@suse.de> | 2015-07-09 12:23:22 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-07-09 12:23:22 +0000 |
commit | 44fc0a5136eea2fb4eb7d46a8065ee518f6eb575 (patch) | |
tree | 786e34083516679a8f0e676f714a27a7fad71cfe /gcc/lto-opts.c | |
parent | d48ca70553f3884bff4827c98e1fd21f10bdc463 (diff) | |
download | gcc-44fc0a5136eea2fb4eb7d46a8065ee518f6eb575.zip gcc-44fc0a5136eea2fb4eb7d46a8065ee518f6eb575.tar.gz gcc-44fc0a5136eea2fb4eb7d46a8065ee518f6eb575.tar.bz2 |
genmatch.c (struct expr): Add force_single_use flag.
2015-07-09 Richard Biener <rguenther@suse.de>
* genmatch.c (struct expr): Add force_single_use flag.
(expr::expr): Add copy constructor.
(capture_info::walk_match): Gather force_single_use captures.
(expr::gen_transform): Use possibly NULLified sequence.
(dt_simplify::gen): Apply single-use restrictions by NULLifying
seq if any constrained expr is not single-use.
(parser::parse_expr): Refactor to allow multiple flags. Handle
's' flag to force an expression have a single-use if the pattern
simplifies to more than one statement.
* match.pd: Convert most single_use conditionals to :s flags.
From-SVN: r225610
Diffstat (limited to 'gcc/lto-opts.c')
0 files changed, 0 insertions, 0 deletions