public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/21691] New: ICE in reload_cse_simplify_operands, at postreload.c:391 (ARM -mthumb -Os)
@ 2005-05-21  2:44 radford at indigita dot com
  2005-05-21  2:45 ` [Bug c/21691] " radford at indigita dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: radford at indigita dot com @ 2005-05-21  2:44 UTC (permalink / raw)
  To: gcc-bugs

The following fails, while adding -fno-inline or -O[012345] or removing -mthumb
or reverting to 3.3.2 makes it work.

$ arm-elf-gcc -c -mthumb -Os  arm-thumb-Os-inline-bug.c
arm-thumb-Os-inline-bug.c: In function `show':
arm-thumb-Os-inline-bug.c:24: error: insn does not satisfy its constraints:
(insn:HI 43 132 44 3 (set (reg:SI 3 r3 [86])
        (mem:SI (plus:SI (reg:SI 2 r2 [114])
                (reg/f:SI 13 sp)) [3 S4 A32])) 126 {*thumb_movsi_insn} (nil)
    (expr_list:REG_EQUIV (mem:SI (plus:SI (reg:SI 2 r2 [114])
                (reg/f:SI 13 sp)) [3 S4 A32])
        (nil)))
arm-thumb-Os-inline-bug.c:24: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:391

$ arm-elf-gcc -v
Reading specs from /usr/lib/gcc/arm-elf/3.4.4/specs
Configured with: ../source-tree/gcc-3.4.4/configure --host=i686-pc-linux-gnu
--target=arm-elf --enable-languages=c --with-cpu=arm9tdmi --prefix=/usr
--with-gxx-include-dir=/usr/arm-elf/include/g++-v3
--includedir=/usr/arm-elf/include
--with-headers=/source-tree/gcc-3.4.4/gcc/gincludes --enable-multilib
--enable-big-endian --enable-interwork
Thread model: single
gcc version 3.4.4

-- 
           Summary: ICE in reload_cse_simplify_operands, at postreload.c:391
                    (ARM -mthumb -Os)
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: radford at indigita dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-elf


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


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

* [Bug c/21691] ICE in reload_cse_simplify_operands, at postreload.c:391 (ARM -mthumb -Os)
  2005-05-21  2:44 [Bug c/21691] New: ICE in reload_cse_simplify_operands, at postreload.c:391 (ARM -mthumb -Os) radford at indigita dot com
@ 2005-05-21  2:45 ` radford at indigita dot com
  2005-05-21  2:47 ` radford at indigita dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: radford at indigita dot com @ 2005-05-21  2:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From radford at indigita dot com  2005-05-21 02:45 -------
Created an attachment (id=8941)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8941&action=view)
file that triggers the bug


-- 


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


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

* [Bug c/21691] ICE in reload_cse_simplify_operands, at postreload.c:391 (ARM -mthumb -Os)
  2005-05-21  2:44 [Bug c/21691] New: ICE in reload_cse_simplify_operands, at postreload.c:391 (ARM -mthumb -Os) radford at indigita dot com
  2005-05-21  2:45 ` [Bug c/21691] " radford at indigita dot com
@ 2005-05-21  2:47 ` radford at indigita dot com
  2005-05-21  2:49 ` radford at indigita dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: radford at indigita dot com @ 2005-05-21  2:47 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |3.4.1 3.4.4
      Known to work|                            |3.3.2


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


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

* [Bug c/21691] ICE in reload_cse_simplify_operands, at postreload.c:391 (ARM -mthumb -Os)
  2005-05-21  2:44 [Bug c/21691] New: ICE in reload_cse_simplify_operands, at postreload.c:391 (ARM -mthumb -Os) radford at indigita dot com
  2005-05-21  2:45 ` [Bug c/21691] " radford at indigita dot com
  2005-05-21  2:47 ` radford at indigita dot com
@ 2005-05-21  2:49 ` radford at indigita dot com
  2005-05-21  2:55 ` radford at indigita dot com
  2005-05-21  4:49 ` [Bug target/21691] " pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: radford at indigita dot com @ 2005-05-21  2:49 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


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


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

* [Bug c/21691] ICE in reload_cse_simplify_operands, at postreload.c:391 (ARM -mthumb -Os)
  2005-05-21  2:44 [Bug c/21691] New: ICE in reload_cse_simplify_operands, at postreload.c:391 (ARM -mthumb -Os) radford at indigita dot com
                   ` (2 preceding siblings ...)
  2005-05-21  2:49 ` radford at indigita dot com
@ 2005-05-21  2:55 ` radford at indigita dot com
  2005-05-21  4:49 ` [Bug target/21691] " pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: radford at indigita dot com @ 2005-05-21  2:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From radford at indigita dot com  2005-05-21 02:55 -------
Possibly duplicates bug 20810.

-- 


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


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

* [Bug target/21691] ICE in reload_cse_simplify_operands, at postreload.c:391 (ARM -mthumb -Os)
  2005-05-21  2:44 [Bug c/21691] New: ICE in reload_cse_simplify_operands, at postreload.c:391 (ARM -mthumb -Os) radford at indigita dot com
                   ` (3 preceding siblings ...)
  2005-05-21  2:55 ` radford at indigita dot com
@ 2005-05-21  4:49 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-21  4:49 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target


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


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

end of thread, other threads:[~2005-05-21  4:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-21  2:44 [Bug c/21691] New: ICE in reload_cse_simplify_operands, at postreload.c:391 (ARM -mthumb -Os) radford at indigita dot com
2005-05-21  2:45 ` [Bug c/21691] " radford at indigita dot com
2005-05-21  2:47 ` radford at indigita dot com
2005-05-21  2:49 ` radford at indigita dot com
2005-05-21  2:55 ` radford at indigita dot com
2005-05-21  4:49 ` [Bug target/21691] " 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).