On 11-09-27 13:23 , Jan Hubicka wrote:

sync and pr34850 tests doesn't pass with slim LTO. The reason is that they
excpects diagnostics that is output too late in compilation (usually at
expansion time).  These should be probably fixed as QOI issue but they are not
real bug - the diagnostics will be output at linktime.  I will open PR tracking
this.  We probably should output pretty much everything till end of early opts
except for stuff that really looks for optimization results.  Especially now
when we handle always inline in early inlining.

Could you add a link to the PR in these tests?

        * lib/lto.exp: When linker plugin is available test both
        plugin/non-plugin LTO paths as well as fat and slim LTO.
        lib/c-torture.exp: Likewise.
        lib/gcc-dg.exp: Likweise
        * gcc.c-torture/compile/sync-1.c: Do not run with slim LTO.
        * gcc.c-torture/compile/sync-2.c: Do not run with slim LTO.
        * gcc.c-torture/compile/sync-3.c: Do not run with slim LTO.
        * gcc.dg/noncompile/920507-1.c: Do not run with slim LTO.
        * g++.dg/torture/pr34850.C: Do not run with slim LTO

OK with the change above.


Diego.

Reply via email to