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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #53601|0                           |1
        is obsolete|                            |

--- Comment #16 from anlauf at gcc dot gnu.org ---
Created attachment 53651
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53651&action=edit
Revised patch

This variant adds a check after the place Mikael pointed out, and
which verifies that the types of all elements of an array ctor
are the same.  Testing so far indicates that it is robust enough
for all cases discussed in this PR, although it mostly emits

Error: Cannot convert UNKNOWN to ...

for every expression involving a binary operator.

Is this going into the right direction?

Reply via email to