genmatch.c (verbose): New global.
authorRichard Biener <rguenther@suse.de>
Thu, 30 Jul 2015 07:56:23 +0000 (07:56 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 30 Jul 2015 07:56:23 +0000 (07:56 +0000)
commit53a19317f40159b3fd96391a87182c8e0c7072c4
treed89770bb87c981380601e6c9a2247a6fee9a02b3
parentf501d5cd994edf4e82f54d68971fb6b3b0ff37a3
genmatch.c (verbose): New global.

2015-07-30  Richard Biener  <rguenther@suse.de>

* genmatch.c (verbose): New global.
(warning_at): Add overload with source_location.
(capture_info::capture_info): Add bool whether generating gimple
or generic.  Add gimple member.
(capture_info::cinfo): Add capture member.
(capture_info::walk_match): Record capture.  Warn on
non-captured leafs.
(capture_info::walk_c_expr): Add more fragments captures cannot
escape through.  Warn on escaped captures.
(dt_simplify::gen_1): Warn on operands we force to have no
side-effects.
(main): Initialize verbose.
* match.pd: Add integer_nonzerop and HONOR_NANS predicates.

From-SVN: r226386
gcc/ChangeLog
gcc/genmatch.c
gcc/match.pd