public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/43842]  New: ice in vect_create_epilog_for_reduction
@ 2010-04-21 20:31 regehr at cs dot utah dot edu
  2010-04-22  8:52 ` [Bug tree-optimization/43842] [4.6 Regression] " rguenth at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: regehr at cs dot utah dot edu @ 2010-04-21 20:31 UTC (permalink / raw)
  To: gcc-bugs

[regehr@gamow tmp407]$ current-gcc -c -O3 small.c
small.c: In function 'int161':
small.c:19:1: internal compiler error: in vect_create_epilog_for_reduction, at
tree-vect-loop.c:3451
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

[regehr@gamow tmp407]$ current-gcc -v

Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r158618-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --with-libelf=/usr/local --enable-lto
--prefix=/home/regehr/z/compiler-install/gcc-r158618-install
--program-prefix=r158618- --enable-languages=c,c++
Thread model: posix
gcc version 4.6.0 20100421 (experimental) (GCC) 

[regehr@gamow tmp407]$ cat small.c

typedef short int int16_t;
typedef int int32_t;
typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
static int16_t
safe_rshift_func_int16_t_s_u (int16_t left, unsigned int right)
{
  return left || right >= 1 * 8 ? left : left >> right;
}

static uint32_t
safe_add_func_uint32_t_u_u (uint32_t ui1, uint16_t ui2)
{
  return ui1 + ui2;
}

int16_t g_4;
uint32_t g_9[1];
int161 (void)
{
  int32_t l_2;
  for (l_2 = -25; l_2; l_2 = safe_add_func_uint32_t_u_u (l_2, 1))
    g_9[0] ^= safe_rshift_func_int16_t_s_u (g_4, 1);
  return 0;
}


-- 
           Summary: ice in vect_create_epilog_for_reduction
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: regehr at cs dot utah dot edu
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug tree-optimization/43842] [4.6 Regression] ice in vect_create_epilog_for_reduction
  2010-04-21 20:31 [Bug c/43842] New: ice in vect_create_epilog_for_reduction regehr at cs dot utah dot edu
@ 2010-04-22  8:52 ` rguenth at gcc dot gnu dot org
  2010-04-22 11:46 ` irar at il dot ibm dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-22  8:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2010-04-22 08:51 -------
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |irar at gcc dot gnu dot org,
                   |                            |rguenth at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to work|                            |4.5.0
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-22 08:51:50
               date|                            |
            Summary|ice in                      |[4.6 Regression] ice in
                   |vect_create_epilog_for_reduc|vect_create_epilog_for_reduc
                   |tion                        |tion
   Target Milestone|---                         |4.6.0


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


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

* [Bug tree-optimization/43842] [4.6 Regression] ice in vect_create_epilog_for_reduction
  2010-04-21 20:31 [Bug c/43842] New: ice in vect_create_epilog_for_reduction regehr at cs dot utah dot edu
  2010-04-22  8:52 ` [Bug tree-optimization/43842] [4.6 Regression] " rguenth at gcc dot gnu dot org
@ 2010-04-22 11:46 ` irar at il dot ibm dot com
  2010-04-22 15:38 ` hjl dot tools at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: irar at il dot ibm dot com @ 2010-04-22 11:46 UTC (permalink / raw)
  To: gcc-bugs



-- 

irar at il dot ibm dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |irar at il dot ibm dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-04-22 08:51:50         |2010-04-22 11:46:44
               date|                            |


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


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

* [Bug tree-optimization/43842] [4.6 Regression] ice in vect_create_epilog_for_reduction
  2010-04-21 20:31 [Bug c/43842] New: ice in vect_create_epilog_for_reduction regehr at cs dot utah dot edu
  2010-04-22  8:52 ` [Bug tree-optimization/43842] [4.6 Regression] " rguenth at gcc dot gnu dot org
  2010-04-22 11:46 ` irar at il dot ibm dot com
@ 2010-04-22 15:38 ` hjl dot tools at gmail dot com
  2010-04-22 18:07 ` hjl dot tools at gmail dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-04-22 15:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2010-04-22 15:38 -------
It is caused by revision 158506:

http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00612.html


-- 


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


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

* [Bug tree-optimization/43842] [4.6 Regression] ice in vect_create_epilog_for_reduction
  2010-04-21 20:31 [Bug c/43842] New: ice in vect_create_epilog_for_reduction regehr at cs dot utah dot edu
                   ` (2 preceding siblings ...)
  2010-04-22 15:38 ` hjl dot tools at gmail dot com
@ 2010-04-22 18:07 ` hjl dot tools at gmail dot com
  2010-04-22 18:23 ` irar at gcc dot gnu dot org
  2010-07-23 11:48 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-04-22 18:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl dot tools at gmail dot com  2010-04-22 18:07 -------
I think revision 158650:

http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00756.html

is the fix for this bug.


-- 


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


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

* [Bug tree-optimization/43842] [4.6 Regression] ice in vect_create_epilog_for_reduction
  2010-04-21 20:31 [Bug c/43842] New: ice in vect_create_epilog_for_reduction regehr at cs dot utah dot edu
                   ` (3 preceding siblings ...)
  2010-04-22 18:07 ` hjl dot tools at gmail dot com
@ 2010-04-22 18:23 ` irar at gcc dot gnu dot org
  2010-07-23 11:48 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: irar at gcc dot gnu dot org @ 2010-04-22 18:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from irar at gcc dot gnu dot org  2010-04-22 18:23 -------
Subject: Bug 43842

Author: irar
Revision: 158650
Modified property: svn:log

Modified: svn:log at Thu Apr 22 18:22:54 2010
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Thu Apr 22 18:22:54 2010
@@ -1,5 +1,5 @@

-       PR tree-optimization/43482
+       PR tree-optimization/43842
        * tree-vect-loop.c (vect_create_epilog_for_reduction): Handle 
        loop unrolling in update of exit phis. Fix comment.
        * tree-vect-slp.c (vect_analyze_slp): Check that there are at


-- 


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


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

* [Bug tree-optimization/43842] [4.6 Regression] ice in vect_create_epilog_for_reduction
  2010-04-21 20:31 [Bug c/43842] New: ice in vect_create_epilog_for_reduction regehr at cs dot utah dot edu
                   ` (4 preceding siblings ...)
  2010-04-22 18:23 ` irar at gcc dot gnu dot org
@ 2010-07-23 11:48 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-23 11:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-07-23 11:48 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-07-23 11:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-21 20:31 [Bug c/43842] New: ice in vect_create_epilog_for_reduction regehr at cs dot utah dot edu
2010-04-22  8:52 ` [Bug tree-optimization/43842] [4.6 Regression] " rguenth at gcc dot gnu dot org
2010-04-22 11:46 ` irar at il dot ibm dot com
2010-04-22 15:38 ` hjl dot tools at gmail dot com
2010-04-22 18:07 ` hjl dot tools at gmail dot com
2010-04-22 18:23 ` irar at gcc dot gnu dot org
2010-07-23 11:48 ` rguenth 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).