public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/57099] New: ICE: in extract_insn, at recog.c:2154 (unrecognizable insn) with -mcmodel=large and TLS variable
@ 2013-04-28  7:39 zsojka at seznam dot cz
  2013-04-28  8:03 ` [Bug target/57099] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: zsojka at seznam dot cz @ 2013-04-28  7:39 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 57099
           Summary: ICE: in extract_insn, at recog.c:2154 (unrecognizable
                    insn) with -mcmodel=large and TLS variable
    Classification: Unclassified
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 29958
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29958
reduced testcase

Compiler output:
$ gcc -mcmodel=large testcase.c         
testcase.c: In function 'get_gd':
testcase.c:6:1: error: unrecognizable insn:
 }
 ^
(call_insn/u 5 2 6 2 (parallel [
            (set (reg:DI 0 ax)
                (call:DI (mem:QI (symbol_ref:DI ("__tls_get_addr")) [0 S1 A8])
                    (const_int 0 [0])))
            (unspec:DI [
                    (symbol_ref:DI ("tls_gd") [flags 0x12] <var_decl
0x7fb1fda55260 tls_gd>)
                ] UNSPEC_TLS_GD)
        ]) testcase.c:5 -1
     (expr_list:REG_EH_REGION (const_int -2147483648 [0xffffffff80000000])
        (nil))
    (nil))
testcase.c:6:1: internal compiler error: in extract_insn, at recog.c:2154
0x9b919a _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /mnt/svn/gcc-trunk/gcc/rtl-error.c:109
0x9b922a _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /mnt/svn/gcc-trunk/gcc/rtl-error.c:117
0x974fa1 extract_insn(rtx_def*)
        /mnt/svn/gcc-trunk/gcc/recog.c:2154
0x81219d instantiate_virtual_regs_in_insn
        /mnt/svn/gcc-trunk/gcc/function.c:1609
0x81219d instantiate_virtual_regs
        /mnt/svn/gcc-trunk/gcc/function.c:1926
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

$ gcc -v                       
Using built-in specs.
COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-198362-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df
--enable-languages=c,c++,lto,fortran
--prefix=/mnt/svn/gcc-trunk/binary-198362-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl
Thread model: posix
gcc version 4.9.0 20130427 (experimental) (GCC) 

Tested revisions:
r198362 - crash
4.8 r198018 - crash
4.7 r198018 - crash
4.6 r198018 - crash
4.5 r198018 - crash


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

* [Bug target/57099] ICE: in extract_insn, at recog.c:2154 (unrecognizable insn) with -mcmodel=large and TLS variable
  2013-04-28  7:39 [Bug target/57099] New: ICE: in extract_insn, at recog.c:2154 (unrecognizable insn) with -mcmodel=large and TLS variable zsojka at seznam dot cz
@ 2013-04-28  8:03 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-04-28  8:03 UTC (permalink / raw)
  To: gcc-bugs


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-04-28 08:03:09 UTC ---
Dup of your older bug 46250.

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


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

end of thread, other threads:[~2013-04-28  8:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-28  7:39 [Bug target/57099] New: ICE: in extract_insn, at recog.c:2154 (unrecognizable insn) with -mcmodel=large and TLS variable zsojka at seznam dot cz
2013-04-28  8:03 ` [Bug target/57099] " pinskia 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).