From: Jakub Jelinek Date: Fri, 30 May 2025 12:35:12 +0000 (+0200) Subject: testsuite: Add testcase for GCC 13 branch s390 bug [PR120480] X-Git-Tag: releases/gcc-12.5.0~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c4f69400edc20bb74a100c0ddf3bc777337ad16;p=thirdparty%2Fgcc.git testsuite: Add testcase for GCC 13 branch s390 bug [PR120480] This got broken with r13-9727 and fixed with either of r13-9729 or r13-9728. 2025-05-30 Jakub Jelinek PR target/120480 * gcc.dg/pr120480.c: New test. (cherry picked from commit c13d5b939fee565047394475952878dc5394fb74) --- diff --git a/gcc/testsuite/gcc.dg/pr120480.c b/gcc/testsuite/gcc.dg/pr120480.c new file mode 100644 index 00000000000..cf7b47a1151 --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr120480.c @@ -0,0 +1,11 @@ +/* PR target/120480 */ +/* { dg-do compile } */ +/* { dg-options "-O0" } */ + +struct S { int a, b, c; } s; + +void +foo (void) +{ + struct S t = s; +}