public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/58401] New: gcc for h8300 internal compiler error: insn does not satisfy its constraints at  fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler'
@ 2013-09-12  4:19 gang.chen at asianux dot com
  2013-09-12  4:20 ` [Bug c/58401] " gang.chen at asianux dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gang.chen at asianux dot com @ 2013-09-12  4:19 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58401
           Summary: gcc for h8300 internal compiler error: insn does not
                    satisfy its constraints at  fs/ocfs2/dlm/dlmdomain.c:
                    In function 'dlm_query_join_handler'
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gang.chen at asianux dot com

For Linux kernel next-20130828 version

The related command:

  /usr/local/bin/h8300-gchen-elf-gcc -Wp,-MD,fs/ocfs2/dlm/.dlmdomain.o.d 
-nostdinc -isystem /usr/local/lib/gcc/h8300-gchen-elf/4.9.0/include
-I/root/linux-next/arch/h8300/include -Iarch/h8300/include/generated  -Iinclude
-I/root/linux-next/arch/h8300/include/uapi -Iarch/h8300/include/generated/uapi
-I/root/linux-next/include/uapi -Iinclude/generated/uapi -include
/root/linux-next/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized -mh -mint32
-fno-builtin -g -D__linux__ -DUTS_SYSNAME=\"uClinux\" -fno-reorder-blocks
-fno-ipa-cp-clone -fno-partial-inlining -Wframe-larger-than=1024
-fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -g
-femit-struct-debug-baseonly -fno-var-tracking
-fno-inline-functions-called-once -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int
-Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -Ifs/ocfs2   -DMODULE 
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(dlmdomain)" 
-D"KBUILD_MODNAME=KBUILD_STR(ocfs2_dlm)" -c -o fs/ocfs2/dlm/.tmp_dlmdomain.o
fs/ocfs2/dlm/dlmdomain.c


The related issue:

fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler':
fs/ocfs2/dlm/dlmdomain.c:941:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 334 716 335 29 (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+-17 S1 A8]))
                        (const_int 1 [0x1])
                        (and:SI (reg:SI 1 r1 [+-3 ])
                            (const_int 7 [0x7])))
                    (const_int 0 [0])))
            (clobber (scratch:QI))
        ]) fs/ocfs2/dlm/dlmdomain.c:899 113 {*tstsi_variable_bit_qi}
     (nil))
fs/ocfs2/dlm/dlmdomain.c:941:1: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:411
0x8e0a95 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc-4.9.0/gcc/rtl-error.c:109
0x8e0abf _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc-4.9.0/gcc/rtl-error.c:120
0x89be7b reload_cse_simplify_operands
        ../../gcc-4.9.0/gcc/postreload.c:411
0x89da9c reload_cse_simplify
        ../../gcc-4.9.0/gcc/postreload.c:181
0x89da9c reload_cse_regs_1
        ../../gcc-4.9.0/gcc/postreload.c:220
0x89deab reload_cse_regs
        ../../gcc-4.9.0/gcc/postreload.c:68
0x89deab rest_of_handle_postreload
        ../../gcc-4.9.0/gcc/postreload.c:2332
0x89deab execute
        ../../gcc-4.9.0/gcc/postreload.c:2368
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [fs/ocfs2/dlm/dlmdomain.o] Error 1
make[2]: *** [fs/ocfs2/dlm] Error 2
make[1]: *** [fs/ocfs2] Error 2
make: *** [fs] Error 2


The gcc information:

[root@dhcp122 linux-next]# /usr/local/bin/h8300-gchen-elf-gcc -v
Using built-in specs.
COLLECT_GCC=/usr/local/bin/h8300-gchen-elf-gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/h8300-gchen-elf/4.9.0/lto-wrapper
Target: h8300-gchen-elf
Configured with: ../gcc-4.9.0/configure --without-header --disable-nls
--enable-language=c,c++ --disable-threads --disable-shared --enable-werror=no
target_configargs=enable_vtable_verify=yes --target=h8300-gchen-elf
Thread model: single
gcc version 4.9.0 20130910 (experimental) (GCC)


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

* [Bug c/58401] gcc for h8300 internal compiler error: insn does not satisfy its constraints at  fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler'
  2013-09-12  4:19 [Bug c/58401] New: gcc for h8300 internal compiler error: insn does not satisfy its constraints at fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler' gang.chen at asianux dot com
@ 2013-09-12  4:20 ` gang.chen at asianux dot com
  2013-09-12  4:25 ` gang.chen at asianux dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: gang.chen at asianux dot com @ 2013-09-12  4:20 UTC (permalink / raw)
  To: gcc-bugs

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

Chen Gang <gang.chen at asianux dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gang.chen at asianux dot com

--- Comment #1 from Chen Gang <gang.chen at asianux dot com> ---
If no '-Os', it will have no issue.

This bug may duplicate with Bug58400, but I am not quite sure, so send a new
bug for it.


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

* [Bug c/58401] gcc for h8300 internal compiler error: insn does not satisfy its constraints at  fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler'
  2013-09-12  4:19 [Bug c/58401] New: gcc for h8300 internal compiler error: insn does not satisfy its constraints at fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler' gang.chen at asianux dot com
  2013-09-12  4:20 ` [Bug c/58401] " gang.chen at asianux dot com
