This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/20928] [4.0/4.1 regression] ICE: unrecognizable insns with -fPIC -O1
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Oct 2005 13:50:55 -0000
- Subject: [Bug target/20928] [4.0/4.1 regression] ICE: unrecognizable insns with -fPIC -O1
- References: <bug-20928-260@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from pluto at agmk dot net 2005-10-19 13:50 -------
(In reply to comment #13)
> The testcase in comment #8 still triggers an ICE if run with -O -mtune=k8
> -fPIC.
>
it works with my patched gcc41:
(...)
.section .data.rel.ro,"aw",@progbits
.align 8
.LC1: .quad bar+2147483648
(...)
.text
foo: movq .LC1(%rip), %rdx
.L3: movq %rdx, (%rax)
addq $8, %rax
jne .L3
rep ; ret
(...)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20928