1/* PR rtl-optimization/57559  */
2
3/* { dg-do compile } */
4/* { dg-options "-march=z10 -mzarch  -O1" } */
5
6typedef int int32_t;
7typedef unsigned char uint8_t;
8typedef unsigned int uint32_t;
9struct _IO_marker
10{
11};
12static const int32_t mfcone = 1;
13static const uint8_t *mfctop = (const uint8_t *) &mfcone;
14int32_t
15decContextTestEndian (uint8_t quiet)
16{
17  int32_t res = 0;
18  uint32_t dle = (uint32_t) 0;
19  if (*(int *) 10 != 0)
20    {
21      res = (int32_t) * mfctop - dle;
22    }
23  return res;
24}
25