public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/38310]  New: -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2
@ 2008-11-28 18:20 nickols_k at mail dot ru
  2008-11-28 18:21 ` [Bug c/38310] " nickols_k at mail dot ru
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: nickols_k at mail dot ru @ 2008-11-28 18:20 UTC (permalink / raw)
  To: gcc-bugs

I tried to compile mplayerxp with -ftree-parallelize-loops=4 and gcc produced
ICE:

gcc -m64 -c -march=amdfam10 -O3 -funroll-all-loops -ffast-math
-fprefetch-loop-arrays -ftree-parallelize-loops=4 -mmmx -m3dnow -msse -msse2
-msse3 -msse4a -mabm -mcx16 -msahf  --param l1-cache-line-size=64 --param
l1-cache-size=128 --param l2-cache-size=512 -mfpmath=387,sse -mfancy-math-387
-mveclibabi=acml -finline-functions-called-once -funit-at-a-time -pipe -fopenmp
-fopenmp -ftree-parallelize-loops=4 -I/usr/X11/include -I/usr/X11R6/include  -W
-Wall -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D__USE_FILE_OFFSET64 -D__USE_LARGEFILE -D_LARGEFILE64_SOURCE -I. -I..
-I../../codecs/libavutil -Wall -o af_format.o af_format.c
af_format.c: In function 'play._loopfn.6':
af_format.c:382: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nickols_k at mail dot ru
 GCC build triplet: x86_64-unknown-linux
  GCC host triplet: x86_64-unknown-linux
GCC target triplet: x86_64-unknown-linux


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


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

* [Bug c/38310] -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2
  2008-11-28 18:20 [Bug c/38310] New: -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2 nickols_k at mail dot ru
@ 2008-11-28 18:21 ` nickols_k at mail dot ru
  2008-11-28 18:44 ` [Bug middle-end/38310] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: nickols_k at mail dot ru @ 2008-11-28 18:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from nickols_k at mail dot ru  2008-11-28 18:20 -------
Created an attachment (id=16791)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16791&action=view)
preprocessed input which causes ICE with -ftree-parallelize-loop=4


-- 


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


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

* [Bug middle-end/38310] -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2
  2008-11-28 18:20 [Bug c/38310] New: -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2 nickols_k at mail dot ru
  2008-11-28 18:21 ` [Bug c/38310] " nickols_k at mail dot ru
  2008-11-28 18:44 ` [Bug middle-end/38310] " pinskia at gcc dot gnu dot org
@ 2008-11-28 18:44 ` pinskia at gcc dot gnu dot org
  2008-11-28 20:05 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-28 18:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-11-28 18:43 -------
Reducing.


-- 


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


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

* [Bug middle-end/38310] -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2
  2008-11-28 18:20 [Bug c/38310] New: -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2 nickols_k at mail dot ru
  2008-11-28 18:21 ` [Bug c/38310] " nickols_k at mail dot ru
@ 2008-11-28 18:44 ` pinskia at gcc dot gnu dot org
  2008-11-28 18:44 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-28 18:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-11-28 18:43 -------
It works on the trunk though.


-- 


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


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

* [Bug middle-end/38310] -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2
  2008-11-28 18:20 [Bug c/38310] New: -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2 nickols_k at mail dot ru
                   ` (2 preceding siblings ...)
  2008-11-28 18:44 ` pinskia at gcc dot gnu dot org
@ 2008-11-28 20:05 ` pinskia at gcc dot gnu dot org
  2008-11-28 20:05 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-28 20:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2008-11-28 20:03 -------
Reduced testcase:
void endian(unsigned short* out, int len)
{
  int i;
  for(i=0;i<len;i++)
  {
    unsigned short x = out[i];
    __asm("rorw $8, %w0" :  "=r" (x) :  "0" (x) :  "cc");
    out[i]=x;
  }
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-11-28 20:03:55
               date|                            |


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


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

* [Bug middle-end/38310] -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2
  2008-11-28 18:20 [Bug c/38310] New: -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2 nickols_k at mail dot ru
                   ` (4 preceding siblings ...)
  2008-11-28 20:05 ` pinskia at gcc dot gnu dot org
@ 2008-11-28 20:05 ` pinskia at gcc dot gnu dot org
  2008-12-24  1:12 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-28 20:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2008-11-28 20:03 -------
