Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
ptr-conv-1.c
blob: 11dc8ce89574e141153e9392786effea96ee176f [
file
] [
log
] [
blame
]
/* The intermediate conversion to __PTRDIFF_TYPE__ could be lost,
resulting in an "invalid types in nop conversion" ICE. */
long
long
a
;
void
f
(
void
)
{
int
c
=
1
;
volatile
int
*
p
=
&
c
;
a
=
(
long
long
)
(
__PTRDIFF_TYPE__
)
p
;
*
p
;
}