public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/8185: Internal compiler error with -march=i686
@ 2002-10-10  6:06 mo
  0 siblings, 0 replies; 2+ messages in thread
From: mo @ 2002-10-10  6:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         8185
>Category:       c
>Synopsis:       Internal compiler error with -march=i686
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 10 06:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Martin Opel <mo@obbl-net.de>
>Release:        gcc version 3.2 (CRUX)
>Organization:
>Environment:
glibc-2.2.5, CRUX Linux 0.9.4, Dell Optiplex GX-250 with a Pentium III 1GHz CPU.
>Description:
While trying to compile the GNU software recode-3.6 with CFLAGS="-O2 -march=i686 -pipe" an internal compiler error occurs. Without the -march=i686 optimization, the error does NOT occur.
>How-To-Repeat:
Look into the file Pkgfile to see how recode-3.6 is compiled. CFLAGS is set to "-O2 -march=i686 -pipe":

root@rfhpc8082:/usr/ports/unofficial/recode/work/src/recode-3.6/src # gcc -v -save-temps -I../libiconv/ -I. -O2 -march=i686 -c iconv.c
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: ../gcc-3.2/configure --prefix=/usr --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit --disable-nls
Thread model: posix
gcc version 3.2 (CRUX)
 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/cpp0 -lang-c -v -I../libiconv/ -I. -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=0 -D__GXX_ABI_VERSION=102 -D__ELF__ -Dunix -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -D__tune_i686__ -D__tune_pentiumpro__ iconv.c iconv.i
GNU CPP version 3.2 (CRUX) (cpplib) (i386 Linux/ELF)
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 ../libiconv
 .
 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/cc1 -fpreprocessed iconv.i -quiet -dumpbase iconv.c -march=i686 -O2 -version -o iconv.s
GNU CPP version 3.2 (CRUX) (cpplib) (i386 Linux/ELF)
GNU C version 3.2 (CRUX) (i686-pc-linux-gnu)
        compiled by GNU C version 3.2 (CRUX).
In file included from ../libiconv/gbk.h:44,
                 from ../libiconv/converters.h:184,
                 from iconv.c:49:
../libiconv/gbkext1.h: In function `gbkext1_mbtowc':
../libiconv/gbkext1.h:833: unrecognizable insn:
(insn 158 156 160 (set (reg:QI 83)
        (const_int 128 [0x80])) -1 (nil)
    (nil))
../libiconv/gbkext1.h:833: 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.
>Fix:
??
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="Pkgfile"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Pkgfile"

IyAkSWQ6IFBrZ2ZpbGUsdiAxLjEgMjAwMi8wOS8wNSAyMDozNDozNyBvcGVsIEV4cCAkCiMgRGVz
Y3JpcHRpb246IGNvbnZlcnQgZmlsZXMgYmV0d2VlbiBjaGFyYWN0ZXIgc2V0cwojIFBhY2thZ2Vy
OiBNYXJ0aW4gT3BlbCA8bWFydGluLm9wZWxAaW5mb3JtYXRpay5maC1yZWdlbnNidXJnLmRlPgoj
IFVSTDogaHR0cDovL3d3dy5nbnUub3JnL3NvZnR3YXJlL3JlY29kZS9yZWNvZGUuaHRtbAojIERl
cGVuZHMgb246CgpuYW1lPXJlY29kZQp2ZXJzaW9uPTMuNgpyZWxlYXNlPTEKc291cmNlPShodHRw
Oi8vZnRwLmdudS5vcmcvcHViL2dudS8kbmFtZS8kbmFtZS0kdmVyc2lvbi50YXIuZ3opCgpidWls
ZCgpIHsKCWNkICRuYW1lLSR2ZXJzaW9uCgkuL2NvbmZpZ3VyZSAtLXByZWZpeD0vdXNyIC0tZGlz
YWJsZS1ubHMKCW1ha2UKCW1ha2UgREVTVERJUj0kUEtHIGluc3RhbGwKCXJtIC1yZiAkUEtHL3Vz
ci9pbmZvCglzdHJpcCAkUEtHL3Vzci9iaW4vKgoJZ3ppcCAtOSAkUEtHL3Vzci9tYW4vbWFuPy8q
Cn0K


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c/8185: Internal compiler error with -march=i686
@ 2002-10-10 11:11 hubicka
  0 siblings, 0 replies; 2+ messages in thread
From: hubicka @ 2002-10-10 11:11 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mo, nobody

Synopsis: Internal compiler error with -march=i686

State-Changed-From-To: open->closed
State-Changed-By: hubicka
State-Changed-When: Thu Oct 10 11:11:23 2002
State-Changed-Why:
    Wrong file attached as testcase.  I remember fixing bug in the same file so hope it works now.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8185


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-10 18:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-10  6:06 c/8185: Internal compiler error with -march=i686 mo
2002-10-10 11:11 hubicka

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).