https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71877
Bug ID: 71877
Summary: -fdump-tree-ompexp is generating incomplete code
Product: gcc
Version: 5.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgomp
Assignee: unassigned at gcc dot gnu.org
Reporter: rogerio.rag at gmail dot com
CC: jakub at gcc dot gnu.org
Target Milestone: ---
Created attachment 38901
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38901&action=edit
Generate output files.
Hello,
I have a problem using the gcc + libgomp.
I'm trying to get the expanded code format for openmp directives.
Specifically for loops with schedule types (unespecified, static, auto,
dynamic, guided and runtime).
I'm using the options -fdump-tree-ompexp and -fdump-tree-ompexp-graph.
gcc-4.8 -fopenmp -fdump-tree-ompexp for-schedule-dynamic-upper-bound-value.c
gcc-4.8 -fopenmp -fdump-tree-ompexp-graph
for-schedule-dynamic-upper-bound-value.c
dot -Tpng for-schedule-dynamic-upper-bound-value.c.015t.ompexp.dot >
for-schedule-dynamic-upper-bound-value.c.015t.ompexp.png
The generated output files are in attach.
I'm testing with gcc-4.9, gcc-5.3 and gcc-6.1.
The result likes incomplete. The name of file is modified to *.c.012t.ompexp
and it have no complete code according this doc
https://gcc.gnu.org/onlinedocs/libgomp/Implementing-FOR-construct.html#Implementing-FOR-construct
Something was changed in this option after gcc-4.8?