Commit 68d71a31 by Martin Sebor Committed by Martin Sebor

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
parent ac07bbf2
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*-*-*.
......
// { 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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment