public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/48332] New: optabs changes (PR48263 fix) broke m68k-linux bootstrap
@ 2011-03-29 12:55 mikpe at it dot uu.se
  2011-03-29 13:01 ` [Bug bootstrap/48332] " rsandifo at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mikpe at it dot uu.se @ 2011-03-29 12:55 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: optabs changes (PR48263 fix) broke m68k-linux
                    bootstrap
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mikpe@it.uu.se


Current gcc-4.7 fails to build for m68k-linux due to an ICE while stage1 gcc
builds libgcc:

/tmp/gcc-4.7-r171418/libgcc/../gcc/libgcc2.c: In function '__mulvsi3':
/tmp/gcc-4.7-r171418/libgcc/../gcc/libgcc2.c:157:18: internal compiler error:
in maybe_legitimize_operand, at optabs.c:7034
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [_mulvsi3.o] Error 1
make[2]: Leaving directory `/tmp/objdir2/m68k-unknown-linux/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/tmp/objdir2'
make: *** [all] Error 2

Bisection identified r171418 as the cause of the ICE:

Author: rsandifo
Date: Thu Mar 24 17:23:18 2011
New Revision: 171418

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171418
Log:
gcc/
    PR rtl-optimization/48263
    * optabs.c (expand_binop_directly): Reinstate convert_modes code
    and original commutative_p handling.  Use maybe_gen_insn.

Configuration:
/tmp/gcc-4.7-r171418/configure --target=m68k-unknown-linux
--prefix=/home/mikpe/pkgs/linux-x86/cross-m68k
--with-gmp=/home/mikpe/pkgs/linux-x86/gmp-4.3.2
--with-mpfr=/home/mikpe/pkgs/linux-x86/mpfr-2.4.2
--with-mpc=/home/mikpe/pkgs/linux-x86/mpc-0.8.2 --disable-plugin --disable-lto
--disable-nls --disable-shared --disable-libmudflap --disable-multilib
--enable-threads=posix --enable-checking=release --enable-languages=c


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

* [Bug bootstrap/48332] optabs changes (PR48263 fix) broke m68k-linux bootstrap
  2011-03-29 12:55 [Bug bootstrap/48332] New: optabs changes (PR48263 fix) broke m68k-linux bootstrap mikpe at it dot uu.se
@ 2011-03-29 13:01 ` rsandifo at gcc dot gnu.org
  2011-03-29 13:14 ` mikpe at it dot uu.se
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2011-03-29 13:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2011-03-29 12:47:23 UTC ---
Please attach a preprocessed file.


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

* [Bug bootstrap/48332] optabs changes (PR48263 fix) broke m68k-linux bootstrap
  2011-03-29 12:55 [Bug bootstrap/48332] New: optabs changes (PR48263 fix) broke m68k-linux bootstrap mikpe at it dot uu.se
  2011-03-29 13:01 ` [Bug bootstrap/48332] " rsandifo at gcc dot gnu.org
@ 2011-03-29 13:14 ` mikpe at it dot uu.se
  2011-03-30 15:50 ` rsandifo at gcc dot gnu.org
  2011-03-30 19:52 ` rsandifo at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: mikpe at it dot uu.se @ 2011-03-29 13:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Mikael Pettersson <mikpe at it dot uu.se> 2011-03-29 13:01:13 UTC ---
Created attachment 23799
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23799
preprocessed and reduced test case


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

* [Bug bootstrap/48332] optabs changes (PR48263 fix) broke m68k-linux bootstrap
  2011-03-29 12:55 [Bug bootstrap/48332] New: optabs changes (PR48263 fix) broke m68k-linux bootstrap mikpe at it dot uu.se
  2011-03-29 13:01 ` [Bug bootstrap/48332] " rsandifo at gcc dot gnu.org
  2011-03-29 13:14 ` mikpe at it dot uu.se
@ 2011-03-30 15:50 ` rsandifo at gcc dot gnu.org
  2011-03-30 19:52 ` rsandifo at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2011-03-30 15:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2011-03-30 15:36:49 UTC ---
Author: rsandifo
Date: Wed Mar 30 15:36:45 2011
New Revision: 171733

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171733
Log:
gcc/
    PR rtl-optimization/48332
    * optabs.c (expand_binop_directly): Set xmodeN to the target-mandated
    mode of input operand N and modeN to its actual mode.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/optabs.c


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

* [Bug bootstrap/48332] optabs changes (PR48263 fix) broke m68k-linux bootstrap
  2011-03-29 12:55 [Bug bootstrap/48332] New: optabs changes (PR48263 fix) broke m68k-linux bootstrap mikpe at it dot uu.se
                   ` (2 preceding siblings ...)
  2011-03-30 15:50 ` rsandifo at gcc dot gnu.org
@ 2011-03-30 19:52 ` rsandifo at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2011-03-30 19:52 UTC (permalink / raw)
  To: gcc-bugs

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

rsandifo@gcc.gnu.org <rsandifo at gcc dot gnu.org> changed:

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

--- Comment #4 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2011-03-30 19:42:23 UTC ---
Fixed on trunk.


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

end of thread, other threads:[~2011-03-30 19:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-29 12:55 [Bug bootstrap/48332] New: optabs changes (PR48263 fix) broke m68k-linux bootstrap mikpe at it dot uu.se
2011-03-29 13:01 ` [Bug bootstrap/48332] " rsandifo at gcc dot gnu.org
2011-03-29 13:14 ` mikpe at it dot uu.se
2011-03-30 15:50 ` rsandifo at gcc dot gnu.org
2011-03-30 19:52 ` rsandifo 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).