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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
            Summary|tree check fail in          |[12/13/14/15 Regression]
                   |c_tree_printer, at          |tree check fail in
                   |c/c-objc-common.cc:330      |c_tree_printer, at
                   |                            |c/c-objc-common.cc:330
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2024-05-30
   Target Milestone|---                         |12.4
            Version|unknown                     |15.0
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
<source>:4:50: note: use '&\204[0] == &tls13_handshakes[0]' to compare the
addresses

I think it was introduced with r12-4148-g2dda00b734888d which also introduced
the warning. Since the diagnostic looks broken with release checking.


+       inform (location, "use %<&%D[0] %s &%D[0]%> to compare the addresses",
+               op0, op_symbol_code (code), op1);


%D here is expecting a decl but we have an expression.

Reply via email to