public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33361] New: ICE in find_outermost_region_in_block, at tree-cfg.c:4803
@ 2007-09-09 0:13 gcc at abeckmann dot de
2007-09-09 12:52 ` [Bug tree-optimization/33361] " gcc at abeckmann dot de
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: gcc at abeckmann dot de @ 2007-09-09 0:13 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3687 bytes --]
Hi,
I'm getting an
internal compiler error: in find_outermost_region_in_block, at
tree-cfg.c:4803
in -fopenmp mode with g++ 4.2.[012]. g++ 4.3 produces no error.
Andreas
$ /suse/NOBACKUP/gcc/gcc-4.2-branch/bin/g++ -v -save-temps -march=i686
-DSORT_OPTIMAL_PREFETCHING -DUSE_MALLOC_LOCK -DCOUNT_WAIT_TIME
-I/home/andreas/work/uka/stxxl/parpipe/include -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O3 -W -Wall -fopenmp -D__MCSTL__
-I/home/andreas/work/uka/mcstl/libstdc++/c++ -c
ICE_find_outermost_region_in_block.cpp
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4_2-branch/configure --enable-languages=c,c++
--prefix=/suse/NOBACKUP/gcc/gcc-4.2-branch
Thread model: posix
gcc version 4.2.2 20070908 (prerelease)
/suse/NOBACKUP/gcc/gcc-4.2-branch/libexec/gcc/i686-pc-linux-gnu/4.2.2/cc1plus
-E -quiet -v -I/home/andreas/work/uka/stxxl/parpipe/include
-I/home/andreas/work/uka/mcstl/libstdc++/c++ -D_GNU_SOURCE -D_REENTRANT
-DSORT_OPTIMAL_PREFETCHING -DUSE_MALLOC_LOCK -DCOUNT_WAIT_TIME
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__MCSTL__
ICE_find_outermost_region_in_block.cpp -march=i686 -W -Wall -fopenmp -O3
-fpch-preprocess -o ICE_find_outermost_region_in_block.ii
ignoring nonexistent directory
"/suse/NOBACKUP/gcc/gcc-4.2-branch/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/home/andreas/work/uka/stxxl/parpipe/include
/home/andreas/work/uka/mcstl/libstdc++/c++
/suse/NOBACKUP/gcc/gcc-4.2-branch/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../../include/c++/4.2.2
/suse/NOBACKUP/gcc/gcc-4.2-branch/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../../include/c++/4.2.2/i686-pc-linux-gnu
/suse/NOBACKUP/gcc/gcc-4.2-branch/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../../include/c++/4.2.2/backward
/usr/local/include
/suse/NOBACKUP/gcc/gcc-4.2-branch/include
/suse/NOBACKUP/gcc/gcc-4.2-branch/lib/gcc/i686-pc-linux-gnu/4.2.2/include
/usr/include
End of search list.
/suse/NOBACKUP/gcc/gcc-4.2-branch/libexec/gcc/i686-pc-linux-gnu/4.2.2/cc1plus
-fpreprocessed ICE_find_outermost_region_in_block.ii -quiet -dumpbase
ICE_find_outermost_region_in_block.cpp -march=i686 -auxbase
ICE_find_outermost_region_in_block -O3 -W -Wall -version -fopenmp -o
ICE_find_outermost_region_in_block.s
GNU C++ version 4.2.2 20070908 (prerelease) (i686-pc-linux-gnu)
compiled by GNU C version 4.2.2 20070908 (prerelease).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 7993b3af5142d87e347d8f7153b00978
/home/andreas/work/uka/mcstl/libstdc++/c++/bits/mcstl_par_loop.h: In function
Op mcstl::for_each_template_random_access_ed(RandomAccessIterator,
RandomAccessIterator, Op, Fu&, Red, Result, Result&, typename
std::iterator_traits<_Iterator>::difference_type) [with RandomAccessIterator =
stxxl::request_ptr*, Op = stxxl::request_ptr, Fu =
mcstl::fill_selector<stxxl::request_ptr*>, Red = mcstl::dummy_reduct, Result =
bool]:
/home/andreas/work/uka/mcstl/libstdc++/c++/bits/mcstl_par_loop.h:45: internal
compiler error: in find_outermost_region_in_block, at tree-cfg.c:4803
--
Summary: ICE in find_outermost_region_in_block, at tree-
cfg.c:4803
Product: gcc
Version: 4.2.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc at abeckmann dot de
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33361
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803
2007-09-09 0:13 [Bug c++/33361] New: ICE in find_outermost_region_in_block, at tree-cfg.c:4803 gcc at abeckmann dot de
@ 2007-09-09 12:52 ` gcc at abeckmann dot de
2007-09-09 13:37 ` rguenth at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: gcc at abeckmann dot de @ 2007-09-09 12:52 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1855 bytes --]
------- Comment #1 from gcc at abeckmann dot de 2007-09-09 12:51 -------
Created an attachment (id=14177)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14177&action=view)
testcase (reduced to be < 500k)
Sorry for the delay of the testcase, I had to reduce it from 1.9 MB to 440 KB.
(Is there some helper script that can do this in a more or less brute force
way?
Strip complete namespaces, classes, member functions, ... from the code,
recompile and check for a certain error message? Continue it it's still there
and backtrack otherwise?)
$ /suse/NOBACKUP/gcc/gcc-4.2-branch/bin/g++ -v -march=i686 -O3 -fopenmp -c
PR33361.ii
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4_2-branch/configure --enable-languages=c,c++
--prefix=/suse/NOBACKUP/gcc/gcc-4.2-branch
Thread model: posix
gcc version 4.2.2 20070908 (prerelease)
/suse/NOBACKUP/gcc/gcc-4.2-branch/libexec/gcc/i686-pc-linux-gnu/4.2.2/cc1plus
-fpreprocessed PR33361.ii -quiet -dumpbase PR33361.ii -march=i686 -auxbase
PR33361 -O3 -version -fopenmp -o /tmp/ccslyrRU.s
GNU C++ version 4.2.2 20070908 (prerelease) (i686-pc-linux-gnu)
compiled by GNU C version 4.2.2 20070908 (prerelease).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 7993b3af5142d87e347d8f7153b00978
PR33361.ii: In function Op
mcstl::for_each_template_random_access_ed(RandomAccessIterator,
RandomAccessIterator, Op, Fu&, Red, Result, Result&, typename
std::iterator_traits<_Iterator>::difference_type) [with RandomAccessIterator =
stxxl::request_ptr*, Op = stxxl::request_ptr, Fu =
mcstl::fill_selector<stxxl::request_ptr*>, Red = mcstl::dummy_reduct, Result =
bool]:
PR33361.ii:3047: internal compiler error: in find_outermost_region_in_block, at
tree-cfg.c:4803
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33361
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803
2007-09-09 0:13 [Bug c++/33361] New: ICE in find_outermost_region_in_block, at tree-cfg.c:4803 gcc at abeckmann dot de
2007-09-09 12:52 ` [Bug tree-optimization/33361] " gcc at abeckmann dot de
@ 2007-09-09 13:37 ` rguenth at gcc dot gnu dot org
2007-09-09 13:41 ` rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-09-09 13:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2007-09-09 13:37 -------
Reducing.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33361
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803
2007-09-09 0:13 [Bug c++/33361] New: ICE in find_outermost_region_in_block, at tree-cfg.c:4803 gcc at abeckmann dot de
2007-09-09 12:52 ` [Bug tree-optimization/33361] " gcc at abeckmann dot de
2007-09-09 13:37 ` rguenth at gcc dot gnu dot org
@ 2007-09-09 13:41 ` rguenth at gcc dot gnu dot org
2007-09-09 14:24 ` rguenth at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-09-09 13:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2007-09-09 13:41 -------
There are
http://gcc.gnu.org/wiki/HowToPrepareATestcase
http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33361
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803
2007-09-09 0:13 [Bug c++/33361] New: ICE in find_outermost_region_in_block, at tree-cfg.c:4803 gcc at abeckmann dot de
` (2 preceding siblings ...)
2007-09-09 13:41 ` rguenth at gcc dot gnu dot org
@ 2007-09-09 14:24 ` rguenth at gcc dot gnu dot org
2007-09-09 14:25 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-09-09 14:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2007-09-09 14:24 -------
Created an attachment (id=14178)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14178&action=view)
reduced testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33361
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803
2007-09-09 0:13 [Bug c++/33361] New: ICE in find_outermost_region_in_block, at tree-cfg.c:4803 gcc at abeckmann dot de
` (3 preceding siblings ...)
2007-09-09 14:24 ` rguenth at gcc dot gnu dot org
@ 2007-09-09 14:25 ` rguenth at gcc dot gnu dot org
2007-09-17 17:36 ` gcc at abeckmann dot de
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-09-09 14:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2007-09-09 14:24 -------
Confirmed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dnovillo at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2007-09-09 14:24:50
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33361
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803
2007-09-09 0:13 [Bug c++/33361] New: ICE in find_outermost_region_in_block, at tree-cfg.c:4803 gcc at abeckmann dot de
` (4 preceding siblings ...)
2007-09-09 14:25 ` rguenth at gcc dot gnu dot org
@ 2007-09-17 17:36 ` gcc at abeckmann dot de
2007-12-27 16:04 ` reichelt at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: gcc at abeckmann dot de @ 2007-09-17 17:36 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1488 bytes --]
------- Comment #6 from gcc at abeckmann dot de 2007-09-17 17:35 -------
Created an attachment (id=14216)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14216&action=view)
minimal testcase
The ICE only occurs with -O3 and above.
$ /suse/NOBACKUP/gcc/gcc-4.2-branch/bin/g++ -v -O3 -fopenmp -c PR33361.min.ii
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4_2-branch/configure --enable-languages=c,c++
--prefix=/suse/NOBACKUP/gcc/gcc-4.2-branch
Thread model: posix
gcc version 4.2.2 20070910 (prerelease)
/suse/NOBACKUP/gcc/gcc-4.2-branch/libexec/gcc/i686-pc-linux-gnu/4.2.2/cc1plus
-fpreprocessed PR33361.min.ii -quiet -dumpbase PR33361.min.ii -mtune=generic
-auxbase PR33361.min -O3 -version -fopenmp -o /tmp/ccdvfpMn.s
GNU C++ version 4.2.2 20070910 (prerelease) (i686-pc-linux-gnu)
compiled by GNU C version 4.2.2 20070908 (prerelease).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 4c766e638e42be49e7fc1a3400590598
PR33361.min.ii: In function void f():
PR33361.min.ii:25: internal compiler error: in find_outermost_region_in_block,
at tree-cfg.c:4803
--
gcc at abeckmann dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #14177|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33361
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803
2007-09-09 0:13 [Bug c++/33361] New: ICE in find_outermost_region_in_block, at tree-cfg.c:4803 gcc at abeckmann dot de
` (5 preceding siblings ...)
2007-09-17 17:36 ` gcc at abeckmann dot de
@ 2007-12-27 16:04 ` reichelt at gcc dot gnu dot org
2008-03-10 10:29 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-12-27 16:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from reichelt at gcc dot gnu dot org 2007-12-27 16:03 -------
Shorter testcase that crashes already with "-O -fopenmp":
======================================
void foo();
struct A
{
A() throw() { foo(); }
};
void bar()
{
#pragma omp parallel
A a, b;
}
======================================
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33361
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803
2007-09-09 0:13 [Bug c++/33361] New: ICE in find_outermost_region_in_block, at tree-cfg.c:4803 gcc at abeckmann dot de
` (6 preceding siblings ...)
2007-12-27 16:04 ` reichelt at gcc dot gnu dot org
@ 2008-03-10 10:29 ` jakub at gcc dot gnu dot org
2008-03-13 8:27 ` reichelt at gcc dot gnu dot org
2008-12-29 2:34 ` reichelt at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-03-10 10:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jakub at gcc dot gnu dot org 2008-03-10 10:29 -------
No plans to backport this to 4.2.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33361
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803
2007-09-09 0:13 [Bug c++/33361] New: ICE in find_outermost_region_in_block, at tree-cfg.c:4803 gcc at abeckmann dot de
` (7 preceding siblings ...)
2008-03-10 10:29 ` jakub at gcc dot gnu dot org
@ 2008-03-13 8:27 ` reichelt at gcc dot gnu dot org
2008-12-29 2:34 ` reichelt at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-03-13 8:27 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33361
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803
2007-09-09 0:13 [Bug c++/33361] New: ICE in find_outermost_region_in_block, at tree-cfg.c:4803 gcc at abeckmann dot de
` (8 preceding siblings ...)
2008-03-13 8:27 ` reichelt at gcc dot gnu dot org
@ 2008-12-29 2:34 ` reichelt at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-12-29 2:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from reichelt at gcc dot gnu dot org 2008-12-29 02:32 -------
*** Bug 33981 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33361
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2008-12-29 2:34 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-09 0:13 [Bug c++/33361] New: ICE in find_outermost_region_in_block, at tree-cfg.c:4803 gcc at abeckmann dot de
2007-09-09 12:52 ` [Bug tree-optimization/33361] " gcc at abeckmann dot de
2007-09-09 13:37 ` rguenth at gcc dot gnu dot org
2007-09-09 13:41 ` rguenth at gcc dot gnu dot org
2007-09-09 14:24 ` rguenth at gcc dot gnu dot org
2007-09-09 14:25 ` rguenth at gcc dot gnu dot org
2007-09-17 17:36 ` gcc at abeckmann dot de
2007-12-27 16:04 ` reichelt at gcc dot gnu dot org
2008-03-10 10:29 ` jakub at gcc dot gnu dot org
2008-03-13 8:27 ` reichelt at gcc dot gnu dot org
2008-12-29 2:34 ` 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).