view gcc/testsuite/gcc.target/arm/pr53859.c @ 144:8f4e72ab4e11

fix segmentation fault caused by nothing next cur_op to end
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 21:23:56 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR target/53859 */
/* { dg-do compile } */
/* { dg-require-effective-target arm_thumb2_ok } */
/* { dg-options "-mcpu=cortex-m4 -mthumb -O2" } */

void bar (int,int,char* ,int);

void foo (char c)
{
    bar (1,2,&c,3);
}