Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr36015.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR target/36015 */ /* { dg-do run } */ /* { dg-options "-O0" } */ /* { dg-options "-O0 -mregparm=3" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */ static int test (); int main (void) { test (0, 1, 2, 3, 4, 5, 6, 7); return 0; } static int test (int a, int b, int c, int d, int e, int f, int g, int h) { if (a != 0 || b != 1 || c != 2 || d != 3 || e != 4 || f != 5 || g != 6 || h != 7) __builtin_abort (); return 0; }