public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/44824]  New: [4.6 regression] internal compiler error: verify_stmts failed
@ 2010-07-05 16:06 jojelino at gmail dot com
  2010-07-05 16:07 ` [Bug regression/44824] " jojelino at gmail dot com
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: jojelino at gmail dot com @ 2010-07-05 16:06 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 6338 bytes --]

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-cygwin/4.6.0/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: ./configure --prefix=/usr --disable-win32-registry
--enable-threads=posix --enable-languages=c,c++ --with-win32-nlsapi=unicode
--enable-tls --disable-bootstrap --enable-shared --disable-sjlj-exceptions
Thread model: posix
gcc version 4.6.0 20100705 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-O2' '-I.' '-I.' '-I./common' '-I./config'
'-DLOCALEDIR="/usr/share/locale"' '-DHAVE_CONFIG_H' '-I./../include/opcode'
'-I./../opcodes/..' '-I./../readline/..' '-I../bfd-I./../bfd' '-I./../include'
'-I../libdecnumber' '-I./../libdecnumber' '-I./gnulib' '-Ignulib' '-DMI_OUT=1'
'-DTUI=1' '-I/usr/include' '-I/usr/include' '-Wall'
'-Wdeclaration-after-statement' '-Wpointer-arith' '-Wformat-nonliteral'
'-Wno-pointer-sign' '-Wno-unused' '-Wunused-value' '-Wunused-function'
'-Wno-switch' '-Wno-char-subscripts' '-c' '-o' 'py-inferior.o' '-MT'
'py-inferior.o' '-MMD' '-MP' '-MF' '.deps/py-inferior.Tpo'
'-fno-strict-aliasing' '-DNDEBUG' '-fwrapv' '-save-temps' '-v' '-mtune=generic'
'-march=pentiumpro'
 /usr/libexec/gcc/i686-pc-cygwin/4.6.0/cc1.exe -E -quiet -v -I. -I. -I./common
-I./config -I./../include/opcode -I./../opcodes/.. -I./../readline/..
-I../bfd-I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber
-I./gnulib -Ignulib -I/usr/include -I/usr/include -MMD py-inferior.d -MF
.deps/py-inferior.Tpo -MP -MT py-inferior.o -D__CYGWIN32__ -D__CYGWIN__ -Dunix
-D__unix__ -D__unix -idirafter
/usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/lib/../include/w32api
-idirafter
/usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/lib/../../include/w32api
-DLOCALEDIR="/usr/share/locale" -DHAVE_CONFIG_H -DMI_OUT=1 -DTUI=1 -DNDEBUG
./python/py-inferior.c -mtune=generic -march=pentiumpro -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts -fno-strict-aliasing -fwrapv -O2 -fpch-preprocess -o
py-inferior.i
ignoring duplicate directory "/usr/include"
ignoring duplicate directory
"/usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/lib/../../include/w32api"
ignoring duplicate directory "."
ignoring duplicate directory "./../readline/.."
ignoring duplicate directory "./../libdecnumber"
ignoring duplicate directory "gnulib"
ignoring duplicate directory "/usr/include"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/usr/include"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
 .
 ./common
 ./config
 ./../include/opcode
 ./../opcodes/..
 ../bfd-I./../bfd
 ./../include
 ../libdecnumber
 ./gnulib
 /usr/local/include
 /usr/lib/gcc/i686-pc-cygwin/4.6.0/include
 /usr/lib/gcc/i686-pc-cygwin/4.6.0/include-fixed
 /usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/include

/usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/lib/../include/w32api
End of search list.
COLLECT_GCC_OPTIONS='-O2' '-I.' '-I.' '-I./common' '-I./config'
'-DLOCALEDIR="/usr/share/locale"' '-DHAVE_CONFIG_H' '-I./../include/opcode'
'-I./../opcodes/..' '-I./../readline/..' '-I../bfd-I./../bfd' '-I./../include'
'-I../libdecnumber' '-I./../libdecnumber' '-I./gnulib' '-Ignulib' '-DMI_OUT=1'
'-DTUI=1' '-I/usr/include' '-I/usr/include' '-Wall'
'-Wdeclaration-after-statement' '-Wpointer-arith' '-Wformat-nonliteral'
'-Wno-pointer-sign' '-Wno-unused' '-Wunused-value' '-Wunused-function'
'-Wno-switch' '-Wno-char-subscripts' '-c' '-o' 'py-inferior.o' '-MT'
'py-inferior.o' '-MMD' '-MP' '-MF' '.deps/py-inferior.Tpo'
'-fno-strict-aliasing' '-DNDEBUG' '-fwrapv' '-save-temps' '-v' '-mtune=generic'
'-march=pentiumpro'
 /usr/libexec/gcc/i686-pc-cygwin/4.6.0/cc1.exe -fpreprocessed py-inferior.i
-quiet -dumpbase py-inferior.c -mtune=generic -march=pentiumpro -auxbase-strip
py-inferior.o -O2 -Wall -Wdeclaration-after-statement -Wpointer-arith
-Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value
-Wunused-function -Wno-switch -Wno-char-subscripts -version
-fno-strict-aliasing -fwrapv -o py-inferior.s
GNU C (GCC) version 4.6.0 20100705 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.6.0 20100704 (experimental), GMP version
5.0.0, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.6.0 20100705 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.6.0 20100704 (experimental), GMP version
5.0.0, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: eef17e2885340d50b76b2d9d39ad2cf9
./python/py-inferior.c: In function ‘infpy_get_was_attached’:
./python/py-inferior.c:728:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# VUSE <.MEM_18(D)>
D.25118_11 = MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt;

./python/py-inferior.c:728:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# .MEM_21 = VDEF <.MEM_18(D)>
MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt = D.25119_12;

./python/py-inferior.c:728:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# VUSE <.MEM_18(D)>
D.25121_15 = MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt;

./python/py-inferior.c:728:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# .MEM_22 = VDEF <.MEM_18(D)>
MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt = D.25122_16;

./python/py-inferior.c:728:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [4.6 regression] internal compiler error: verify_stmts
                    failed
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jojelino at gmail dot com


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


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

* [Bug regression/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
@ 2010-07-05 16:07 ` jojelino at gmail dot com
  2010-07-06 11:46 ` [Bug middle-end/44824] " rguenth at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: jojelino at gmail dot com @ 2010-07-05 16:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jojelino at gmail dot com  2010-07-05 16:07 -------
Created an attachment (id=21093)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21093&action=view)
preprocessed source


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
  2010-07-05 16:07 ` [Bug regression/44824] " jojelino at gmail dot com
