[Bug c/44537] New: gcc produces bad MIPS jumps (in large C files)

2010-06-14 Thread wesley at terpstra dot ca
4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: wesley at terpstra dot ca GCC build triplet: mips-unknown-linux-gnu GCC host triplet: mips-unknown-linux-gnu GCC target t

[Bug c/44537] gcc produces bad MIPS jumps (in large C files)

2010-06-14 Thread wesley at terpstra dot ca
--- Comment #1 from wesley at terpstra dot ca 2010-06-14 15:53 --- Created an attachment (id=20908) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20908&action=view) Pre-processed example file with bad branches. Compile as described in the initial bug report. --

[Bug c/44537] gcc produces bad MIPS jumps (in large C files)

2010-06-14 Thread wesley at terpstra dot ca
--- Comment #3 from wesley at terpstra dot ca 2010-06-14 16:40 --- (sid)terps...@gabrielli:~/mlton/mlton-20100608$ as -v GNU assembler version 2.20.1 (mips-linux-gnu) using BFD version (GNU Binutils for Debian) 2.20.1-system.20100303 ... is the %got($L894) supposed to cover the case

[Bug target/44537] gcc produces bad MIPS jumps (in large C files)

2010-06-14 Thread wesley at terpstra dot ca
--- Comment #4 from wesley at terpstra dot ca 2010-06-14 17:22 --- Created an attachment (id=20909) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20909&action=view) Libraries needed to demonstrate the problem in a linked program To be able to run the complete program: g

[Bug target/44537] gcc produces bad MIPS jumps (in large C files)

2010-06-14 Thread wesley at terpstra dot ca
--- Comment #5 from wesley at terpstra dot ca 2010-06-14 17:25 --- In case it is a binutils problem, I've attached a '.a' file sufficient to fully link the program. To get to the problem jump is pretty easy: gdb ./mlyacc.bad break Chunk6 run s OUTPUT: 2926