public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hans dot buchmann at fhso dot ch" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/13866] New:  internal compiler error: in extract_insn, at recog.c:2083
Date: Mon, 26 Jan 2004 16:43:00 -0000	[thread overview]
Message-ID: <20040126164244.13866.hans.buchmann@fhso.ch> (raw)

compiling the code

# 1 "<built-in>"
# 1 "<command line>"
# 1 "./bug.cc"





class Tester
{
 static Tester tester;
 unsigned char dst[100];
 unsigned char src[100];
 Tester();
};

Tester Tester::tester;

Tester::Tester()
{
 for(unsigned i=0;i<3;i++)
 {
  __builtin_memcpy(dst,src,50);
 }
}

with 

 /home/buchmann/cvs/eo3s/tc/bin/arm-elf-g++ -v -save-temps   -O3 -c -o
test/mem-move-3.o ./bug.ii

generates the output

Reading specs from /home/buchmann/cvs/arm/gcc-3.4/bin/../lib/gcc/arm-elf/3.4.0/specs
Configured with: /home/buchmann/cvs/dist/gcc-3.4-20040114/configure -v
--prefix=/home/buchmann/cvs/arm/gcc-3.4/ --target=arm-elf
--enable-languages=c,c++ --disable-threads --without-headers --with-newlib
Thread model: single
gcc version 3.4.0 20040114 (experimental)
 /home/buchmann/cvs/arm/gcc-3.4/bin/../libexec/gcc/arm-elf/3.4.0/cc1plus
-fpreprocessed ./bug.ii -quiet -dumpbase bug.ii -auxbase-strip test/mem-move-3.o
-O3 -version -o bug.s
GNU C++ version 3.4.0 20040114 (experimental) (arm-elf)
        compiled by GNU C version 2.95.1 19990816 (release).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
./bug.cc: In constructor `Tester::Tester()':
./bug.cc:22: error: unrecognizable insn:
(insn:HI 35 34 36 1 (parallel [
            (set:SI (reg/f:SI 82 [ this ])
                (plus:SI (reg/f:SI 80 [ this ])
                    (const_int 16 [0x10])))
            (set (mem:SI (reg/f:SI 80 [ this ]) [0 S4 A32])
                (reg:SI 0 r0))
            (set (mem:SI (plus:SI (reg/f:SI 80 [ this ])
                        (const_int 4 [0x4])) [0 S4 A32])
                (reg:SI 1 r1))
            (set (mem:SI (plus:SI (reg/f:SI 80 [ this ])
                        (const_int 8 [0x8])) [0 S4 A32])
                (reg:SI 2 r2))
            (set (mem:SI (plus:SI (reg/f:SI 80 [ this ])
                        (const_int 12 [0xc])) [0 S4 A32])
                (reg:SI 3 r3))
        ]) -1 (insn_list 33 (insn_list 34 (insn_list 34 (insn_list 34 (insn_list
34 (nil))))))
    (expr_list:REG_DEAD (reg:SI 3 r3)
        (expr_list:REG_DEAD (reg:SI 2 r2)
            (expr_list:REG_DEAD (reg:SI 1 r1)
                (expr_list:REG_DEAD (reg:SI 0 r0)
                    (expr_list:REG_UNUSED (reg/f:SI 82 [ this ])
                        (nil)))))))
./bug.cc:22: internal compiler error: in extract_insn, at recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary:  internal compiler error: in extract_insn, at
                    recog.c:2083
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hans dot buchmann at fhso dot ch
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-elf


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


             reply	other threads:[~2004-01-26 16:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-26 16:43 hans dot buchmann at fhso dot ch [this message]
2004-01-26 17:45 ` [Bug target/13866] ICE " bangerth at dealii dot org
2004-01-26 18:26 ` hans dot buchmann at fhso dot ch
2004-01-30 23:53 ` dhazeghi at yahoo dot com
2004-01-31  0:03 ` [Bug target/13866] [3.4 regression] " dhazeghi at yahoo dot com
2004-01-31  0:12 ` [Bug target/13866] [3.4/3.5 " pinskia at gcc dot gnu dot org
2004-02-06 11:27 ` rearnsha at gcc dot gnu dot org
2004-02-18 18:43 ` cvs-commit at gcc dot gnu dot org
2004-02-18 18:44 ` cvs-commit at gcc dot gnu dot org
2004-02-18 18:46 ` rearnsha at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040126164244.13866.hans.buchmann@fhso.ch \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).