public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47596] New: internal compiler error: in print_reg, at config/i386/i386.c:10894
@ 2011-02-03  6:19 jmichae3 at yahoo dot com
  2011-02-03  6:21 ` [Bug c++/47596] " jmichae3 at yahoo dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: jmichae3 at yahoo dot com @ 2011-02-03  6:19 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: internal compiler error: in print_reg, at
                    config/i386/i386.c:10894
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jmichae3@yahoo.com


system type: Windows XP Pro SP3 32-bit, 3GB Ram, Pentium 4 HT (1 core, 2
threads), about 1.3TB disk space left on c: and e:
compiler: mingw-w64 personal 32-bit target 32-bit (i686) host build, gcc
version 4.4.5 20101001 (release) [svn/rev.164871 - mingw-w64/oz] (GCC) 
options: see gcc -v output below
output: see gcc output below

status:
bug only reproduces with 32-bit target, 32-bit host compiler, NOT the 64-bit
target, 32-bit host compiler.
I had just re-extracted the compiler, so it's fresh, and my OS is a
quite-recent install, so the OS is in good condition.


compiler output:
----------------
Using built-in specs.
Target: i686-w64-mingw32
Configured with: ../gcc44-svn/configure --host=i686-w64-mingw32
--target=i686-w64-mingw32 --disable-multilib --enable-checking=release
--prefix=/mingw32 --with-sysroot=/mingw32
--enable-languages=c,c++,fortran,objc,obj-c++ --enable-libgomp
--with-gmp=/mingw32 --with-mpfr=/mingw32 --disable-nls --disable-win32-registry
Thread model: win32
gcc version 4.4.5 20101001 (release) [svn/rev.164871 - mingw-w64/oz] (GCC) 
COLLECT_GCC_OPTIONS='-Wall' '-W' '-v' '-O' '-s' '-fstack-check'
'-static-libgcc' '-isystem' '/libpq/' '-isystem' '/libpq/server/libpq/'
'-isystem' '/prj/fltk/fltk-1.1.10/' '-isystem' '/prj/fltk/fltk-1.1.10/lib/'
'-isystem' '/prj/zlib-1.2.5/' '-std=c++0x' '-o'
'gen-duplicator-batch-files.exe' '-mtune=generic'

c:/mingw-w32-bin_i686-mingw_20101003_sezero/mingw32/bin/../libexec/gcc/i686-w64-mingw32/4.4.5/cc1plus.exe
-quiet -v -iprefix
c:\mingw-w32-bin_i686-mingw_20101003_sezero\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.4.5/
-isysroot c:\mingw-w32-bin_i686-mingw_20101003_sezero\mingw32\bin\../../mingw32
-isystem /libpq/ -isystem /libpq/server/libpq/ -isystem /prj/fltk/fltk-1.1.10/
-isystem /prj/fltk/fltk-1.1.10/lib/ -isystem /prj/zlib-1.2.5/
gen-duplicator-batch-files.cpp -quiet -dumpbase gen-duplicator-batch-files.cpp
-mtune=generic -auxbase gen-duplicator-batch-files -O -Wall -W -std=c++0x
-version -fstack-check -o C:\DOCUME~1\JIMMIC~1\LOCALS~1\Temp\cc8MQvBa.s
ignoring duplicate directory "/libpq"
ignoring duplicate directory "/libpq/server/libpq"
ignoring duplicate directory "/prj/fltk/fltk-1.1.10"
ignoring duplicate directory "/prj/zlib-1.2.5"
ignoring duplicate directory
"c:/mingw-w32-bin_i686-mingw_20101003_sezero/mingw32/lib/gcc/../../lib/gcc/i686-w64-mingw32/4.4.5/../../../../include/c++/4.4.5"
ignoring duplicate directory
"c:/mingw-w32-bin_i686-mingw_20101003_sezero/mingw32/lib/gcc/../../lib/gcc/i686-w64-mingw32/4.4.5/../../../../include/c++/4.4.5/i686-w64-mingw32"
ignoring duplicate directory
"c:/mingw-w32-bin_i686-mingw_20101003_sezero/mingw32/lib/gcc/../../lib/gcc/i686-w64-mingw32/4.4.5/../../../../include/c++/4.4.5/backward"
ignoring nonexistent directory
"c:\mingw-w32-bin_i686-mingw_20101003_sezero\mingw32\bin\../../mingw32/mingw32/lib/gcc/i686-w64-mingw32/4.4.5/../../../../include"
ignoring duplicate directory
"c:/mingw-w32-bin_i686-mingw_20101003_sezero/mingw32/lib/gcc/../../lib/gcc/i686-w64-mingw32/4.4.5/include"
ignoring duplicate directory
"c:/mingw-w32-bin_i686-mingw_20101003_sezero/mingw32/lib/gcc/../../lib/gcc/i686-w64-mingw32/4.4.5/include-fixed"
ignoring duplicate directory
"c:/mingw-w32-bin_i686-mingw_20101003_sezero/mingw32/lib/gcc/../../lib/gcc/i686-w64-mingw32/4.4.5/../../../../i686-w64-mingw32/include"
ignoring duplicate directory "/libpq"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/libpq/server/libpq"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/prj/fltk/fltk-1.1.10"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/prj/zlib-1.2.5"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
 /libpq
 /libpq/server/libpq
 /prj/fltk/fltk-1.1.10
 /prj/fltk/fltk-1.1.10/lib
 /prj/zlib-1.2.5

c:\mingw-w32-bin_i686-mingw_20101003_sezero\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.4.5/../../../../include/c++/4.4.5

c:\mingw-w32-bin_i686-mingw_20101003_sezero\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.4.5/../../../../include/c++/4.4.5/i686-w64-mingw32

c:\mingw-w32-bin_i686-mingw_20101003_sezero\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.4.5/../../../../include/c++/4.4.5/backward

c:\mingw-w32-bin_i686-mingw_20101003_sezero\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.4.5/include

c:\mingw-w32-bin_i686-mingw_20101003_sezero\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.4.5/include-fixed

c:\mingw-w32-bin_i686-mingw_20101003_sezero\mingw32\bin\../lib/gcc/i686-w64-mingw32/4.4.5/../../../../i686-w64-mingw32/include

c:\mingw-w32-bin_i686-mingw_20101003_sezero\mingw32\bin\../../mingw32/mingw/include
End of search list.
GNU C++ (GCC) version 4.4.5 20101001 (release) [svn/rev.164871 - mingw-w64/oz]
(i686-w64-mingw32)
    compiled by GNU C version 4.4.5 20101001 (release) [svn/rev.164871 -
mingw-w64/oz], GMP version 4.3.2, MPFR version 2.4.2-p3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 67b926ffad2570f5a541884eb898e599
gen-duplicator-batch-files.cpp: In function 'int main(int, char**)':
gen-duplicator-batch-files.cpp:610: internal compiler error: in print_reg, at
config/i386/i386.c:10894
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] 10+ messages in thread

* [Bug c++/47596] internal compiler error: in print_reg, at config/i386/i386.c:10894
  2011-02-03  6:19 [Bug c++/47596] New: internal compiler error: in print_reg, at config/i386/i386.c:10894 jmichae3 at yahoo dot com
@ 2011-02-03  6:21 ` jmichae3 at yahoo dot com
  2011-02-03  6:22 ` jmichae3 at yahoo dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jmichae3 at yahoo dot com @ 2011-02-03  6:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jim Michaels <jmichae3 at yahoo dot com> 2011-02-03 06:21:14 UTC ---
Created attachment 23231
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23231
source file


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

* [Bug c++/47596] internal compiler error: in print_reg, at config/i386/i386.c:10894
  2011-02-03  6:19 [Bug c++/47596] New: internal compiler error: in print_reg, at config/i386/i386.c:10894 jmichae3 at yahoo dot com
  2011-02-03  6:21 ` [Bug c++/47596] " jmichae3 at yahoo dot com
@ 2011-02-03  6:22 ` jmichae3 at yahoo dot com
  2011-02-03 14:10 ` [Bug target/47596] " ktietz at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jmichae3 at yahoo dot com @ 2011-02-03  6:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jim Michaels <jmichae3 at yahoo dot com> 2011-02-03 06:22:24 UTC ---
Created attachment 23232
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23232
gen-duplicator-batch-files.ii

compiler temp files


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

* [Bug target/47596] internal compiler error: in print_reg, at config/i386/i386.c:10894
  2011-02-03  6:19 [Bug c++/47596] New: internal compiler error: in print_reg, at config/i386/i386.c:10894 jmichae3 at yahoo dot com
  2011-02-03  6:21 ` [Bug c++/47596] " jmichae3 at yahoo dot com
  2011-02-03  6:22 ` jmichae3 at yahoo dot com
@ 2011-02-03 14:10 ` ktietz at gcc dot gnu.org
  2011-02-03 15:22 ` ktietz at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-02-03 14:10 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktietz at gcc dot gnu.org
      Known to work|                            |4.5.2, 4.6.0

--- Comment #3 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-02-03 14:10:34 UTC ---
Hmm, tests with 4.5.2 and 4.6.0 don't show this error for 32-bit.


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

* [Bug target/47596] internal compiler error: in print_reg, at config/i386/i386.c:10894
  2011-02-03  6:19 [Bug c++/47596] New: internal compiler error: in print_reg, at config/i386/i386.c:10894 jmichae3 at yahoo dot com
                   ` (2 preceding siblings ...)
  2011-02-03 14:10 ` [Bug target/47596] " ktietz at gcc dot gnu.org
