public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23575] New: ICE: output_operand: unterminated assembly dialect alternative
@ 2005-08-26 11:32 ma1flfs at bath dot ac dot uk
  2005-08-26 11:33 ` [Bug c++/23575] " ma1flfs at bath dot ac dot uk
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: ma1flfs at bath dot ac dot uk @ 2005-08-26 11:32 UTC (permalink / raw)
  To: gcc-bugs

gcc version: 4.0.2 20050825 (prerelease) 
 
Configured with: ../gcc-4.0-20050825/configure --prefix=/opt/gcc4 
--enable-shared --enable-threads=posix --enable-__cxa_atexit 
--enable-clocale=gnu --enable-languages=c,c++ 
 
Command line: 
gcc -c -march=pentium4 -O3 test.ii 
 
(removing the -O3 flag makes it work) 
 
Error message: 
test.cpp: In constructor ‘ShadowVolume::ShadowVolume(Mesh&)’: 
test.cpp:75: internal compiler error: output_operand: unterminated assembly 
dialect alternative 
 
I have attempted to reduce the file as much as possible. I will also attach 
the proprocessed source.

-- 
           Summary: ICE: output_operand: unterminated assembly dialect
                    alternative
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ma1flfs at bath dot ac dot uk
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


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

* [Bug c++/23575] ICE: output_operand: unterminated assembly dialect alternative
  2005-08-26 11:32 [Bug c++/23575] New: ICE: output_operand: unterminated assembly dialect alternative ma1flfs at bath dot ac dot uk
@ 2005-08-26 11:33 ` ma1flfs at bath dot ac dot uk
  2005-08-26 11:48 ` ma1flfs at bath dot ac dot uk
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ma1flfs at bath dot ac dot uk @ 2005-08-26 11:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ma1flfs at bath dot ac dot uk  2005-08-26 11:32 -------
Created an attachment (id=9589)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9589&action=view)
Original reduced source file


-- 


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


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

* [Bug c++/23575] ICE: output_operand: unterminated assembly dialect alternative
  2005-08-26 11:32 [Bug c++/23575] New: ICE: output_operand: unterminated assembly dialect alternative ma1flfs at bath dot ac dot uk
  2005-08-26 11:33 ` [Bug c++/23575] " ma1flfs at bath dot ac dot uk
@ 2005-08-26 11:48 ` ma1flfs at bath dot ac dot uk
  2005-08-26 11:54 ` [Bug target/23575] " pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ma1flfs at bath dot ac dot uk @ 2005-08-26 11:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ma1flfs at bath dot ac dot uk  2005-08-26 11:33 -------
Created an attachment (id=9590)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9590&action=view)
Preprocessed source file


-- 


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


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

* [Bug target/23575] ICE: output_operand: unterminated assembly dialect alternative
  2005-08-26 11:32 [Bug c++/23575] New: ICE: output_operand: unterminated assembly dialect alternative ma1flfs at bath dot ac dot uk
  2005-08-26 11:33 ` [Bug c++/23575] " ma1flfs at bath dot ac dot uk
  2005-08-26 11:48 ` ma1flfs at bath dot ac dot uk
@ 2005-08-26 11:54 ` pinskia at gcc dot gnu dot org
  2005-08-26 11:56 ` [Bug target/23575] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-26 11:54 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |target
   GCC host triplet|i686-pc-linux-gnu           |
 GCC target triplet|                            |i686-pc-linux-gnu
           Keywords|                            |ice-on-valid-code, ssemmx


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


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

* [Bug target/23575] [4.0/4.1 Regression] ICE: output_operand: unterminated assembly dialect alternative
  2005-08-26 11:32 [Bug c++/23575] New: ICE: output_operand: unterminated assembly dialect alternative ma1flfs at bath dot ac dot uk
                   ` (2 preceding siblings ...)
  2005-08-26 11:54 ` [Bug target/23575] " pinskia at gcc dot gnu dot org
