Fix failing gcc.target/avr/torture/builtins_error.c
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Mon, 3 Oct 2016 12:08:27 +0000 (12:08 +0000)
committerSenthil Kumar Selvaraj <saaadhu@gcc.gnu.org>
Mon, 3 Oct 2016 12:08:27 +0000 (12:08 +0000)
commitd07b0a23a5b00c9f51ff052f60c911013f036a7c
tree70f57db8271ac9285225eb0b279aa58dcc33a051
parent6a0d23af49e16577418566ab4fb165fea2efe286
Fix failing gcc.target/avr/torture/builtins_error.c

The compiler defaults to thin LTO objects if built with linker plugin
support, and in that case, the error expected by the testcase appears
only at link time, if at all. Forcing fat LTO object file creation
generates the error consistently at compile time, as expected.

gcc/testsuite/ChangeLog:

2016-10-03  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

* gcc.target/avr/torture/builtins-error.c: Add -ffat-lto-objects
option.

From-SVN: r240711
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/avr/torture/builtins-error.c