Backtrace:
#0  0x00187de8 in ei_container (i={index = 0, container = 0x100}) at
/Users/apinski/src/gcc-4.3/gcc/gcc/basic-block.h:674
#1  0x00187e0e in ei_end_p (i={index = 0, container = 0x100}) at
/Users/apinski/src/gcc-4.3/gcc/gcc/basic-block.h:709
#2  0x00187ca4 in ei_cond (ei={index = 0, container = 0x100}, p=0xbffff06c) at
/Users/apinski/src/gcc-4.3/gcc/gcc/basic-block.h:759
#3  0x0018cb43 in loop_preheader_edge (loop=0x43423660) at
/Users/apinski/src/gcc-4.3/gcc/gcc/cfgloop.c:1574
#4  0x00669785 in move_computations_stmt (dw_data=0xbffff1bc, bb=0x434d6b80) at
/Users/apinski/src/gcc-4.3/gcc/gcc/tree-ssa-loop-im.c:861
#5  0x00b1c5b6 in walk_dominator_tree (walk_data=0xbffff1bc, bb=0x434d6b80) at
/Users/apinski/src/gcc-4.3/gcc/gcc/domwalk.c:195
#6  0x0066982f in move_computations () at
/Users/apinski/src/gcc-4.3/gcc/gcc/tree-ssa-loop-im.c:879
#7  0x0066c9de in tree_ssa_lim () at
/Users/apinski/src/gcc-4.3/gcc/gcc/tree-ssa-loop-im.c:1647
#8  0x0069e5a8 in tree_ssa_loop_im () at
/Users/apinski/src/gcc-4.3/gcc/gcc/tree-ssa-loop.c:113


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.3.3
      Known to work|                            |4.4.0


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


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

* [Bug middle-end/38310] -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2
  2008-11-28 18:20 [Bug c/38310] New: -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2 nickols_k at mail dot ru
                   ` (3 preceding siblings ...)
  2008-11-28 20:05 ` pinskia at gcc dot gnu dot org
@ 2008-11-28 20:05 ` pinskia at gcc dot gnu dot org
  2008-11-28 20:05 ` pinskia at gcc dot gnu dot org
  2008-12-24  1:12 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-28 20:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2008-11-28 20:04 -------
Since -ftree-parallelize-loops is a new feature closing as fixed for 4.4.0.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug middle-end/38310] -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2
  2008-11-28 18:20 [Bug c/38310] New: -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2 nickols_k at mail dot ru
                   ` (5 preceding siblings ...)
  2008-11-28 20:05 ` pinskia at gcc dot gnu dot org
@ 2008-12-24  1:12 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-24  1:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2008-12-24 01:09 -------
*** Bug 38356 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |debian-gcc at lists dot
                   |                            |debian dot org


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


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

end of thread, other threads:[~2008-12-24  1:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-28 18:20 [Bug c/38310] New: -ftree-parallelize-loops=4 causes ICE with gcc-4.3.2 nickols_k at mail dot ru
2008-11-28 18:21 ` [Bug c/38310] " nickols_k at mail dot ru
2008-11-28 18:44 ` [Bug middle-end/38310] " pinskia at gcc dot gnu dot org
2008-11-28 18:44 ` pinskia at gcc dot gnu dot org
2008-11-28 20:05 ` pinskia at gcc dot gnu dot org
2008-11-28 20:05 ` pinskia at gcc dot gnu dot org
2008-11-28 20:05 ` pinskia at gcc dot gnu dot org
2008-12-24  1:12 ` 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).