@ 2013-09-12  4:25 ` gang.chen at asianux dot com
  2013-09-12  4:27 ` gang.chen at asianux dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: gang.chen at asianux dot com @ 2013-09-12  4:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Chen Gang <gang.chen at asianux dot com> ---
Alos for "fs/ocfs2/dlm/dlmrecovery.c"


  /usr/local/bin/h8300-gchen-elf-gcc -Wp,-MD,fs/ocfs2/dlm/.dlmrecovery.o.d 
-nostdinc -isystem /usr/local/lib/gcc/h8300-gchen-elf/4.9.0/include
-I/root/linux-next/arch/h8300/include -Iarch/h8300/include/generated  -Iinclude
-I/root/linux-next/arch/h8300/include/uapi -Iarch/h8300/include/generated/uapi
-I/root/linux-next/include/uapi -Iinclude/generated/uapi -include
/root/linux-next/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized -mh -mint32
-fno-builtin -g -D__linux__ -DUTS_SYSNAME=\"uClinux\" -fno-reorder-blocks
-fno-ipa-cp-clone -fno-partial-inlining -Wframe-larger-than=1024
-fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -g
-femit-struct-debug-baseonly -fno-var-tracking
-fno-inline-functions-called-once -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int
-Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -Ifs/ocfs2   -DMODULE 
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(dlmrecovery)" 
-D"KBUILD_MODNAME=KBUILD_STR(ocfs2_dlm)" -c -o fs/ocfs2/dlm/.tmp_dlmrecovery.o
fs/ocfs2/dlm/dlmrecovery.c
fs/ocfs2/dlm/dlmrecovery.c: In function 'dlm_begin_reco_handler':
fs/ocfs2/dlm/dlmrecovery.c:2769:1: error: insn does not satisfy its
constraints:
 }
 ^
(insn 588 587 589 40 (parallel [
            (set (cc0)
                (compare (zero_extract:SI (zero_extend:SI (mem/c:QI (plus:SI
(reg/f:SI 7 sp)
                                    (const_int 4 [0x4])) [0 %sfp+-8 S1 A32]))
                        (const_int 1 [0x1])
                        (and:SI (reg:SI 3 r3 [orig:125 D.60588+-3 ] [125])
                            (const_int 7 [0x7])))
                    (const_int 0 [0])))
            (clobber (scratch:QI))
        ]) fs/ocfs2/dlm/dlmrecovery.c:2748 113 {*tstsi_variable_bit_qi}
     (nil))
fs/ocfs2/dlm/dlmrecovery.c:2769:1: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:411
0x8e0a95 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
    ../../gcc-4.9.0/gcc/rtl-error.c:109
0x8e0abf _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
    ../../gcc-4.9.0/gcc/rtl-error.c:120
0x89be7b reload_cse_simplify_operands
    ../../gcc-4.9.0/gcc/postreload.c:411
0x89da9c reload_cse_simplify
    ../../gcc-4.9.0/gcc/postreload.c:181
0x89da9c reload_cse_regs_1
    ../../gcc-4.9.0/gcc/postreload.c:220
0x89deab reload_cse_regs
    ../../gcc-4.9.0/gcc/postreload.c:68
