public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/20447] New: ICE in output_operand: invalid expression as operand
@ 2005-03-12 23:23 belyshev at depni dot sinp dot msu dot ru
  2005-03-12 23:24 ` [Bug target/20447] " belyshev at depni dot sinp dot msu dot ru
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-03-12 23:23 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 891 bytes --]

--------------------------------------------------------------------------------
$ gcc -O2 bug.c
bug.c: In function ‘baz’:
bug.c:54: internal compiler error: output_operand: invalid expression as operand
--------------------------------------------------------------------------------

fails with 4.0.0 and mainline, might be related to bug 20342.

-- 
           Summary: ICE in output_operand: invalid expression as operand
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belyshev at depni dot sinp dot msu dot ru
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug target/20447] ICE in output_operand: invalid expression as operand
  2005-03-12 23:23 [Bug target/20447] New: ICE in output_operand: invalid expression as operand belyshev at depni dot sinp dot msu dot ru
@ 2005-03-12 23:24 ` belyshev at depni dot sinp dot msu dot ru
  2005-03-12 23:26 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-03-12 23:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-03-12 23:24 -------
Created an attachment (id=8378)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8378&action=view)
testcase (1302 bytes)


-- 


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


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

* [Bug target/20447] ICE in output_operand: invalid expression as operand
  2005-03-12 23:23 [Bug target/20447] New: ICE in output_operand: invalid expression as operand belyshev at depni dot sinp dot msu dot ru
  2005-03-12 23:24 ` [Bug target/20447] " belyshev at depni dot sinp dot msu dot ru
  2005-03-12 23:26 ` pinskia at gcc dot gnu dot org
@ 2005-03-12 23:26 ` pinskia at gcc dot gnu dot org
  2005-04-01  0:33 ` rth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-12 23:26 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org


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


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

* [Bug target/20447] ICE in output_operand: invalid expression as operand
  2005-03-12 23:23 [Bug target/20447] New: ICE in output_operand: invalid expression as operand belyshev at depni dot sinp dot msu dot ru
  2005-03-12 23:24 ` [Bug target/20447] " belyshev at depni dot sinp dot msu dot ru
@ 2005-03-12 23:26 ` pinskia at gcc dot gnu dot org
  2005-03-12 23:26 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-12 23:26 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ssemmx


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


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

* [Bug target/20447] ICE in output_operand: invalid expression as operand
  2005-03-12 23:23 [Bug target/20447] New: ICE in output_operand: invalid expression as operand belyshev at depni dot sinp dot msu dot ru
                   ` (2 preceding siblings ...)
  2005-03-12 23:26 ` pinskia at gcc dot gnu dot org
@ 2005-04-01  0:33 ` rth at gcc dot gnu dot org
  2005-04-05 22:53 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-04-01  0:33 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-01 00:33:31
               date|                            |


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


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

* [Bug target/20447] ICE in output_operand: invalid expression as operand
  2005-03-12 23:23 [Bug target/20447] New: ICE in output_operand: invalid expression as operand belyshev at depni dot sinp dot msu dot ru
                   ` (3 preceding siblings ...)
  2005-04-01  0:33 ` rth at gcc dot gnu dot org
@ 2005-04-05 22:53 ` cvs-commit at gcc dot gnu dot org
  2005-04-05 23:00 ` cvs-commit at gcc dot gnu dot org
  2005-04-05 23:03 ` rth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-05 22:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-05 22:53 -------
Subject: Bug 20447

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2005-04-05 22:53:08

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: i386.c i386.h i386.md predicates.md 

Log message:
	PR target/20342
	PR target/20447
	* config/i386/i386.c (print_operand): Handle vector zeros.
	(ix86_split_to_parts): Handle CONST_VECTOR.
	(ix86_hard_regno_mode_ok): Allow MMX modes in general regs.
	(ix86_modes_tieable_p): Use ix86_hard_regno_mode_ok to decide
	what modes to tie for MMX and SSE registers.
	* config/i386/i386.h (MMX_REG_MODE_P): Remove.
	* config/i386/i386.md: Extend move 0 -> xor peephole to apply
	to vector modes as well.
	* config/i386/predicates.md (const0_operand): Handle VOIDmode
	properly as an input mode.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8153&r2=2.8154
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&r1=1.804&r2=1.805
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.h.diff?cvsroot=gcc&r1=1.425&r2=1.426
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gcc&r1=1.624&r2=1.625
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/predicates.md.diff?cvsroot=gcc&r1=1.16&r2=1.17



-- 


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


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

* [Bug target/20447] ICE in output_operand: invalid expression as operand
  2005-03-12 23:23 [Bug target/20447] New: ICE in output_operand: invalid expression as operand belyshev at depni dot sinp dot msu dot ru
                   ` (4 preceding siblings ...)
  2005-04-05 22:53 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-05 23:00 ` cvs-commit at gcc dot gnu dot org
  2005-04-05 23:03 ` rth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-05 23:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-05 22:59 -------
Subject: Bug 20447

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	rth@gcc.gnu.org	2005-04-05 22:59:33

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: i386.c i386.h i386.md predicates.md 

Log message:
	PR target/20342
	PR target/20447
	* config/i386/i386.c (print_operand): Handle vector zeros.
	(ix86_split_to_parts): Handle CONST_VECTOR.
	(ix86_hard_regno_mode_ok): Allow MMX modes in general regs.
	(ix86_modes_tieable_p): Use ix86_hard_regno_mode_ok to decide
	what modes to tie for MMX and SSE registers.
	* config/i386/i386.h (MMX_REG_MODE_P): Remove.
	* config/i386/i386.md: Extend move 0 -> xor peephole to apply
	to vector modes as well.
	* config/i386/predicates.md (const0_operand): Handle VOIDmode
	properly as an input mode.

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.128&r2=2.7592.2.129
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.795.6.2&r2=1.795.6.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.421&r2=1.421.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.618&r2=1.618.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/predicates.md.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.16&r2=1.16.10.1



-- 


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


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

* [Bug target/20447] ICE in output_operand: invalid expression as operand
  2005-03-12 23:23 [Bug target/20447] New: ICE in output_operand: invalid expression as operand belyshev at depni dot sinp dot msu dot ru
                   ` (5 preceding siblings ...)
  2005-04-05 23:00 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-05 23:03 ` rth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-04-05 23:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-04-05 23:03 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2005-04-05 23:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-12 23:23 [Bug target/20447] New: ICE in output_operand: invalid expression as operand belyshev at depni dot sinp dot msu dot ru
2005-03-12 23:24 ` [Bug target/20447] " belyshev at depni dot sinp dot msu dot ru
2005-03-12 23:26 ` pinskia at gcc dot gnu dot org
2005-03-12 23:26 ` pinskia at gcc dot gnu dot org
2005-04-01  0:33 ` rth at gcc dot gnu dot org
2005-04-05 22:53 ` cvs-commit at gcc dot gnu dot org
2005-04-05 23:00 ` cvs-commit at gcc dot gnu dot org
2005-04-05 23:03 ` rth 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).