[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

[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 non

[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

[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

[Bug c/32820] New: optimizer malfunction when mixed with asm statements

2007-07-19 Thread jbuehler at spirentcom dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jbuehler at spirentcom dot com GCC build triplet: hppa1.0-hp-hpux11.00 GCC host triplet: hppa1.0-hp-hpux11.00 GCC target triplet: hppa1.0-hp-hpux11.00 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32820