public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/49877] New: [h8300] ICE in in reload_cse_simplify_operands: insn does not satisfy its constraints
@ 2011-07-27 18:33 lacombar at gmail dot com
  2011-07-27 18:45 ` [Bug target/49877] " lacombar at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: lacombar at gmail dot com @ 2011-07-27 18:33 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [h8300] ICE in in reload_cse_simplify_operands: insn
                    does not satisfy its constraints
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: lacombar@gmail.com


from: 

Using built-in specs.                                                           
COLLECT_GCC=/src/h8300/obj/destdir/bin/h8300-elf-gcc
COLLECT_LTO_WRAPPER=/src/h8300/obj/destdir/libexec/gcc/h8300-elf/4.7.0/lto-wrapper
Target: h8300-elf
Configured with: ../../../external/gpl/gcc/configure
--prefix=/src/h8300/obj/destdir --target=h8300-elf --enable-languages=c
Thread model: single
gcc version 4.7.0 20110726 (experimental) (GCC)


/src/linux/linux/lib/idr.c:431:1: error: insn does not satisfy its constraints:
(insn 107 418 108 11 (parallel [
            (set (cc0)
                (compare (zero_extract:SI (zero_extend:SI (mem/c:QI (plus:SI
(reg/f:SI 7 sp)
                                    (const_int 3 [0x3])) [0 %sfp+-33 S1 A8]))
                        (const_int 1 [0x1])
                        (and:SI (reg:SI 1 r1)
                            (const_int 7 [0x7])))
                    (const_int 0 [0])))
            (clobber (scratch:QI))
        ]) /data/src/linux/linux/lib/idr.c:374 112 {*tstsi_variable_bit_qi}
     (nil))
/src/linux/linux/lib/idr.c:431:1: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:403
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

and

/src/linux/linux/lib/vsprintf.c: In function 'number.isra___6':
/src/linux/linux/lib/vsprintf.c:396:1: error: insn does not satisfy its
constraints:
(insn 62 112 649 8 (set (mem/c/i:QI (plus:SI (reg/f:SI 7 sp)
                (const_int 127 [0x7f])) [0 ISRA___121+0 S1 A8])
        (and:QI (mem/c/i:QI (plus:SI (reg/f:SI 7 sp)
                    (const_int 127 [0x7f])) [0 ISRA___121+0 S1 A8])
            (const_int -2 [0xfffffffffffffffe])))
/src/linux/linux/lib/vsprintf.c:294 160 {andqi3_1}
     (nil))
/src/linux/linux/lib/vsprintf.c:396:1: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:403
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

testcases to come.


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

* [Bug target/49877] [h8300] ICE in in reload_cse_simplify_operands: insn does not satisfy its constraints
  2011-07-27 18:33 [Bug c/49877] New: [h8300] ICE in in reload_cse_simplify_operands: insn does not satisfy its constraints lacombar at gmail dot com
@ 2011-07-27 18:45 ` lacombar at gmail dot com
  2011-07-28  1:00 ` lacombar at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: lacombar at gmail dot com @ 2011-07-27 18:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Arnaud Lacombe <lacombar at gmail dot com> 2011-07-27 18:45:26 UTC ---
also triggering:

/src/linux/linux/drivers/input/mouse/synaptics.c:679:1: error: insn does not
satisfy its constraints:
(insn 274 1532 1533 23 (set (mem/c:QI (plus:SI (reg/f:SI 7 sp)
                (const_int 3 [0x3])) [0 %sfp+-41 S1 A8])
        (and:QI (mem/c:QI (plus:SI (reg/f:SI 7 sp)
                    (const_int 3 [0x3])) [0 %sfp+-41 S1 A8])
            (const_int 127 [0x7f])))
/src/linux/linux/drivers/input/mouse/synaptics.c:429 160 {andqi3_1}
     (nil)) 
/src/linux/linux/drivers/input/mouse/synaptics.c:679:1: internal compiler
error: in reload_cse_simplify_operands, at postreload.c:403
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug target/49877] [h8300] ICE in in reload_cse_simplify_operands: insn does not satisfy its constraints
  2011-07-27 18:33 [Bug c/49877] New: [h8300] ICE in in reload_cse_simplify_operands: insn does not satisfy its constraints lacombar at gmail dot com
  2011-07-27 18:45 ` [Bug target/49877] " lacombar at gmail dot com
