https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90591
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #1) > We want to add some attribute(s) on the structure types used to pass > information in and out (or in the fields), and have some specialized IPA > optimization that tries to optimize such cases. I concur - and had even today a hello-world example for the copy-in example: double x = 0.5; #pragma omp target printf("%f\n", sin(x); could be compile-time optimized the sin() call to a constant but doesn't.