public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/37168]  New: ICE: in final_scan_insn, at final.c:2615 (altivec)
@ 2008-08-19 22:59 leligeour at ensiie dot fr
  2008-08-19 23:00 ` [Bug c/37168] " leligeour at ensiie dot fr
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: leligeour at ensiie dot fr @ 2008-08-19 22:59 UTC (permalink / raw)
  To: gcc-bugs

Problem when compiling altivec vectors with #define value.
Source will be attached.

Note: Patch is not triggered if you change the #define value

gcc -c is included in source file and recopied here :
Using built-in specs.
Target: powerpc64-unknown-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/configure --prefix=/usr
--bindir=/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.3.1--includedir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include
--datadir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.1
--mandir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.1/man
--infodir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.1/info
--with-gxx-include-dir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4
--host=powerpc64-unknown-linux-gnu --build=powerpc64-unknown-linux-gnu
--enable-altivec --enable-nls --without-included-gettext --with-system-zlib
--disable-checking --disable-werror --enable-secureplt --disable-multilib
--enable-libmudflap --disable-libssp --enable-cld --disable-libgcj
--enable-languages=c,c++,treelang,fortran --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.1-r1'
Thread model: posix
gcc version 4.3.1 (Gentoo 4.3.1-r1)


-- 
           Summary: ICE: in final_scan_insn, at final.c:2615 (altivec)
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: leligeour at ensiie dot fr
  GCC host triplet: powerpc64-unknown-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu


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


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

* [Bug c/37168] ICE: in final_scan_insn, at final.c:2615 (altivec)
  2008-08-19 22:59 [Bug c/37168] New: ICE: in final_scan_insn, at final.c:2615 (altivec) leligeour at ensiie dot fr
  2008-08-19 23:00 ` [Bug c/37168] " leligeour at ensiie dot fr
@ 2008-08-19 23:00 ` leligeour at ensiie dot fr
  2008-08-19 23:04 ` [Bug target/37168] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: leligeour at ensiie dot fr @ 2008-08-19 23:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from leligeour at ensiie dot fr  2008-08-19 22:59 -------
Created an attachment (id=16101)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16101&action=view)
test.c


-- 


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


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

* [Bug c/37168] ICE: in final_scan_insn, at final.c:2615 (altivec)
  2008-08-19 22:59 [Bug c/37168] New: ICE: in final_scan_insn, at final.c:2615 (altivec) leligeour at ensiie dot fr
@ 2008-08-19 23:00 ` leligeour at ensiie dot fr
  2008-08-19 23:00 ` leligeour at ensiie dot fr
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: leligeour at ensiie dot fr @ 2008-08-19 23:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from leligeour at ensiie dot fr  2008-08-19 22:59 -------
Created an attachment (id=16102)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16102&action=view)
test.i


-- 


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


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

* [Bug target/37168] [4.3/4.4 Regression] ICE: in final_scan_insn, at final.c:2615 (altivec)
  2008-08-19 22:59 [Bug c/37168] New: ICE: in final_scan_insn, at final.c:2615 (altivec) leligeour at ensiie dot fr
  2008-08-19 23:00 ` [Bug c/37168] " leligeour at ensiie dot fr
  2008-08-19 23:00 ` leligeour at ensiie dot fr
@ 2008-08-19 23:04 ` pinskia at gcc dot gnu dot org
  2008-08-19 23:06 ` 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 @ 2008-08-19 23:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-08-19 23:03 -------
Short testcase:
void _erfcf4(void)
{
  __attribute__((altivec(vector__))) float xsqu;
  __attribute__((altivec(vector__))) float tresult;
  { tresult = __builtin_vec_madd(tresult, xsqu,
(__attribute__((altivec(vector__))) float)
{3.68249351546114573519399405666776E-44f,
3.68249351546114573519399405666776E-44f,
3.68249351546114573519399405666776E-44f,
3.68249351546114573519399405666776E-44f}); };
}

Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   GCC host triplet|powerpc64-unknown-linux-gnu |
 GCC target triplet|powerpc64-unknown-linux-gnu |powerpc*-*-*
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2008-08-19 23:03:11
               date|                            |
            Summary|ICE: in final_scan_insn, at |[4.3/4.4 Regression] ICE: in
                   |final.c:2615 (altivec)      |final_scan_insn, at
                   |                            |final.c:2615 (altivec)


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


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

