Re: [PATCH] Alias -Warray-bounds to -Warray-bounds=1

2018-08-03 Thread Jeff Law
On 07/31/2018 02:58 PM, Martin Sebor wrote: > I can't approve patches but this one seems to be in > the obvious category so I think it could be checked in > without formal approval. > > It is however missing a couple of things: 1) a test case, > and 2) a reference to the bug it fixes in the Change

Re: [PATCH] Alias -Warray-bounds to -Warray-bounds=1

2018-07-31 Thread Martin Sebor
I can't approve patches but this one seems to be in the obvious category so I think it could be checked in without formal approval. It is however missing a couple of things: 1) a test case, and 2) a reference to the bug it fixes in the ChangeLog and in the test. With that, if no one objects, I w

[PATCH] Alias -Warray-bounds to -Warray-bounds=1

2018-07-25 Thread Franz Sirl
Hi, as discussed with Martin, this patch consolidates -Warray-bounds into an alias of -Warray-bounds=1. Bootstrapped on x86_64-linux, no regressions. Please apply if it's OK. Franz. gcc/ChangeLog: 2018-07-25 Franz Sirl * common.opt: Alias -Warray-bounds to -Warray-bounds=1.