@ 2010-07-06 11:46 ` rguenth at gcc dot gnu dot org
  2010-07-06 15:26 ` jojelino at gmail dot com
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-06 11:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-07-06 11:46 -------
I can't reproduce it with r161865. (on x86_64-linux with -m32)


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|regression                  |middle-end
   Target Milestone|---                         |4.6.0


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
  2010-07-05 16:07 ` [Bug regression/44824] " jojelino at gmail dot com
  2010-07-06 11:46 ` [Bug middle-end/44824] " rguenth at gcc dot gnu dot org
@ 2010-07-06 15:26 ` jojelino at gmail dot com
  2010-07-06 15:38 ` jojelino at gmail dot com
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: jojelino at gmail dot com @ 2010-07-06 15:26 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 6931 bytes --]



------- Comment #3 from jojelino at gmail dot com  2010-07-06 15:26 -------
Created an attachment (id=21108)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21108&action=view)
another testcase

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-cygwin/4.6.0/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: ./configure --prefix=/usr --disable-win32-registry
--enable-threads=posix --with-win32-nlsapi=unicode --enable-tls
--disable-bootstrap --enable-shared --disable-sjlj-exceptions
--enable-languages=c,c++ --no-create --no-recursion
Thread model: posix
gcc version 4.6.0 20100706 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-O2' '-I.' '-I.' '-I./common' '-I./config'
'-DLOCALEDIR="/usr/share/locale"' '-DHAVE_CONFIG_H' '-I./../include/opcode'
'-I./../opcodes/..' '-I./../readline/..' '-I../bfd' '-I./../bfd'
'-I./../include' '-I../libdecnumber' '-I./../libdecnumber' '-I./gnulib'
'-Ignulib' '-DMI_OUT=1' '-DTUI=1' '-I/usr/include' '-I/usr/include' '-Wall'
'-Wdeclaration-after-statement' '-Wpointer-arith' '-Wformat-nonliteral'
'-Wno-pointer-sign' '-Wno-unused' '-Wunused-value' '-Wunused-function'
'-Wno-switch' '-Wno-char-subscripts' '-c' '-o' 'python.o' '-MT' 'python.o'
'-MMD' '-MP' '-MF' '.deps/python.Tpo' '-fno-strict-aliasing' '-DNDEBUG'
'-fwrapv' '-save-temps' '-v' '-mtune=generic' '-march=pentiumpro'
 /usr/libexec/gcc/i686-pc-cygwin/4.6.0/cc1.exe -E -quiet -v -I. -I. -I./common
-I./config -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd
-I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib
-Ignulib -I/usr/include -I/usr/include -MMD python.d -MF .deps/python.Tpo -MP
-MT python.o -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter
/usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/lib/../include/w32api
-idirafter
/usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/lib/../../include/w32api
-DLOCALEDIR="/usr/share/locale" -DHAVE_CONFIG_H -DMI_OUT=1 -DTUI=1 -DNDEBUG
./python/python.c -mtune=generic -march=pentiumpro -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts -fno-strict-aliasing -fwrapv -O2 -fpch-preprocess -o
python.i
ignoring duplicate directory "/usr/include"
ignoring duplicate directory
"/usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/lib/../../include/w32api"
ignoring duplicate directory "."
ignoring duplicate directory "./../readline/.."
ignoring duplicate directory "./../bfd"
ignoring duplicate directory "./../libdecnumber"
ignoring duplicate directory "gnulib"
ignoring duplicate directory "/usr/include"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/usr/include"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
 .
 ./common
 ./config
 ./../include/opcode
 ./../opcodes/..
 ../bfd
 ./../include
 ../libdecnumber
 ./gnulib
 /usr/local/include
 /usr/lib/gcc/i686-pc-cygwin/4.6.0/include
 /usr/lib/gcc/i686-pc-cygwin/4.6.0/include-fixed
 /usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/include

/usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/lib/../include/w32api
End of search list.
COLLECT_GCC_OPTIONS='-O2' '-I.' '-I.' '-I./common' '-I./config'
'-DLOCALEDIR="/usr/share/locale"' '-DHAVE_CONFIG_H' '-I./../include/opcode'
'-I./../opcodes/..' '-I./../readline/..' '-I../bfd' '-I./../bfd'
'-I./../include' '-I../libdecnumber' '-I./../libdecnumber' '-I./gnulib'
'-Ignulib' '-DMI_OUT=1' '-DTUI=1' '-I/usr/include' '-I/usr/include' '-Wall'
'-Wdeclaration-after-statement' '-Wpointer-arith' '-Wformat-nonliteral'
'-Wno-pointer-sign' '-Wno-unused' '-Wunused-value' '-Wunused-function'
'-Wno-switch' '-Wno-char-subscripts' '-c' '-o' 'python.o' '-MT' 'python.o'
'-MMD' '-MP' '-MF' '.deps/python.Tpo' '-fno-strict-aliasing' '-DNDEBUG'
'-fwrapv' '-save-temps' '-v' '-mtune=generic' '-march=pentiumpro'
 /usr/libexec/gcc/i686-pc-cygwin/4.6.0/cc1.exe -fpreprocessed python.i -quiet
-dumpbase python.c -mtune=generic -march=pentiumpro -auxbase-strip python.o -O2
-Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts -version -fno-strict-aliasing -fwrapv -o python.s
GNU C (GCC) version 4.6.0 20100706 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.6.0 20100705 (experimental), GMP version
5.0.0, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.6.0 20100706 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.6.0 20100705 (experimental), GMP version
5.0.0, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 4d7e4dee7aec4de4bc97bcb7391f1265
./python/python.c: In function ‘gdbpy_parameter_value’:
./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# VUSE <.MEM_46(D)>
D.26034_13 = MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt;

./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# .MEM_49 = VDEF <.MEM_46(D)>
MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt = D.26035_14;

./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# VUSE <.MEM_46(D)>
D.26037_17 = MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt;

./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# .MEM_50 = VDEF <.MEM_46(D)>
MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt = D.26038_18;

./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# VUSE <.MEM_46(D)>
D.26034_22 = MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt;

./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# .MEM_51 = VDEF <.MEM_46(D)>
MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt = D.26035_23;

./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# VUSE <.MEM_46(D)>
D.26037_26 = MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt;

./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# .MEM_52 = VDEF <.MEM_46(D)>
MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt = D.26038_27;

./python/python.c:896:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (2 preceding siblings ...)
  2010-07-06 15:26 ` jojelino at gmail dot com
@ 2010-07-06 15:38 ` jojelino at gmail dot com
  2010-07-06 15:39 ` jojelino at gmail dot com
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: jojelino at gmail dot com @ 2010-07-06 15:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jojelino at gmail dot com  2010-07-06 15:38 -------
Created an attachment (id=21109)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21109&action=view)
preprocessed source


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (3 preceding siblings ...)
  2010-07-06 15:38 ` jojelino at gmail dot com
@ 2010-07-06 15:39 ` jojelino at gmail dot com
  2010-07-06 15:40 ` jojelino at gmail dot com
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: jojelino at gmail dot com @ 2010-07-06 15:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jojelino at gmail dot com  2010-07-06 15:39 -------
Created an attachment (id=21110)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21110&action=view)
preprocessed source


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (4 preceding siblings ...)
  2010-07-06 15:39 ` jojelino at gmail dot com
@ 2010-07-06 15:40 ` jojelino at gmail dot com
  2010-07-06 15:42 ` jojelino at gmail dot com
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: jojelino at gmail dot com @ 2010-07-06 15:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jojelino at gmail dot com  2010-07-06 15:40 -------
Created an attachment (id=21111)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21111&action=view)
preprocessed source


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (5 preceding siblings ...)
  2010-07-06 15:40 ` jojelino at gmail dot com
