I don't know how much is this related to PR43494. This one is failing with
-fselective-scheduling2 and with different target. Also it started failing just
few revisions ago.
Compiler output:
$ cd gcc/testsuite/gcc.dg/compat
$ gcc -O2 -fselective-scheduling2 scalar-by-value-3_main.c
scalar-by-value-3_x.c scalar-by-value-3_y.c
$ ./a.out
Aborted
(fails with -O[23s])
Tested revisions:
r164228 - fail
r163636 - fail
r161659 - OK
Reduced testcase to follow.
--
Summary: [4.6 Regression] gcc.dg/compat/scalar-by-value-3 FAILs
with -O2 -fselective-scheduling2
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zsojka at seznam dot cz
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45652