From 387d13bc7bc2d8b60e33a486ede838e8b57957c4 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sun, 17 Aug 2014 05:20:42 +0000 Subject: [PATCH] 20140816-1.c: New testcase. 2014-08-16 Andrew Pinski * gcc.c-torture/compile/20140816-1.c: New testcase. From-SVN: r214073 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.c-torture/compile/20140816-1.c | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 gcc/testsuite/gcc.c-torture/compile/20140816-1.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 09179ab..27b724d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-08-16 Andrew Pinski + + * gcc.c-torture/compile/20140816-1.c: New testcase. + 2014-08-16 Paolo Carlini PR c++/52819 diff --git a/gcc/testsuite/gcc.c-torture/compile/20140816-1.c b/gcc/testsuite/gcc.c-torture/compile/20140816-1.c new file mode 100644 index 0000000..6521b05 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20140816-1.c @@ -0,0 +1,5 @@ +/* This used to ICE with the ccmp patches on aarch64. */ +int f(char); +int init_emit_regs (int mode) { + f(mode == 4 || mode == 13); +} -- 2.7.4