public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/13043] New: amd64: internal compiler error: in extract_insn, at recog.c:2175
@ 2003-11-13 22:56 nomura at netapp dot com
  2003-11-13 23:09 ` [Bug c/13043] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: nomura at netapp dot com @ 2003-11-13 22:56 UTC (permalink / raw)
  To: gcc-bugs

Problem goes away if -march=i686 is not specified.

[siml4]$ xgcc-amd -v -save-temps -O2 -march=i686 xx.c
Reading specs from /u/nomura/dl/gcc-3.3.2_amd_linux/gcc/specs
Configured with: ../gcc-3.3.2/configure --target=x86_64-unknown-linux
-enable-languages=c --disable-multilib
Thread model: posix
gcc version 3.3.2
 /u/nomura/dl/gcc-3.3.2_amd_linux/gcc/cc1 -E -quiet -v -iprefix
/u/nomura/dl/gcc-3.3.2_amd_linux/gcc/../lib/gcc-lib/x86_64-unknown-linux/3.3.2/
-isystem /u/nomura/dl/gcc-3.3.2_amd_linux/gcc/include -D__GNUC__=3
-D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=2 xx.c -march=i686 -O2 xx.i
ignoring nonexistent directory
"/u/nomura/dl/gcc-3.3.2_amd_linux/lib/gcc-lib/x86_64-unknown-linux/3.3.2/include"
ignoring nonexistent directory
"/u/nomura/dl/gcc-3.3.2_amd_linux/lib/gcc-lib/x86_64-unknown-linux/3.3.2/../../../../x86_64-unknown-linux/sys-include"
ignoring nonexistent directory
"/u/nomura/dl/gcc-3.3.2_amd_linux/lib/gcc-lib/x86_64-unknown-linux/3.3.2/../../../../x86_64-unknown-linux/include"
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory
"/usr/local/lib/gcc-lib/x86_64-unknown-linux/3.3.2/include"
ignoring nonexistent directory "/usr/local/x86_64-unknown-linux/sys-include"
ignoring nonexistent directory "/usr/local/x86_64-unknown-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /u/nomura/dl/gcc-3.3.2_amd_linux/gcc/include
End of search list.
 /u/nomura/dl/gcc-3.3.2_amd_linux/gcc/cc1 -fpreprocessed xx.i -quiet -dumpbase
xx.c -march=i686 -auxbase xx -O2 -version -o xx.s
GNU C version 3.3.2 (x86_64-unknown-linux)
        compiled by GNU C version 3.2 20020903 (Red Hat Linux 8.0 3.2-7).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
xx.c: In function `foo':
xx.c:5: error: unrecognizable insn:
(insn:HI 49 48 26 0 (nil) (set (reg:SI 58)
        (plus:SI (mult:SI (reg:SI 58)
                (const_int 4 [0x4]))
            (const_int -2 [0xfffffffffffffffe]))) -1 (insn_list 48 (nil))
    (nil))
xx.c:5: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
[siml4]$ 


[siml4]$ cat xx.i
# 1 "xx.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "xx.c"
int foo (int i) {
        if (i)
                return 2;
        return -2;
}

-- 
           Summary: amd64: internal compiler error: in extract_insn, at
                    recog.c:2175
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nomura at netapp dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i386-redhat-linux
GCC target triplet: x86_64-unknown-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13043


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

* [Bug c/13043] amd64: internal compiler error: in extract_insn, at recog.c:2175
  2003-11-13 22:56 [Bug c/13043] New: amd64: internal compiler error: in extract_insn, at recog.c:2175 nomura at netapp dot com
@ 2003-11-13 23:09 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-13 23:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-13 23:09 -------
This is a dup of bug 12584, which is fixed on the mainline by reject that option.

*** This bug has been marked as a duplicate of 12584 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13043


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

end of thread, other threads:[~2003-11-13 23:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-13 22:56 [Bug c/13043] New: amd64: internal compiler error: in extract_insn, at recog.c:2175 nomura at netapp dot com
2003-11-13 23:09 ` [Bug c/13043] " pinskia at gcc dot gnu dot org

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