Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git] / gcc / testsuite / gcc.dg / strub-internal-volatile.c
bloba1436dcc0691c9f2abd3e260205731bad4f6edae
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-ipa-strub" } */
3 /* { dg-require-effective-target strub } */
5 void __attribute__ ((strub("internal")))
6 f(volatile short s) {
9 void g(void) {
10 f(0);
13 /* We make volatile parms indirect in the wrapped f. */
14 /* { dg-final { scan-ipa-dump-times "volatile short" 2 "strub" } } */
15 /* { dg-final { scan-ipa-dump-times "volatile short int &" 1 "strub" } } */