On 04/27/2017 10:43 AM, Tom de Vries wrote:
On 04/26/2017 01:57 PM, Jakub Jelinek wrote:
On Wed, Apr 26, 2017 at 01:48:03PM +0200, Tom de Vries wrote:
[ reposting with patch removed, was too big for gcc-patches@ ]
I see in various tests you've ended up with ... { target ... } . }
I think it would be better to just use ... { target ... } }
in that case, . is the default, and if target is *-*-*, also remove the {
target ... }.
I've written sed commands for both simplifications, untested patches
attached.
Tested the patches, fixed a bug in the script generating the first
(replaced ' \. ' with ' \. \}' in search pattern).
Added ChangeLog and committed.
Thanks,
- Tom
[ Not reposting patches. The only changes to the previously posted
patches are that the
gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-{1,2}.c modifications
are no longer there. ]