[Bug rtl-optimization/45813] alias analysis problem ?

2010-09-29 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45813 --- Comment #10 from Mikael Pettersson 2010-09-29 20:59:17 UTC --- This was fixed for 4.6 by r160260: http://gcc.gnu.org/viewcvs?view=revision&revision=160260 Applying that to 4.5 changes 4.5's output to: ReadLE16U: push{r7, lr}

[Bug rtl-optimization/45813] alias analysis problem ?

2010-09-29 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45813 --- Comment #9 from Mikael Pettersson 2010-09-29 19:41:08 UTC --- I can reproduce it with crosses to arm-elf and arm-linux-gnueabi. The combination of -mthumb (1 not 2) and -fno-omit-frame-pointer is the trigger. GCC 4.3.5 works, 4.4 and 4.5 gen

[Bug rtl-optimization/45813] alias analysis problem ?

2010-09-29 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45813 Richard Guenther changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever Confirmed|1

[Bug rtl-optimization/45813] alias analysis problem ?

2010-09-29 Thread darrenrjenkins at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45813 --- Comment #7 from Darren Jenkins 2010-09-29 07:46:54 UTC --- OK CrossWorks don't use/ship the GCC compiler driver. So I guess all the usefull information I can give is from the c compiler: cc1 --version GNU C (GCC) version 4.4.4 (arm-unknown-e

[Bug rtl-optimization/45813] alias analysis problem ?

2010-09-28 Thread darrenrjenkins at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45813 --- Comment #6 from Darren Jenkins 2010-09-29 03:55:39 UTC --- Also if I don't use -fno-omit-frame-pointer the code seems to be generated correctly

[Bug rtl-optimization/45813] alias analysis problem ?

2010-09-28 Thread darrenrjenkins at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45813 --- Comment #5 from Darren Jenkins 2010-09-29 03:33:27 UTC --- > Please show us the output of "gcc -v", we want to see how the compiler was > configured (wrt certain defaults etc). Also, when you invoke the compiler we > want to see the exact op

[Bug rtl-optimization/45813] alias analysis problem ?

2010-09-28 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45813 --- Comment #4 from Mikael Pettersson 2010-09-28 23:21:27 UTC --- Please show us the output of "gcc -v", we want to see how the compiler was configured (wrt certain defaults etc). Also, when you invoke the compiler we want to see the exact optio

[Bug rtl-optimization/45813] alias analysis problem ?

2010-09-28 Thread darrenrjenkins at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45813 --- Comment #3 from Darren Jenkins 2010-09-28 23:07:08 UTC --- unsigned short ReadLE16U( volatile unsigned char * ptr ) { unsigned short value; unsigned char * bytes = (unsigned char *)&value; bytes[0] = ptr[0]; bytes[1] = ptr[1]

[Bug rtl-optimization/45813] alias analysis problem ?

2010-09-28 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45813 Mikael Pettersson changed: What|Removed |Added CC||mikpe at it dot uu.se --- Comment #2

[Bug rtl-optimization/45813] alias analysis problem ?

2010-09-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45813 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|