--- Comment #18 from alexey at feldgendler dot ru 2010-09-02 14:51 ---
Further research: the LTO pass on either the affected or unaffected
installation fails if one or both .s files come from the affected installation,
but succeeds with both .s files from the unaffected installation.
-
--- Comment #17 from rguenth at gcc dot gnu dot org 2010-09-02 14:46
---
Created an attachment (id=21668)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21668&action=view)
working one
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496
--- Comment #16 from rguenth at gcc dot gnu dot org 2010-09-02 14:45
---
Created an attachment (id=21667)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21667&action=view)
working one
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496
--- Comment #15 from alexey at feldgendler dot ru 2010-09-02 14:43 ---
Created an attachment (id=21666)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21666&action=view)
Assembly for 1.cpp
Re-uploaded 1.s.
--
alexey at feldgendler dot ru changed:
What|Removed
--- Comment #14 from alexey at feldgendler dot ru 2010-09-02 14:40 ---
Created an attachment (id=21665)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21665&action=view)
Assembly for 2.cpp
Re-uploaded 2.s.
--
alexey at feldgendler dot ru changed:
What|Removed
--- Comment #13 from rguenth at gcc dot gnu dot org 2010-09-02 12:56
---
It works for me on x86_64-linux-gnu.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496
--- Comment #12 from alexey at feldgendler dot ru 2010-09-02 12:13 ---
Could it be specific to x86_64-linux-gnu?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496
--- Comment #11 from alexey at feldgendler dot ru 2010-09-02 12:04 ---
Attached cgraph dump from "/usr/lib/gcc/x86_64-linux-gnu/4.5.1/lto1
-fdump-ipa-cgraph 1.o 2.o". For some reason, though, lto1 creates only one dump
file, and that only covers its first input infile.
--
http://gcc
--- Comment #10 from alexey at feldgendler dot ru 2010-09-02 11:59 ---
Created an attachment (id=21662)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21662&action=view)
-fdump-ipa-cgraph from LTO pass
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496
--- Comment #9 from alexey at feldgendler dot ru 2010-09-02 11:57 ---
Output of lto1 without -quiet:
$ /usr/lib/gcc/x86_64-linux-gnu/4.5.1/lto1 1.o 2.o
Performing interprocedural optimizations
Assembling functions:
main
Execution times (seconds)
TOTAL : 0.00
--- Comment #8 from alexey at feldgendler dot ru 2010-09-02 11:40 ---
Attached assembler files generated for 1.cpp and 2.cpp, as well as the
assembler file generated by the LTO pass. As can be seen from the latter,
_Z6callmev is referenced but not defined.
--
http://gcc.gnu.org/bugz
--- Comment #7 from alexey at feldgendler dot ru 2010-09-02 11:38 ---
Created an attachment (id=21660)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21660&action=view)
Assembly after LTO for entire program
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-09-02 11:38 ---
It works for me with 4.5.0, 4.5.1 and current trunk.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496
--- Comment #5 from alexey at feldgendler dot ru 2010-09-02 11:35 ---
Created an attachment (id=21658)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21658&action=view)
Assembly for 2.cpp
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496
--- Comment #4 from alexey at feldgendler dot ru 2010-09-02 11:35 ---
Created an attachment (id=21657)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21657&action=view)
Assembly for 1.cpp
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496
--- Comment #3 from alexey at feldgendler dot ru 2010-09-02 11:31 ---
Output of "gcc-4.5 -v 1.cpp 2.cpp":
$ g++-4.5 -v -flto 1.cpp 2.cpp
Using built-in specs.
COLLECT_GCC=g++-4.5
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.5.1/lto-wrapper
Target: x86_64-linux-gnu
Configured with
--- Comment #2 from alexey at feldgendler dot ru 2010-09-02 11:27 ---
Created an attachment (id=21656)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21656&action=view)
TC (2.cpp)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496
--- Comment #1 from alexey at feldgendler dot ru 2010-09-02 11:27 ---
Created an attachment (id=21655)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21655&action=view)
TC (file 1)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496
18 matches
Mail list logo