--- Comment #17 from hjl dot tools at gmail dot com 2009-10-26 16:59
---
Revision 152433 is OK and revision 152642 is bad.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750
--- Comment #18 from hjl dot tools at gmail dot com 2009-10-26 19:19
---
This is another IPA-SRA bug.
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
--- Comment #12 from rainer at emrich-ebersheim dot de 2009-10-20 18:04
---
First of all, it's nearly impossible to create a short self contained test
case, at least for me. The function get_got in bfd/elf64-ia64.c shows the
issue.
Resolving the dependencies of this function is like
--- Comment #13 from rainer at emrich-ebersheim dot de 2009-10-20 18:13
---
Created an attachment (id=18841)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18841action=view)
preproccessed source
no-ipa-sra, no-inline
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750
--- Comment #14 from rainer at emrich-ebersheim dot de 2009-10-20 18:14
---
Created an attachment (id=18842)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18842action=view)
preproccessed source
ipa-sra, no-inline
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750
--- Comment #15 from rainer at emrich-ebersheim dot de 2009-10-20 18:15
---
Created an attachment (id=18843)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18843action=view)
assembler output
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750
--- Comment #16 from rainer at emrich-ebersheim dot de 2009-10-20 18:16
---
Created an attachment (id=18844)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18844action=view)
assembler output
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750
--- Comment #5 from rainer at emrich-ebersheim dot de 2009-10-19 14:46
---
works when build with -g -O0 and -g -O1.
fails when build with -g -O2 and -g -O3.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750
--- Comment #6 from jakub at gcc dot gnu dot org 2009-10-19 15:21 ---
Try also -g -O2 -fno-strict-aliasing, if that one works, look for aliasing
warnings.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750
--- Comment #7 from rainer at emrich-ebersheim dot de 2009-10-19 16:08
---
Subject: Re: gcc 4.5.0 miscompiles binutils
jakub at gcc dot gnu dot org wrote:
--- Comment #6 from jakub at gcc dot gnu dot org 2009-10-19 15:21 ---
Try also -g -O2 -fno-strict-aliasing, if that
--- Comment #8 from rainer at emrich-ebersheim dot de 2009-10-19 16:19
---
fails when build with -g -O1 -fipa-sra.
So, the ipa-sra pass causes the issue, no?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750
--- Comment #9 from rainer at emrich-ebersheim dot de 2009-10-19 16:30
---
build with -g -O1 -fipa-sra -fno-inline I get the following backtrace:
Core was generated by `ia64-unknown-linux-gnu-ld --verbose
--sysroot=/opt/devel/tec/setup/sys-root/Lin'.
Program terminated with signal 11,
--- Comment #10 from rainer at emrich-ebersheim dot de 2009-10-19 17:06
---
The line numbers in the traceback in comment #9 are completly bogus. I had to
upgrade my gdb to version 0.7. Now it looks much better:
Core was generated by `ia64-unknown-linux-gnu-ld --verbose
--- Comment #11 from rainer at emrich-ebersheim dot de 2009-10-19 17:24
---
verified that compiling only bfd/elf64-ia64.c with -fno-ipa-sra is sufficient
to get a working ia64-unknown-linux-gnu-ld.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750
14 matches
Mail list logo