This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fold VEC_PERM_EXPR a little more
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Marc Glisse <marc dot glisse at inria dot fr>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 2 Sep 2012 21:41:59 -0400 (EDT)
- Subject: Re: Fold VEC_PERM_EXPR a little more
- References: <alpine.DEB.2.02.1209011629400.23162@stedding.saclay.inria.fr>
On Sat, 1 Sep 2012, Marc Glisse wrote:
> gcc/
> * fold-const.c (fold_ternary_loc): Constant-propagate after
> removing dead operands.
>
> gcc/testsuite/
> * gcc.dg/fold-perm.c: Improve test.
(adding a line and a parameter to the function containing the test-code)
JFTR: generally speaking, editing existing tests is frowned
upon. Adding a new separate test is almost always better.
Not sure there's reason for an exception this time, but I see
you're the author of the original test and it's < 2 weeks since
it was added.
brgds, H-P