https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96495
paul.luck...@rwth-aachen.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #49042|0 |1 is obsolete| | --- Comment #2 from paul.luck...@rwth-aachen.de --- Created attachment 49044 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49044&action=edit proof of concept code -- version 3 The bug is not specific to binary/unary operators BUT RATHER the combination of an elemental operator where one argument is an array and the other argument a scalar result of another operator. The current code example (poc version 3) shows the bug using <array> = <array> .<binary elemental operator>. (.<unary operator>. <scalar>) OR <array> = <array> .<binary elemental operator>. (<scalar> .<binary operator>. <scalar>)