PR testsuite/86510 - test case g++.dg/warn/pr86453.C fails starting with r262596

gcc/testsuite/ChangeLog:
	g++.dg/warn/pr86453.C: Adjust.

From-SVN: r262609
This commit is contained in:
Martin Sebor 2018-07-12 22:42:00 +00:00 committed by Martin Sebor
parent ac07bbf29a
commit 68d71a311f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-07-12 Martin Sebor <msebor@redhat.com>
PR testsuite/86510
g++.dg/warn/pr86453.C: Adjust.
2018-07-12 Jim Wilson <jimw@sifive.com>
* gnat.dg/warn5.adb: Expect warning for riscv*-*-*.

View File

@ -1,5 +1,5 @@
// { dg-do compile }
// { dg-additional-options "-flto" { target lto } }
struct X {
int *__attribute__((aligned(2), packed)) a; // { dg-warning "attribute ignored" }
int *__attribute__((aligned(2), packed)) a; // { dg-warning "ignoring attribute .packed. because it conflicts with attribute .aligned." }
} b;