This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Enhance dump_probability function.
- From: Andreas Schwab <schwab at suse dot de>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: Paul Hua <paul dot hua dot gm at gmail dot com>, Martin Liška <mliska at suse dot cz>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 14 Jun 2017 09:18:29 +0200
- Subject: Re: [PATCH] Enhance dump_probability function.
- Authentication-results: sourceware.org; auth=none
- References: <f776d98c-d5db-edd7-54b8-995b3eb08a19@suse.cz> <CAKjxQH=iSB4=HdO0BP6O6C=c6m6XMQ7siuNNnuiE_2-v1Y6J_g@mail.gmail.com> <yddefun6rqt.fsf@CeBiTec.Uni-Bielefeld.DE>
On Jun 14 2017, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> wrote:
> + { dg-final { scan-tree-dump-times "> \\\[\[0-9.\]+%\\\]\\ \\\[count:\\\[^:\\]*\\\]:\n *must_not_eliminate" 127 "optimized" { target { ilp32 || lp64 } } } }
> + { dg-final { scan-tree-dump-times "> \\\[\[0-9.\]+%\\\]\\ \\\[count:\\\[^:\\]*\\\]:\n *must_not_eliminate" 96 "optimized" { target { { ! ilp32 } && { ! lp64 } } } } }
It would be much easier to handle if the regex were enclosed in { }.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."