public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/34625]  New: msgl-check.c:199: error: unrecognizable insn:
@ 2007-12-30 13:58 kai-gcc-bugs at khms dot westfalen dot de
  2007-12-30 14:04 ` [Bug target/34625] " kai-gcc-bugs at khms dot westfalen dot de
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: kai-gcc-bugs at khms dot westfalen dot de @ 2007-12-30 13:58 UTC (permalink / raw)
  To: gcc-bugs

(*) This is actually running on i686-pc-linux-gnu, in a chroot which (with the
help of Wine) masquerades as i686-pc-mingw32 so most packages can be compiled
"natively" (cross support in general is weak, cross support to w32 even
weaker).

/bin/bash ../libtool --tag=CC   --mode=compile i686-pc-mingw32-gcc -std=gnu99
-DLOCALEDIR=\"/mingw/share/locale\" -DBISON_LOCALEDIR=\"\"
-DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/mingw/lib/gettext\"
-DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\"
-DGETTEXTDATADIR=\"/mingw/share/gettext\"
-DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I..  -I.
-I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl
-I../../gettext-runtime/intl -I/mingw/include  -g -O2 -c -o msgl-english.lo
msgl-english.c
 i686-pc-mingw32-gcc -std=gnu99 -DLOCALEDIR=\"/mingw/share/locale\"
-DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/mingw/lib/gettext\"
-DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\"
-DGETTEXTDATADIR=\"/mingw/share/gettext\"
-DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I.
-I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl
-I../../gettext-runtime/intl -I/mingw/include -g -O2 -c msgl-english.c 
-DDLL_EXPORT -DPIC -o .libs/msgl-english.o
 i686-pc-mingw32-gcc -std=gnu99 -DLOCALEDIR=\"/mingw/share/locale\"
-DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/mingw/lib/gettext\"
-DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\"
-DGETTEXTDATADIR=\"/mingw/share/gettext\"
-DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I.
-I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl
-I../../gettext-runtime/intl -I/mingw/include -g -O2 -c msgl-english.c -o
msgl-english.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile i686-pc-mingw32-gcc -std=gnu99
-DLOCALEDIR=\"/mingw/share/locale\" -DBISON_LOCALEDIR=\"\"
-DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/mingw/lib/gettext\"
-DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\"
-DGETTEXTDATADIR=\"/mingw/share/gettext\"
-DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I..  -I.
-I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl
-I../../gettext-runtime/intl -I/mingw/include  -g -O2 -c -o msgl-check.lo
msgl-check.c
 i686-pc-mingw32-gcc -std=gnu99 -DLOCALEDIR=\"/mingw/share/locale\"
-DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/mingw/lib/gettext\"
-DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\"
-DGETTEXTDATADIR=\"/mingw/share/gettext\"
-DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I.
-I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl
-I../../gettext-runtime/intl -I/mingw/include -g -O2 -c msgl-check.c 
-DDLL_EXPORT -DPIC -o .libs/msgl-check.o
msgl-check.c: In function 'plural_help':
msgl-check.c:199: error: unrecognizable insn:
(insn 40 39 41 6 msgl-check.c:184 (set (reg:SI 76)
        (const:SI (plus:SI (mem:SI (symbol_ref:SI ("#i.plural_table") <var_decl
0x402cd9f8 plural_table>) [0 S4 A8])
                (const_int 4 [0x4])))) -1 (nil)
    (nil))
msgl-check.c:199: internal compiler error: in extract_insn, at recog.c:2077
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [msgl-check.lo] Error 1
make[4]: Leaving directory `/BUILD/gettext-0.17/gettext-tools/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/BUILD/gettext-0.17/gettext-tools/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/BUILD/gettext-0.17/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/BUILD/gettext-0.17/gettext-tools'
make: *** [all-recursive] Error 1



kai@desktop:~/.../CHROOT$ sudo chroot /home/kai/.../CHROOT/MINGW/chroot
/bin/bash -c '. /mingw/local/bin/mwpathset.sh; cd /BUILD/gettext-0.17;
i686-pc-mingw32-gcc -v'
Using built-in specs.
Target: i686-pc-mingw32
Configured with: /home/kai/.../CHROOT/MINGW/sources/gcc-4.2.2/configure
--prefix=/home/kai/.../CHROOT/MINGW/Prefix --target=i686-pc-mingw32
--build=i686-pc-linux-gnu --with-gcc --with-gnu-as --with-gnu-ld
--with-sysroot=/home/kai/.../CHROOT/MINGW/Sysroot --with-dwarf2 --enable-static
--enable-shared --enable-languages=c,objc,c++ --disable-multilib
--enable-threads --enable-tls
Thread model: win32
gcc version 4.2.2


