[0/4] testsuite: Add markers for default_packed targets

Message ID 20200720163106.27849-1-dimitar@dinux.eu
Headers show
Series
  • testsuite: Add markers for default_packed targets
Related show

Message

Dimitar Dimitrov July 20, 2020, 4:31 p.m.
Hi,

I'm sending a few minor testsuite updates to add markers for targets using packed structures by default. From those targets, I tested AVR and PRU. I don't have setup to test cris and m32c.

I also tested x86_64 to ensure there are neither dropped nor newly failing tests.

Regards,
Dimitar

Dimitar Dimitrov (4):
  testsuite: Filter unaligned pointer value warning
  testsuite: Add expected warning for packed attribute
  testsuite: Relax pattern to include "packed" targets
  testsuite: Add default_packed filters

 .../Waddress-of-packed-member-1.c             | 48 +++++++++----------
 .../Waddress-of-packed-member-2.c             | 37 +++++++-------
 gcc/testsuite/c-c++-common/Wattributes.c      |  2 +-
 gcc/testsuite/c-c++-common/attr-copy.c        |  1 +
 .../c-c++-common/builtin-has-attribute-4.c    |  2 +-
 gcc/testsuite/c-c++-common/pr51628-13.c       |  2 +-
 gcc/testsuite/c-c++-common/pr51628-15.c       |  2 +-
 gcc/testsuite/c-c++-common/pr51628-16.c       |  4 +-
 gcc/testsuite/c-c++-common/pr51628-26.c       |  6 +--
 gcc/testsuite/c-c++-common/pr51628-27.c       |  2 +-
 gcc/testsuite/c-c++-common/pr51628-28.c       | 10 ++--
 gcc/testsuite/c-c++-common/pr51628-29.c       |  3 +-
 gcc/testsuite/c-c++-common/pr51628-3.c        | 12 ++---
 gcc/testsuite/c-c++-common/pr51628-30.c       |  5 +-
 gcc/testsuite/c-c++-common/pr51628-31.c       |  2 +-
 gcc/testsuite/c-c++-common/pr51628-32.c       |  3 +-
 gcc/testsuite/c-c++-common/pr51628-33.c       |  2 +-
 gcc/testsuite/c-c++-common/pr51628-35.c       |  4 +-
 gcc/testsuite/c-c++-common/pr51628-4.c        | 12 ++---
 gcc/testsuite/c-c++-common/pr51628-5.c        | 12 ++---
 gcc/testsuite/c-c++-common/pr51628-6.c        | 12 ++---
 gcc/testsuite/c-c++-common/pr51628-8.c        | 14 +++---
 gcc/testsuite/c-c++-common/pr51628-9.c        | 14 +++---
 gcc/testsuite/c-c++-common/pr88664-2.c        |  4 +-
 gcc/testsuite/gcc.dg/Wattributes-6.c          |  2 +-
 gcc/testsuite/gcc.dg/attr-copy-4.c            |  4 +-
 gcc/testsuite/gcc.dg/attr-copy-8.c            | 25 ++++++++++
 gcc/testsuite/gcc.dg/c11-align-9.c            |  4 +-
 gcc/testsuite/gcc.dg/pr51628-17.c             |  2 +-
 gcc/testsuite/gcc.dg/pr51628-19.c             |  6 +--
 gcc/testsuite/gcc.dg/pr51628-20.c             |  2 +-
 gcc/testsuite/gcc.dg/pr51628-21.c             |  2 +-
 gcc/testsuite/gcc.dg/pr51628-22.c             |  2 +-
 gcc/testsuite/gcc.dg/pr51628-24.c             |  2 +-
 gcc/testsuite/gcc.dg/pr51628-25.c             |  2 +-
 gcc/testsuite/gcc.dg/pr51628-34.c             |  8 ++--
 gcc/testsuite/gcc.dg/pr53037-1.c              |  4 +-
 gcc/testsuite/gcc.dg/pr88928.c                |  2 +-
 38 files changed, 157 insertions(+), 125 deletions(-)

-- 
2.20.1

Comments