@ 2010-07-06 15:42 ` jojelino at gmail dot com
  2010-07-06 15:44 ` jojelino at gmail dot com
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: jojelino at gmail dot com @ 2010-07-06 15:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jojelino at gmail dot com  2010-07-06 15:41 -------
Created an attachment (id=21112)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21112&action=view)
preprocessed source


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (6 preceding siblings ...)
  2010-07-06 15:42 ` jojelino at gmail dot com
@ 2010-07-06 15:44 ` jojelino at gmail dot com
  2010-07-06 15:50 ` jojelino at gmail dot com
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: jojelino at gmail dot com @ 2010-07-06 15:44 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 17081 bytes --]



------- Comment #8 from jojelino at gmail dot com  2010-07-06 15:44 -------
and error messages combined

gcc -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/share/locale\""
-DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/..
-I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber 
-I./gnulib -Ignulib  -DMI_OUT=1 -DTUI=1  -I/usr/include -I/usr/include  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts  -c -o python.o -MT python.o -MMD -MP -MF .deps/python.Tpo
-fno-strict-aliasing -DNDEBUG -fwrapv ./python/python.c
./python/python.c: In function ‘gdbpy_parameter_value’:
./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# VUSE <.MEM_46(D)>
D.26034_13 = MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt;

./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# .MEM_49 = VDEF <.MEM_46(D)>
MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt = D.26035_14;

./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# VUSE <.MEM_46(D)>
D.26037_17 = MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt;

./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# .MEM_50 = VDEF <.MEM_46(D)>
MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt = D.26038_18;

./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# VUSE <.MEM_46(D)>
D.26034_22 = MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt;

./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# .MEM_51 = VDEF <.MEM_46(D)>
MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt = D.26035_23;

./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# VUSE <.MEM_46(D)>
D.26037_26 = MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt;

./python/python.c:896:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# .MEM_52 = VDEF <.MEM_46(D)>
MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt = D.26038_27;

./python/python.c:896:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: [python.o] Error 1 (ignored)
gcc -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/share/locale\""
-DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/..
-I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber 
-I./gnulib -Ignulib  -DMI_OUT=1 -DTUI=1  -I/usr/include -I/usr/include  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts  -c -o py-breakpoint.o -MT py-breakpoint.o -MMD -MP -MF
.deps/py-breakpoint.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv
./python/py-breakpoint.c
./python/py-breakpoint.c: In function ‘bppy_is_valid’:
./python/py-breakpoint.c:862:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# VUSE <.MEM_13(D)>
D.25525_6 = MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt;

./python/py-breakpoint.c:862:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# .MEM_14 = VDEF <.MEM_13(D)>
MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt = D.25526_7;

./python/py-breakpoint.c:862:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# VUSE <.MEM_13(D)>
D.25528_10 = MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt;

./python/py-breakpoint.c:862:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# .MEM_15 = VDEF <.MEM_13(D)>
MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt = D.25529_11;

./python/py-breakpoint.c:862:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: [py-breakpoint.o] Error 1 (ignored)
mv: cannot stat `.deps/py-breakpoint.Tpo': No such file or directory
make[2]: [py-breakpoint.o] Error 1 (ignored)
gcc -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/share/locale\""
-DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/..
-I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber 
-I./gnulib -Ignulib  -DMI_OUT=1 -DTUI=1  -I/usr/include -I/usr/include  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts  -c -o py-frame.o -MT py-frame.o -MMD -MP -MF
.deps/py-frame.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv ./python/py-frame.c
./python/py-frame.c: In function ‘frapy_is_valid’:
./python/py-frame.c:676:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# VUSE <.MEM_13>
D.23707_5 = MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt;

./python/py-frame.c:676:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# .MEM_14 = VDEF <.MEM_13>
MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt = D.23708_6;

./python/py-frame.c:676:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# VUSE <.MEM_13>
D.23710_9 = MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt;

./python/py-frame.c:676:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# .MEM_15 = VDEF <.MEM_13>
MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt = D.23711_10;

./python/py-frame.c:676:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: [py-frame.o] Error 1 (ignored)
mv: cannot stat `.deps/py-frame.Tpo': No such file or directory
make[2]: [py-frame.o] Error 1 (ignored)
gcc -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/share/locale\""
-DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/..
-I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber 
-I./gnulib -Ignulib  -DMI_OUT=1 -DTUI=1  -I/usr/include -I/usr/include  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts  -c -o py-inferior.o -MT py-inferior.o -MMD -MP -MF
.deps/py-inferior.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv
./python/py-inferior.c
./python/py-inferior.c: In function ‘infpy_get_was_attached’:
./python/py-inferior.c:728:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# VUSE <.MEM_18(D)>
D.25118_11 = MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt;

./python/py-inferior.c:728:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# .MEM_21 = VDEF <.MEM_18(D)>
MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt = D.25119_12;

./python/py-inferior.c:728:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# VUSE <.MEM_18(D)>
D.25121_15 = MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt;

./python/py-inferior.c:728:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# .MEM_22 = VDEF <.MEM_18(D)>
MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt = D.25122_16;

./python/py-inferior.c:728:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: [py-inferior.o] Error 1 (ignored)
gcc -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/share/locale\""
-DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/..
-I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber 
-I./gnulib -Ignulib  -DMI_OUT=1 -DTUI=1  -I/usr/include -I/usr/include  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts  -c -o py-infthread.o -MT py-infthread.o -MMD -MP -MF
.deps/py-infthread.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv
./python/py-infthread.c
./python/py-infthread.c: In function ‘thpy_is_exited’:
./python/py-infthread.c:269:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# VUSE <.MEM_21>
D.24095_11 = MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt;

./python/py-infthread.c:269:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# .MEM_22 = VDEF <.MEM_21>
MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt = D.24096_12;

./python/py-infthread.c:269:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# VUSE <.MEM_21>
D.24098_15 = MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt;

./python/py-infthread.c:269:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# .MEM_23 = VDEF <.MEM_21>
MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt = D.24099_16;

./python/py-infthread.c:269:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: [py-infthread.o] Error 1 (ignored)
mv: cannot stat `.deps/py-infthread.Tpo': No such file or directory
make[2]: [py-infthread.o] Error 1 (ignored)
gcc -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/share/locale\""
-DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/..
-I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber 
-I./gnulib -Ignulib  -DMI_OUT=1 -DTUI=1  -I/usr/include -I/usr/include  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts  -c -o py-lazy-string.o -MT py-lazy-string.o -MMD -MP -MF
.deps/py-lazy-string.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv
./python/py-lazy-string.c
./python/py-lazy-string.c: In function ‘stpy_get_encoding’:
./python/py-lazy-string.c:303:1: error: Invalid address operand in MEM_REF.
_Py_NoneStruct;