-- 
           Summary: msgl-check.c:199: error: unrecognizable insn:
           Product: gcc
           Version: 4.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kai-gcc-bugs at khms dot westfalen dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: (*)
GCC target triplet: i686-pc-mingw32


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


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

* [Bug target/34625] msgl-check.c:199: error: unrecognizable insn:
  2007-12-30 13:58 [Bug target/34625] New: msgl-check.c:199: error: unrecognizable insn: kai-gcc-bugs at khms dot westfalen dot de
@ 2007-12-30 14:04 ` kai-gcc-bugs at khms dot westfalen dot de
  2007-12-30 14:09 ` kai-gcc-bugs at khms dot westfalen dot de
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: kai-gcc-bugs at khms dot westfalen dot de @ 2007-12-30 14:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from kai-gcc-bugs at khms dot westfalen dot de  2007-12-30 14:04 -------
Here's the output from -v:

Using built-in specs.
Target: i686-pc-mingw32
Configured with: /home/kai/.../CHROOT/MINGW/sources/gcc-4.2.2/configure
--prefix=/home/kai/.../CHROOT/MINGW/Prefix --target=i686-pc-mingw32
--build=i686-pc-linux-gnu --with-gcc --with-gnu-as --with-gnu-ld
--with-sysroot=/home/kai/.../CHROOT/MINGW/Sysroot --with-dwarf2 --enable-static
--enable-shared --enable-languages=c,objc,c++ --disable-multilib
--enable-threads --enable-tls
Thread model: win32
gcc version 4.2.2
 /usr/bin/../libexec/gcc/i686-pc-mingw32/4.2.2/cc1 -quiet -v -I. -I.. -I. -I.
-I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl
-I../../gettext-runtime/intl -I/mingw/include -iprefix
/usr/bin/../lib/gcc/i686-pc-mingw32/4.2.2/ -DLOCALEDIR="/mingw/share/locale"
-DBISON_LOCALEDIR="" -DLOCALE_ALIAS_PATH="/mingw/share/locale" -DUSEJEXE=0
-DGETTEXTJEXEDIR="/mingw/lib/gettext"
-DGETTEXTJAR="/mingw/share/gettext/gettext.jar" -DLIBDIR="/mingw/lib"
-DGETTEXTDATADIR="/mingw/share/gettext"
-DPROJECTSDIR="/mingw/share/gettext/projects" -DHAVE_CONFIG_H -DDLL_EXPORT
-DPIC msgl-check.c -quiet -dumpbase msgl-check.c -mtune=generic -auxbase-strip
.libs/msgl-check.o -g -O2 -std=gnu99 -version -o /tmp/ccbFu9Jj.s
ignoring nonexistent directory
"/home/kai/.../CHROOT/MINGW/Sysroot/usr/local/include"
ignoring nonexistent directory
"/home/kai/.../CHROOT/MINGW/Prefix/lib/gcc/i686-pc-mingw32/4.2.2/include"
ignoring nonexistent directory
"/home/kai/.../CHROOT/MINGW/Prefix/i686-pc-mingw32/include"
ignoring nonexistent directory
"/home/kai/.../CHROOT/MINGW/Sysroot/mingw/include"
ignoring duplicate directory "."
ignoring duplicate directory "."
ignoring duplicate directory ".."
ignoring duplicate directory ".."
ignoring duplicate directory "../gnulib-lib"
ignoring duplicate directory "/mingw/include"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
 .
 ..
 ../libgrep
 ../gnulib-lib
 ../intl
 ../../gettext-runtime/intl
 /usr/bin/../lib/gcc/i686-pc-mingw32/4.2.2/include
 /usr/bin/../lib/gcc/i686-pc-mingw32/4.2.2/../../../../i686-pc-mingw32/include
End of search list.
GNU C version 4.2.2 (i686-pc-mingw32)
        compiled by GNU C version 4.1.2 (Ubuntu 4.1.2-0ubuntu4).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 6dcc5255bda1643008b891d121aa4d75
msgl-check.c: In function 'plural_help':
msgl-check.c:199: error: unrecognizable insn:
(insn 40 39 41 6 msgl-check.c:184 (set (reg:SI 76)
        (const:SI (plus:SI (mem:SI (symbol_ref:SI ("#i.plural_table") <var_decl
0xb7be19f8 plural_table>) [0 S4 A8])
                (const_int 4 [0x4])))) -1 (nil)
    (nil))
msgl-check.c:199: internal compiler error: in extract_insn, at recog.c:2077
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 


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


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

* [Bug target/34625] msgl-check.c:199: error: unrecognizable insn:
  2007-12-30 13:58 [Bug target/34625] New: msgl-check.c:199: error: unrecognizable insn: kai-gcc-bugs at khms dot westfalen dot de
  2007-12-30 14:04 ` [Bug target/34625] " kai-gcc-bugs at khms dot westfalen dot de
@ 2007-12-30 14:09 ` kai-gcc-bugs at khms dot westfalen dot de
  2007-12-30 14:10 ` kai-gcc-bugs at khms dot westfalen dot de
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: kai-gcc-bugs at khms dot westfalen dot de @ 2007-12-30 14:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from kai-gcc-bugs at khms dot westfalen dot de  2007-12-30 14:09 -------
Created an attachment (id=14843)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14843&action=view)
msgl-check.i

Generated with -save-temps


-- 


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


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

* [Bug target/34625] msgl-check.c:199: error: unrecognizable insn:
  2007-12-30 13:58 [Bug target/34625] New: msgl-check.c:199: error: unrecognizable insn: kai-gcc-bugs at khms dot westfalen dot de
  2007-12-30 14:04 ` [Bug target/34625] " kai-gcc-bugs at khms dot westfalen dot de
  2007-12-30 14:09 ` kai-gcc-bugs at khms dot westfalen dot de
@ 2007-12-30 14:10 ` kai-gcc-bugs at khms dot westfalen dot de
  2007-12-30 14:41 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: kai-gcc-bugs at khms dot westfalen dot de @ 2007-12-30 14:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from kai-gcc-bugs at khms dot westfalen dot de  2007-12-30 14:10 -------
I should add that I saw the exact same error with 4.1.2.


-- 


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


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

* [Bug target/34625] msgl-check.c:199: error: unrecognizable insn:
  2007-12-30 13:58 [Bug target/34625] New: msgl-check.c:199: error: unrecognizable insn: kai-gcc-bugs at khms dot westfalen dot de
                   ` (2 preceding siblings ...)
  2007-12-30 14:10 ` kai-gcc-bugs at khms dot westfalen dot de
@ 2007-12-30 14:41 ` pinskia at gcc dot gnu dot org
  2007-12-30 15:15 ` kai-gcc-bugs at khms dot westfalen dot de
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-12-30 14:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-12-30 14:40 -------
This was supposed to be fixed in 4.2.0, see PR 29826.


-- 


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


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

* [Bug target/34625] msgl-check.c:199: error: unrecognizable insn:
  2007-12-30 13:58 [Bug target/34625] New: msgl-check.c:199: error: unrecognizable insn: kai-gcc-bugs at khms dot westfalen dot de
                   ` (3 preceding siblings ...)
  2007-12-30 14:41 ` pinskia at gcc dot gnu dot org
@ 2007-12-30 15:15 ` kai-gcc-bugs at khms dot westfalen dot de
  2007-12-30 15:20 ` kai-gcc-bugs at khms dot westfalen dot de
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: kai-gcc-bugs at khms dot westfalen dot de @ 2007-12-30 15:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from kai-gcc-bugs at khms dot westfalen dot de  2007-12-30 15:15 -------
Still in gcc version 4.2.3 20071226 (prerelease).


-- 


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


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

* [Bug target/34625] msgl-check.c:199: error: unrecognizable insn:
  2007-12-30 13:58 [Bug target/34625] New: msgl-check.c:199: error: unrecognizable insn: kai-gcc-bugs at khms dot westfalen dot de
                   ` (4 preceding siblings ...)
  2007-12-30 15:15 ` kai-gcc-bugs at khms dot westfalen dot de
