public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28041] New: [gomp] ICE in g++.dg/gomp/atomic-[4,5,9].C
@ 2006-06-15 13:19 uros at kss-loka dot si
2006-06-19 9:25 ` [Bug c++/28041] " uros at kss-loka dot si
0 siblings, 1 reply; 2+ messages in thread
From: uros at kss-loka dot si @ 2006-06-15 13:19 UTC (permalink / raw)
To: gcc-bugs
The compilation crashes in
/* Gimplify an OMP_ATOMIC statement. */
static enum gimplify_status
gimplify_omp_atomic (tree *expr_p, tree *pre_p)
{
tree addr = TREE_OPERAND (*expr_p, 0);
tree rhs = TREE_OPERAND (*expr_p, 1);
>>> tree type = TYPE_MAIN_VARIANT (TREE_TYPE (TREE_TYPE (addr)));
HOST_WIDE_INT index;
Program received signal SIGSEGV, Segmentation fault.
0x001bb40c in gimplify_omp_atomic (expr_p=0xff0edf48, pre_p=0xffbed64c) at
/export/home/uros/gcc-svn/trunk/gcc/gimplify.c:5148
(gdb) bt
#0 0x001bb40c in gimplify_omp_atomic (expr_p=0xff0edf48, pre_p=0xffbed64c) at
/export/home/uros/gcc-svn/trunk/gcc/gimplify.c:5148
#1 0x001bd2a0 in gimplify_expr (expr_p=0xff0edf48, pre_p=0xffbed64c,
post_p=0xffbed648, gimple_test_f=0x1aa228 <is_gimple_stmt>, fallback=fb_none)
at /export/home/uros/gcc-svn/trunk/gcc/gimplify.c:5646
#2 0x001b6078 in gimplify_statement_list (expr_p=0xffbed6f8) at
/export/home/uros/gcc-svn/trunk/gcc/tree-iterator.h:86
#3 0x001bcdfc in gimplify_expr (expr_p=0xff115970, pre_p=0xffbed784,
post_p=0xffbed780, gimple_test_f=0x1aa228 <is_gimple_stmt>, fallback=fb_none)
at /export/home/uros/gcc-svn/trunk/gcc/gimplify.c:5595
#4 0x001bde60 in gimplify_body (body_p=0xff115970, fndecl=0xff115900,
do_parms=1 '\001') at
/export/home/uros/gcc-svn/trunk/gcc/gimplify.c:6113
#5 0x001be2a8 in gimplify_function_tree (fndecl=0xff115900) at
/export/home/uros/gcc-svn/trunk/gcc/gimplify.c:6189
#6 0x0017917c in c_genericize (fndecl=0xff115900) at
/export/home/uros/gcc-svn/trunk/gcc/c-gimplify.c:106
#7 0x00143864 in cp_genericize (fndecl=0xff115900) at
/export/home/uros/gcc-svn/trunk/gcc/cp/cp-gimplify.c:739
#8 0x00045a74 in finish_function (flags=0) at
/export/home/uros/gcc-svn/trunk/gcc/cp/decl.c:11130
--
Summary: [gomp] ICE in g++.dg/gomp/atomic-[4,5,9].C
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: uros at kss-loka dot si
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28041
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/28041] [gomp] ICE in g++.dg/gomp/atomic-[4,5,9].C
2006-06-15 13:19 [Bug c++/28041] New: [gomp] ICE in g++.dg/gomp/atomic-[4,5,9].C uros at kss-loka dot si
@ 2006-06-19 9:25 ` uros at kss-loka dot si
0 siblings, 0 replies; 2+ messages in thread
From: uros at kss-loka dot si @ 2006-06-19 9:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from uros at kss-loka dot si 2006-06-19 08:56 -------
Works OK with gcc version 4.2.0 20060619 (experimental).
--
uros at kss-loka dot si changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28041
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-19 8:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-15 13:19 [Bug c++/28041] New: [gomp] ICE in g++.dg/gomp/atomic-[4,5,9].C uros at kss-loka dot si
2006-06-19 9:25 ` [Bug c++/28041] " uros at kss-loka dot si
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).