# .MEM_13 = VDEF <.MEM_11(D)>
_Py_NoneStruct.ob_refcnt = D.21463_9;

./python/py-lazy-string.c:303:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: [py-lazy-string.o] Error 1 (ignored)
mv: cannot stat `.deps/py-lazy-string.Tpo': No such file or directory
make[2]: [py-lazy-string.o] Error 1 (ignored)
gcc -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/share/locale\""
-DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/..
-I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber 
-I./gnulib -Ignulib  -DMI_OUT=1 -DTUI=1  -I/usr/include -I/usr/include  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts  -c -o py-prettyprint.o -MT py-prettyprint.o -MMD -MP -MF
.deps/py-prettyprint.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv
./python/py-prettyprint.c
./python/py-prettyprint.c: In function ‘search_pp_list’:
./python/py-prettyprint.c:39:1: error: Invalid address operand in MEM_REF.
_Py_NoneStruct;

# .MEM_38 = VDEF <.MEM_37>
_Py_NoneStruct.ob_refcnt = D.23643_20;

./python/py-prettyprint.c:39:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: [py-prettyprint.o] Error 1 (ignored)
mv: cannot stat `.deps/py-prettyprint.Tpo': No such file or directory
make[2]: [py-prettyprint.o] Error 1 (ignored)
gcc -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/share/locale\""
-DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/..
-I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber 
-I./gnulib -Ignulib  -DMI_OUT=1 -DTUI=1  -I/usr/include -I/usr/include  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts  -c -o py-symbol.o -MT py-symbol.o -MMD -MP -MF
.deps/py-symbol.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv ./python/py-symbol.c
gcc -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/share/locale\""
-DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/..
-I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber 
-I./gnulib -Ignulib  -DMI_OUT=1 -DTUI=1  -I/usr/include -I/usr/include  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts  -c -o py-symtab.o -MT py-symtab.o -MMD -MP -MF
.deps/py-symtab.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv ./python/py-symtab.c
gcc -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/share/locale\""
-DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/..
-I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber 
-I./gnulib -Ignulib  -DMI_OUT=1 -DTUI=1  -I/usr/include -I/usr/include  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts  -c -o py-type.o -MT py-type.o -MMD -MP -MF
.deps/py-type.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv ./python/py-type.c
./python/py-type.c: In function ‘convert_field’:
./python/py-type.c:911:1: error: Invalid address operand in MEM_REF.
_Py_NoneStruct;

# .MEM_125 = VDEF <.MEM_114>
_Py_NoneStruct.ob_refcnt = D.24272_42;

./python/py-type.c:911:1: error: Invalid address operand in MEM_REF.
_Py_NoneStruct;

# .MEM_133 = VDEF <.MEM_132>
_Py_NoneStruct.ob_refcnt = D.24272_93;

./python/py-type.c:911:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: [py-type.o] Error 1 (ignored)
mv: cannot stat `.deps/py-type.Tpo': No such file or directory
make[2]: [py-type.o] Error 1 (ignored)
gcc -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/share/locale\""
-DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/..
-I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber 
-I./gnulib -Ignulib  -DMI_OUT=1 -DTUI=1  -I/usr/include -I/usr/include  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts  -c -o py-utils.o -MT py-utils.o -MMD -MP -MF
.deps/py-utils.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv ./python/py-utils.c
gcc -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/share/locale\""
-DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/..
-I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber 
-I./gnulib -Ignulib  -DMI_OUT=1 -DTUI=1  -I/usr/include -I/usr/include  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts  -c -o py-value.o -MT py-value.o -MMD -MP -MF
.deps/py-value.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv ./python/py-value.c
./python/py-value.c: In function ‘valpy_get_is_optimized_out’:
./python/py-value.c:1178:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# VUSE <.MEM_14>
D.21802_6 = MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt;

./python/py-value.c:1178:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_TrueStruct];

# .MEM_15 = VDEF <.MEM_14>
MEM[(struct PyObject *)&_Py_TrueStruct].ob_refcnt = D.21803_7;

./python/py-value.c:1178:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# VUSE <.MEM_14>
D.21805_10 = MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt;

./python/py-value.c:1178:1: error: Invalid address operand in MEM_REF.
MEM[(struct PyObject *)&_Py_ZeroStruct];

# .MEM_16 = VDEF <.MEM_14>
MEM[(struct PyObject *)&_Py_ZeroStruct].ob_refcnt = D.21806_11;

./python/py-value.c:1178:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: [py-value.o] Error 1 (ignored)
mv: cannot stat `.deps/py-value.Tpo': No such file or directory
make[2]: [py-value.o] Error 1 (ignored)


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (7 preceding siblings ...)
  2010-07-06 15:44 ` jojelino at gmail dot com
@ 2010-07-06 15:50 ` jojelino at gmail dot com
  2010-07-08 15:16 ` jojelino at gmail dot com
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: jojelino at gmail dot com @ 2010-07-06 15:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jojelino at gmail dot com  2010-07-06 15:50 -------
and gcc revision is 161868


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (8 preceding siblings ...)
  2010-07-06 15:50 ` jojelino at gmail dot com
