public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/49780] New: internal compiler error: in create_mem_ref, at tree-ssa-address.c:806
@ 2011-07-18 18:48 hjl.tools at gmail dot com
  2011-07-20 13:00 ` [Bug target/49780] [x32] " uros at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2011-07-18 18:48 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: internal compiler error: in create_mem_ref, at
                    tree-ssa-address.c:806
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com
                CC: ubizjak@gmail.com


[hjl@gnu-6 ilp32-36]$ cat x.i 
typedef long long __m256i __attribute__ ((__vector_size__ (32),
       __may_alias__));
typedef union
{
  __m256i x;
  char a[32];
} union256i_b;
int check_union256i_b (union256i_b u, const char *v)
{
  int i;
  int err = 0;
  for (i = 0; i < (sizeof (u.a) / sizeof ((u.a)[0])); i++)
    if (u.a[i] != v[i])
      {
    err++;
      } 
  return err;
}
[hjl@gnu-6 ilp32-36]$ make
/export/build/gnu/gcc-x32/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-x32/build-x86_64-linux/gcc/ -S -o x.s -mx32 -O2 -mavx  
x.i
x.i: In function ‘check_union256i_b’:
x.i:8:5: internal compiler error: in create_mem_ref, at tree-ssa-address.c:806
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [x.s] Error 1
[hjl@gnu-6 ilp32-36]$


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

* [Bug target/49780] [x32] internal compiler error: in create_mem_ref, at tree-ssa-address.c:806
  2011-07-18 18:48 [Bug target/49780] New: internal compiler error: in create_mem_ref, at tree-ssa-address.c:806 hjl.tools at gmail dot com
@ 2011-07-20 13:00 ` uros at gcc dot gnu.org
  2011-07-20 13:04 ` ubizjak at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: uros at gcc dot gnu.org @ 2011-07-20 13:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from uros at gcc dot gnu.org 2011-07-20 12:58:31 UTC ---
Author: uros
Date: Wed Jul 20 12:58:28 2011
New Revision: 176506

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176506
Log:
    PR target/49780
    * config/i386/predicates.md (no_seg_addres_operand): No more special.
    * config/i386/i386.c (ix86_decompose_address): Allow only subregs
    of DImode hard registers in base.
    (ix86_legitimate_address_p): Allow SImode and DImode base and index
    registers.


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


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

* [Bug target/49780] [x32] internal compiler error: in create_mem_ref, at tree-ssa-address.c:806
  2011-07-18 18:48 [Bug target/49780] New: internal compiler error: in create_mem_ref, at tree-ssa-address.c:806 hjl.tools at gmail dot com
  2011-07-20 13:00 ` [Bug target/49780] [x32] " uros at gcc dot gnu.org
@ 2011-07-20 13:04 ` ubizjak at gmail dot com
  2011-07-20 23:06 ` hjl at gcc dot gnu.org
  2011-07-20 23:07 ` hjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2011-07-20 13:04 UTC (permalink / raw)
  To: gcc-bugs

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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x32
             Status|UNCONFIRMED                 |RESOLVED
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2011-07/msg01555.htm
                   |                            |l
         Resolution|                            |FIXED
   Target Milestone|---                         |4.7.0

--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2011-07-20 13:04:16 UTC ---
Fixed.


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

* [Bug target/49780] [x32] internal compiler error: in create_mem_ref, at tree-ssa-address.c:806
  2011-07-18 18:48 [Bug target/49780] New: internal compiler error: in create_mem_ref, at tree-ssa-address.c:806 hjl.tools at gmail dot com
  2011-07-20 13:00 ` [Bug target/49780] [x32] " uros at gcc dot gnu.org
  2011-07-20 13:04 ` ubizjak at gmail dot com
@ 2011-07-20 23:06 ` hjl at gcc dot gnu.org
  2011-07-20 23:07 ` hjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: hjl at gcc dot gnu.org @ 2011-07-20 23:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-07-20 23:05:54 UTC ---
Author: hjl
Date: Wed Jul 20 23:05:52 2011
New Revision: 176541

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176541
Log:
Remove checks that base and index registers are in Pmode.

2011-07-19  Uros Bizjak  <ubizjak@gmail.com>

    PR target/49780
    * config/i386/i386.c (ix86_legitimate_address_p): Remove checks
    that base and index registers are in Pmode.

Modified:
    branches/x32/gcc/ChangeLog.x32
    branches/x32/gcc/config/i386/i386.c


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

* [Bug target/49780] [x32] internal compiler error: in create_mem_ref, at tree-ssa-address.c:806
  2011-07-18 18:48 [Bug target/49780] New: internal compiler error: in create_mem_ref, at tree-ssa-address.c:806 hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2011-07-20 23:06 ` hjl at gcc dot gnu.org
@ 2011-07-20 23:07 ` hjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: hjl at gcc dot gnu.org @ 2011-07-20 23:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-07-20 23:07:00 UTC ---
Author: hjl
Date: Wed Jul 20 23:06:57 2011
New Revision: 176542

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176542
Log:
Allow only subregs of DImode hard regs.

2011-07-19  Uros Bizjak  <ubizjak@gmail.com>

    PR target/49780
    * config/i386/i386.c (ix86_decompose_address): Allow only subregs
    of DImode hard regs.

    * config/i386/predicates.md (no_seg_address_operand): Use
    define_predicate.

Modified:
    branches/x32/gcc/ChangeLog.x32
    branches/x32/gcc/config/i386/i386.c
    branches/x32/gcc/config/i386/predicates.md


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

end of thread, other threads:[~2011-07-20 23:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-18 18:48 [Bug target/49780] New: internal compiler error: in create_mem_ref, at tree-ssa-address.c:806 hjl.tools at gmail dot com
2011-07-20 13:00 ` [Bug target/49780] [x32] " uros at gcc dot gnu.org
2011-07-20 13:04 ` ubizjak at gmail dot com
2011-07-20 23:06 ` hjl at gcc dot gnu.org
2011-07-20 23:07 ` 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).