Debian Codegraph @

gcc/testsuite/g++.dg/opt/pr100541-2.C

raw
1 // PR debug/100541
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-O2 -fno-tree-dce -fno-tree-dominator-opts -fcompare-debug" }
4
5 int INVALID_TILE;
6 void GetSlopePixelZ();
7 long RUNWAY_IN_block;
8 struct Airport {
9 long flags;
10 };
11 struct Station {
12 Airport airport;
13 } * HandleCrashedAircraft_st;
14 short HandleCrashedAircraft_v_0;
15 void HandleCrashedAircraft() {
16 Station *__trans_tmp_1 = INVALID_TILE ? nullptr : HandleCrashedAircraft_st,
17 *st;
18 if (HandleCrashedAircraft_v_0 && __trans_tmp_1 == nullptr &&
19 HandleCrashedAircraft_v_0 % 3)
20 GetSlopePixelZ();
21 if (HandleCrashedAircraft_v_0)
22 GetSlopePixelZ();
23 if (__trans_tmp_1)
24 st->airport.flags &= RUNWAY_IN_block;
25 }