public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37539] New: Hang for -O3
@ 2008-09-16 8:19 dcb314 at hotmail dot com
2008-09-16 8:20 ` [Bug c++/37539] " dcb314 at hotmail dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2008-09-16 8:19 UTC (permalink / raw)
To: gcc-bugs
I just tried to compile the Suse Linux package liboil-0.3.14-17
with the most recent snapshot of gcc version 4.4, dated 20080912.
The compiler said
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -D_BSD_SOURCE -D_GNU_SOURCE -I../..
-DOIL_ENABLE_UNSTABLE_API -O3 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -MT
libref_la-yuv.lo -MD -MP -MF .deps/libref_la-yuv.Tpo -c yuv.c -fPIC -DPIC -o
.libs/libref_la-yuv.o
yuv.c:145: warning: missing initializer
yuv.c:145: warning: (near initialization for
'_oil_function_impl_yuyv2ayuv_ref.profile_ave')
yuv.c:161: warning: missing initializer
yuv.c:161: warning: (near initialization for
'_oil_function_impl_yvyu2ayuv_ref.profile_ave')
yuv.c:177: warning: missing initializer
yuv.c:177: warning: (near initialization for
'_oil_function_impl_uyvy2ayuv_ref.profile_ave')
yuv.c:200: warning: missing initializer
yuv.c:200: warning: (near initialization for
'_oil_function_impl_ayuv2yuyv_ref.profile_ave')
yuv.c:221: warning: missing initializer
yuv.c:221: warning: (near initialization for
'_oil_function_impl_ayuv2yvyu_ref.profile_ave')
yuv.c:242: warning: missing initializer
yuv.c:242: warning: (near initialization for
'_oil_function_impl_ayuv2uyvy_ref.profile_ave')
yuv.c:257: warning: missing initializer
yuv.c:257: warning: (near initialization for
'_oil_function_impl_packyuyv_ref.profile_ave')
yuv.c:272: warning: missing initializer
yuv.c:272: warning: (near initialization for
'_oil_function_impl_unpackyuyv_ref.profile_ave')
and proceeded to hang an otherwise idle machine for half an hour.
Preprocessed source code attached. Flag -O3 required to cause the hang.
Changing the -O3 flag to -O2 caused the file to compile in half a second.
--
Summary: Hang for -O3
Product: gcc
Version: 4.4.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: suse-linux-x86_64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37539
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/37539] Hang for -O3
2008-09-16 8:19 [Bug c++/37539] New: Hang for -O3 dcb314 at hotmail dot com
@ 2008-09-16 8:20 ` dcb314 at hotmail dot com
2008-09-16 13:16 ` rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2008-09-16 8:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dcb314 at hotmail dot com 2008-09-16 08:18 -------
Created an attachment (id=16336)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16336&action=view)
C source code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37539
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/37539] Hang for -O3
2008-09-16 8:19 [Bug c++/37539] New: Hang for -O3 dcb314 at hotmail dot com
2008-09-16 8:20 ` [Bug c++/37539] " dcb314 at hotmail dot com
@ 2008-09-16 13:16 ` rguenth at gcc dot gnu dot org
2008-09-16 16:37 ` [Bug tree-optimization/37539] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-09-16 13:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-09-16 13:14 -------
There's a dup for this.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37539
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/37539] Hang for -O3
2008-09-16 8:19 [Bug c++/37539] New: Hang for -O3 dcb314 at hotmail dot com
2008-09-16 8:20 ` [Bug c++/37539] " dcb314 at hotmail dot com
2008-09-16 13:16 ` rguenth at gcc dot gnu dot org
@ 2008-09-16 16:37 ` pinskia at gcc dot gnu dot org
2008-09-18 7:27 ` irar at il dot ibm dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-16 16:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-09-16 16:36 -------
It is hanging in vectorizable_load.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |tree-optimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37539
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/37539] Hang for -O3
2008-09-16 8:19 [Bug c++/37539] New: Hang for -O3 dcb314 at hotmail dot com
` (2 preceding siblings ...)
2008-09-16 16:37 ` [Bug tree-optimization/37539] " pinskia at gcc dot gnu dot org
@ 2008-09-18 7:27 ` irar at il dot ibm dot com
2008-09-18 8:44 ` irar at il dot ibm dot com
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: irar at il dot ibm dot com @ 2008-09-18 7:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from irar at il dot ibm dot com 2008-09-18 07:26 -------
Reduced testcase:
typedef struct _OilFunctionImpl OilFunctionImpl;
struct _OilFunctionImpl {
void *func;
};
static void
ayuv2yuyv_ref (int *d, int *src, int n)
{
char *dest = (char *)d;
int i;
for(i=0;i<n/2;i++){
dest[i*4 + 0] = (((src[i*2 + 0])>>16)&0xff);
dest[i*4 + 1] = ((((src[i*2 + 0])>>8)&0xff) + (((src[i*2] +
1)>>8)&0xff))/2;
dest[i*4 + 2] = (((src[i*2 + 1])>>16)&0xff);
dest[i*4 + 3] = ((((src[i*2 + 0])>>0)&0xff) + (((src[i*2] +
1)>>0)&0xff))/2;
}
}
OilFunctionImpl _oil_function_impl_ayuv2yuyv_ref = {(void *)ayuv2yuyv_ref};
--
irar at il dot ibm dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-09-18 07:26:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37539
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/37539] Hang for -O3
2008-09-16 8:19 [Bug c++/37539] New: Hang for -O3 dcb314 at hotmail dot com
` (3 preceding siblings ...)
2008-09-18 7:27 ` irar at il dot ibm dot com
@ 2008-09-18 8:44 ` irar at il dot ibm dot com
2008-09-20 3:13 ` [Bug tree-optimization/37539] [4.4 Regression] " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: irar at il dot ibm dot com @ 2008-09-18 8:44 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|2008-09-18 07:26:21 |2008-09-18 08:43:27
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37539
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/37539] [4.4 Regression] Hang for -O3
2008-09-16 8:19 [Bug c++/37539] New: Hang for -O3 dcb314 at hotmail dot com
` (4 preceding siblings ...)
2008-09-18 8:44 ` irar at il dot ibm dot com
@ 2008-09-20 3:13 ` pinskia at gcc dot gnu dot org
2008-09-21 8:38 ` irar at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-20 3:13 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |compile-time-hog
Summary|Hang for -O3 |[4.4 Regression] Hang for -
| |O3
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37539
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/37539] [4.4 Regression] Hang for -O3
2008-09-16 8:19 [Bug c++/37539] New: Hang for -O3 dcb314 at hotmail dot com
` (5 preceding siblings ...)
2008-09-20 3:13 ` [Bug tree-optimization/37539] [4.4 Regression] " pinskia at gcc dot gnu dot org
@ 2008-09-21 8:38 ` irar at gcc dot gnu dot org
2008-09-21 8:53 ` irar at gcc dot gnu dot org
2008-09-24 3:25 ` jakub at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: irar at gcc dot gnu dot org @ 2008-09-21 8:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from irar at gcc dot gnu dot org 2008-09-21 08:37 -------
Subject: Bug 37539
Author: irar
Date: Sun Sep 21 08:36:07 2008
New Revision: 140522
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140522
Log:
PR tree-optimization/37539
* tree-vect-transform.c (vect_transform_strided_load): Save vector
statement in related statement field only for the first load of the
group of loads with the same data reference.
Added:
trunk/gcc/testsuite/gcc.dg/vect/pr37539.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-transform.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37539
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/37539] [4.4 Regression] Hang for -O3
2008-09-16 8:19 [Bug c++/37539] New: Hang for -O3 dcb314 at hotmail dot com
` (6 preceding siblings ...)
2008-09-21 8:38 ` irar at gcc dot gnu dot org
@ 2008-09-21 8:53 ` irar at gcc dot gnu dot org
2008-09-24 3:25 ` jakub at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: irar at gcc dot gnu dot org @ 2008-09-21 8:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from irar at gcc dot gnu dot org 2008-09-21 08:52 -------
Subject: Bug 37539
Author: irar
Date: Sun Sep 21 08:51:01 2008
New Revision: 140523
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140523
Log:
PR tree-optimization/37539
* tree-vect-transform.c (vect_transform_strided_load): Save vector
statement in related statement field only for the first load of the
group of loads with the same data reference.
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/tree-vect-transform.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37539
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/37539] [4.4 Regression] Hang for -O3
2008-09-16 8:19 [Bug c++/37539] New: Hang for -O3 dcb314 at hotmail dot com
` (7 preceding siblings ...)
2008-09-21 8:53 ` irar at gcc dot gnu dot org
@ 2008-09-24 3:25 ` jakub at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-24 3:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jakub at gcc dot gnu dot org 2008-09-24 03:24 -------
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=37539
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-09-24 3:25 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-16 8:19 [Bug c++/37539] New: Hang for -O3 dcb314 at hotmail dot com
2008-09-16 8:20 ` [Bug c++/37539] " dcb314 at hotmail dot com
2008-09-16 13:16 ` rguenth at gcc dot gnu dot org
2008-09-16 16:37 ` [Bug tree-optimization/37539] " pinskia at gcc dot gnu dot org
2008-09-18 7:27 ` irar at il dot ibm dot com
2008-09-18 8:44 ` irar at il dot ibm dot com
2008-09-20 3:13 ` [Bug tree-optimization/37539] [4.4 Regression] " pinskia at gcc dot gnu dot org
2008-09-21 8:38 ` irar at gcc dot gnu dot org
2008-09-21 8:53 ` irar at gcc dot gnu dot org
2008-09-24 3:25 ` 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).