blob: 1c62f569f77f6206801c1c2e666bf16da9485515 [file] [log] [blame]
/* PR rtl-optimization/57559 */
/* { dg-do compile } */
/* { dg-options "-march=z10 -mzarch -O1" } */
typedef int int32_t;
typedef unsigned char uint8_t;
typedef unsigned int uint32_t;
struct _IO_marker
{
};
static const int32_t mfcone = 1;
static const uint8_t *mfctop = (const uint8_t *) &mfcone;
int32_t
decContextTestEndian (uint8_t quiet)
{
int32_t res = 0;
uint32_t dle = (uint32_t) 0;
if (*(int *) 10 != 0)
{
res = (int32_t) * mfctop - dle;
}
return res;
}