0x89deab rest_of_handle_postreload
    ../../gcc-4.9.0/gcc/postreload.c:2332
0x89deab execute
    ../../gcc-4.9.0/gcc/postreload.c:2368
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [fs/ocfs2/dlm/dlmrecovery.o] Error 1
make[2]: *** [fs/ocfs2/dlm] Error 2
make[1]: *** [fs/ocfs2] Error 2
make: *** [fs] Error 2


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

* [Bug c/58401] gcc for h8300 internal compiler error: insn does not satisfy its constraints at  fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler'
  2013-09-12  4:19 [Bug c/58401] New: gcc for h8300 internal compiler error: insn does not satisfy its constraints at fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler' gang.chen at asianux dot com
  2013-09-12  4:20 ` [Bug c/58401] " gang.chen at asianux dot com
  2013-09-12  4:25 ` gang.chen at asianux dot com
@ 2013-09-12  4:27 ` gang.chen at asianux dot com
  2013-09-13  3:09 ` gang.chen at asianux dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: gang.chen at asianux dot com @ 2013-09-12  4:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Chen Gang <gang.chen at asianux dot com> ---
It has too many same issues (maybe they are duplicating), if necessary, I will
list them too (non-reply means not need list them).


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

* [Bug c/58401] gcc for h8300 internal compiler error: insn does not satisfy its constraints at  fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler'
  2013-09-12  4:19 [Bug c/58401] New: gcc for h8300 internal compiler error: insn does not satisfy its constraints at fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler' gang.chen at asianux dot com
                   ` (2 preceding siblings ...)
  2013-09-12  4:27 ` gang.chen at asianux dot com
@ 2013-09-13  3:09 ` gang.chen at asianux dot com
  2013-09-13  3:10 ` gang.chen at asianux dot com
  2013-09-13 20:44 ` law at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: gang.chen at asianux dot com @ 2013-09-13  3:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Chen Gang <gang.chen at asianux dot com> ---
Created attachment 30810
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30810&action=edit
the .i file for fs/ocfs2/dlm/dlmdomain.c (bzip2 compressed)

I put the related .i files in attachments, which need "bzip2 -d" to decompress.


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

* [Bug c/58401] gcc for h8300 internal compiler error: insn does not satisfy its constraints at  fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler'
  2013-09-12  4:19 [Bug c/58401] New: gcc for h8300 internal compiler error: insn does not satisfy its constraints at fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler' gang.chen at asianux dot com
                   ` (3 preceding siblings ...)
  2013-09-13  3:09 ` gang.chen at asianux dot com
@ 2013-09-13  3:10 ` gang.chen at asianux dot com
  2013-09-13 20:44 ` law at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: gang.chen at asianux dot com @ 2013-09-13  3:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Chen Gang <gang.chen at asianux dot com> ---
Created attachment 30811
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30811&action=edit
the .i file for fs/ocfs2/dlm/dlmrecovery.c (bzip2 compressed)


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

* [Bug c/58401] gcc for h8300 internal compiler error: insn does not satisfy its constraints at  fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler'
  2013-09-12  4:19 [Bug c/58401] New: gcc for h8300 internal compiler error: insn does not satisfy its constraints at fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler' gang.chen at asianux dot com
                   ` (4 preceding siblings ...)
  2013-09-13  3:10 ` gang.chen at asianux dot com
@ 2013-09-13 20:44 ` law at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: law at redhat dot com @ 2013-09-13 20:44 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #6 from Jeffrey A. Law <law at redhat dot com> ---
Same root cause as 58400.

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


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

end of thread, other threads:[~2013-09-13 20:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-12  4:19 [Bug c/58401] New: gcc for h8300 internal compiler error: insn does not satisfy its constraints at fs/ocfs2/dlm/dlmdomain.c: In function 'dlm_query_join_handler' gang.chen at asianux dot com
2013-09-12  4:20 ` [Bug c/58401] " gang.chen at asianux dot com
2013-09-12  4:25 ` gang.chen at asianux dot com
2013-09-12  4:27 ` gang.chen at asianux dot com
2013-09-13  3:09 ` gang.chen at asianux dot com
2013-09-13  3:10 ` gang.chen at asianux dot com
2013-09-13 20:44 ` 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).