public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/9607: problem with PowerPC compiler with special optimization switches
@ 2003-02-20 20:57 dje
0 siblings, 0 replies; 2+ messages in thread
From: dje @ 2003-02-20 20:57 UTC (permalink / raw)
To: dje, gcc-bugs, gcc-prs, lars, nobody
Synopsis: problem with PowerPC compiler with special optimization switches
Responsible-Changed-From-To: unassigned->dje
Responsible-Changed-By: dje
Responsible-Changed-When: Thu Feb 20 20:57:27 2003
Responsible-Changed-Why:
PowerPC
State-Changed-From-To: open->closed
State-Changed-By: dje
State-Changed-When: Thu Feb 20 20:57:27 2003
State-Changed-Why:
This is a known problem with -mstring which is fixed in GCC 3.3 and above.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9607
^ permalink raw reply [flat|nested] 2+ messages in thread
* optimization/9607: problem with PowerPC compiler with special optimization switches
@ 2003-02-07 0:26 lars
0 siblings, 0 replies; 2+ messages in thread
From: lars @ 2003-02-07 0:26 UTC (permalink / raw)
To: gcc-gnats
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 5041 bytes --]
>Number: 9607
>Category: optimization
>Synopsis: problem with PowerPC compiler with special optimization switches
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 07 00:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Lars Göran Larsson
>Release: 3.2.2
>Organization:
>Environment:
gcc-3.2.2/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=powerpc-linux-gnu --prefix=/home/ppc/cdk --with-cpu=823 --enable-target-optspace --enable-languages=c,c++ --enable-shared --enable-threads --disable-nls --nfp
>Description:
When compiling for PowerPC with following options
powerpc-gcc-3.2.2 -O -msoft-float -mstring -fforce-addr
and following C file with the below line
2
resulting "Internal compiler error"
Removing any of above switches the error does not occur.
>How-To-Repeat:
Build a powerpc cross compiler with above configuration
create a C file with "void prt(char *fmt,...) { }" line.
And compile it with above switches...
>Fix:
Sorry, unknown how the compiler works or if any of the compiler switches has any conflicts against each other.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="err.txt"
Content-Disposition: inline; filename="err.txt"
Reading specs from /home/tuxbox/dbox2/cdk/lib/gcc-lib/powerpc-tuxbox-linux-gnu/3.2.2/specs
Configured with: ../gcc-3.2.2/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=powerpc-tuxbox-linux-gnu --prefix=/home/tuxbox/dbox2/cdk --with-cpu=823 --enable-target-optspace --enable-languages=c,c++ --enable-shared --enable-threads --disable-nls --nfp
Thread model: posix
gcc version 3.2.2
/home/tuxbox/dbox2/cdk/lib/gcc-lib/powerpc-tuxbox-linux-gnu/3.2.2/cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=2 -D__GXX_ABI_VERSION=102 -DPPC -D__ELF__ -Dpowerpc -D__PPC__ -D__ELF__ -D__powerpc__ -D__PPC -D__powerpc -Acpu=powerpc -Amachine=powerpc -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -D_CALL_SYSV -D_SOFT_FLOAT -D_BIG_ENDIAN -D__BIG_ENDIAN__ -Amachine=bigendian -D_ARCH_PPC -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=unix -Asystem=posix err.c -quiet -dumpbase err.c -msoft-float -mstring -O -version -fforce-addr -o /tmp/ccPrLoPT.s
GNU CPP version 3.2.2 (cpplib) (PowerPC GNU/Linux)
GNU C version 3.2.2 (powerpc-tuxbox-linux-gnu)
compiled by GNU C version 2.95.4 20011002 (Debian prerelease).
ignoring nonexistent directory "/home/tuxbox/dbox2/cdk/powerpc-tuxbox-linux-gnu/sys-include"
#include "..." search starts here:
#include <...> search starts here:
/home/tuxbox/dbox2/cdk/include
/home/tuxbox/dbox2/cdk/lib/gcc-lib/powerpc-tuxbox-linux-gnu/3.2.2/include
/home/tuxbox/dbox2/cdk/powerpc-tuxbox-linux-gnu/include
End of search list.
err.c: In function `prt':
err.c:3: unrecognizable insn:
(insn 17 16 20 (parallel[
(set (mem:SI (reg/f:SI 115) [0 S4 A32])
(reg:SI 4 r4))
(clobber (scratch:SI))
(set (mem:SI (reg/f:SI 116) [0 S4 A32])
(reg:SI 5 r5))
(set (mem:SI (reg/f:SI 117) [0 S4 A32])
(reg:SI 6 r6))
(set (mem:SI (reg/f:SI 118) [0 S4 A32])
(reg:SI 7 r7))
(set (mem:SI (reg/f:SI 119) [0 S4 A32])
(reg:SI 8 r8))
(set (mem:SI (reg/f:SI 120) [0 S4 A32])
(reg:SI 9 r9))
(set (mem:SI (reg/f:SI 121) [0 S4 A32])
(reg:SI 10 r10))
] ) -1 (insn_list 4 (insn_list 6 (insn_list 8 (insn_list 10 (insn_list 12 (insn_list 14 (insn_list 16 (nil))))))))
(expr_list:REG_DEAD (reg:SI 10 r10)
(expr_list:REG_DEAD (reg/f:SI 121)
(expr_list:REG_DEAD (reg:SI 9 r9)
(expr_list:REG_DEAD (reg/f:SI 120)
(expr_list:REG_DEAD (reg:SI 8 r8)
(expr_list:REG_DEAD (reg/f:SI 119)
(expr_list:REG_DEAD (reg:SI 7 r7)
(expr_list:REG_DEAD (reg/f:SI 118)
(expr_list:REG_DEAD (reg:SI 6 r6)
(expr_list:REG_DEAD (reg/f:SI 117)
(expr_list:REG_DEAD (reg:SI 5 r5)
(expr_list:REG_DEAD (reg/f:SI 116)
(expr_list:REG_DEAD (reg:SI 4 r4)
(expr_list:REG_DEAD (reg/f:SI 115)
(expr_list:REG_UNUSED (scratch:SI)
(nil)))))))))))))))))
err.c:3: Internal compiler error in extract_insn, at recog.c:2148
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-20 20:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-20 20:57 optimization/9607: problem with PowerPC compiler with special optimization switches dje
-- strict thread matches above, loose matches on Subject: below --
2003-02-07 0:26 lars
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).