mehdi_amini added a comment.

In https://reviews.llvm.org/D28404#638217, @probinson wrote:

> Maybe instead, pass a flag to enable setting optnone on everything when the 
> driver sees `-O0 -flto`?


I'm not fond of this: limiting discrepancy between LTO and non-LTO reduces the 
LTO specific bugs and reduces the maintenance of LTO.

> The patch as-is obviously has a massive testing cost, and it's easy to 
> imagine people being tripped up by this in the future.

Can you clarify what massive testing cost you're referring to?


https://reviews.llvm.org/D28404



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to