This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, tree-optimization]: Fix PR46142


Hello!

We have to enlarge dt array by one in vectorizable_call function to
accommodate extra function argument for FMA. Please also see the PR
[1].

For some reason, valgrind didn't catch this uninitialized situation,
but the one-liner patch is obvious.

2010-10-31  Uros Bizjak  <ubizjak@gmail.com>

	PR tree-optimization/46142
	* tree-vect-stmts.c (vectorizable_call): Enlarge dt array to
	accommodate third function argument.

Tested on x86_64-pc-linux-gnu {,-m32} and i686-pc-linux-gnu where the
patch fixes the failure.

Patch was committed to SVN mainline as obvious.

[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46142#c4

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]