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
This commit is contained in:
parent
6a0d23af49
commit
d07b0a23a5
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2016-10-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
||||
|
||||
* gcc.target/avr/torture/builtins-error.c: Add -ffat-lto-objects
|
||||
option.
|
||||
|
||||
2016-10-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||
|
||||
Revert
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* { dg-do assemble } */
|
||||
/* { dg-options "-ffat-lto-objects" } */
|
||||
|
||||
char insert (long a)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue