public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/43603]  New: gcc-4.4.3 ICE on ia64 with -O3
@ 2010-03-31 13:45 mariah dot lenox at gmail dot com
  2010-04-04  1:34 ` [Bug target/43603] " wilson at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 27+ messages in thread
From: mariah dot lenox at gmail dot com @ 2010-03-31 13:45 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2859 bytes --]

/* 
% uname -a
Linux cleo 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:57:09 EST 2009 ia64 ia64
ia64 GNU/Linux
% 
% gcc -v
Using built-in specs.
Target: ia64-unknown-linux-gnu
Configured with: /usr/local/gcc-4.4.3/src/gcc-4.4.3/configure
--enable-languages=c,c++,fortran --with-gnu-as
--with-as=/usr/local/binutils-2.20/ia64-Linux-rhel-gcc-4.4.2/bin/as
--with-gnu-ld
--with-ld=/usr/local/binutils-2.20/ia64-Linux-rhel-gcc-4.4.2/bin/ld
--with-gmp=/usr/local/mpir-1.2.2/ia64-Linux-rhel-gcc-4.4.2
--with-mpfr=/usr/local/mpfr-2.4.2/ia64-Linux-rhel-mpir-1.2.2-gcc-4.4.2
--prefix=/usr/local/gcc-4.4.3/ia64-Linux-rhel
Thread model: posix
gcc version 4.4.3 (GCC) 
%
% gcc -O2 -c foo.c
%
% gcc -O3 -c foo.c
foo.c: In function ‘foo’:
foo.c:35: error: unrecognizable insn:
(insn:TI 222 209 248 19 (parallel [
            (set (reg:SI 135 f7)
                (asm_operands:SI ("xma.hu %0 = %2, %3, f0
        xma.l %1 = %2, %3, f0") ("=&f") 0 [
                        (reg:SI 136 f8)
                        (reg:SI 130 f2 [394])
                    ]
                     [
                        (asm_input:SI ("f") 0)
                        (asm_input:SI ("f") 0)
                    ] 2896))
            (set (reg/v:SI 134 f6 [orig:370 b ] [370])
                (asm_operands:SI ("xma.hu %0 = %2, %3, f0
        xma.l %1 = %2, %3, f0") ("=f") 1 [
                        (reg:SI 136 f8)
                        (reg:SI 130 f2 [394])
                    ]
                     [
                        (asm_input:SI ("f") 0)
                        (asm_input:SI ("f") 0)
                    ] 2896))
        ]) -1 (nil))
foo.c:35: internal compiler error: in get_attr_first_insn, at
config/ia64/itanium2.md:1909
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
%
*/

int 
foo( long * np, int * dp, int qn)
{
  int i;
  int n0;
  int d0;
  int a;
  int b;
  int c;
  int d;

  a = 1;
  b = 0;
  c = 1;
  d = 1;

  d0 = dp[0];

  for (i = qn; i >= 0; i--) {
    if (bar((c == 0)) && (np[1] == d0)) {
      car(np - 3, dp, 3);
    } else { 
      __asm__ ("xma.hu %0 = %2, %3, f0\n\txma.l %1 = %2, %3, f0" : "=&f" ((a)), 
"=f" (b) : "f" ((c)), "f" ((d))); 
      n0 = np[0]; 
      if (n0 < d0) 
        c = 1; 
      else 
        c = 0; 

    }
    *--np = a;
  }

  return 0;
}


-- 
           Summary: gcc-4.4.3 ICE on ia64 with -O3
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mariah dot lenox at gmail dot com
 GCC build triplet: ia64-unknown-linux-gnu
  GCC host triplet: ia64-unknown-linux-gnu
GCC target triplet: ia64-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 27+ messages in thread
[parent not found: <bug-43603-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-06-20 12:09 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-31 13:45 [Bug c/43603] New: gcc-4.4.3 ICE on ia64 with -O3 mariah dot lenox at gmail dot com
2010-04-04  1:34 ` [Bug target/43603] " wilson at gcc dot gnu dot org
2010-04-06 17:10 ` amonakov at gcc dot gnu dot org
2010-04-20  8:36 ` abel at gcc dot gnu dot org
2010-05-21 17:48 ` pinskia at gcc dot gnu dot org
2010-06-30  8:44 ` abel at gcc dot gnu dot org
     [not found] <bug-43603-4@http.gcc.gnu.org/bugzilla/>
2010-11-09 17:11 ` pinskia at gcc dot gnu.org
2010-11-24 18:31 ` pinskia at gcc dot gnu.org
2010-12-08 13:56 ` abel at gcc dot gnu.org
2011-03-19  0:23 ` sje at cup dot hp.com
2011-03-21 12:13 ` abel at gcc dot gnu.org
2011-03-21 17:58 ` sje at cup dot hp.com
2011-04-07  6:59 ` abel at gcc dot gnu.org
2011-04-07  7:09 ` abel at gcc dot gnu.org
2011-04-13  8:06 ` devurandom at gmx dot net
2011-04-27  8:16 ` devurandom at gmx dot net
2011-04-27  8:17 ` abel at gcc dot gnu.org
2011-04-27  8:49 ` devurandom at gmx dot net
2011-04-27  8:54 ` devurandom at gmx dot net
2011-04-27  9:25 ` jakub at gcc dot gnu.org
2011-04-27 10:11 ` abel at gcc dot gnu.org
2011-04-27 11:16 ` devurandom at gmx dot net
2011-06-17 11:23 ` devurandom at gmx dot net
2011-06-17 14:06 ` devurandom at gmx dot net
2011-06-17 15:10 ` abel at gcc dot gnu.org
2011-06-20 11:58 ` abel at gcc dot gnu.org
2011-06-20 12:09 ` devurandom at gmx dot net

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