* [Bug target/37168] [4.3/4.4 Regression] ICE: in final_scan_insn, at final.c:2615 (altivec)
  2008-08-19 22:59 [Bug c/37168] New: ICE: in final_scan_insn, at final.c:2615 (altivec) leligeour at ensiie dot fr
                   ` (2 preceding siblings ...)
  2008-08-19 23:04 ` [Bug target/37168] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
@ 2008-08-19 23:06 ` pinskia at gcc dot gnu dot org
  2008-08-19 23:07 ` 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 @ 2008-08-19 23:06 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.4.0
      Known to work|                            |4.1.1
   Target Milestone|---                         |4.3.2


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


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

* [Bug target/37168] [4.3/4.4 Regression] ICE: in final_scan_insn, at final.c:2615 (altivec)
  2008-08-19 22:59 [Bug c/37168] New: ICE: in final_scan_insn, at final.c:2615 (altivec) leligeour at ensiie dot fr
                   ` (3 preceding siblings ...)
  2008-08-19 23:06 ` pinskia at gcc dot gnu dot org
@ 2008-08-19 23:07 ` pinskia at gcc dot gnu dot org
  2008-08-22 15:39 ` rguenth 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 @ 2008-08-19 23:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2008-08-19 23:06 -------
Note the vector is representable by addition of two constant vectors integer
word 13 spatted.


-- 


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


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

* [Bug target/37168] [4.3/4.4 Regression] ICE: in final_scan_insn, at final.c:2615 (altivec)
  2008-08-19 22:59 [Bug c/37168] New: ICE: in final_scan_insn, at final.c:2615 (altivec) leligeour at ensiie dot fr
                   ` (4 preceding siblings ...)
  2008-08-19 23:07 ` pinskia at gcc dot gnu dot org
@ 2008-08-22 15:39 ` rguenth at gcc dot gnu dot org
  2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-22 15:39 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug target/37168] [4.3/4.4 Regression] ICE: in final_scan_insn, at final.c:2615 (altivec)
  2008-08-19 22:59 [Bug c/37168] New: ICE: in final_scan_insn, at final.c:2615 (altivec) leligeour at ensiie dot fr
                   ` (5 preceding siblings ...)
  2008-08-22 15:39 ` rguenth at gcc dot gnu dot org
@ 2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org
  2008-08-29 15:43 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-08-27 22:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jsm28 at gcc dot gnu dot org  2008-08-27 22:05 -------
4.3.2 is released, changing milestones to 4.3.3.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.2                       |4.3.3


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


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

* [Bug target/37168] [4.3/4.4 Regression] ICE: in final_scan_insn, at final.c:2615 (altivec)
  2008-08-19 22:59 [Bug c/37168] New: ICE: in final_scan_insn, at final.c:2615 (altivec) leligeour at ensiie dot fr
                   ` (6 preceding siblings ...)
  2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org
@ 2008-08-29 15:43 ` jakub at gcc dot gnu dot org
  2008-08-31 12:10 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-08-29 15:43 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2008-
                   |                            |08/msg02275.html
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-08-19 23:03:11         |2008-08-29 15:42:18
               date|                            |


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


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

* [Bug target/37168] [4.3/4.4 Regression] ICE: in final_scan_insn, at final.c:2615 (altivec)
  2008-08-19 22:59 [Bug c/37168] New: ICE: in final_scan_insn, at final.c:2615 (altivec) leligeour at ensiie dot fr
                   ` (7 preceding siblings ...)
  2008-08-29 15:43 ` jakub at gcc dot gnu dot org
@ 2008-08-31 12:10 ` jakub at gcc dot gnu dot org
  2008-08-31 12:28 ` jakub at gcc dot gnu dot org
  2008-08-31 13:14 ` jakub at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-08-31 12:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jakub at gcc dot gnu dot org  2008-08-31 12:09 -------
