Attached testcases were reduced from the same original source. They look very similiar, so I am opening just one PR for all of them.
-- Summary: [4.6 Regression] various ICEs with -finline-small- functions -findirect-inlining -finline-functions Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-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=45572