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]

Re: [PATCH] Fix out-of-bound array accesses in testcases


Hello!

> So, a patch of mine runs into the following testsuite issues.  Fixed
> with the following patch, tested on x86_64-unknown-linux-gnu and
> committed.

> 2012-04-18  Richard Guenther  <rguenther@suse.de>
>
>	* gcc.target/x86_64/abi/test_passing_unions.c: Avoid undefined
>	array access.
>	* gcc.target/x86_64/abi/test_passing_structs.c: Likewise.
>	* gcc.target/i386/avx256-unaligned-load-4.c: Fix array sizes.

Attached patch also fixes AVX failures.

2012-04-20  Uros Bizjak  <ubizjak@gmail.com>

	* gcc.target/x86_64/abi/avx/test_passing_unions.c: Avoid undefined
	array access.
	* gcc.target/x86_64/abi/avx/test_passing_structs.c: Likewise.

Tested on x86_64-pc-linux-gnu AVX target, committed to mainline SVN.

Uros.

Attachment: t.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]