[Bug tree-optimization/60960] [4.8/4.9/4.10 Regression] Wrong result when a vector variable is divided by a literal constant
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 25 13:54:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60960
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Apr 25 13:53:45 2014
New Revision: 209803
URL: http://gcc.gnu.org/viewcvs?rev=209803&root=gcc&view=rev
Log:
PR tree-optimization/60960
* tree-vect-generic.c (expand_vector_operation): Only call
expand_vector_divmod if type's mode satisfies VECTOR_MODE_P.
* gcc.c-torture/execute/pr60960.c: New test.
Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr60960.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
branches/gcc-4_9-branch/gcc/tree-vect-generic.c
More information about the Gcc-bugs
mailing list