public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/49567] New: [4.7 Regression] ICE in mem_loc_descriptor due to typed DWARF stack changes
@ 2011-06-28 17:00 jakub at gcc dot gnu.org
  2011-06-28 17:01 ` [Bug debug/49567] " jakub at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-06-28 17:00 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.7 Regression] ICE in mem_loc_descriptor due to
                    typed DWARF stack changes
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: jakub@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org


/* { dg-do compile } */
/* { dg-options "-g -O2 -msse4" } */

#include <x86intrin.h>

__m128
foo (__m128i x)
{
  __m128i y;
  y = _mm_cvtepi16_epi32 (x);
  return _mm_cvtepi32_ps (y);
}

ICEs in mem_loc_descriptor, as we are asserting SIGN_EXTEND/ZERO_EXTEND will
have integral mode, while it has vector mode here.


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

* [Bug debug/49567] [4.7 Regression] ICE in mem_loc_descriptor due to typed DWARF stack changes
  2011-06-28 17:00 [Bug debug/49567] New: [4.7 Regression] ICE in mem_loc_descriptor due to typed DWARF stack changes jakub at gcc dot gnu.org
@ 2011-06-28 17:01 ` jakub at gcc dot gnu.org
  2011-06-28 17:06 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-06-28 17:01 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011.06.28 17:01:27
      Known to work|                            |4.6.1
   Target Milestone|---                         |4.7.0
     Ever Confirmed|0                           |1
      Known to fail|                            |4.7.0


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

* [Bug debug/49567] [4.7 Regression] ICE in mem_loc_descriptor due to typed DWARF stack changes
  2011-06-28 17:00 [Bug debug/49567] New: [4.7 Regression] ICE in mem_loc_descriptor due to typed DWARF stack changes jakub at gcc dot gnu.org
  2011-06-28 17:01 ` [Bug debug/49567] " jakub at gcc dot gnu.org
@ 2011-06-28 17:06 ` jakub at gcc dot gnu.org
  2011-06-29  8:15 ` jakub at gcc dot gnu.org
  2011-06-29  8:21 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-06-28 17:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-28 17:05:55 UTC ---
Created attachment 24620
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24620
gcc47-pr49567.patch

Untested fix.


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

* [Bug debug/49567] [4.7 Regression] ICE in mem_loc_descriptor due to typed DWARF stack changes
  2011-06-28 17:00 [Bug debug/49567] New: [4.7 Regression] ICE in mem_loc_descriptor due to typed DWARF stack changes jakub at gcc dot gnu.org
  2011-06-28 17:01 ` [Bug debug/49567] " jakub at gcc dot gnu.org
  2011-06-28 17:06 ` jakub at gcc dot gnu.org
@ 2011-06-29  8:15 ` jakub at gcc dot gnu.org
  2011-06-29  8:21 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-06-29  8:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-29 08:15:10 UTC ---
Author: jakub
Date: Wed Jun 29 08:15:00 2011
New Revision: 175622

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175622
Log:
    PR debug/49567
    * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTEND>: Give up
    for non-MODE_INT modes instead of asserting the mode has MODE_INT
    class.

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

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr49567.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug debug/49567] [4.7 Regression] ICE in mem_loc_descriptor due to typed DWARF stack changes
  2011-06-28 17:00 [Bug debug/49567] New: [4.7 Regression] ICE in mem_loc_descriptor due to typed DWARF stack changes jakub at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-06-29  8:15 ` jakub at gcc dot gnu.org
@ 2011-06-29  8:21 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-06-29  8:21 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-29 08:19:07 UTC ---
Fixed.


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

end of thread, other threads:[~2011-06-29  8:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-28 17:00 [Bug debug/49567] New: [4.7 Regression] ICE in mem_loc_descriptor due to typed DWARF stack changes jakub at gcc dot gnu.org
2011-06-28 17:01 ` [Bug debug/49567] " jakub at gcc dot gnu.org
2011-06-28 17:06 ` jakub at gcc dot gnu.org
2011-06-29  8:15 ` jakub at gcc dot gnu.org
2011-06-29  8:21 ` 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).