@ 2005-08-26 11:56 ` pinskia at gcc dot gnu dot org
  2005-08-26 12:32 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-26 11:56 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE: output_operand:        |[4.0/4.1 Regression] ICE:
                   |unterminated assembly       |output_operand: unterminated
                   |dialect alternative         |assembly dialect alternative
   Target Milestone|---                         |4.0.2


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


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

* [Bug target/23575] [4.0/4.1 Regression] ICE: output_operand: unterminated assembly dialect alternative
  2005-08-26 11:32 [Bug c++/23575] New: ICE: output_operand: unterminated assembly dialect alternative ma1flfs at bath dot ac dot uk
                   ` (3 preceding siblings ...)
  2005-08-26 11:56 ` [Bug target/23575] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-08-26 12:32 ` pinskia at gcc dot gnu dot org
  2005-08-26 13:31 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-26 12:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-26 12:07 -------
Reducing.

-- 


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


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

* [Bug target/23575] [4.0/4.1 Regression] ICE: output_operand: unterminated assembly dialect alternative
  2005-08-26 11:32 [Bug c++/23575] New: ICE: output_operand: unterminated assembly dialect alternative ma1flfs at bath dot ac dot uk
                   ` (4 preceding siblings ...)
  2005-08-26 12:32 ` pinskia at gcc dot gnu dot org
@ 2005-08-26 13:31 ` pinskia at gcc dot gnu dot org
  2005-08-26 13:51 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-26 13:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-26 13:27 -------
Confirmed, reduced testcase:
typedef double __v2df __attribute__ ((__vector_size__ (16)));
typedef __v2df __m128d;
static __inline __m128d __attribute__((__always_inline__)) _mm_set1_pd (double __F) {
  return __extension__ (__m128d){__F, __F};
}
static __inline __m128d __attribute__((__always_inline__)) _mm_move_sd (__m128d __A, __m128d __B) {
  return (__m128d) __builtin_ia32_movsd ((__v2df)__A, (__v2df)__B);
}
void g(__m128d b);
__m128d cross(__m128d tmp9)
{
  __m128d t1 = _mm_set1_pd(1.0);
  __m128d tmp10 = _mm_move_sd(t1, tmp9);
  return tmp10;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-26 13:27:15
               date|                            |


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


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

* [Bug target/23575] [4.0/4.1 Regression] ICE: output_operand: unterminated assembly dialect alternative
  2005-08-26 11:32 [Bug c++/23575] New: ICE: output_operand: unterminated assembly dialect alternative ma1flfs at bath dot ac dot uk
                   ` (5 preceding siblings ...)
  2005-08-26 13:31 ` pinskia at gcc dot gnu dot org
@ 2005-08-26 13:51 ` pinskia at gcc dot gnu dot org
  2005-08-26 16:27 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-26 13:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-26 13:30 -------
