octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lto and failing io.tst


From: Dmitri A. Sergatskov
Subject: lto and failing io.tst
Date: Tue, 25 Apr 2017 14:36:05 -0500

The failing io test with lto optimization is due to -fdevirtualize option:
<<<<
Attempt to convert calls to virtual functions to direct calls. This is done both within a procedure and interprocedurally as part of indirect inlining (-findirect-inlining) and interprocedural constant propagation (-fipa-cp). Enabled at levels -O2, -O3, -Os.
>>>>

I tried both "-O1 --fdevirtualize -flto" (test fails) and "-0s -fno-devirtualize -flto" (test passes).
i do not know if we can claim this is the compiler bug or octave bug, so have no idea what is the best way to deal with it.

Dmitri.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]