public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47665] New: [4.6 Regression] ICE in trunc_int_for_mode
@ 2011-02-09 16:21 jakub at gcc dot gnu.org
  2011-02-09 16:22 ` [Bug target/47665] " jakub at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-02-09 16:21 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] ICE in trunc_int_for_mode
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org
            Target: i686-linux


#include <emmintrin.h>

__m128d
foo (double *x, __m128i y)
{
  return _mm_load_pd (x + _mm_cvtsi128_si32 (_mm_srli_si128 (_mm_slli_epi32 (y,
2), 0)));
}

ICEs on i686-linux with -O2 -m32 -msse2, starting in between r166288 and
r166429.


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

* [Bug target/47665] [4.6 Regression] ICE in trunc_int_for_mode
  2011-02-09 16:21 [Bug target/47665] New: [4.6 Regression] ICE in trunc_int_for_mode jakub at gcc dot gnu.org
@ 2011-02-09 16:22 ` jakub at gcc dot gnu.org
  2011-02-09 16:29 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-02-09 16:22 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


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

* [Bug target/47665] [4.6 Regression] ICE in trunc_int_for_mode
  2011-02-09 16:21 [Bug target/47665] New: [4.6 Regression] ICE in trunc_int_for_mode jakub at gcc dot gnu.org
  2011-02-09 16:22 ` [Bug target/47665] " jakub at gcc dot gnu.org
@ 2011-02-09 16:29 ` rguenth at gcc dot gnu.org
  2011-02-09 17:36 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-02-09 16:29 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.02.09 16:27:40
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-09 16:27:40 UTC ---
Confirmed.


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

* [Bug target/47665] [4.6 Regression] ICE in trunc_int_for_mode
  2011-02-09 16:21 [Bug target/47665] New: [4.6 Regression] ICE in trunc_int_for_mode jakub at gcc dot gnu.org
  2011-02-09 16:22 ` [Bug target/47665] " jakub at gcc dot gnu.org
  2011-02-09 16:29 ` rguenth at gcc dot gnu.org
@ 2011-02-09 17:36 ` jakub at gcc dot gnu.org
  2011-02-10 11:17 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-02-09 17:36 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-09 17:33:42 UTC ---
Created attachment 23284
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23284
gcc46-pr47665.patch

Untested patch.


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

* [Bug target/47665] [4.6 Regression] ICE in trunc_int_for_mode
  2011-02-09 16:21 [Bug target/47665] New: [4.6 Regression] ICE in trunc_int_for_mode jakub at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-02-09 17:36 ` jakub at gcc dot gnu.org
@ 2011-02-10 11:17 ` jakub at gcc dot gnu.org
  2011-02-10 11:24 ` jakub at gcc dot gnu.org
  2011-02-11 14:24 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-02-10 11:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-10 11:15:28 UTC ---
Author: jakub
Date: Thu Feb 10 11:15:23 2011
New Revision: 170000

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170000
Log:
    PR target/47665
    * combine.c (make_compound_operation): Only change shifts into
    multiplication for SCALAR_INT_MODE_P.

    * gcc.target/i386/pr47665.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr47665.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug target/47665] [4.6 Regression] ICE in trunc_int_for_mode
  2011-02-09 16:21 [Bug target/47665] New: [4.6 Regression] ICE in trunc_int_for_mode jakub at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-02-10 11:17 ` jakub at gcc dot gnu.org
@ 2011-02-10 11:24 ` jakub at gcc dot gnu.org
  2011-02-11 14:24 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-02-10 11:24 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-10 11:17:42 UTC ---
Fixed.


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

* [Bug target/47665] [4.6 Regression] ICE in trunc_int_for_mode
  2011-02-09 16:21 [Bug target/47665] New: [4.6 Regression] ICE in trunc_int_for_mode jakub at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2011-02-10 11:24 ` jakub at gcc dot gnu.org
@ 2011-02-11 14:24 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-02-11 14:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-11 14:19:49 UTC ---
Author: jakub
Date: Fri Feb 11 14:19:44 2011
New Revision: 170050

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170050
Log:
    PR target/47665
    * combine.c (make_compound_operation): Only change shifts into
    multiplication for SCALAR_INT_MODE_P.

    * gcc.target/i386/pr47665.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr47684.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-predcom.c


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

end of thread, other threads:[~2011-02-11 14:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-09 16:21 [Bug target/47665] New: [4.6 Regression] ICE in trunc_int_for_mode jakub at gcc dot gnu.org
2011-02-09 16:22 ` [Bug target/47665] " jakub at gcc dot gnu.org
2011-02-09 16:29 ` rguenth at gcc dot gnu.org
2011-02-09 17:36 ` jakub at gcc dot gnu.org
2011-02-10 11:17 ` jakub at gcc dot gnu.org
2011-02-10 11:24 ` jakub at gcc dot gnu.org
2011-02-11 14:24 ` jakub 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).