It is obvious what is wrong from the .md file:
(define_insn "sse2_movsd"
  [(set (match_operand:V2DF 0 "nonimmediate_operand"   "=x,x,m,x,x,o")
        (vec_merge:V2DF
          (match_operand:V2DF 2 "nonimmediate_operand" " x,m,x,0,0,0")
          (match_operand:V2DF 1 "nonimmediate_operand" " 0,0,0,x,o,x")
          (const_int 1)))]
  "TARGET_SSE2"
  "@
   movsd\t{%2, %0|%0, %2}
   movlpd\t{%2, %0|%0, %2}
   movlpd\t{%2, %0|%0, %2}
   shufpd\t{$2, %2, %0|%0, %2, 2}
   movhps\t{%H1, %0|%0, %H1
   movhps\t{%1, %H0|%H0, %1"
  [(set_attr "type" "ssemov,ssemov,ssemov,sselog,ssemov,ssemov")
   (set_attr "mode" "DF,V1DF,V1DF,V2DF,V1DF,V1DF")])

-- 


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


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

* [Bug target/23575] [4.0/4.1 Regression] ICE: output_operand: unterminated assembly dialect alternative
  2005-08-26 11:32 [Bug c++/23575] New: ICE: output_operand: unterminated assembly dialect alternative ma1flfs at bath dot ac dot uk
                   ` (6 preceding siblings ...)
  2005-08-26 13:51 ` pinskia at gcc dot gnu dot org
@ 2005-08-26 16:27 ` rguenth at gcc dot gnu dot org
  2005-08-27 12:13 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-08-26 16:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rguenth at gcc dot gnu dot org  2005-08-26 16:23 -------
Patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |08/msg01560.html
           Keywords|                            |patch


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


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

* [Bug target/23575] [4.0/4.1 Regression] ICE: output_operand: unterminated assembly dialect alternative
  2005-08-26 11:32 [Bug c++/23575] New: ICE: output_operand: unterminated assembly dialect alternative ma1flfs at bath dot ac dot uk
                   ` (7 preceding siblings ...)
  2005-08-26 16:27 ` rguenth at gcc dot gnu dot org
@ 2005-08-27 12:13 ` cvs-commit at gcc dot gnu dot org
  2005-08-27 12:39 ` rguenth at gcc dot gnu dot org
  2005-08-27 12:45 ` cvs-commit at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-27 12:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-08-27 12:04 -------
Subject: Bug 23575

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rguenth@gcc.gnu.org	2005-08-27 12:04:28

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: sse.md 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.target/i386: pr23575.c 

Log message:
	2005-08-27  Richard Guenther  <rguenther@gcc.gnu.org>
	
	PR target/23575
	* config/i386/sse.md (sse2_movsd): Add missing closing
	braces.
	
	* gcc.target/i386/pr23575.c: New testcase.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9837&r2=2.9838
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/sse.md.diff?cvsroot=gcc&r1=1.22&r2=1.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5969&r2=1.5970
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.target/i386/pr23575.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug target/23575] [4.0/4.1 Regression] ICE: output_operand: unterminated assembly dialect alternative
  2005-08-26 11:32 [Bug c++/23575] New: ICE: output_operand: unterminated assembly dialect alternative ma1flfs at bath dot ac dot uk
                   ` (8 preceding siblings ...)
  2005-08-27 12:13 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-27 12:39 ` rguenth at gcc dot gnu dot org
  2005-08-27 12:45 ` cvs-commit at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-08-27 12:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rguenth at gcc dot gnu dot org  2005-08-27 12:35 -------
Fixed on both head and 4.0.

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


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


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

* [Bug target/23575] [4.0/4.1 Regression] ICE: output_operand: unterminated assembly dialect alternative
  2005-08-26 11:32 [Bug c++/23575] New: ICE: output_operand: unterminated assembly dialect alternative ma1flfs at bath dot ac dot uk
                   ` (9 preceding siblings ...)
  2005-08-27 12:39 ` rguenth at gcc dot gnu dot org
@ 2005-08-27 12:45 ` cvs-commit at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-27 12:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-08-27 12:38 -------
Subject: Bug 23575

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	rguenth@gcc.gnu.org	2005-08-27 12:38:39

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: sse.md 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.target/i386: pr23575.c 

Log message:
	2005-08-27  Richard Guenther  <rguenther@gcc.gnu.org>
	
	PR target/23575
	* config/i386/sse.md (sse2_movsd): Add missing closing
	braces.
	
	* gcc.target/i386/pr23575.c: New testcase.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.394&r2=2.7592.2.395
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/sse.md.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.7.14.1&r2=1.7.14.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.354&r2=1.5084.2.355
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.target/i386/pr23575.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1



-- 


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


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

end of thread, other threads:[~2005-08-27 12:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-26 11:32 [Bug c++/23575] New: ICE: output_operand: unterminated assembly dialect alternative ma1flfs at bath dot ac dot uk
2005-08-26 11:33 ` [Bug c++/23575] " ma1flfs at bath dot ac dot uk
2005-08-26 11:48 ` ma1flfs at bath dot ac dot uk
2005-08-26 11:54 ` [Bug target/23575] " pinskia at gcc dot gnu dot org
2005-08-26 11:56 ` [Bug target/23575] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-08-26 12:32 ` pinskia at gcc dot gnu dot org
2005-08-26 13:31 ` pinskia at gcc dot gnu dot org
2005-08-26 13:51 ` pinskia at gcc dot gnu dot org
2005-08-26 16:27 ` rguenth at gcc dot gnu dot org
2005-08-27 12:13 ` cvs-commit at gcc dot gnu dot org
2005-08-27 12:39 ` rguenth at gcc dot gnu dot org
2005-08-27 12:45 ` cvs-commit at gcc dot gnu dot 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).