[gomp4] Update error messages for c and c++ reductions

Cesar Philippidis cesar@codesourcery.com
Wed Apr 26 22:02:00 GMT 2017


This patches updates the c and c++ FEs to report consistent error
messages for invalid reductions involving array elements, struct
members, and class members. Most of those variables were already
rejected by the generic OpenMP code, but this patch makes the error
messages more precise for OpenACC. It also fixes an ICE involving
invalid struct member reductions in c.

I've committed this patch to gomp-4_0-branch.

Cesar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gomp4-c-cxx-reductions.diff
Type: text/x-patch
Size: 28153 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170426/a52bb357/attachment.bin>


More information about the Gcc-patches mailing list