public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/38153] ICE in testcase when compiled with -ftree-parallelize-loops
[not found] <bug-38153-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-20 14:52 ` zsojka at seznam dot cz
0 siblings, 0 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-20 14:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38153
Zdenek Sojka <zsojka at seznam dot cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zsojka at seznam dot cz
--- Comment #4 from Zdenek Sojka <zsojka at seznam dot cz> 2010-10-20 14:52:32 UTC ---
A bit different testcase, crashes on x86_64-pc-linux-gnu, r165719
----- testcase.c -----
void
foo (void **a, int i)
{
while (i--)
a[i] = &&label;
label:;
}
----------------------
$ gcc -O -ftree-parallelize-loops=2 testcase.c
testcase.c: In function 'foo':
testcase.c:2:1: error: label
label has incorrect context in bb 6testcase.c:2:1: internal compiler error:
verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
-ftree-parallelize-loops=N, crashes for N>=2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/38153] ICE in testcase when compiled with -ftree-parallelize-loops
2008-11-16 10:09 [Bug tree-optimization/38153] New: failure in testcase when compiled with -ftree-paralleilze-loops razya at il dot ibm dot com
2008-12-28 18:26 ` [Bug tree-optimization/38153] ICE in testcase when compiled with -ftree-parallelize-loops reichelt at gcc dot gnu dot org
2008-12-28 18:41 ` reichelt at gcc dot gnu dot org
@ 2008-12-29 3:35 ` reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-12-29 3:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from reichelt at gcc dot gnu dot org 2008-12-29 03:34 -------
*** Bug 38154 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38153
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/38153] ICE in testcase when compiled with -ftree-parallelize-loops
2008-11-16 10:09 [Bug tree-optimization/38153] New: failure in testcase when compiled with -ftree-paralleilze-loops razya at il dot ibm dot com
2008-12-28 18:26 ` [Bug tree-optimization/38153] ICE in testcase when compiled with -ftree-parallelize-loops reichelt at gcc dot gnu dot org
@ 2008-12-28 18:41 ` reichelt at gcc dot gnu dot org
2008-12-29 3:35 ` reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-12-28 18:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from reichelt at gcc dot gnu dot org 2008-12-28 18:40 -------
Btw, the error message is a little hosed:
bug.c: In function 'foo':
bug.c:2: error: label
L has incorrect context in bb 8bug.c:7: internal compiler error:
verify_flow_info failed
Please submit a full bug report, [etc.]
It looks like most of the fprintf statements in gimple_verify_flow_info
lack a trailing "\n".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38153
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/38153] ICE in testcase when compiled with -ftree-parallelize-loops
2008-11-16 10:09 [Bug tree-optimization/38153] New: failure in testcase when compiled with -ftree-paralleilze-loops razya at il dot ibm dot com
@ 2008-12-28 18:26 ` reichelt at gcc dot gnu dot org
2008-12-28 18:41 ` reichelt at gcc dot gnu dot org
2008-12-29 3:35 ` reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-12-28 18:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from reichelt at gcc dot gnu dot org 2008-12-28 18:24 -------
Confirmed. Shorter testcase that crashes with "-O -ftree-parallelize-loops=2"
(on i686-pc-linux-gnu):
=============================
void foo(int n, void** p)
{
int i;
for (i = 0; i < n; ++i)
p[i] = &&L;
L: goto **p;
}
=============================
The crash happens since GCC 4.3.0 where -ftree-parallelize-loops was
introduced.
--
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-28 18:24:48
date| |
Summary|failure in testcase when |ICE in testcase when
|compiled with -ftree- |compiled with -ftree-
|paralleilze-loops |parallelize-loops
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38153
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-20 14:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-38153-4@http.gcc.gnu.org/bugzilla/>
2010-10-20 14:52 ` [Bug tree-optimization/38153] ICE in testcase when compiled with -ftree-parallelize-loops zsojka at seznam dot cz
2008-11-16 10:09 [Bug tree-optimization/38153] New: failure in testcase when compiled with -ftree-paralleilze-loops razya at il dot ibm dot com
2008-12-28 18:26 ` [Bug tree-optimization/38153] ICE in testcase when compiled with -ftree-parallelize-loops reichelt at gcc dot gnu dot org
2008-12-28 18:41 ` reichelt at gcc dot gnu dot org
2008-12-29 3:35 ` reichelt 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).