public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/24951]  New: ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c
@ 2005-11-20  9:17 aj at gcc dot gnu dot org
  2005-11-21  2:15 ` [Bug target/24951] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: aj at gcc dot gnu dot org @ 2005-11-20  9:17 UTC (permalink / raw)
  To: gcc-bugs

Running the testsuite, I see the following ICE:

Executing on host: /abuild/aj/gcc/gcc/xgcc -B/abuild/aj/gcc/gcc/
/aj-cvs/gcc-svn/branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/vect/pr22506.c  
-O2 -ftr
ee-vectorize -maltivec -ftree-vectorizer-verbose=4 -fdump-tree-vect-stats
-fno-show-column -S  -m64 -o pr22506.s    (timeout = 300)
/aj-cvs/gcc-svn/branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/vect/pr22506.c: In
function 'foo':
/aj-cvs/gcc-svn/branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/vect/pr22506.c:12:
internal compiler error: RTL check: expected code 'const_int', have 'co
nst_double' in output_vec_const_move, at config/rs6000/rs6000.c:2204
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
output is:
/aj-cvs/gcc-svn/branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/vect/pr22506.c: In
function 'foo':
/aj-cvs/gcc-svn/branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/vect/pr22506.c:12:
internal compiler error: RTL check: expected code 'const_int', have 'co
nst_double' in output_vec_const_move, at config/rs6000/rs6000.c:2204
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

FAIL: gcc.dg/vect/pr22506.c (test for excess errors)

This is with:
/opt/gcc/4.1-devel/bin/gcc -v
Using built-in specs.
Target: powerpc64-suse-linux-gnu
Configured with: /aj-cvs/gcc-svn/branches/gcc-4_1-branch/configure
--prefix=/opt/gcc/4.1-devel --enable-checking=misc,tree,gc,rtl,rtlflag,assert
--enable-threads=posix --enable-clocale=gnu --enable-__cxa_atexit
--enable-shared --enable-languages=c,c++,treelang,java,f95,objc
--with-system-zlib --with-cpu=default32 powerpc64-suse-linux-gnu
Thread model: posix
gcc version 4.1.0 20051119 (prerelease)


-- 
           Summary: ICE: RTL check: expected code 'const_int', have
                    'const_double' in output_vec_const_move, at
                    config/rs6000/rs6000.c
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aj at gcc dot gnu dot org
 GCC build triplet: powerpc64-linux-gnu
  GCC host triplet: powerpc64-linux-gnu
GCC target triplet: powerpc64-linux-gnu


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


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

* [Bug target/24951] [4.1/4.2 Regression] ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c
  2005-11-20  9:17 [Bug target/24951] New: ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c aj at gcc dot gnu dot org
@ 2005-11-21  2:15 ` pinskia at gcc dot gnu dot org
  2005-11-21  8:24 ` bonzini at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-21  2:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-11-21 02:15 -------
Confirmed, this is a regression.  The check for integer type was removed for
some reason.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-21 02:15:40
               date|                            |
            Summary|ICE: RTL check: expected    |[4.1/4.2 Regression] ICE:
                   |code 'const_int', have      |RTL check: expected code
                   |'const_double' in           |'const_int', have
                   |output_vec_const_move, at   |'const_double' in
                   |config/rs6000/rs6000.c      |output_vec_const_move, at
                   |                            |config/rs6000/rs6000.c
   Target Milestone|---                         |4.1.0


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


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

* [Bug target/24951] [4.1/4.2 Regression] ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c
  2005-11-20  9:17 [Bug target/24951] New: ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c aj at gcc dot gnu dot org
  2005-11-21  2:15 ` [Bug target/24951] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2005-11-21  8:24 ` bonzini at gcc dot gnu dot org
  2005-11-21  9:12 ` bonzini at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-11-21  8:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bonzini at gcc dot gnu dot org  2005-11-21 08:24 -------
easy_altivec_constant should only be called with AltiVec integer vector modes,
all of which can be represented with a const_vector of const_ints.  Anyway,
looking into it.

Paolo


-- 

bonzini at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bonzini at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-11-21 02:15:40         |2005-11-21 08:24:28
               date|                            |


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


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

* [Bug target/24951] [4.1/4.2 Regression] ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c
  2005-11-20  9:17 [Bug target/24951] New: ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c aj at gcc dot gnu dot org
  2005-11-21  2:15 ` [Bug target/24951] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
  2005-11-21  8:24 ` bonzini at gcc dot gnu dot org
@ 2005-11-21  9:12 ` bonzini at gcc dot gnu dot org
  2005-11-21 16:38 ` bonzini at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-11-21  9:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from bonzini at gcc dot gnu dot org  2005-11-21 09:12 -------
Got a patch, but I am curious about Andrew's comment.  I couldn't find a reason
why r106588 *introduced* the bug rather than unveiling a latent one.