@ 2010-07-08 15:16 ` jojelino at gmail dot com
  2010-07-12  0:15 ` davek at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: jojelino at gmail dot com @ 2010-07-08 15:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from jojelino at gmail dot com  2010-07-08 15:15 -------
(In reply to comment #2)
> I can't reproduce it with r161865. (on x86_64-linux with -m32)
> 

please confirm that this error introduces from -O1? surely, it would not be
reproducible just giving -m32 as you says.

failed in gcc with target i686-pc-mingw32 again...


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (9 preceding siblings ...)
  2010-07-08 15:16 ` jojelino at gmail dot com
@ 2010-07-12  0:15 ` davek at gcc dot gnu dot org
  2010-07-12  0:44 ` jojelino at gmail dot com
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: davek at gcc dot gnu dot org @ 2010-07-12  0:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from davek at gcc dot gnu dot org  2010-07-12 00:14 -------
(In reply to comment #10)
> (In reply to comment #2)
> > I can't reproduce it with r161865. (on x86_64-linux with -m32)
> > 
> 
> please confirm that this error introduces from -O1? surely, it would not be
> reproducible just giving -m32 as you says.
> 
> failed in gcc with target i686-pc-mingw32 again...

Confirmed with Attachment 21112 at -O1 on i686-pc-cygwin at r.161958 


-- 

davek at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-12 00:14:46
               date|                            |


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (10 preceding siblings ...)
  2010-07-12  0:15 ` davek at gcc dot gnu dot org
@ 2010-07-12  0:44 ` jojelino at gmail dot com
  2010-07-12  0:48 ` jojelino at gmail dot com
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: jojelino at gmail dot com @ 2010-07-12  0:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from jojelino at gmail dot com  2010-07-12 00:43 -------
reduced testcase


 typedef struct _object {
 int ob_refcnt; struct _typeobject *ob_type;
} PyObject;
typedef struct bufferinfo {
 void *buf;
 PyObject *obj;
        int len;
        int itemsize;

        int readonly;
        int ndim;
        char *format;
        int *shape;
        int *strides;
        int *suboffsets;
        void *internal;
} Py_buffer;
typedef PyObject * (*unaryfunc)(PyObject *);
typedef PyObject * (*binaryfunc)(PyObject *, PyObject *);
typedef PyObject * (*ternaryfunc)(PyObject *, PyObject *, PyObject *);
typedef int (*inquiry)(PyObject *);
typedef int (*lenfunc)(PyObject *);
typedef int (*coercion)(PyObject **, PyObject **);
typedef PyObject *(*intargfunc)(PyObject *, int)
__attribute__((__deprecated__));
typedef PyObject *(*intintargfunc)(PyObject *, int, int)
__attribute__((__deprecated__));
typedef PyObject *(*ssizeargfunc)(PyObject *, int);
typedef PyObject *(*ssizessizeargfunc)(PyObject *, int, int);
typedef int(*intobjargproc)(PyObject *, int, PyObject *);
typedef int(*intintobjargproc)(PyObject *, int, int, PyObject *);
typedef int(*ssizeobjargproc)(PyObject *, int, PyObject *);
typedef int(*ssizessizeobjargproc)(PyObject *, int, int, PyObject *);
typedef int(*objobjargproc)(PyObject *, PyObject *, PyObject *);
typedef int (*objobjproc)(PyObject *, PyObject *);
typedef int (*readbufferproc)(PyObject *, int, void **);
typedef int (*writebufferproc)(PyObject *, int, void **);
typedef int (*segcountproc)(PyObject *, int *);
typedef int (*charbufferproc)(PyObject *, int, char **);
typedef int (*getbufferproc)(PyObject *, Py_buffer *, int);
typedef void (*releasebufferproc)(PyObject *, Py_buffer *);
typedef int (*visitproc)(PyObject *, void *);
typedef int (*traverseproc)(PyObject *, visitproc, void *);
typedef struct {
 lenfunc sq_length;
 binaryfunc sq_concat;
 ssizeargfunc sq_repeat;
 ssizeargfunc sq_item;
 ssizessizeargfunc sq_slice;
 ssizeobjargproc sq_ass_item;
 ssizessizeobjargproc sq_ass_slice;
 objobjproc sq_contains;

 binaryfunc sq_inplace_concat;
 ssizeargfunc sq_inplace_repeat;
} PySequenceMethods;
typedef struct {
 lenfunc mp_length;
 binaryfunc mp_subscript;
 objobjargproc mp_ass_subscript;
} PyMappingMethods;

typedef struct {
 readbufferproc bf_getreadbuffer;
 writebufferproc bf_getwritebuffer;
 segcountproc bf_getsegcount;
 charbufferproc bf_getcharbuffer;
        getbufferproc bf_getbuffer;
 releasebufferproc bf_releasebuffer;
} PyBufferProcs;

typedef struct {
# 226
"/usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/include/python2.6/object.h"
3
 binaryfunc nb_add;
 binaryfunc nb_subtract;
 binaryfunc nb_multiply;
 binaryfunc nb_divide;
 binaryfunc nb_remainder;
 binaryfunc nb_divmod;
 ternaryfunc nb_power;
 unaryfunc nb_negative;
 unaryfunc nb_positive;
 unaryfunc nb_absolute;
 inquiry nb_nonzero;
 unaryfunc nb_invert;
 binaryfunc nb_lshift;
 binaryfunc nb_rshift;
 binaryfunc nb_and;
 binaryfunc nb_xor;
 binaryfunc nb_or;
 coercion nb_coerce;
 unaryfunc nb_int;
 unaryfunc nb_long;
 unaryfunc nb_float;
 unaryfunc nb_oct;
 unaryfunc nb_hex;

 binaryfunc nb_inplace_add;
 binaryfunc nb_inplace_subtract;
 binaryfunc nb_inplace_multiply;
 binaryfunc nb_inplace_divide;
 binaryfunc nb_inplace_remainder;
 ternaryfunc nb_inplace_power;
 binaryfunc nb_inplace_lshift;
 binaryfunc nb_inplace_rshift;
 binaryfunc nb_inplace_and;
 binaryfunc nb_inplace_xor;
 binaryfunc nb_inplace_or;



 binaryfunc nb_floor_divide;
 binaryfunc nb_true_divide;
 binaryfunc nb_inplace_floor_divide;
 binaryfunc nb_inplace_true_divide;


 unaryfunc nb_index;
} PyNumberMethods;
typedef void (*freefunc)(void *);
typedef void (*destructor)(PyObject *);
typedef int (*printfunc)(PyObject *, int *, int);
typedef PyObject *(*getattrfunc)(PyObject *, char *);
typedef PyObject *(*getattrofunc)(PyObject *, PyObject *);
typedef int (*setattrfunc)(PyObject *, char *, PyObject *);
typedef int (*setattrofunc)(PyObject *, PyObject *, PyObject *);
typedef int (*cmpfunc)(PyObject *, PyObject *);
typedef PyObject *(*reprfunc)(PyObject *);
typedef long (*hashfunc)(PyObject *);
typedef PyObject *(*richcmpfunc) (PyObject *, PyObject *, int);
typedef PyObject *(*getiterfunc) (PyObject *);
typedef PyObject *(*iternextfunc) (PyObject *);
typedef PyObject *(*descrgetfunc) (PyObject *, PyObject *, PyObject *);
typedef int (*descrsetfunc) (PyObject *, PyObject *, PyObject *);
typedef int (*initproc)(PyObject *, PyObject *, PyObject *);
typedef PyObject *(*newfunc)(struct _typeobject *, PyObject *, PyObject *);
typedef PyObject *(*allocfunc)(struct _typeobject *, int);
 typedef struct _typeobject {
 int ob_refcnt; struct _typeobject *ob_type; int ob_size;
 const char *tp_name;
 int tp_basicsize, tp_itemsize;
 destructor tp_dealloc;
 printfunc tp_print;
 getattrfunc tp_getattr;
 setattrfunc tp_setattr;
 cmpfunc tp_compare;
 reprfunc tp_repr;
 PyNumberMethods *tp_as_number;
 PySequenceMethods *tp_as_sequence;
 PyMappingMethods *tp_as_mapping;
 hashfunc tp_hash;
 ternaryfunc tp_call;
 reprfunc tp_str;
 getattrofunc tp_getattro;
 setattrofunc tp_setattro;
 PyBufferProcs *tp_as_buffer;
 long tp_flags;
 const char *tp_doc;
 traverseproc tp_traverse;
 inquiry tp_clear;
 richcmpfunc tp_richcompare;
 int tp_weaklistoffset;
 getiterfunc tp_iter;
 iternextfunc tp_iternext;
 struct PyMethodDef *tp_methods;
 struct PyMemberDef *tp_members;
 struct PyGetSetDef *tp_getset;
 struct _typeobject *tp_base;
 PyObject *tp_dict;
 descrgetfunc tp_descr_get;
 descrsetfunc tp_descr_set;
 int tp_dictoffset;
 initproc tp_init;
 allocfunc tp_alloc;
 newfunc tp_new;
 freefunc tp_free;
 inquiry tp_is_gc;
 PyObject *tp_bases;
 PyObject *tp_mro;
 PyObject *tp_cache;
 PyObject *tp_subclasses;
 PyObject *tp_weaklist;
 destructor tp_del;
 unsigned int tp_version_tag;
# 409
"/usr/lib/gcc/i686-pc-cygwin/4.6.0/../../../../i686-pc-cygwin/include/python2.6/object.h"
3
} PyTypeObject;
typedef struct {
    int ob_refcnt; struct _typeobject *ob_type;
    long ob_ival;
} PyIntObject;
extern __attribute__((dllimport)) PyIntObject _Py_TrueStruct;
PyObject* stub1(){
return (                                \
                \
        ((PyObject*)(((PyObject *) &_Py_TrueStruct)))->ob_refcnt++), ((PyObject
*) &_Py_TrueStruct);
}
int main()
{
        PyObject* a=stub1();
        return a;
}


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (11 preceding siblings ...)
  2010-07-12  0:44 ` jojelino at gmail dot com
@ 2010-07-12  0:48 ` jojelino at gmail dot com
  2010-07-12  0:51 ` jojelino at gmail dot com
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: jojelino at gmail dot com @ 2010-07-12  0:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from jojelino at gmail dot com  2010-07-12 00:48 -------
extern __attribute__((dllimport)) PyIntObject _Py_TrueStruct;
removing  __attribute__((dllimport)) or replacing __attribute__
((visibility("default"))) solves problem... 


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (12 preceding siblings ...)
  2010-07-12  0:48 ` jojelino at gmail dot com
@ 2010-07-12  0:51 ` jojelino at gmail dot com
  2010-07-14  8:20 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: jojelino at gmail dot com @ 2010-07-12  0:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from jojelino at gmail dot com  2010-07-12 00:50 -------
then we get more reduced testcase

typedef struct sfoo{
        int ob_refcnt;
} foo;
typedef struct sbar{
        int ob_refcnt;
} bar;
extern __attribute__((dllimport)) bar bar1;
foo* stub1(){
return (                                \
                \
        ((foo*)(((foo *) &bar1)))->ob_refcnt++), ((foo *) &bar1);
}
int main()
{
        foo* a=stub1();
        return a;
}


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (13 preceding siblings ...)
  2010-07-12  0:51 ` jojelino at gmail dot com
@ 2010-07-14  8:20 ` rguenth at gcc dot gnu dot org
  2010-07-14  8:35 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-14  8:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from rguenth at gcc dot gnu dot org  2010-07-14 08:20 -------
Mine.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-07-12 00:14:46         |2010-07-14 08:20:39
               date|                            |


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (14 preceding siblings ...)
  2010-07-14  8:20 ` rguenth at gcc dot gnu dot org
@ 2010-07-14  8:35 ` rguenth at gcc dot gnu dot org
  2010-07-14 10:07 ` jojelino at gmail dot com
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-14  8:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from rguenth at gcc dot gnu dot org  2010-07-14 08:35 -------
Created an attachment (id=21196)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21196&action=view)
patch

