Permalink
Browse files

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.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240711 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information...
saaadhu
saaadhu committed Oct 3, 2016
1 parent ffbf19e commit 4092cccfea9dd3e5210cc9ca221b1c31a4be84ad
Showing with 6 additions and 0 deletions.
  1. +5 −0 gcc/testsuite/ChangeLog
  2. +1 −0 gcc/testsuite/gcc.target/avr/torture/builtins-error.c
View
@@ -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)
{

0 comments on commit 4092ccc

Please sign in to comment.