[Bug target/58092] BEQ (Branch on equal) jumps to wrong address (executes conditional code!)

2013-08-07 Thread zajec5 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58092 Rafał Miłecki changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #10 from Rafał Miłecki

[Bug target/58092] BEQ (Branch on equal) jumps to wrong address (executes conditional code!)

2013-08-07 Thread zajec5 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58092 Rafał Miłecki changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/58092] BEQ (Branch on equal) jumps to wrong address (executes conditional code!)

2013-08-07 Thread zajec5 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58092 --- Comment #8 from Rafał Miłecki --- I found link to bug repository on https://support.linaro.org/home and reported that issue to Linaro developers: https://bugs.launchpad.net/gcc-linaro/+bug/1209171 Hope they'll handle this.

[Bug target/58092] BEQ (Branch on equal) jumps to wrong address (executes conditional code!)

2013-08-07 Thread zajec5 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58092 --- Comment #7 from Rafał Miłecki --- I compiled two versions of gcc on my own: 1) gcc-4.6.4.tar.bz2 2) gcc-linaro-4.6-2012.12.tar.bz2 For both of them I've used binutils-2.22.tar.bz2 test.o compiled with gcc-4.6.4.tar.bz2 : 0: 240

[Bug target/58092] BEQ (Branch on equal) jumps to wrong address (executes conditional code!)

2013-08-06 Thread zajec5 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58092 --- Comment #6 from Rafał Miłecki --- OK, I've installed "cross-mips-linux-gcc" package from: http://download.opensuse.org/repositories/home:/duwe:/crosstools/openSUSE_12.2/ and it works. After compiling test.c with: > /opt/cross/bin/mips-linux-g

[Bug c/58092] BEQ (Branch on equal) jumps to wrong address (executes conditional code!)

2013-08-06 Thread zajec5 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58092 --- Comment #4 from Rafał Miłecki --- Created attachment 30619 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30619&action=edit test.i generated by adding -save-temps Hi Mikael! I added -save-temps at the end of my "mipsel-openwrt-linux-ucl

[Bug c/58092] BEQ (Branch on equal) jumps to wrong address (executes conditional code!)

2013-08-06 Thread zajec5 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58092 --- Comment #2 from Rafał Miłecki --- ### Decompiled object ### : 0: 24020002li v0,2 4: 24030004li v1,4 8: aca2sw v0,0(a1) c: 10830002beq a0,v1,18 10: 240200

[Bug c/58092] BEQ (Branch on equal) jumps to wrong address (executes conditional code!)

2013-08-06 Thread zajec5 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58092 --- Comment #1 from Rafał Miłecki --- Created attachment 30618 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30618&action=edit Compiled version of test.c Command I use to compile test.c: mipsel-openwrt-linux-uclibc-gcc \ -I arch/mips/inclu

[Bug c/58092] New: BEQ (Branch on equal) jumps to wrong address (executes conditional code!)

2013-08-06 Thread zajec5 at gmail dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zajec5 at gmail dot com Created attachment 30617 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30617&action=edit Minimal test case (ANSI C) In my code I'm using si