Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/pr55604.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* { dg-do compile } */ | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O -fdump-rtl-reload" } */ | 2 /* { dg-options "-O -fdump-rtl-reload" } */ |
3 | 3 |
4 int | |
4 main () | 5 main () |
5 { | 6 { |
6 char s[10]; | 7 char s[10]; |
7 const int t = (__builtin_memcpy (s, "Hello", 6), 5); | 8 const int t = (__builtin_memcpy (s, "Hello", 6), 5); |
8 __builtin_printf ("%d %s\n", t, s); | 9 __builtin_printf ("%d %s\n", t, s); |
10 return 0; | |
9 } | 11 } |
10 | 12 |