-- 


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


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

* [Bug target/24951] [4.1/4.2 Regression] ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c
  2005-11-20  9:17 [Bug target/24951] New: ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c aj at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-11-21  9:12 ` bonzini at gcc dot gnu dot org
@ 2005-11-21 16:38 ` bonzini at gcc dot gnu dot org
  2005-11-21 17:04 ` bonzini at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-11-21 16:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from bonzini at gcc dot gnu dot org  2005-11-21 16:38 -------
Subject: Bug 24951

Author: bonzini
Date: Mon Nov 21 16:38:13 2005
New Revision: 107312

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107312
Log:
2005-11-21  Paolo Bonzini  <bonzini@gnu.org>

        PR target/24951
        * config/rs6000/rs6000.c (output_vec_const_move): Load cst and
        cst2 only for SPE vectors.

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


-- 


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


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

* [Bug target/24951] [4.1/4.2 Regression] ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c
  2005-11-20  9:17 [Bug target/24951] New: ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c aj at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-11-21 16:38 ` bonzini at gcc dot gnu dot org
@ 2005-11-21 17:04 ` bonzini at gcc dot gnu dot org
  2005-11-21 17:05 ` bonzini at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-11-21 17:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from bonzini at gcc dot gnu dot org  2005-11-21 17:04 -------
Subject: Bug 24951

Author: bonzini
Date: Mon Nov 21 17:04:11 2005
New Revision: 107313

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107313
Log:
2005-11-21  Paolo Bonzini  <bonzini@gnu.org>

        PR target/24951
        * config/rs6000/rs6000.c (output_vec_const_move): Load cst and
        cst2 only for SPE vectors.

Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/config/rs6000/rs6000.c


-- 


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


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

* [Bug target/24951] [4.1/4.2 Regression] ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c
  2005-11-20  9:17 [Bug target/24951] New: ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c aj at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-11-21 17:04 ` bonzini at gcc dot gnu dot org
@ 2005-11-21 17:05 ` bonzini at gcc dot gnu dot org
  2005-11-22  5:05 ` amodra at bigpond dot net dot au
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-11-21 17:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from bonzini at gcc dot gnu dot org  2005-11-21 17:05 -------
Andreas, can you confirm it is fixed?


-- 


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


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

* [Bug target/24951] [4.1/4.2 Regression] ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c
  2005-11-20  9:17 [Bug target/24951] New: ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c aj at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-11-21 17:05 ` bonzini at gcc dot gnu dot org
@ 2005-11-22  5:05 ` amodra at bigpond dot net dot au
  2005-11-22  7:42 ` aj at gcc dot gnu dot org
  2005-11-22 16:10 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: amodra at bigpond dot net dot au @ 2005-11-22  5:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from amodra at bigpond dot net dot au  2005-11-22 05:05 -------
I verified that an x86->powerpc64 mainline compiler built with
--enable-checking=all compiles the testcase without errors.


-- 

amodra at bigpond dot net dot au changed:

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


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


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

* [Bug target/24951] [4.1/4.2 Regression] ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c
  2005-11-20  9:17 [Bug target/24951] New: ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c aj at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-11-22  5:05 ` amodra at bigpond dot net dot au
@ 2005-11-22  7:42 ` aj at gcc dot gnu dot org
  2005-11-22 16:10 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: aj at gcc dot gnu dot org @ 2005-11-22  7:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from aj at gcc dot gnu dot org  2005-11-22 07:42 -------
Seems to be fixed according to:
http://gcc.gnu.org/ml/gcc-testresults/2005-11/msg01060.html

Compare this with:
http://gcc.gnu.org/ml/gcc-testresults/2005-11/msg01039.html

Thanks!


-- 

aj at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED


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


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

* [Bug target/24951] [4.1/4.2 Regression] ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c
  2005-11-20  9:17 [Bug target/24951] New: ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c aj at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-11-22  7:42 ` aj at gcc dot gnu dot org
@ 2005-11-22 16:10 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-22 16:10 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


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

end of thread, other threads:[~2005-11-22 16:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-20  9:17 [Bug target/24951] New: ICE: RTL check: expected code 'const_int', have 'const_double' in output_vec_const_move, at config/rs6000/rs6000.c aj at gcc dot gnu dot org
2005-11-21  2:15 ` [Bug target/24951] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2005-11-21  8:24 ` bonzini at gcc dot gnu dot org
2005-11-21  9:12 ` bonzini at gcc dot gnu dot org
2005-11-21 16:38 ` bonzini at gcc dot gnu dot org
2005-11-21 17:04 ` bonzini at gcc dot gnu dot org
2005-11-21 17:05 ` bonzini at gcc dot gnu dot org
2005-11-22  5:05 ` amodra at bigpond dot net dot au
2005-11-22  7:42 ` aj at gcc dot gnu dot org
2005-11-22 16:10 ` pinskia 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).