public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/30795]  New: ice for legal code with -ftree-vectorize -O2
@ 2007-02-14 18:47 dcb314 at hotmail dot com
  2007-02-14 18:48 ` [Bug c/30795] " dcb314 at hotmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2007-02-14 18:47 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile Suse Linux package MozillaThunderbird-1.5.0.8-7
with the GNU C++ compiler version 4.3 snapshot 20070209.

The compiler said

blocksort.c: In function 'mainSort':
blocksort.c:805: internal compiler error: in vect_get_vec_def_for_stmt_copy, at
tree-vect-transform.c:901
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. Flags -ftree-vectorize -O2 required.


-- 
           Summary: ice for legal code with -ftree-vectorize -O2
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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


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

* [Bug c/30795] ice for legal code with -ftree-vectorize -O2
  2007-02-14 18:47 [Bug c/30795] New: ice for legal code with -ftree-vectorize -O2 dcb314 at hotmail dot com
@ 2007-02-14 18:48 ` dcb314 at hotmail dot com
  2007-02-15  9:57 ` [Bug tree-optimization/30795] [4.3 Regression] " rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2007-02-14 18:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dcb314 at hotmail dot com  2007-02-14 18:48 -------
Created an attachment (id=13051)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13051&action=view)
C source code


-- 


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


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

* [Bug tree-optimization/30795] [4.3 Regression] ice for legal code with -ftree-vectorize -O2
  2007-02-14 18:47 [Bug c/30795] New: ice for legal code with -ftree-vectorize -O2 dcb314 at hotmail dot com
  2007-02-14 18:48 ` [Bug c/30795] " dcb314 at hotmail dot com
@ 2007-02-15  9:57 ` rguenth at gcc dot gnu dot org
  2007-02-15 10:21 ` dorit at il dot ibm dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-02-15  9:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2007-02-15 09:56 -------
Confirmed:

#1  0x0000000000cffee3 in vect_get_vec_def_for_stmt_copy (
    dt=vect_induction_def, vec_oprnd=0x2abeb1648480)
    at /space/rguenther/src/svn/trunk/gcc/tree-vect-transform.c:901
901         gcc_assert (TREE_CODE (vec_stmt_for_operand) == PHI_NODE);  
(gdb) call debug_generic_expr (vec_oprnd)
vect_vec_iv_.651_2519

we're trying to vectorize

#2  0x0000000000d0a06d in vectorizable_store (stmt=0x2abeb1570a50, 
    bsi=0x7ffffa0cc910, vec_stmt=0x7ffffa0cc7e0)
    at /space/rguenther/src/svn/trunk/gcc/tree-vect-transform.c:3229
