public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Allow flexible array members in unions and alone in structures [PR53548]
@ 2024-04-25 14:06 Qing Zhao
  2024-04-25 14:06 ` [PATCH v2 1/3] " Qing Zhao
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Qing Zhao @ 2024-04-25 14:06 UTC (permalink / raw)
  To: jason, richard.guenther, josmyers
  Cc: uecker, siddhesh, keescook, gcc-patches, Qing Zhao

Hi,

This is the 2nd version for 
Allow flexible array members in unions and alone in structures [PR53548]

(for your reference, the 1st version is at:
https://gcc.gnu.org/pipermail/gcc-patches/2024-April/649737.html)

compared to the 1st version, the major difference are:

A. C FE updates based on Joseph's comments:

   documentation changes;

   testing case changes; 
   * added testing cases for -pedantic-errors;
   * renamed the testing cases to accurately reflect the covered tests;
   * added unnamed bit-fields along with FAM;
   * move the testing cases to c-c++-common;

B. Merge the 4th patch (old testing adjustment) to the 2nd patch in order to 
   avoid testing regressions if individual patch is tested separately. 

Approval status:

   C FE and documentation changes have been approved for GCC15 with the above update A. 
   (Patch 1 and Patch 3 have been approved, the C FE part of Patch 2
    has been approved). 

Review needed:

   C++ FE changes (in Patch 2);
   Middle-end changes (in Patch 2);

The patch set includes:
 1. Documentation change.
    Allow flexible array members in unions and alone in structures
    [PR53548]
 2. C and C++ FE changes to support flexible array members in unions and
   alone in structures.
    Adjust testcases for flexible array member in union and alone in
   structure extension.
 3. Add testing cases for flexible array members in unions and alone in
   structures.

bootstrapped and regression tested on both x86 and aarch64, no issue.

Okay for GCC15?

thanks.

Qing

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

end of thread, other threads:[~2024-04-25 14:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-25 14:06 [PATCH v2 0/3] Allow flexible array members in unions and alone in structures [PR53548] Qing Zhao
2024-04-25 14:06 ` [PATCH v2 1/3] " Qing Zhao
2024-04-25 14:06 ` [PATCH v2 2/3] C and C++ FE changes Qing Zhao
2024-04-25 14:06 ` [PATCH v2 3/3] Add testing cases for flexible array members in unions and alone in structures Qing Zhao
2024-04-25 14:13   ` Siddhesh Poyarekar
2024-04-25 14:21     ` 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).