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

            Bug ID: 70373
           Summary: [openacc] ICE with reduction clause in set_parm_rtl,
                    at cfgexpand.c
           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: ---

Created attachment 38069
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38069&action=edit
test-case

$ gcc -O2 test.c -fopenacc 
test.c: In function ‘foo’:
test.c:4:1: internal compiler error: in set_parm_rtl, at cfgexpand.c:1272
 foo (unsigned int sum)
 ^~~
0x8b7cde set_parm_rtl(tree_node*, rtx_def*)
        src/gcc/cfgexpand.c:1272
0xad2b53 assign_parm_setup_reg
        src/gcc/function.c:3343
0xad467d assign_parms
        src/gcc/function.c:3770
0xad8d78 expand_function_start(tree_node*)
        src/gcc/function.c:5204
0x8ca980 execute
        src/gcc/cfgexpand.c:6225
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