public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/53649] New: ICE when using 'C' x86 asm constraint
@ 2012-06-12 21:17 svfuerst at gmail dot com
  2012-06-13  9:41 ` [Bug target/53649] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: svfuerst at gmail dot com @ 2012-06-12 21:17 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53649
           Summary: ICE when using 'C' x86 asm constraint
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: svfuerst@gmail.com


The following prints:

internal compiler error: in ix86_print_operand, at config/i386/i386.c:14393

on x86_64, gcc version 4.7

void foo(void)
{
    asm (".asciz \"%0\""
        : : "C" ((unsigned __attribute__ ((vector_size (16)))){-1,-1,-1,-1}));
}


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

* [Bug target/53649] ICE when using 'C' x86 asm constraint
  2012-06-12 21:17 [Bug c/53649] New: ICE when using 'C' x86 asm constraint svfuerst at gmail dot com
@ 2012-06-13  9:41 ` rguenth at gcc dot gnu.org
  2012-06-13 15:40 ` svfuerst at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-06-13  9:41 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Target|                            |x86_64-*-*, i?86-*-*
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-06-13
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-13 09:41:19 UTC ---
I get

t.c: In function 'foo':
t.c:3:7: error: impossible constraint in 'asm'
       asm (".asciz \"%0\""
       ^

with all versions I try.


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

* [Bug target/53649] ICE when using 'C' x86 asm constraint
  2012-06-12 21:17 [Bug c/53649] New: ICE when using 'C' x86 asm constraint svfuerst at gmail dot com
  2012-06-13  9:41 ` [Bug target/53649] " rguenth at gcc dot gnu.org
@ 2012-06-13 15:40 ` svfuerst at gmail dot com
  2012-06-13 15:46 ` svfuerst at gmail dot com
  2013-11-10 20:10 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: svfuerst at gmail dot com @ 2012-06-13 15:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Steven Fuerst <svfuerst at gmail dot com> 2012-06-13 15:40:19 UTC ---
I'm using the version of 4.7 packaged in Debian unstable.  It apparently
contains everything up until June 12 in the 4.7 branch, plus a few other
patches.


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

* [Bug target/53649] ICE when using 'C' x86 asm constraint
  2012-06-12 21:17 [Bug c/53649] New: ICE when using 'C' x86 asm constraint svfuerst at gmail dot com
  2012-06-13  9:41 ` [Bug target/53649] " rguenth at gcc dot gnu.org
  2012-06-13 15:40 ` svfuerst at gmail dot com
@ 2012-06-13 15:46 ` svfuerst at gmail dot com
  2013-11-10 20:10 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: svfuerst at gmail dot com @ 2012-06-13 15:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Steven Fuerst <svfuerst at gmail dot com> 2012-06-13 15:46:13 UTC ---
Oops sorry.  The source package is 4.7.0-13, but I'm still actually using the
binaries from 4.7.0-11, which was released before May 30.


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

* [Bug target/53649] ICE when using 'C' x86 asm constraint
  2012-06-12 21:17 [Bug c/53649] New: ICE when using 'C' x86 asm constraint svfuerst at gmail dot com
                   ` (2 preceding siblings ...)
  2012-06-13 15:46 ` svfuerst at gmail dot com
@ 2013-11-10 20:10 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-11-10 20:10 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The testcase works for me and others so closing.


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

end of thread, other threads:[~2013-11-10 20:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-12 21:17 [Bug c/53649] New: ICE when using 'C' x86 asm constraint svfuerst at gmail dot com
2012-06-13  9:41 ` [Bug target/53649] " rguenth at gcc dot gnu.org
2012-06-13 15:40 ` svfuerst at gmail dot com
2012-06-13 15:46 ` svfuerst at gmail dot com
2013-11-10 20:10 ` pinskia 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).