Can you test this patch?


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (15 preceding siblings ...)
  2010-07-14  8:35 ` rguenth at gcc dot gnu dot org
@ 2010-07-14 10:07 ` jojelino at gmail dot com
  2010-07-14 12:19 ` rguenth at gcc dot gnu dot org
  2010-07-14 12:20 ` rguenth at gcc dot gnu dot org
  18 siblings, 0 replies; 20+ messages in thread
From: jojelino at gmail dot com @ 2010-07-14 10:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from jojelino at gmail dot com  2010-07-14 10:07 -------
(In reply to comment #16)
> Created an attachment (id=21196)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21196&action=view) [edit]
> patch
> 
> Can you test this patch?
> 
yes. attached patch solves ICE. it works well.


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (16 preceding siblings ...)
  2010-07-14 10:07 ` jojelino at gmail dot com
@ 2010-07-14 12:19 ` rguenth at gcc dot gnu dot org
  2010-07-14 12:20 ` rguenth at gcc dot gnu dot org
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-14 12:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from rguenth at gcc dot gnu dot org  2010-07-14 12:19 -------
Subject: Bug 44824

Author: rguenth
Date: Wed Jul 14 12:19:16 2010
New Revision: 162177

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162177
Log:
2010-07-14  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/44824
        * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Use
        is_gimple_mem_ref_addr.
        (tree_ssa_forward_propagate_single_use_vars): Do not propagate
        non-decl_address_invariant_p addresses.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-forwprop.c


-- 


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


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

* [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
  2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
                   ` (17 preceding siblings ...)
  2010-07-14 12:19 ` rguenth at gcc dot gnu dot org
@ 2010-07-14 12:20 ` rguenth at gcc dot gnu dot org
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-14 12:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from rguenth at gcc dot gnu dot org  2010-07-14 12:19 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-07-14 12:20 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-05 16:06 [Bug regression/44824] New: [4.6 regression] internal compiler error: verify_stmts failed jojelino at gmail dot com
2010-07-05 16:07 ` [Bug regression/44824] " jojelino at gmail dot com
2010-07-06 11:46 ` [Bug middle-end/44824] " rguenth at gcc dot gnu dot org
2010-07-06 15:26 ` jojelino at gmail dot com
2010-07-06 15:38 ` jojelino at gmail dot com
2010-07-06 15:39 ` jojelino at gmail dot com
2010-07-06 15:40 ` jojelino at gmail dot com
2010-07-06 15:42 ` jojelino at gmail dot com
2010-07-06 15:44 ` jojelino at gmail dot com
2010-07-06 15:50 ` jojelino at gmail dot com
2010-07-08 15:16 ` jojelino at gmail dot com
2010-07-12  0:15 ` davek at gcc dot gnu dot org
2010-07-12  0:44 ` jojelino at gmail dot com
2010-07-12  0:48 ` jojelino at gmail dot com
2010-07-12  0:51 ` jojelino at gmail dot com
2010-07-14  8:20 ` rguenth at gcc dot gnu dot org
2010-07-14  8:35 ` rguenth at gcc dot gnu dot org
2010-07-14 10:07 ` jojelino at gmail dot com
2010-07-14 12:19 ` rguenth at gcc dot gnu dot org
2010-07-14 12:20 ` rguenth 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).