Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr78775.c
blob: 120c252c99ee128be05ff3d660c0bc91e5707bf6 [
file
] [
log
] [
blame
]
/* PR c/78775 - [7 Regression] ICE in maybe_warn_alloc_args_overflow
{ dg-do compile }
{ dg-options "-O2" } */
int
a
,
b
,
*
c
;
int
main
(
void
)
{
unsigned
long
d
=
0
;
while
(
1
)
{
switch
(
b
)
case
'S'
:
d
=
a
;
c
=
__builtin_malloc
(
d
);
}
return
0
;
}