[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-06-02 Thread amodra at gcc dot gnu dot org
--- Comment #16 from amodra at gcc dot gnu dot org 2010-06-03 02:47 --- Subject: Bug 44169 Author: amodra Date: Thu Jun 3 02:47:11 2010 New Revision: 160206 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=160206 Log: PR target/44169 * config/rs6000/rs6000.md

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-06-02 Thread amodra at gcc dot gnu dot org
--- Comment #17 from amodra at gcc dot gnu dot org 2010-06-03 02:57 --- Subject: Bug 44169 Author: amodra Date: Thu Jun 3 02:57:19 2010 New Revision: 160207 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=160207 Log: PR target/44169 * config/rs6000/rs6000.md

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-06-02 Thread amodra at gcc dot gnu dot org
--- Comment #18 from amodra at gcc dot gnu dot org 2010-06-03 03:09 --- Subject: Bug 44169 Author: amodra Date: Thu Jun 3 03:08:32 2010 New Revision: 160208 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=160208 Log: PR target/44169 * config/rs6000/rs6000.md

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-06-02 Thread amodra at gmail dot com
--- Comment #19 from amodra at gmail dot com 2010-06-03 03:26 --- Fixed all active branches -- amodra at gmail dot com changed: What|Removed |Added

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-28 Thread amodra at gmail dot com
-- amodra at gmail dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |amodra at gmail dot com |dot org |

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-28 Thread amodra at gmail dot com
--- Comment #15 from amodra at gmail dot com 2010-05-28 13:16 --- Created an attachment (id=20768) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20768action=view) gcc-4.4 patch The underlying problem is that the load_toc_v4_PIC_1b rtl doesn't properly describe that its output

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-27 Thread amodra at gmail dot com
--- Comment #12 from amodra at gmail dot com 2010-05-28 02:28 --- This problem can be seen on powerpc-linux-gcc with the options -O1 -fPIC -ftls-model=initial-exec -misel. The error occurs between 172r.ira and 174r.postreload, not at 186r.dce as previously reported. -- amodra at

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-27 Thread amodra at gmail dot com
--- Comment #13 from amodra at gmail dot com 2010-05-28 02:31 --- Created an attachment (id=20765) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20765action=view) ok at this point -- amodra at gmail dot com changed: What|Removed |Added

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-27 Thread amodra at gmail dot com
--- Comment #14 from amodra at gmail dot com 2010-05-28 02:32 --- Created an attachment (id=20766) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20766action=view) broken here, see insn 27 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44169

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-21 Thread gcc at breakpoint dot cc
--- Comment #11 from gcc at breakpoint dot cc 2010-05-21 15:21 --- Reverting the change in PR39254 makes the issue go away. Any ideas? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44169

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-20 Thread segher at gcc dot gnu dot org
--- Comment #6 from segher at gcc dot gnu dot org 2010-05-20 12:10 --- I don't see the problem with 4.3 . Kyle, are you sure it doesn't happen for you with 4.4? I use powerpc-linux-gnuspe-gcc -Wall -W -O1 -pthread -ftls-model=initial-exec -mcpu=8540 -fPIC -S t.c -fverbose-asm paste

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-20 Thread Kyle dot D dot Moffett at boeing dot com
--- Comment #7 from Kyle dot D dot Moffett at boeing dot com 2010-05-20 12:17 --- Created an attachment (id=20707) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20707action=view) Assembled tc.c output from Debian-built powerpc-linux-gnuspe-gcc 4.3.4 --

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-20 Thread Kyle dot D dot Moffett at boeing dot com
--- Comment #8 from Kyle dot D dot Moffett at boeing dot com 2010-05-20 12:19 --- Created an attachment (id=20708) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20708action=view) Assembled tc.c output from Debian-built powerpc-linux-gnuspe-gcc 4.4.4 --

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-20 Thread Kyle dot D dot Moffett at boeing dot com
--- Comment #9 from Kyle dot D dot Moffett at boeing dot com 2010-05-20 12:29 --- Created an attachment (id=20710) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20710action=view) Assembled tc.c output from Debian-built powerpc-linux-gnuspe-gcc 4.4.2 --

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-20 Thread Kyle dot D dot Moffett at boeing dot com
--- Comment #10 from Kyle dot D dot Moffett at boeing dot com 2010-05-20 12:37 --- Ok, it looks like the bug was introduced in the 4.4 branch between 4.4.2 and 4.4.4, because my old GCC 4.4.2 compiler works, but the 4.4.4 I built yesterday after I noticed this report does not. If

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-19 Thread Kyle dot D dot Moffett at boeing dot com
--- Comment #5 from Kyle dot D dot Moffett at boeing dot com 2010-05-20 04:53 --- I am not able to reproduce this with a cross-compiling GCC 4.4.3 or 4.4.4 built from Debian sources. Configuration parameters for GCC 4.4.4 were: -v --with-pkgversion='Debian 4.4.4-2'

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-18 Thread segher at gcc dot gnu dot org
--- Comment #4 from segher at gcc dot gnu dot org 2010-05-18 08:26 --- Confirmed with current 4.4 branch and mainline. -mabi=nospe -mno=spe doesn't make the problem go away; only changing -mcpu does. -- segher at gcc dot gnu dot org changed: What|Removed

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-17 Thread gcc at breakpoint dot cc
--- Comment #1 from gcc at breakpoint dot cc 2010-05-17 15:44 --- Created an attachment (id=20683) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20683action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44169

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-17 Thread gcc at breakpoint dot cc
--- Comment #2 from gcc at breakpoint dot cc 2010-05-17 15:44 --- Created an attachment (id=20684) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20684action=view) rtl pass 185r.cprop_hardreg -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44169

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-17 Thread gcc at breakpoint dot cc
--- Comment #3 from gcc at breakpoint dot cc 2010-05-17 15:45 --- Created an attachment (id=20685) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20685action=view) rtl pass 186r.dce -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44169