Commit dcf1730d by Tom de Vries Committed by Tom de Vries

Fix 'memory cannot be printed' in c-c++-common/ubsan/object-size-9.c

2017-12-30  Tom de Vries  <tom@codesourcery.com>

	PR testsuite/83612
	* c-c++-common/ubsan/object-size-9.c (t): Add alignment attribute.

From-SVN: r256042
parent bad96311
2017-12-30 Tom de Vries <tom@codesourcery.com>
PR testsuite/83612
* c-c++-common/ubsan/object-size-9.c (t): Add alignment attribute.
2017-12-28 Uros Bizjak <ubizjak@gmail.com>
* g++.old-deja/g++.ext/namedret2.C (f): Return a value.
......
......@@ -3,7 +3,7 @@
/* { dg-options "-fsanitize=undefined" } */
struct T { int c; char d[]; };
struct T t = { 1, "a" };
struct T t __attribute__ ((aligned(4096))) = { 1, "a" };
int
baz (int i)
......
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