public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/53749] New: ice in expand_shift_1
@ 2012-06-22  8:34 dcb314 at hotmail dot com
  2012-06-22 13:53 ` [Bug middle-end/53749] " hjl.tools at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2012-06-22  8:34 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53749
           Summary: ice in expand_shift_1
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dcb314@hotmail.com


Created attachment 27688
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27688
C source code

I just tried to compile the package slang-2.2.4
on gcc-4.8 trunk dated 20120620 on an AMD x86_64 box.

The compiler said

/home/dcb/rpmbuild/BUILD/slang-2.2.4/src/slarith.inc:697:32: internal compiler
error: in expand_shift_1, at expmed.c:2335
  for (n = 0; n < na; n++) b[n] = (2 * a[n]);
                                ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. Flag -O3 required.


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

* [Bug middle-end/53749] ice in expand_shift_1
  2012-06-22  8:34 [Bug c/53749] New: ice in expand_shift_1 dcb314 at hotmail dot com
@ 2012-06-22 13:53 ` hjl.tools at gmail dot com
  2012-06-22 16:47 ` rth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2012-06-22 13:53 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-06-22
          Component|c                           |middle-end
                 CC|                            |rth at gcc dot gnu.org
     Ever Confirmed|0                           |1
   Target Milestone|---                         |4.8.0

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-06-22 13:52:52 UTC ---
It is caused by revision 188786:

http://gcc.gnu.org/ml/gcc-cvs/2012-06/msg00696.html


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

* [Bug middle-end/53749] ice in expand_shift_1
  2012-06-22  8:34 [Bug c/53749] New: ice in expand_shift_1 dcb314 at hotmail dot com
  2012-06-22 13:53 ` [Bug middle-end/53749] " hjl.tools at gmail dot com
@ 2012-06-22 16:47 ` rth at gcc dot gnu.org
  2012-06-23 16:42 ` [Bug target/53749] " rth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu.org @ 2012-06-22 16:47 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |rth at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #2 from Richard Henderson <rth at gcc dot gnu.org> 2012-06-22 16:47:00 UTC ---
Mine.


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

* [Bug target/53749] ice in expand_shift_1
  2012-06-22  8:34 [Bug c/53749] New: ice in expand_shift_1 dcb314 at hotmail dot com
  2012-06-22 13:53 ` [Bug middle-end/53749] " hjl.tools at gmail dot com
  2012-06-22 16:47 ` rth at gcc dot gnu.org
@ 2012-06-23 16:42 ` rth at gcc dot gnu.org
  2012-06-23 20:02 ` rth at gcc dot gnu.org
  2012-06-27 21:31 ` rth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu.org @ 2012-06-23 16:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> 2012-06-23 16:42:26 UTC ---
Author: rth
Date: Sat Jun 23 16:42:19 2012
New Revision: 188909

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188909
Log:
PR target/53749
        * config/i386/i386.c (ix86_rtx_costs): Add reasonable costs for
        V*QImode shifts and multiply.
        (ix86_expand_vecop_qihi): Support shifts.
        * config/i386/i386.md (any_shift): New code iterator.
        * config/i386/sse.md (ashlv16qi3): Merge ...
        (<any_shiftrt>v16qi3): ... into ...
        (<any_shift><VI1_AVX2>3): ... here.  Use ix86_expand_vecop_qihi
        to support SSE and AVX.

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


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

* [Bug target/53749] ice in expand_shift_1
  2012-06-22  8:34 [Bug c/53749] New: ice in expand_shift_1 dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2012-06-23 16:42 ` [Bug target/53749] " rth at gcc dot gnu.org
@ 2012-06-23 20:02 ` rth at gcc dot gnu.org
  2012-06-27 21:31 ` rth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu.org @ 2012-06-23 20:02 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Henderson <rth at gcc dot gnu.org> changed:

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

--- Comment #4 from Richard Henderson <rth at gcc dot gnu.org> 2012-06-23 20:02:33 UTC ---
Fixed.


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

* [Bug target/53749] ice in expand_shift_1
  2012-06-22  8:34 [Bug c/53749] New: ice in expand_shift_1 dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2012-06-23 20:02 ` rth at gcc dot gnu.org
@ 2012-06-27 21:31 ` rth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu.org @ 2012-06-27 21:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Richard Henderson <rth at gcc dot gnu.org> 2012-06-27 21:30:45 UTC ---
Author: rth
Date: Wed Jun 27 21:30:41 2012
New Revision: 189026

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189026
Log:
i386: Fix logic error in r188785

PR target/53749
        * config/i386/i386.c (ix86_rtx_costs): Fix typo vs UNITS_PER_WORD
        in 2012-06-23 change.  Adjust two other DImode tests as well.

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


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

end of thread, other threads:[~2012-06-27 21:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-22  8:34 [Bug c/53749] New: ice in expand_shift_1 dcb314 at hotmail dot com
2012-06-22 13:53 ` [Bug middle-end/53749] " hjl.tools at gmail dot com
2012-06-22 16:47 ` rth at gcc dot gnu.org
2012-06-23 16:42 ` [Bug target/53749] " rth at gcc dot gnu.org
2012-06-23 20:02 ` rth at gcc dot gnu.org
2012-06-27 21:31 ` rth 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).