Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr18079.c @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children | 84e7813d76e9 |
line wrap: on
line source
/* PR c/18079 */ /* { dg-do compile } */ /* { dg-options "-Wall" } */ __attribute__ ((noinline)) __attribute__ ((always_inline)) int fn1 (int r) { /* { dg-warning "attribute ignored due to conflict" } */ return r & 4; } __attribute__ ((noinline, always_inline)) int fn2 (int r) { /* { dg-warning "attribute ignored due to conflict" } */ return r & 4; } __attribute__ ((always_inline)) __attribute__ ((noinline)) inline int fn3 (int r) { /* { dg-warning "attribute ignored due to conflict" } */ return r & 8; } __attribute__ ((always_inline, noinline)) inline int fn4 (int r) { /* { dg-warning "attribute ignored due to conflict" } */ return r & 8; }