[Bug middle-end/32820] optimizer malfunction when mixed with asm statements

2010-10-25 Thread siarhei.siamashka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32820 --- Comment #8 from Siarhei Siamashka siarhei.siamashka at gmail dot com 2010-10-25 10:17:47 UTC --- On the second thought, this bug was about global variables. But my problem is related to the use of local variables. So I have submitted a

[Bug middle-end/32820] optimizer malfunction when mixed with asm statements

2010-10-11 Thread siarhei.siamashka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32820 Siarhei Siamashka siarhei.siamashka at gmail dot com changed: What|Removed |Added CC|

[Bug middle-end/32820] optimizer malfunction when mixed with asm statements

2007-11-26 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2007-11-26 14:10 --- Thanks for the effort you have put into this. Your bug is probably fixed in GCC 4.3 (for which the entire dataflow module has been rewritten from scratch) but it probably still exists in GCC 4.2. As you have shown,

[Bug middle-end/32820] optimizer malfunction when mixed with asm statements

2007-08-09 Thread jbuehler at spirentcom dot com
--- Comment #4 from jbuehler at spirentcom dot com 2007-08-09 11:38 --- Created an attachment (id=14045) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14045action=view) gcc 4.0.4 global register variable optimizer patch The attached patch fixes the optimizer bug for gcc 4.0.4 and

[Bug middle-end/32820] optimizer malfunction when mixed with asm statements

2007-07-25 Thread jbuehler at spirentcom dot com
--- Comment #1 from jbuehler at spirentcom dot com 2007-07-25 13:09 --- This bug is also present in 4.0.1 for powerpc-ibm-aix5.2.0.0. Change the registers in the problematic code to r14, r15, r16, r17 -- one of the registers is not set by the optimized routine, but is by the

[Bug middle-end/32820] optimizer malfunction when mixed with asm statements

2007-07-25 Thread jbuehler at spirentcom dot com
--- Comment #2 from jbuehler at spirentcom dot com 2007-07-25 13:22 --- The same bug is present in the following versions of gcc for sparc-sun-solaris2.9: 2.95.3 2.95 3.0.2 3.0.4 3.1.1 3.2.3 3.3.6 3.4.6 4.0.1 4.0.4 4.1.2 4.2.0 Use registers l1, l2, l3, l4 in the sample code to

[Bug middle-end/32820] optimizer malfunction when mixed with asm statements

2007-07-25 Thread jbuehler at spirentcom dot com
--- Comment #3 from jbuehler at spirentcom dot com 2007-07-25 13:28 --- I would appreciate a fix for this because the code being compiled is the GHC compiler itself. I have to compile GHC for hppa without optimization because I have been unable to find a compiler options workaround for