public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/38156]  New: gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4
@ 2008-11-16 12:12 razya at il dot ibm dot com
  2008-11-16 12:13 ` [Bug tree-optimization/38156] " razya at il dot ibm dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: razya at il dot ibm dot com @ 2008-11-16 12:12 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 928 bytes --]

testsuite/gcc.dg/tree-ssa/update-unswitch-1.c is failing when compiled with
-ftree-parallelize-loops=4
 In function âblaâ:
/Develop/mainline_parallel/gcc/gcc/testsuite/gcc.dg/tree-ssa/update-unswitch-1.c:4:
internal compiler error: Segmentation fault
There are reduction patterns in this tescase, for which the field are
not recorded properly.


-- 
           Summary: gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled
                    with -ftree-parallelize-loops=4
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: razya at il dot ibm dot com
 GCC build triplet: powerpc64-suse-linux
  GCC host triplet: powerpc64-suse-linux
GCC target triplet: powerpc64-suse-linux


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


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

* [Bug tree-optimization/38156] gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4
  2008-11-16 12:12 [Bug tree-optimization/38156] New: gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4 razya at il dot ibm dot com
@ 2008-11-16 12:13 ` razya at il dot ibm dot com
  2008-11-19 16:02 ` razya at il dot ibm dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: razya at il dot ibm dot com @ 2008-11-16 12:13 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 572 bytes --]



------- Comment #1 from razya at il dot ibm dot com  2008-11-16 12:12 -------
(In reply to comment #0)
> testsuite/gcc.dg/tree-ssa/update-unswitch-1.c is failing when compiled with
> -ftree-parallelize-loops=4
>  In function âblaâ:
> /Develop/mainline_parallel/gcc/gcc/testsuite/gcc.dg/tree-ssa/update-unswitch-1.c:4:
> internal compiler error: Segmentation fault
> There are reduction patterns in this tescase, for which the field are
> not recorded properly.

Would like to be assigned for  this bug.
Razya


-- 


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


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

* [Bug tree-optimization/38156] gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4
  2008-11-16 12:12 [Bug tree-optimization/38156] New: gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4 razya at il dot ibm dot com
  2008-11-16 12:13 ` [Bug tree-optimization/38156] " razya at il dot ibm dot com
@ 2008-11-19 16:02 ` razya at il dot ibm dot com
  2008-11-19 16:11 ` razya at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: razya at il dot ibm dot com @ 2008-11-19 16:02 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 681 bytes --]