@ 2007-12-30 15:20 ` kai-gcc-bugs at khms dot westfalen dot de
  2007-12-31 20:34 ` kai-gcc-bugs at khms dot westfalen dot de
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: kai-gcc-bugs at khms dot westfalen dot de @ 2007-12-30 15:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from kai-gcc-bugs at khms dot westfalen dot de  2007-12-30 15:20 -------
Hmm. Looking at PR 29826, this is indeed the same bug; maybe a different
version of the mingw headers? And I wonder why I didn't find it when I searched
for it ...


-- 


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


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

* [Bug target/34625] msgl-check.c:199: error: unrecognizable insn:
  2007-12-30 13:58 [Bug target/34625] New: msgl-check.c:199: error: unrecognizable insn: kai-gcc-bugs at khms dot westfalen dot de
                   ` (5 preceding siblings ...)
  2007-12-30 15:20 ` kai-gcc-bugs at khms dot westfalen dot de
@ 2007-12-31 20:34 ` kai-gcc-bugs at khms dot westfalen dot de
  2009-05-13 20:24 ` fxcoudert at gcc dot gnu dot org
  2010-03-25  3:00 ` sherpya at netfarm dot it
  8 siblings, 0 replies; 10+ messages in thread
From: kai-gcc-bugs at khms dot westfalen dot de @ 2007-12-31 20:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from kai-gcc-bugs at khms dot westfalen dot de  2007-12-31 20:26 -------
Applying that patch also works for gcc-4.2-20071226.

So, it seems that patch was simply never applied to 4.2.


-- 


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


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

* [Bug target/34625] msgl-check.c:199: error: unrecognizable insn:
  2007-12-30 13:58 [Bug target/34625] New: msgl-check.c:199: error: unrecognizable insn: kai-gcc-bugs at khms dot westfalen dot de
                   ` (6 preceding siblings ...)
  2007-12-31 20:34 ` kai-gcc-bugs at khms dot westfalen dot de
@ 2009-05-13 20:24 ` fxcoudert at gcc dot gnu dot org
  2010-03-25  3:00 ` sherpya at netfarm dot it
  8 siblings, 0 replies; 10+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-05-13 20:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from fxcoudert at gcc dot gnu dot org  2009-05-13 20:24 -------
Fixed, at least for current trunk.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


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


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

* [Bug target/34625] msgl-check.c:199: error: unrecognizable insn:
  2007-12-30 13:58 [Bug target/34625] New: msgl-check.c:199: error: unrecognizable insn: kai-gcc-bugs at khms dot westfalen dot de
                   ` (7 preceding siblings ...)
  2009-05-13 20:24 ` fxcoudert at gcc dot gnu dot org
@ 2010-03-25  3:00 ` sherpya at netfarm dot it
  8 siblings, 0 replies; 10+ messages in thread
From: sherpya at netfarm dot it @ 2010-03-25  3:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from sherpya at netfarm dot it  2010-03-25 03:00 -------
please apply to branch 4.2, tested on a file that was not working and fixed the
problem
(first hunk fails, but it's just the copyright date)


-- 

sherpya at netfarm dot it changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sherpya at netfarm dot it


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


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

end of thread, other threads:[~2010-03-25  3:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-30 13:58 [Bug target/34625] New: msgl-check.c:199: error: unrecognizable insn: kai-gcc-bugs at khms dot westfalen dot de
2007-12-30 14:04 ` [Bug target/34625] " kai-gcc-bugs at khms dot westfalen dot de
2007-12-30 14:09 ` kai-gcc-bugs at khms dot westfalen dot de
2007-12-30 14:10 ` kai-gcc-bugs at khms dot westfalen dot de
2007-12-30 14:41 ` pinskia at gcc dot gnu dot org
2007-12-30 15:15 ` kai-gcc-bugs at khms dot westfalen dot de
2007-12-30 15:20 ` kai-gcc-bugs at khms dot westfalen dot de
2007-12-31 20:34 ` kai-gcc-bugs at khms dot westfalen dot de
2009-05-13 20:24 ` fxcoudert at gcc dot gnu dot org
2010-03-25  3:00 ` sherpya at netfarm dot it

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