This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/60404] [4.9 Regression] wrong code by LTO on x86_64-linux-gnu
- From: "su at cs dot ucdavis.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 05 Mar 2014 20:11:59 +0000
- Subject: [Bug lto/60404] [4.9 Regression] wrong code by LTO on x86_64-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-60404-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60404
--- Comment #6 from Zhendong Su <su at cs dot ucdavis.edu> ---
(In reply to Jakub Jelinek from comment #5)
> Fixed, thanks for reporting this.
Jakub, thanks for the quick fix!
I'm intrigued by Eric's earlier comment. Is it one of the purposes of LTO so
that one could link object files (and shared libraries) compiled separately,
and possibly by others? In that case, I could certainly imagine linking at
-O0, say for debugging, etc., correct?