@ 2011-02-03 15:22 ` ktietz at gcc dot gnu.org
  2011-02-04 23:12 ` jmichae3 at yahoo dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-02-03 15:22 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #4 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-02-03 15:22:32 UTC ---
Sorry, can't reproduce this with 4.4.5 mainline version. I assume you should
direct this issue to that creator of that toolchain.


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

* [Bug target/47596] internal compiler error: in print_reg, at config/i386/i386.c:10894
  2011-02-03  6:19 [Bug c++/47596] New: internal compiler error: in print_reg, at config/i386/i386.c:10894 jmichae3 at yahoo dot com
                   ` (3 preceding siblings ...)
  2011-02-03 15:22 ` ktietz at gcc dot gnu.org
@ 2011-02-04 23:12 ` jmichae3 at yahoo dot com
  2011-02-17 10:23 ` sezeroz at gmail dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jmichae3 at yahoo dot com @ 2011-02-04 23:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jim Michaels <jmichae3 at yahoo dot com> 2011-02-04 23:12:20 UTC ---
unfortunately, a release of later versions of gcc in a personal sezero build
are not available.


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

* [Bug target/47596] internal compiler error: in print_reg, at config/i386/i386.c:10894
  2011-02-03  6:19 [Bug c++/47596] New: internal compiler error: in print_reg, at config/i386/i386.c:10894 jmichae3 at yahoo dot com
                   ` (4 preceding siblings ...)
  2011-02-04 23:12 ` jmichae3 at yahoo dot com
@ 2011-02-17 10:23 ` sezeroz at gmail dot com
  2011-04-17  9:07 ` sezeroz at gmail dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: sezeroz at gmail dot com @ 2011-02-17 10:23 UTC (permalink / raw)
  To: gcc-bugs

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

Ozkan Sezer <sezeroz at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sezeroz at gmail dot com

--- Comment #6 from Ozkan Sezer <sezeroz at gmail dot com> 2011-02-17 10:12:34 UTC ---
The toolchain in question was created by me and I finally found time to
look at this.  I want to this PR reopened because I _can_ reproduce the
ICE with unmodified gcc:  gcc-4.4.5 (svn rev. 164871), binutils-2.20.51
(cvs 2010-10-03 08:20 GMT) and mingw-w64 crt and headers (release-1.0
branch, svn rev. 3696), all unmodified, I get this:

$ i686-w64-mingw32-g++ -v
Using built-in specs.
Target: i686-w64-mingw32
Configured with: ../gcc44-svn/configure --target=i686-w64-mingw32
--disable-multilib --enable-checking=release --prefix=/home/ozzie/cross_win32
--with-sysroot=/home/ozzie/cross_win32 --enable-languages=c,c++ --disable-nls
Thread model: win32
gcc version 4.4.5 (GCC) 

$ i686-w64-mingw32-g++ -fstack-check -O gen-duplicator-batch-files.cpp
gen-duplicator-batch-files.cpp: In function 'int main(int, char**)':
gen-duplicator-batch-files.cpp:610: internal compiler error: in print_reg, at
config/i386/i386.c:10678
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

This is on fedora10 x86_64-linux, the toolchain compiled using the
fedora-provided gcc-4.3.2.

The problem seems to be related to the -fstack-check switch, without it
there is no ICE.  Kai: How did you test this?


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

* [Bug target/47596] internal compiler error: in print_reg, at config/i386/i386.c:10894
  2011-02-03  6:19 [Bug c++/47596] New: internal compiler error: in print_reg, at config/i386/i386.c:10894 jmichae3 at yahoo dot com
                   ` (5 preceding siblings ...)
  2011-02-17 10:23 ` sezeroz at gmail dot com
@ 2011-04-17  9:07 ` sezeroz at gmail dot com
  2011-04-29 18:26 ` hp at gcc dot gnu.org
  2013-09-10 10:48 ` ktietz at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: sezeroz at gmail dot com @ 2011-04-17  9:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Ozkan Sezer <sezeroz at gmail dot com> 2011-04-17 09:07:24 UTC ---
Possibly related: PR target/47626.  This doesn't seem mingw-specific and is
_incorrectly_ marked as WORKSFORME.


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

* [Bug target/47596] internal compiler error: in print_reg, at config/i386/i386.c:10894
  2011-02-03  6:19 [Bug c++/47596] New: internal compiler error: in print_reg, at config/i386/i386.c:10894 jmichae3 at yahoo dot com
                   ` (6 preceding siblings ...)
  2011-04-17  9:07 ` sezeroz at gmail dot com
@ 2011-04-29 18:26 ` hp at gcc dot gnu.org
  2013-09-10 10:48 ` ktietz at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu.org @ 2011-04-29 18:26 UTC (permalink / raw)
  To: gcc-bugs

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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   Last reconfirmed|                            |2011.04.29 18:25:30
                 CC|                            |hp at gcc dot gnu.org
         Resolution|WORKSFORME                  |
     Ever Confirmed|0                           |1

--- Comment #8 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-04-29 18:25:30 UTC ---
Reopened as per request.


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

* [Bug target/47596] internal compiler error: in print_reg, at config/i386/i386.c:10894
  2011-02-03  6:19 [Bug c++/47596] New: internal compiler error: in print_reg, at config/i386/i386.c:10894 jmichae3 at yahoo dot com
                   ` (7 preceding siblings ...)
  2011-04-29 18:26 ` hp at gcc dot gnu.org
@ 2013-09-10 10:48 ` ktietz at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-09-10 10:48 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #9 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Gcc 4.4 isn't anymore maintained by gcc team.  As it works for newer
gcc-versions, I close this bug as won't fix.


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

end of thread, other threads:[~2013-09-10 10:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-03  6:19 [Bug c++/47596] New: internal compiler error: in print_reg, at config/i386/i386.c:10894 jmichae3 at yahoo dot com
2011-02-03  6:21 ` [Bug c++/47596] " jmichae3 at yahoo dot com
2011-02-03  6:22 ` jmichae3 at yahoo dot com
2011-02-03 14:10 ` [Bug target/47596] " ktietz at gcc dot gnu.org
2011-02-03 15:22 ` ktietz at gcc dot gnu.org
2011-02-04 23:12 ` jmichae3 at yahoo dot com
2011-02-17 10:23 ` sezeroz at gmail dot com
2011-04-17  9:07 ` sezeroz at gmail dot com
2011-04-29 18:26 ` hp at gcc dot gnu.org
2013-09-10 10:48 ` ktietz at gcc dot gnu.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).