20081223-1.c: Add -ffat-lto-objects.

* gcc.dg/20081223-1.c: Add -ffat-lto-objects.
	* gcc.dg/vect/vect.exp: Add -ffat-lto-objects.

From-SVN: r205288
This commit is contained in:
Jan Hubicka 2013-11-22 21:48:07 +01:00 committed by Jeff Law
parent 42c447c0c4
commit 79a8482c13
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-11-22 Jan Hubicka <jh@suse.cz>
* gcc.dg/20081223-1.c: Add -ffat-lto-objects.
* gcc.dg/vect/vect.exp: Add -ffat-lto-objects.
2013-11-22 Jakub Jelinek <jakub@redhat.com>
* g++.dg/ubsan/return-1.C: New test.

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-flto" { target lto } } */
/* { dg-options "-flto -ffat-lto-objects" { target lto } } */
typedef struct foo_ foo_t;
foo_t bar; /* { dg-error "storage size of 'bar' isn't known" } */

View File

@ -76,7 +76,7 @@ lappend VECT_SLP_CFLAGS "-fdump-tree-slp-details"
# Main loop.
set VECT_ADDITIONAL_FLAGS [list ""]
if { [check_effective_target_lto] } {
lappend VECT_ADDITIONAL_FLAGS "-flto"
lappend VECT_ADDITIONAL_FLAGS "-flto -ffat-lto-objects"
}
foreach flags $VECT_ADDITIONAL_FLAGS {
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/pr*.\[cS\]]] \