@ 2011-07-28  1:00 ` lacombar at gmail dot com
  2011-07-28  1:02 ` lacombar at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: lacombar at gmail dot com @ 2011-07-28  1:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Arnaud Lacombe <lacombar at gmail dot com> 2011-07-28 01:00:03 UTC ---
Created attachment 24849
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24849
add non-reduced testcase

command to trigger the ICE:

% h8300-elf-gcc -O1 -mh -mint32 -c -o vsprintf.o vsprintf.i


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

* [Bug target/49877] [h8300] ICE in in reload_cse_simplify_operands: insn does not satisfy its constraints
  2011-07-27 18:33 [Bug c/49877] New: [h8300] ICE in in reload_cse_simplify_operands: insn does not satisfy its constraints lacombar at gmail dot com
  2011-07-27 18:45 ` [Bug target/49877] " lacombar at gmail dot com
  2011-07-28  1:00 ` lacombar at gmail dot com
@ 2011-07-28  1:02 ` lacombar at gmail dot com
  2011-07-28  1:07 ` lacombar at gmail dot com
  2015-02-05 17:21 ` law at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: lacombar at gmail dot com @ 2011-07-28  1:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Arnaud Lacombe <lacombar at gmail dot com> 2011-07-28 01:02:32 UTC ---
Created attachment 24850
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24850
non-reduced testcase

ldr.i: command to trigger the ICE: <same as above>


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

* [Bug target/49877] [h8300] ICE in in reload_cse_simplify_operands: insn does not satisfy its constraints
  2011-07-27 18:33 [Bug c/49877] New: [h8300] ICE in in reload_cse_simplify_operands: insn does not satisfy its constraints lacombar at gmail dot com
                   ` (2 preceding siblings ...)
  2011-07-28  1:02 ` lacombar at gmail dot com
@ 2011-07-28  1:07 ` lacombar at gmail dot com
  2015-02-05 17:21 ` law at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: lacombar at gmail dot com @ 2011-07-28  1:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Arnaud Lacombe <lacombar at gmail dot com> 2011-07-28 01:06:49 UTC ---
Created attachment 24851
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24851
non-reduced testcase

synaptics.i: command to trigger the ICE:

% h8300-elf-gcc -O2 -mh -mint32 -c -o synaptics.o synaptics.i

the ICE does not happen at -O1 or -Os.


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

* [Bug target/49877] [h8300] ICE in in reload_cse_simplify_operands: insn does not satisfy its constraints
  2011-07-27 18:33 [Bug c/49877] New: [h8300] ICE in in reload_cse_simplify_operands: insn does not satisfy its constraints lacombar at gmail dot com
                   ` (3 preceding siblings ...)
  2011-07-28  1:07 ` lacombar at gmail dot com
@ 2015-02-05 17:21 ` law at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: law at redhat dot com @ 2015-02-05 17:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49877

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |law at redhat dot com
         Resolution|---                         |DUPLICATE

--- Comment #5 from Jeffrey A. Law <law at redhat dot com> ---
Duplicate of 58400 which I committed a fix for today.

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


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

end of thread, other threads:[~2015-02-05 17:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-27 18:33 [Bug c/49877] New: [h8300] ICE in in reload_cse_simplify_operands: insn does not satisfy its constraints lacombar at gmail dot com
2011-07-27 18:45 ` [Bug target/49877] " lacombar at gmail dot com
2011-07-28  1:00 ` lacombar at gmail dot com
2011-07-28  1:02 ` lacombar at gmail dot com
2011-07-28  1:07 ` lacombar at gmail dot com
2015-02-05 17:21 ` law at redhat dot com

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