3229                  vec_oprnd = vect_get_vec_def_for_stmt_copy (dt, 
(gdb) call debug_generic_expr (stmt)
# runningOrder_2294 = VDEF <runningOrder_2603> { runningOrder }
runningOrder[i_2611] = i_2611

in

(gdb) call debug_bb (bb_for_stmt (stmt))
;; basic block 36, loop depth 1, count 0
;; prev block 391, next block 37
;; pred:       391 [100.0%]  (fallthru) 37 [100.0%]  (fallthru,exec)
;; succ:       37 [99.0%]  (true,exec) 38 [1.0%]  (loop_exit,false,exec)
# ivtmp.658_2514 = PHI <vect_prunningOrder.653_2515(391), ivtmp.658_2513(37)>
# vect_vec_iv_.651_2522 = PHI <vect_cst_.649_2524(391),
vect_vec_iv_.651_2521(37)>
# ivtmp.645_2529 = PHI <vect_pbigDone.640_2530(391), ivtmp.645_2528(37)>
# ivtmp.635_2540 = PHI <256(391), ivtmp.635_2539(37)>
# bigDone_2602 = PHI <bigDone_2284(D)(391), bigDone_2293(37)>
# runningOrder_2603 = PHI <runningOrder_2283(D)(391), runningOrder_2294(37)>
# i_2611 = PHI <0(391), i_336(37)>
<L416>:;
# bigDone_2293 = VDEF <bigDone_2602> { bigDone }
*ivtmp.645_2529 = vect_cst_.639_2532;
vect_vec_iv_.651_2521 = vect_vec_iv_.651_2522 + vect_cst_.650_2523;
vect_vec_iv_.651_2519 = vect_vec_iv_.651_2522 + vect_cst_.652_2520;
vect_vec_iv_.651_2518 = vect_vec_iv_.651_2519 + vect_cst_.652_2520;
vect_vec_iv_.651_2517 = vect_vec_iv_.651_2518 + vect_cst_.652_2520;
# runningOrder_2294 = VDEF <runningOrder_2603> { runningOrder }
*ivtmp.658_2514 = vect_vec_iv_.651_2522;
ivtmp.658_2512 = ivtmp.658_2514 + 16B;
# runningOrder_2511 = VDEF <runningOrder_2603> { runningOrder }
*ivtmp.658_2512 = vect_vec_iv_.651_2519;
# runningOrder_2294 = VDEF <runningOrder_2603> { runningOrder }
runningOrder[i_2611] = i_2611;
i_336 = i_2611 + 1;
ivtmp.635_2539 = ivtmp.635_2540 - 1;
ivtmp.645_2528 = ivtmp.645_2529 + 16B;
ivtmp.658_2513 = ivtmp.658_2512 + 16B;
if (ivtmp.635_2539 != 0) goto <L509>; else goto <L510>;


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dorit at il dot ibm dot com
           Keywords|                            |ice-on-valid-code
            Summary|ice for legal code with -   |[4.3 Regression] ice for
                   |ftree-vectorize -O2         |legal code with -ftree-
                   |                            |vectorize -O2
   Target Milestone|---                         |4.3.0


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


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

* [Bug tree-optimization/30795] [4.3 Regression] ice for legal code with -ftree-vectorize -O2
  2007-02-14 18:47 [Bug c/30795] New: ice for legal code with -ftree-vectorize -O2 dcb314 at hotmail dot com
  2007-02-14 18:48 ` [Bug c/30795] " dcb314 at hotmail dot com
  2007-02-15  9:57 ` [Bug tree-optimization/30795] [4.3 Regression] " rguenth at gcc dot gnu dot org
@ 2007-02-15 10:21 ` dorit at il dot ibm dot com
  2007-02-18 16:42 ` dorit at il dot ibm dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dorit at il dot ibm dot com @ 2007-02-15 10:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dorit at il dot ibm dot com  2007-02-15 10:21 -------
I'll look into it.


-- 


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


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

* [Bug tree-optimization/30795] [4.3 Regression] ice for legal code with -ftree-vectorize -O2
  2007-02-14 18:47 [Bug c/30795] New: ice for legal code with -ftree-vectorize -O2 dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2007-02-15 10:21 ` dorit at il dot ibm dot com
@ 2007-02-18 16:42 ` dorit at il dot ibm dot com
  2007-06-29 17:52 ` mmitchel at gcc dot gnu dot org
  2007-07-01  8:38 ` dorit at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: dorit at il dot ibm dot com @ 2007-02-18 16:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dorit at il dot ibm dot com  2007-02-18 16:42 -------
patch: http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01555.html


-- 


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


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

* [Bug tree-optimization/30795] [4.3 Regression] ice for legal code with -ftree-vectorize -O2
  2007-02-14 18:47 [Bug c/30795] New: ice for legal code with -ftree-vectorize -O2 dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2007-02-18 16:42 ` dorit at il dot ibm dot com
@ 2007-06-29 17:52 ` mmitchel at gcc dot gnu dot org
  2007-07-01  8:38 ` dorit at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-06-29 17:52 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug tree-optimization/30795] [4.3 Regression] ice for legal code with -ftree-vectorize -O2
  2007-02-14 18:47 [Bug c/30795] New: ice for legal code with -ftree-vectorize -O2 dcb314 at hotmail dot com
                   ` (4 preceding siblings ...)
  2007-06-29 17:52 ` mmitchel at gcc dot gnu dot org
@ 2007-07-01  8:38 ` dorit at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: dorit at gcc dot gnu dot org @ 2007-07-01  8:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from dorit at gcc dot gnu dot org  2007-07-01 08:38 -------
This fix was committed with the wrong PR number (sorry about that):

2007-02-19  Dorit Nuzman  <dorit@il.ibm.com>

        PR tree-optimization/30975
        * tree-vect-trasnform.c (vect_get_vec_def_for_stmt_copy): Remove
        wrong assert.

Looks like this PR can be closed.


-- 

dorit at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-07-01  8:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14 18:47 [Bug c/30795] New: ice for legal code with -ftree-vectorize -O2 dcb314 at hotmail dot com
2007-02-14 18:48 ` [Bug c/30795] " dcb314 at hotmail dot com
2007-02-15  9:57 ` [Bug tree-optimization/30795] [4.3 Regression] " rguenth at gcc dot gnu dot org
2007-02-15 10:21 ` dorit at il dot ibm dot com
2007-02-18 16:42 ` dorit at il dot ibm dot com
2007-06-29 17:52 ` mmitchel at gcc dot gnu dot org
2007-07-01  8:38 ` dorit 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).