Dimitar Dimitrov July 21, 2020, 3:58 p.m. | #1
On Mon, 20 July 2020 г. 19:31:02 EEST Dimitar Dimitrov wrote:
> Hi,

> 

> I'm sending a few minor testsuite updates to add markers for targets using

> packed structures by default. From those targets, I tested AVR and PRU. I

> don't have setup to test cris and m32c.

> 

> I also tested x86_64 to ensure there are neither dropped nor newly failing

> tests.

> 

> Regards,

> Dimitar

> 

> Dimitar Dimitrov (4):

>   testsuite: Filter unaligned pointer value warning

>   testsuite: Add expected warning for packed attribute

>   testsuite: Relax pattern to include "packed" targets

>   testsuite: Add default_packed filters

> 

>  .../Waddress-of-packed-member-1.c             | 48 +++++++++----------

>  .../Waddress-of-packed-member-2.c             | 37 +++++++-------

>  gcc/testsuite/c-c++-common/Wattributes.c      |  2 +-

>  gcc/testsuite/c-c++-common/attr-copy.c        |  1 +

>  .../c-c++-common/builtin-has-attribute-4.c    |  2 +-

>  gcc/testsuite/c-c++-common/pr51628-13.c       |  2 +-

>  gcc/testsuite/c-c++-common/pr51628-15.c       |  2 +-

>  gcc/testsuite/c-c++-common/pr51628-16.c       |  4 +-

>  gcc/testsuite/c-c++-common/pr51628-26.c       |  6 +--

>  gcc/testsuite/c-c++-common/pr51628-27.c       |  2 +-

>  gcc/testsuite/c-c++-common/pr51628-28.c       | 10 ++--

>  gcc/testsuite/c-c++-common/pr51628-29.c       |  3 +-

>  gcc/testsuite/c-c++-common/pr51628-3.c        | 12 ++---

>  gcc/testsuite/c-c++-common/pr51628-30.c       |  5 +-

>  gcc/testsuite/c-c++-common/pr51628-31.c       |  2 +-

>  gcc/testsuite/c-c++-common/pr51628-32.c       |  3 +-

>  gcc/testsuite/c-c++-common/pr51628-33.c       |  2 +-

>  gcc/testsuite/c-c++-common/pr51628-35.c       |  4 +-

>  gcc/testsuite/c-c++-common/pr51628-4.c        | 12 ++---

>  gcc/testsuite/c-c++-common/pr51628-5.c        | 12 ++---

>  gcc/testsuite/c-c++-common/pr51628-6.c        | 12 ++---

>  gcc/testsuite/c-c++-common/pr51628-8.c        | 14 +++---

>  gcc/testsuite/c-c++-common/pr51628-9.c        | 14 +++---

>  gcc/testsuite/c-c++-common/pr88664-2.c        |  4 +-

>  gcc/testsuite/gcc.dg/Wattributes-6.c          |  2 +-

>  gcc/testsuite/gcc.dg/attr-copy-4.c            |  4 +-

>  gcc/testsuite/gcc.dg/attr-copy-8.c            | 25 ++++++++++

>  gcc/testsuite/gcc.dg/c11-align-9.c            |  4 +-

>  gcc/testsuite/gcc.dg/pr51628-17.c             |  2 +-

>  gcc/testsuite/gcc.dg/pr51628-19.c             |  6 +--

>  gcc/testsuite/gcc.dg/pr51628-20.c             |  2 +-

>  gcc/testsuite/gcc.dg/pr51628-21.c             |  2 +-

>  gcc/testsuite/gcc.dg/pr51628-22.c             |  2 +-

>  gcc/testsuite/gcc.dg/pr51628-24.c             |  2 +-

>  gcc/testsuite/gcc.dg/pr51628-25.c             |  2 +-

>  gcc/testsuite/gcc.dg/pr51628-34.c             |  8 ++--

>  gcc/testsuite/gcc.dg/pr53037-1.c              |  4 +-

>  gcc/testsuite/gcc.dg/pr88928.c                |  2 +-

>  38 files changed, 157 insertions(+), 125 deletions(-)


I pushed all 4 changes, with the pattern and quoting update suggested by 
Richard for the third patch.


Thanks,
Dimitar