[PATCH][ARM] New testcase to check parameter passing bug
Segher Boessenkool
segher@kernel.crashing.org
Fri Mar 13 14:12:00 GMT 2015
On Fri, Mar 13, 2015 at 12:04:28PM -0000, Kyrill Tkachov wrote:
> > diff --git a/gcc/testsuite/gcc.target/arm/pr65358.c
> > b/gcc/testsuite/gcc.target/arm/pr65358.c
> > new file mode 100644
> > index 0000000..d663dcf
> > --- /dev/null
> > +++ b/gcc/testsuite/gcc.target/arm/pr65358.c
> > @@ -0,0 +1,34 @@
> > +/* PR target/65358 */
> > +/* { dg-do compile { target arm*-*-* } } */
>
> No need for the target selector. The fact that it's in gcc.target/arm
> already
> means it will only be run for the arm targets.
> Also, the bug is exposed at runtime, so this should be a dg-do run test.
Why make this testcase arm-specific at all? I don't see anything that
wouldn't work on other targets?
Segher
More information about the Gcc-patches
mailing list