public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [lra] branch merged with trunk
@ 2013-02-16  0:56 Vladimir Makarov
  2013-02-18 20:22 ` Steven Bosscher
  0 siblings, 1 reply; 4+ messages in thread
From: Vladimir Makarov @ 2013-02-16  0:56 UTC (permalink / raw)
  To: GCC Patches

The branch was merged with trunk @ r196091.

Successfully bootstrapped on x86-64.

Committed as rev. 196099.

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

* Re: [lra] branch merged with trunk
  2013-02-16  0:56 [lra] branch merged with trunk Vladimir Makarov
@ 2013-02-18 20:22 ` Steven Bosscher
  2013-02-18 21:30   ` Steven Bosscher
  0 siblings, 1 reply; 4+ messages in thread
From: Steven Bosscher @ 2013-02-18 20:22 UTC (permalink / raw)
  To: Vladimir Makarov; +Cc: GCC Patches

On Sat, Feb 16, 2013 at 1:55 AM, Vladimir Makarov wrote:
> The branch was merged with trunk @ r196091.
>
> Successfully bootstrapped on x86-64.
>
> Committed as rev. 196099.

Hello Vlad,

It looks like this broke bootstrap on ia64 and

/home/stevenb/lra_powerpc64_autotester/lra-branch/libgfortran/generated/pow_i8_i4.c:
In function 'pow_i8_i4':
/home/stevenb/lra_powerpc64_autotester/lra-branch/libgfortran/generated/pow_i8_i4.c:75:1:
internal compiler error: in check_rtl, at lra.c:2009

/home/stevenb/lra_ia64_autotester/lra-branch/libgfortran/generated/pow_i16_i4.c:
In function ‘pow_i16_i4’:
/home/stevenb/lra_ia64_autotester/lra-branch/libgfortran/generated/pow_i16_i4.c:75:1:
internal compiler error: in check_rtl, at lra.c:2009

Ciao!
Steven

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

* Re: [lra] branch merged with trunk
  2013-02-18 20:22 ` Steven Bosscher
@ 2013-02-18 21:30   ` Steven Bosscher
  2013-02-18 21:54     ` Steven Bosscher
  0 siblings, 1 reply; 4+ messages in thread
From: Steven Bosscher @ 2013-02-18 21:30 UTC (permalink / raw)
  To: Vladimir Makarov; +Cc: GCC Patches

On Mon, Feb 18, 2013 at 9:21 PM, Steven Bosscher wrote:
> On Sat, Feb 16, 2013 at 1:55 AM, Vladimir Makarov wrote:
>> The branch was merged with trunk @ r196091.
>>
>> Successfully bootstrapped on x86-64.
>>
>> Committed as rev. 196099.
>
> Hello Vlad,
>
> It looks like this broke bootstrap on ia64 and
>
> /home/stevenb/lra_powerpc64_autotester/lra-branch/libgfortran/generated/pow_i8_i4.c:
> In function 'pow_i8_i4':
> /home/stevenb/lra_powerpc64_autotester/lra-branch/libgfortran/generated/pow_i8_i4.c:75:1:
> internal compiler error: in check_rtl, at lra.c:2009

This is:
$ ./xgcc --version
xgcc (GCC) 4.8.0 20130215 (experimental) [lra revision 196115]
...
$ cat t.c
typedef int int32_t __attribute__ ((__mode__ (__SI__)));
typedef int int64_t __attribute__ ((__mode__ (__DI__)));
typedef unsigned int uint32_t __attribute__ ((__mode__ (__SI__)));

int64_t pow_i8_i4 (int64_t a, int32_t b);

int64_t
pow_i8_i4 (int64_t a, int32_t b)
{
  int64_t pow, x;
  int32_t n;
  uint32_t u;

  n = b;
  x = a;
  pow = 1;
  if (n != 0)
    {
      if (n < 0)
        {
          if (x == 1)
            return 1;
          if (x == -1)
            return (n & 1) ? -1 : 1;
          return (x == 0) ? 1 / x : 0;
        }
      else
        u = n;
      for (;;)
        {
          if (u & 1)
            pow *= x;
          u >>= 1;
          if (u)
            x *= x;
          else
            break;
        }
    }
  return pow;
}
$ ./cc1 -quiet -O2 -m32 t.c
t.c: In function 'pow_i8_i4':
t.c:41:1: internal compiler error: in check_rtl, at lra.c:2009
 }
 ^
0x106aa15b check_rtl
        ../../lra-branch/gcc/lra.c:2009
0x106ab387 lra(_IO_FILE*)
        ../../lra-branch/gcc/lra.c:2374
0x1063542b do_reload
        ../../lra-branch/gcc/ira.c:4619
0x106357df rest_of_handle_reload
        ../../lra-branch/gcc/ira.c:4731
Please submit a full bug report,

Ciao!
Steven

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

* Re: [lra] branch merged with trunk
  2013-02-18 21:30   ` Steven Bosscher
@ 2013-02-18 21:54     ` Steven Bosscher
  0 siblings, 0 replies; 4+ messages in thread
From: Steven Bosscher @ 2013-02-18 21:54 UTC (permalink / raw)
  To: Vladimir Makarov; +Cc: GCC Patches

On Mon, Feb 18, 2013 at 10:29 PM, Steven Bosscher wrote:

>> /home/stevenb/lra_powerpc64_autotester/lra-branch/libgfortran/generated/pow_i8_i4.c:
>> In function 'pow_i8_i4':
>> /home/stevenb/lra_powerpc64_autotester/lra-branch/libgfortran/generated/pow_i8_i4.c:75:1:
>> internal compiler error: in check_rtl, at lra.c:2009
>
> This is:

(insn 81 165 76 15 (set (reg/v:DI 10 10 [orig:127 a ] [127])
        (mult:DI (zero_extend:DI (reg:SI 0 0 [166]))
            (zero_extend:DI (reg:SI 11 11 [orig:127 a+4 ] [127]))))
t.c:35 301 {umulsidi3}
     (expr_list:REG_DEAD (reg:SI 0 0 [166])
        (nil)))

(define_insn "umulsidi3"
  [(set (match_operand:DI 0 "gpc_reg_operand" "=&r")
        (mult:DI (zero_extend:DI (match_operand:SI 1 "gpc_reg_operand" "%r"))
                 (zero_extend:DI (match_operand:SI 2 "gpc_reg_operand" "r"))))]

and safe_from_earlyclobber((reg:SI 11), (reg:DI 10)) fails in
constrain_operands.

Ciao!
Steven

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

end of thread, other threads:[~2013-02-18 21:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-16  0:56 [lra] branch merged with trunk Vladimir Makarov
2013-02-18 20:22 ` Steven Bosscher
2013-02-18 21:30   ` Steven Bosscher
2013-02-18 21:54     ` Steven Bosscher

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