public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [V2][PATCH 0/1]Add a new warning option -Wstrict-flex-arrays
@ 2022-11-30 14:25 Qing Zhao
  2022-11-30 14:25 ` [V2][PATCH 1/1] Add " Qing Zhao
  0 siblings, 1 reply; 18+ messages in thread
From: Qing Zhao @ 2022-11-30 14:25 UTC (permalink / raw)
  To: rguenther, joseph; +Cc: gcc-patches, keescook, siddhesh, Qing Zhao

Hi, this is the 2nd version for this patch.

Per our discussion, I made the following change compared to the first
version:

1. The level of -Warray-bounds will NOT control how a trailing array 
   is considered as a flex array member anymore. Only the level of  
   -fstrict-flex-arrays will control this;
2. Updating the documentation for -Warray-bounds by clarifying this
   change.
3. Updating the testing cases for such change.

I have bootstrapped and regression tested on both X86 and aarch64
without any issue.

Okay for committing?

thanks.

Qing




^ permalink raw reply	[flat|nested] 18+ messages in thread
* [V3][PATCH 0/2]Update -Warray-bounds with -fstrict-flex-arrays
@ 2022-12-06 16:14 Qing Zhao
  2022-12-06 16:14 ` [V2][PATCH 1/1] Add a new warning option -Wstrict-flex-arrays Qing Zhao
  0 siblings, 1 reply; 18+ messages in thread
From: Qing Zhao @ 2022-12-06 16:14 UTC (permalink / raw)
  To: rguenther, joseph; +Cc: gcc-patches, keescook, siddhesh, Qing Zhao

Hi, this is the 3rd version of the patch.

Per Richard's request, I split the patch into two seperate patches:

1.  Update -Warray-bounds with -fstrict-flex-arrays.
2.  Add a new warning option -Wstrict-flex-arrays.

I have bootstrapped and regression tested on both X86 and aarch64
without any issue.

Okay for committing?

thanks.

Qing



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2022-12-06 16:16 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-30 14:25 [V2][PATCH 0/1]Add a new warning option -Wstrict-flex-arrays Qing Zhao
2022-11-30 14:25 ` [V2][PATCH 1/1] Add " Qing Zhao
2022-12-01 16:42   ` Kees Cook
2022-12-01 17:04     ` Qing Zhao
2022-12-01 17:18       ` Kees Cook
2022-12-01 17:48         ` Qing Zhao
2022-12-01 19:45     ` Siddhesh Poyarekar
2022-12-01 22:27       ` Qing Zhao
2022-12-01 23:19         ` Kees Cook
2022-12-01 23:53           ` Siddhesh Poyarekar
2022-12-02  7:16       ` Richard Biener
2022-12-02  7:20         ` Richard Biener
2022-12-02 14:43           ` Qing Zhao
2022-12-05 15:16             ` Richard Biener
2022-12-05 15:20               ` Qing Zhao
2022-12-02 14:40         ` Qing Zhao
2022-12-06 16:14 [V3][PATCH 0/2]Update -Warray-bounds with -fstrict-flex-arrays Qing Zhao
2022-12-06 16:14 ` [V2][PATCH 1/1] Add a new warning option -Wstrict-flex-arrays Qing Zhao
2022-12-06 16:16   ` Qing Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).