public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13866] New:  internal compiler error: in extract_insn, at recog.c:2083
@ 2004-01-26 16:43 hans dot buchmann at fhso dot ch
  2004-01-26 17:45 ` [Bug target/13866] ICE " bangerth at dealii dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: hans dot buchmann at fhso dot ch @ 2004-01-26 16:43 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug target/13866] ICE in extract_insn, at recog.c:2083
  2004-01-26 16:43 [Bug c++/13866] New: internal compiler error: in extract_insn, at recog.c:2083 hans dot buchmann at fhso dot ch
@ 2004-01-26 17:45 ` bangerth at dealii dot org
  2004-01-26 18:26 ` hans dot buchmann at fhso dot ch
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bangerth at dealii dot org @ 2004-01-26 17:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-01-26 17:45 -------
I can't reproduce this on x86 linux (as host and target), so it must  
be a target dependent problem. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |target
           Keywords|                            |ice-on-valid-code
            Summary| internal compiler error: in|ICE in extract_insn, at
                   |extract_insn, at            |recog.c:2083
                   |recog.c:2083                |


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


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

* [Bug target/13866] ICE in extract_insn, at recog.c:2083
  2004-01-26 16:43 [Bug c++/13866] New: internal compiler error: in extract_insn, at recog.c:2083 hans dot buchmann at fhso dot ch
  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
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hans dot buchmann at fhso dot ch @ 2004-01-26 18:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hans dot buchmann at fhso dot ch  2004-01-26 18:26 -------
Subject: RE:  ICE in extract_insn, at recog.c:2083

The target ist arm-elf

Best regards 
H.Buchmann

 

-----Original Message-----
From: bangerth at dealii dot org
To: hans.buchmann@fhso.ch
Sent: 1/26/04 6:45 PM
Subject: [Bug target/13866] ICE in extract_insn, at recog.c:2083


------- Additional Comments From bangerth at dealii dot org  2004-01-26
17:45 -------
I can't reproduce this on x86 linux (as host and target), so it must  
be a target dependent problem. 
 
W. 

-- 
           What    |Removed                     |Added
------------------------------------------------------------------------
----
          Component|c++                         |target
           Keywords|                            |ice-on-valid-code
            Summary| internal compiler error: in|ICE in extract_insn, at
                   |extract_insn, at            |recog.c:2083
                   |recog.c:2083                |


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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


-- 


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


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

* [Bug target/13866] ICE in extract_insn, at recog.c:2083
  2004-01-26 16:43 [Bug c++/13866] New: internal compiler error: in extract_insn, at recog.c:2083 hans dot buchmann at fhso dot ch
  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
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-30 23:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2004-01-30 23:53 -------
Checking against current sources...

-- 


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


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

* [Bug target/13866] [3.4 regression] ICE in extract_insn, at recog.c:2083
  2004-01-26 16:43 [Bug c++/13866] New: internal compiler error: in extract_insn, at recog.c:2083 hans dot buchmann at fhso dot ch
                   ` (2 preceding siblings ...)
  2004-01-30 23:53 ` dhazeghi at yahoo dot com
@ 2004-01-31  0:03 ` dhazeghi at yahoo dot com
  2004-01-31  0:12 ` [Bug target/13866] [3.4/3.5 " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-31  0:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2004-01-31 00:03 -------
Confirmed to fail with current 3.4 branch. Works fine with 3.3 branch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|i686-pc-linux-gnu           |
   GCC host triplet|i686-pc-linux-gnu           |
      Known to fail|                            |3.4.0
      Known to work|                            |3.3.3
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-31 00:03:50
               date|                            |
            Summary|ICE in extract_insn, at     |[3.4 regression] ICE in
                   |recog.c:2083                |extract_insn, at
                   |                            |recog.c:2083
   Target Milestone|---                         |3.4.0


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


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

* [Bug target/13866] [3.4/3.5 regression] ICE in extract_insn, at recog.c:2083
  2004-01-26 16:43 [Bug c++/13866] New: internal compiler error: in extract_insn, at recog.c:2083 hans dot buchmann at fhso dot ch
                   ` (3 preceding siblings ...)
  2004-01-31  0:03 ` [Bug target/13866] [3.4 regression] " dhazeghi at yahoo dot com
@ 2004-01-31  0:12 ` pinskia at gcc dot gnu dot org
  2004-02-06 11:27 ` rearnsha at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-31  0:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-31 00:12 -------
Most likely also a 3.5.0 regression too.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.4 regression] ICE in     |[3.4/3.5 regression] ICE in
                   |extract_insn, at            |extract_insn, at
                   |recog.c:2083                |recog.c:2083


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


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

* [Bug target/13866] [3.4/3.5 regression] ICE in extract_insn, at recog.c:2083
  2004-01-26 16:43 [Bug c++/13866] New: internal compiler error: in extract_insn, at recog.c:2083 hans dot buchmann at fhso dot ch
                   ` (4 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2004-02-06 11:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rearnsha at gcc dot gnu dot org  2004-02-06 11:27 -------
I know what the problem is here.  Working on a fix.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2004-01-31 00:03:50         |2004-02-06 11:27:52
               date|                            |


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


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

* [Bug target/13866] [3.4/3.5 regression] ICE in extract_insn, at recog.c:2083
  2004-01-26 16:43 [Bug c++/13866] New: internal compiler error: in extract_insn, at recog.c:2083 hans dot buchmann at fhso dot ch
                   ` (5 preceding siblings ...)
  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
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-18 18:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-02-18 18:43 -------
Subject: Bug 13866

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	rearnsha@gcc.gnu.org	2004-02-18 18:43:30

Modified files:
	gcc            : ChangeLog 
	gcc/config/arm : arm.c 

Log message:
	PR target/13866
	* arm.c (load_multiple_operation): Don't insist that the source reg
	of a post-increment component is the same as the destination.
	(store_multiple_operation): Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.214&r2=2.2326.2.215
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/arm.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.317.4.3&r2=1.317.4.4



-- 


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


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

* [Bug target/13866] [3.4/3.5 regression] ICE in extract_insn, at recog.c:2083
  2004-01-26 16:43 [Bug c++/13866] New: internal compiler error: in extract_insn, at recog.c:2083 hans dot buchmann at fhso dot ch
                   ` (6 preceding siblings ...)
  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
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-18 18:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-02-18 18:44 -------
Subject: Bug 13866

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rearnsha@gcc.gnu.org	2004-02-18 18:44:24

Modified files:
	gcc            : ChangeLog 
	gcc/config/arm : arm.c 

Log message:
	PR target/13866
	* arm.c (load_multiple_operation): Don't insist that the source reg
	of a post-increment component is the same as the destination.
	(store_multiple_operation): Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.2825&r2=2.2826
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/arm.c.diff?cvsroot=gcc&r1=1.330&r2=1.331



-- 


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


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

* [Bug target/13866] [3.4/3.5 regression] ICE in extract_insn, at recog.c:2083
  2004-01-26 16:43 [Bug c++/13866] New: internal compiler error: in extract_insn, at recog.c:2083 hans dot buchmann at fhso dot ch
                   ` (7 preceding siblings ...)
  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
  8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2004-02-18 18:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rearnsha at gcc dot gnu dot org  2004-02-18 18:46 -------
Fixed in trunk and on 3.4 branch

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-02-18 18:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-26 16:43 [Bug c++/13866] New: internal compiler error: in extract_insn, at recog.c:2083 hans dot buchmann at fhso dot ch
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

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