Hi all, When I was testing the ccmp set of patches on aarch64, I found a testcase which would ICE. This patch adds the testcase. I don't know if this testcase ICEs due to other local set of patches though.
Thanks, Andrew Pinski 2014-08-16 Andrew Pinski <apin...@cavium.com> * gcc.c-torture/compile/20140816-1.c: New testcase.
Index: gcc.c-torture/compile/20140816-1.c =================================================================== --- gcc.c-torture/compile/20140816-1.c (revision 0) +++ gcc.c-torture/compile/20140816-1.c (revision 0) @@ -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); +} Index: ChangeLog =================================================================== --- ChangeLog (revision 214072) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2014-08-16 Andrew Pinski <apin...@cavium.com> + + * gcc.c-torture/compile/20140816-1.c: New testcase. + 2014-08-16 Paolo Carlini <paolo.carl...@oracle.com> PR c++/52819