PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pr57371-5.c
blobddad25db622550c19d03e2e2eb200a2057c51ba4
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized" } */
3 /* { dg-require-effective-target dfp } */
5 /* We do not support DFPs. */
7 int foo(short x) {
8 /* { dg-final { scan-tree-dump "\\(_Decimal32\\)" "optimized" } } */
9 return (_Decimal32) x != 0;