public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/32413]  New: [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
@ 2007-06-20  8:35 jojelino at gmail dot com
  2007-06-20  8:39 ` [Bug c++/32413] " jojelino at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jojelino at gmail dot com @ 2007-06-20  8:35 UTC (permalink / raw)
  To: gcc-bugs

svn revision:125876
cc -c -mno-cygwin -mdll -fno-rtti -mthreads -pipe -D_WINGDI_ -DUCLIBCPP
-D_GLIBC
PP_HAVE_MBSTATE_T -D_WIN32_IE=0x0500 -msse4a -DARCH_IS_IA32 -DARCH_IS_32BIT
-DHA
VE_MMX -w -DNDEBUG -UDEBUG -DFFDEBUG=0 -I. -I.. -Iuclibc++ -Ibaseclasses
-I../ba
seclasses -IimgFilters -I../imgFilters -Implayer -I../mplayer -Isettings
-I../se
ttings -Isettings/filters -I../settings/filters -Icodecs -I../codecs
-Isubtitles
 -I../subtitles -Iconvert -I../convert -Idialog -I../dialog -IaudioFilters
-I../
audioFilters -Icygwin -I../cygwin -Iffmpeg -I../ffmpeg -Iacm -I../acm -Ixiph
-I.
./xiph -Ifilters -I../filters -Imuxers -I../muxers -O4 -march=core2
-mtune=core2
 -fomit-frame-pointer -finline-functions -finline -frename-registers -fweb
-funi
t-at-a-time -o ffdshow_all.o ffdshow_all.cpp

In file included from ffdshow_all.cpp:37:
DeCSSInputPin.cpp: In member function 'virtual long int
CDeCSSInputPin::Set(cons
t GUID&, ULONG, void*, ULONG, void*, ULONG)':
DeCSSInputPin.cpp:254: error: insn does not satisfy its constraints:
(insn 1194 592 593 19 CSSscramble.cpp:174 (set (reg:QI 22 xmm1 [orig:545
t5.7036
1 ] [545])
        (reg:QI 0 ax)) 43 {*movqi_1} (nil))
DeCSSInputPin.cpp:254: internal compiler error: in
reload_cse_simplify_operands,
 at postreload.c:396
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [ffdshow_all.o] Error 1
cc: warning: -pipe ignored because -save-temps specified
In file included from ffdshow_all.cpp:38:
DeCSSInputPin.cpp: In member function 'virtual long int
CDeCSSInputPin::Set(cons
t GUID&, ULONG, void*, ULONG, void*, ULONG)':
DeCSSInputPin.cpp:254: error: insn does not satisfy its constraints:
(insn 1194 592 593 19 CSSscramble.cpp:174 (set (reg:QI 22 xmm1 [orig:545
t5.7036
1 ] [545])
        (reg:QI 0 ax)) 43 {*movqi_1} (nil))
DeCSSInputPin.cpp:254: internal compiler error: in
reload_cse_simplify_operands,
 at postreload.c:396
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [4.3 Regression] internal compiler error: in
                    reload_cse_simplify_operands, at postreload.c:396
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jojelino at gmail dot com


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


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

* [Bug c++/32413] [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
  2007-06-20  8:35 [Bug c++/32413] New: [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396 jojelino at gmail dot com
@ 2007-06-20  8:39 ` jojelino at gmail dot com
  2007-06-20 12:47 ` [Bug target/32413] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jojelino at gmail dot com @ 2007-06-20  8:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jojelino at gmail dot com  2007-06-20 08:39 -------
Created an attachment (id=13740)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13740&action=view)
preprocessed file


-- 


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


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

* [Bug target/32413] [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
  2007-06-20  8:35 [Bug c++/32413] New: [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396 jojelino at gmail dot com
  2007-06-20  8:39 ` [Bug c++/32413] " jojelino at gmail dot com
@ 2007-06-20 12:47 ` pinskia at gcc dot gnu dot org
  2007-06-21 22:45 ` 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 @ 2007-06-20 12:47 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal
          Component|c++                         |target
 GCC target triplet|                            |i686-cygwin


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


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

* [Bug target/32413] [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
  2007-06-20  8:35 [Bug c++/32413] New: [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396 jojelino at gmail dot com
  2007-06-20  8:39 ` [Bug c++/32413] " jojelino at gmail dot com
  2007-06-20 12:47 ` [Bug target/32413] " pinskia at gcc dot gnu dot org
@ 2007-06-21 22:45 ` pinskia at gcc dot gnu dot org
  2007-06-22  9:50 ` ubizjak at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-21 22:45 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.3.0


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


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

* [Bug target/32413] [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
  2007-06-20  8:35 [Bug c++/32413] New: [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396 jojelino at gmail dot com
                   ` (2 preceding siblings ...)
  2007-06-21 22:45 ` pinskia at gcc dot gnu dot org
@ 2007-06-22  9:50 ` ubizjak at gmail dot com
  2007-06-22 12:03 ` ubizjak at gmail dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2007-06-22  9:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ubizjak at gmail dot com  2007-06-22 09:50 -------
The problem here is exposed with core2_cost table, where mmxsse_to_integer is
as low (2 units) as move between integer registers (2 units). Such a low value
causes gcc to happily move SImode values between SSE and integer registers.

The problem itself is in ix86_modes_tieable_p(). Since all integer modes are
tieable, They have to be tieable in ALL register classes. Due to this, we must
enable HImode and QImode moves to, from and between SSE and MMX register.

A question arises, if this is a wise thing to do. Having all integer modes
wandering around in SSE as well as integer registers is not a good thing, as we
will have many moves between these sets (you can't add a SImode value in SSE,
SSE regs can't be index registers, etc). Due to this, perhaps the best solution
is to artifically raise mmxsse_to_integer to 8 units, and this will effectively
prevent moves to and from register sets.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-06-22 09:50:39
               date|                            |


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


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

* [Bug target/32413] [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
  2007-06-20  8:35 [Bug c++/32413] New: [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396 jojelino at gmail dot com
                   ` (3 preceding siblings ...)
  2007-06-22  9:50 ` ubizjak at gmail dot com
@ 2007-06-22 12:03 ` ubizjak at gmail dot com
  2007-06-22 17:51 ` uros at gcc dot gnu dot org
  2007-06-22 18:55 ` ubizjak at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2007-06-22 12:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ubizjak at gmail dot com  2007-06-22 12:02 -------
Patch at http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01615.html


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2007-
                   |                            |06/msg01615.html
           Keywords|                            |patch


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


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

* [Bug target/32413] [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
  2007-06-20  8:35 [Bug c++/32413] New: [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396 jojelino at gmail dot com
                   ` (4 preceding siblings ...)
  2007-06-22 12:03 ` ubizjak at gmail dot com
@ 2007-06-22 17:51 ` uros at gcc dot gnu dot org
  2007-06-22 18:55 ` ubizjak at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: uros at gcc dot gnu dot org @ 2007-06-22 17:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from uros at gcc dot gnu dot org  2007-06-22 17:51 -------
Subject: Bug 32413

Author: uros
Date: Fri Jun 22 17:51:06 2007
New Revision: 125951

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125951
Log:
    PR target/32413
    * config/i386/i386.c (ix86_register_move_cost): Rise the cost of
    moves between MMX/SSE registers to at least 8 units to prevent
    ICE caused by non-tieable SI/HI/QImodes in SSE registers.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c


-- 


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


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

* [Bug target/32413] [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
  2007-06-20  8:35 [Bug c++/32413] New: [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396 jojelino at gmail dot com
                   ` (5 preceding siblings ...)
  2007-06-22 17:51 ` uros at gcc dot gnu dot org
@ 2007-06-22 18:55 ` ubizjak at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2007-06-22 18:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ubizjak at gmail dot com  2007-06-22 18:55 -------
Fixed.


-- 

ubizjak at gmail dot com changed:

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


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


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

end of thread, other threads:[~2007-06-22 18:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-20  8:35 [Bug c++/32413] New: [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396 jojelino at gmail dot com
2007-06-20  8:39 ` [Bug c++/32413] " jojelino at gmail dot com
2007-06-20 12:47 ` [Bug target/32413] " pinskia at gcc dot gnu dot org
2007-06-21 22:45 ` pinskia at gcc dot gnu dot org
2007-06-22  9:50 ` ubizjak at gmail dot com
2007-06-22 12:03 ` ubizjak at gmail dot com
2007-06-22 17:51 ` uros at gcc dot gnu dot org
2007-06-22 18:55 ` ubizjak at gmail dot com

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).