Subject: Bug 37168

Author: jakub
Date: Sun Aug 31 12:08:35 2008
New Revision: 139828

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139828
Log:
        PR target/37168
        * config/rs6000/rs6000-protos.h (const_vector_elt_as_int): Add
        prototype.
        * config/rs6000/rs6000.c (const_vector_elt_as_int): No longer static.
        * config/rs6000/altivec.md (easy_vector_constant_add_self splitter):
        Also split V4SFmode.
        * config/rs6000/predicates.md (easy_vector_constant_add_self): Handle
        vector float modes.

        * gcc.target/powerpc/pr37168.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/powerpc/pr37168.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/altivec.md
    trunk/gcc/config/rs6000/predicates.md
    trunk/gcc/config/rs6000/rs6000-protos.h
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug target/37168] [4.3/4.4 Regression] ICE: in final_scan_insn, at final.c:2615 (altivec)
  2008-08-19 22:59 [Bug c/37168] New: ICE: in final_scan_insn, at final.c:2615 (altivec) leligeour at ensiie dot fr
                   ` (8 preceding siblings ...)
  2008-08-31 12:10 ` jakub at gcc dot gnu dot org
@ 2008-08-31 12:28 ` jakub at gcc dot gnu dot org
  2008-08-31 13:14 ` jakub at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-08-31 12:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jakub at gcc dot gnu dot org  2008-08-31 12:27 -------
Subject: Bug 37168

Author: jakub
Date: Sun Aug 31 12:26:20 2008
New Revision: 139829

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139829
Log:
        PR target/37168
        * config/rs6000/rs6000-protos.h (const_vector_elt_as_int): Add
        prototype.
        * config/rs6000/rs6000.c (const_vector_elt_as_int): No longer static.
        * config/rs6000/altivec.md (easy_vector_constant_add_self splitter):
        Also split V4SFmode.
        * config/rs6000/predicates.md (easy_vector_constant_add_self): Handle
        vector float modes.

        * gcc.target/powerpc/pr37168.c: New test.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.target/powerpc/pr37168.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/config/rs6000/altivec.md
    branches/gcc-4_3-branch/gcc/config/rs6000/predicates.md
    branches/gcc-4_3-branch/gcc/config/rs6000/rs6000-protos.h
    branches/gcc-4_3-branch/gcc/config/rs6000/rs6000.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug target/37168] [4.3/4.4 Regression] ICE: in final_scan_insn, at final.c:2615 (altivec)
  2008-08-19 22:59 [Bug c/37168] New: ICE: in final_scan_insn, at final.c:2615 (altivec) leligeour at ensiie dot fr
                   ` (9 preceding siblings ...)
  2008-08-31 12:28 ` jakub at gcc dot gnu dot org
@ 2008-08-31 13:14 ` jakub at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-08-31 13:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jakub at gcc dot gnu dot org  2008-08-31 13:12 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2008-08-31 13:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-19 22:59 [Bug c/37168] New: ICE: in final_scan_insn, at final.c:2615 (altivec) leligeour at ensiie dot fr
2008-08-19 23:00 ` [Bug c/37168] " leligeour at ensiie dot fr
2008-08-19 23:00 ` leligeour at ensiie dot fr
2008-08-19 23:04 ` [Bug target/37168] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
2008-08-19 23:06 ` pinskia at gcc dot gnu dot org
2008-08-19 23:07 ` pinskia at gcc dot gnu dot org
2008-08-22 15:39 ` rguenth at gcc dot gnu dot org
2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org
2008-08-29 15:43 ` jakub at gcc dot gnu dot org
2008-08-31 12:10 ` jakub at gcc dot gnu dot org
2008-08-31 12:28 ` jakub at gcc dot gnu dot org
2008-08-31 13:14 ` jakub 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).