------- Comment #2 from razya at il dot ibm dot com  2008-11-19 16:00 -------
(In reply to comment #1)
> (In reply to comment #0)
> > testsuite/gcc.dg/tree-ssa/update-unswitch-1.c is failing when compiled with
> > -ftree-parallelize-loops=4
> >  In function âblaâ:
> > /Develop/mainline_parallel/gcc/gcc/testsuite/gcc.dg/tree-ssa/update-unswitch-1.c:4:
> > internal compiler error: Segmentation fault
> > There are reduction patterns in this tescase, for which the field are
> > not recorded properly.
> Would like to be assigned for  this bug.
> Razya

patch : http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00882.html


-- 


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


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

* [Bug tree-optimization/38156] gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4
  2008-11-16 12:12 [Bug tree-optimization/38156] New: gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4 razya at il dot ibm dot com
  2008-11-16 12:13 ` [Bug tree-optimization/38156] " razya at il dot ibm dot com
  2008-11-19 16:02 ` razya at il dot ibm dot com
@ 2008-11-19 16:11 ` razya at gcc dot gnu dot org
  2008-12-31 21:37 ` reichelt at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: razya at gcc dot gnu dot org @ 2008-11-19 16:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from razya at gcc dot gnu dot org  2008-11-19 16:09 -------
Subject: Bug 38156

Author: razya
Date: Wed Nov 19 16:08:01 2008
New Revision: 142004

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142004
Log:
2008-11-19  Razya Ladelsky  <razya@il.ibm.com>

        PR target/38156
        * tree-parloops.c (loop_parallel_p): NULL vect_dump.
        (separate_decls_in_region): Create shared struct even when there
        are only reductions.



Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-parloops.c


-- 


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


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

* [Bug tree-optimization/38156] gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4
  2008-11-16 12:12 [Bug tree-optimization/38156] New: gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4 razya at il dot ibm dot com
                   ` (2 preceding siblings ...)
  2008-11-19 16:11 ` razya at gcc dot gnu dot org
@ 2008-12-31 21:37 ` reichelt at gcc dot gnu dot org
  2009-04-21 15:59 ` jakub at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-12-31 21:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from reichelt at gcc dot gnu dot org  2008-12-31 21:35 -------
Razya, Zdenek,

the patch committed does something different than the patch approved.
Here's part of what was committed:

> !  if (htab_elements (name_copies) == 0 && reduction_list == 0)

And the matching part of what was approved:
> !  if (htab_elements (name_copies) == 0 
> !      && (!reduction_list || htab_elements (reduction_list) == 0))
>
> reduction_list is never NULL, so it suffices to check htab_elements
> (reduction_list) == 0.

Could you please have a look?

Btw, the patch is missing a testcase.

And by the way, can this PR be closed or is a backport to 4.3 (where the crash
also occurs) for this simple fix intended?


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |monitored
   Last reconfirmed|0000-00-00 00:00:00         |2008-12-31 21:35:15
               date|                            |
   Target Milestone|---                         |4.4.0


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


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

* [Bug tree-optimization/38156] gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4
  2008-11-16 12:12 [Bug tree-optimization/38156] New: gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4 razya at il dot ibm dot com
                   ` (3 preceding siblings ...)
  2008-12-31 21:37 ` reichelt at gcc dot gnu dot org
@ 2009-04-21 15:59 ` jakub at gcc dot gnu dot org
  2009-05-14  6:08 ` bje at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-04-21 15:59 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.0                       |4.4.1


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


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

* [Bug tree-optimization/38156] gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4
  2008-11-16 12:12 [Bug tree-optimization/38156] New: gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4 razya at il dot ibm dot com
                   ` (4 preceding siblings ...)
  2009-04-21 15:59 ` jakub at gcc dot gnu dot org
@ 2009-05-14  6:08 ` bje at gcc dot gnu dot org
  2009-05-14  7:08 ` razya at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bje at gcc dot gnu dot org @ 2009-05-14  6:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from bje at gcc dot gnu dot org  2009-05-14 06:08 -------
Can this PR be closed now?


-- 


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


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

* [Bug tree-optimization/38156] gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4
  2008-11-16 12:12 [Bug tree-optimization/38156] New: gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4 razya at il dot ibm dot com
                   ` (5 preceding siblings ...)
  2009-05-14  6:08 ` bje at gcc dot gnu dot org
@ 2009-05-14  7:08 ` razya at gcc dot gnu dot org
  2009-07-22 10:35 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: razya at gcc dot gnu dot org @ 2009-05-14  7:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from razya at gcc dot gnu dot org  2009-05-14 07:08 -------
(In reply to comment #5)
> Can this PR be closed now?

Let me check it.
I'll rerun it next week, and close it if solved.
Razya


-- 


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


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

* [Bug tree-optimization/38156] gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4
  2008-11-16 12:12 [Bug tree-optimization/38156] New: gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4 razya at il dot ibm dot com
                   ` (6 preceding siblings ...)
  2009-05-14  7:08 ` razya at gcc dot gnu dot org
@ 2009-07-22 10:35 ` jakub at gcc dot gnu dot org
  2009-09-03  9:39 ` razya at gcc dot gnu dot org
  2009-10-05 21:42 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-07-22 10:35 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.1                       |4.4.2


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


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

* [Bug tree-optimization/38156] gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4
  2008-11-16 12:12 [Bug tree-optimization/38156] New: gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4 razya at il dot ibm dot com
                   ` (7 preceding siblings ...)
  2009-07-22 10:35 ` jakub at gcc dot gnu dot org
@ 2009-09-03  9:39 ` razya at gcc dot gnu dot org
  2009-10-05 21:42 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: razya at gcc dot gnu dot org @ 2009-09-03  9:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from razya at gcc dot gnu dot org  2009-09-03 09:39 -------
(In reply to comment #6)

Submited the correct fix:
http://gcc.gnu.org/ml/gcc-patches/2009-06/msg00277.html
Committed for GCC4.5
http://gcc.gnu.org/viewcvs?view=revision&revision=151373


-- 


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


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

* [Bug tree-optimization/38156] gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4
  2008-11-16 12:12 [Bug tree-optimization/38156] New: gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4 razya at il dot ibm dot com
                   ` (8 preceding siblings ...)
  2009-09-03  9:39 ` razya at gcc dot gnu dot org
@ 2009-10-05 21:42 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-10-05 21:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2009-10-05 21:41 -------
Fixed in 4.5.0 so closing as fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.4.2                       |4.5.0


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


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

end of thread, other threads:[~2009-10-05 21:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-16 12:12 [Bug tree-optimization/38156] New: gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4 razya at il dot ibm dot com
2008-11-16 12:13 ` [Bug tree-optimization/38156] " razya at il dot ibm dot com
2008-11-19 16:02 ` razya at il dot ibm dot com
2008-11-19 16:11 ` razya at gcc dot gnu dot org
2008-12-31 21:37 ` reichelt at gcc dot gnu dot org
2009-04-21 15:59 ` jakub at gcc dot gnu dot org
2009-05-14  6:08 ` bje at gcc dot gnu dot org
2009-05-14  7:08 ` razya at gcc dot gnu dot org
2009-07-22 10:35 ` jakub at gcc dot gnu dot org
2009-09-03  9:39 ` razya at gcc dot gnu dot org
2009-10-05 21:42 ` 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).