view gcc/testsuite/gcc.dg/torture/pr49997.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-options "-finline-functions -fnon-call-exceptions" } */

extern int g_78, g_223;
static int MOD(int si1, int si2) {
    return (!si2 || (!si1 && si2)) ? si1 : (si1 % 3);
}
void func_65(int p_66) {
    g_78 = MOD(p_66, 3);
}
void func_54(int si1) {
    func_65(0);
    func_65(1);
    func_65(2);
    while (g_223) {
	MOD(si1, 3);
	func_65(3);
	func_65(4);
	func_65(5);
	func_65(6);
	func_65(7);
	func_65(8);
    }
}