public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47369] New: [x32] internal compiler error: in extract_insn, at recog.c:2109
@ 2011-01-20  4:14 hjl.tools at gmail dot com
  2011-01-20  5:28 ` [Bug target/47369] " hjl at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-20  4:14 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [x32] internal compiler error: in extract_insn, at
                    recog.c:2109
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com


On x32 branch, revision 169032 gave

[hjl@gnu-6 ilp32-9]$ cat z.i 
struct FILE
{
  int x;
};
extern struct FILE __sF[];
extern void bar (struct FILE *);
void dlmalloc_stats() {
   bar ((&__sF[2]));
}
[hjl@gnu-6 ilp32-9]$ make z.s
/export/build/gnu/gcc-x32/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-x32/build-x86_64-linux/gcc/ -S -o z.s -mx32 -O2 -fPIC
-dp  z.i
z.i: In function ‘dlmalloc_stats’:
z.i:9:1: error: unrecognizable insn:
(insn 5 4 6 3 (set (reg:SI 5 di)
        (const:SI (plus:SI (symbol_ref:SI ("__sF") [flags 0x40] <var_decl
0x7f72be3d5000 __sF>)
                (const_int 8 [0x8])))) z.i:8 -1
     (nil))
z.i:9:1: internal compiler error: in extract_insn, at recog.c:2109
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [z.s] Error 1
[hjl@gnu-6 ilp32-9]$


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

* [Bug target/47369] [x32] internal compiler error: in extract_insn, at recog.c:2109
  2011-01-20  4:14 [Bug target/47369] New: [x32] internal compiler error: in extract_insn, at recog.c:2109 hjl.tools at gmail dot com
@ 2011-01-20  5:28 ` hjl at gcc dot gnu.org
  2011-07-26 18:04 ` uros at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl at gcc dot gnu.org @ 2011-01-20  5:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-01-20 02:25:09 UTC ---
Author: hjl
Date: Thu Jan 20 02:25:06 2011
New Revision: 169047

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169047
Log:
Allow ptr_mode for symbolic operand with PIC.

gcc/

2011-01-19  H.J. Lu  <hongjiu.lu@intel.com>

    PR target/47369
    * config/i386/i386.c (ix86_expand_move): Allow ptr_mode for
    symbolic operand with PIC.

gcc/testsuite/

2011-01-19  H.J. Lu  <hongjiu.lu@intel.com>

    PR target/47369
    * gcc.target/i386/pr47369-1.c: New.

Added:
    branches/x32/gcc/testsuite/gcc.target/i386/pr47369-1.c
Modified:
    branches/x32/gcc/ChangeLog.x32
    branches/x32/gcc/config/i386/i386.c
    branches/x32/gcc/testsuite/ChangeLog.x32


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

* [Bug target/47369] [x32] internal compiler error: in extract_insn, at recog.c:2109
  2011-01-20  4:14 [Bug target/47369] New: [x32] internal compiler error: in extract_insn, at recog.c:2109 hjl.tools at gmail dot com
  2011-01-20  5:28 ` [Bug target/47369] " hjl at gcc dot gnu.org
@ 2011-07-26 18:04 ` uros at gcc dot gnu.org
  2011-07-26 21:51 ` ubizjak at gmail dot com
  2011-08-05 22:38 ` hjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: uros at gcc dot gnu.org @ 2011-07-26 18:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from uros at gcc dot gnu.org 2011-07-26 18:03:59 UTC ---
Author: uros
Date: Tue Jul 26 18:03:54 2011
New Revision: 176798

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176798
Log:
    PR target/47369
    PR target/49853
    * config/i386/i386.c (ix86_expand_move): Call convert_to_mode
    if legitimize_tls_address returned operand in wrong mode. Allow
    SImode and DImode symbolic operand for PIC.  Call convert_to_mode
    if legitimize_pic_address returned operand in wrong mode.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c


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

* [Bug target/47369] [x32] internal compiler error: in extract_insn, at recog.c:2109
  2011-01-20  4:14 [Bug target/47369] New: [x32] internal compiler error: in extract_insn, at recog.c:2109 hjl.tools at gmail dot com
  2011-01-20  5:28 ` [Bug target/47369] " hjl at gcc dot gnu.org
  2011-07-26 18:04 ` uros at gcc dot gnu.org
@ 2011-07-26 21:51 ` ubizjak at gmail dot com
  2011-08-05 22:38 ` hjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2011-07-26 21:51 UTC (permalink / raw)
  To: gcc-bugs

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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x32
             Status|UNCONFIRMED                 |RESOLVED
            Version|4.6.0                       |4.7.0
         Resolution|                            |FIXED
   Target Milestone|---                         |4.7.0

--- Comment #3 from Uros Bizjak <ubizjak at gmail dot com> 2011-07-26 21:51:27 UTC ---
Fixed.


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

* [Bug target/47369] [x32] internal compiler error: in extract_insn, at recog.c:2109
  2011-01-20  4:14 [Bug target/47369] New: [x32] internal compiler error: in extract_insn, at recog.c:2109 hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2011-07-26 21:51 ` ubizjak at gmail dot com
@ 2011-08-05 22:38 ` hjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: hjl at gcc dot gnu.org @ 2011-08-05 22:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-08-05 22:37:35 UTC ---
Author: hjl
Date: Fri Aug  5 22:37:32 2011
New Revision: 177490

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177490
Log:
Add a testcase for PR target/47369.

2011-08-05  H.J. Lu  <hongjiu.lu@intel.com>

    PR target/47369
    * gcc.dg/pr47369-1.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/pr47369-1.c
Modified:
    trunk/gcc/testsuite/ChangeLog


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

end of thread, other threads:[~2011-08-05 22:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-20  4:14 [Bug target/47369] New: [x32] internal compiler error: in extract_insn, at recog.c:2109 hjl.tools at gmail dot com
2011-01-20  5:28 ` [Bug target/47369] " hjl at gcc dot gnu.org
2011-07-26 18:04 ` uros at gcc dot gnu.org
2011-07-26 21:51 ` ubizjak at gmail dot com
2011-08-05 22:38 ` hjl 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).