https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69058

            Bug ID: 69058
           Summary: segfault with ftree-parallelize-loops=2 in
                    libgo/go/strconv/decimal.go
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

$ gccgo src/libgo/go/strconv/decimal.go -O2 -ftree-parallelize-loops=2 -S
src/libgo/go/strconv/decimal.go: In function
strconv.RoundedInteger.pN18_go.strconv.decimal�:
src/libgo/go/strconv/decimal.go:397:1: internal compiler error: Segmentation
fault
 func (a *decimal) RoundedInteger() uint64 {
 ^

0xb6ab1f crash_signal
        src/gcc/toplev.c:334
0xdfa128 contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
        src/gcc/tree.h:3110
0xdfa128 build_call_expr_loc_array(unsigned int, tree_node*, int, tree_node**)
        src/gcc/tree.c:11014
0xdfa36d build_call_expr(tree_node*, int, ...)
        src/gcc/tree.c:11064
0xa220c3 expand_omp_atomic_mutex
        src/gcc/omp-low.c:12257
0xa220c3 expand_omp_atomic
        src/gcc/omp-low.c:12344
0xa220c3 expand_omp
        src/gcc/omp-low.c:13195
0xa213e0 expand_omp
        src/gcc/omp-low.c:13141
0xa23c2d execute_expand_omp
        src/gcc/omp-low.c:13380
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to