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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|other                       |target
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-10-04

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  We end up with

{(float) 4.839399999999999835154085303656756877899169921875e+1, (float)
3.92999999999999971578290569595992565155029296875e+1, (float)
-3.978999999999999772626324556767940521240234375e+2, (float)
3.48490000000000009094947017729282379150390625e+3, (float)
-8.3940000000000001278976924368180334568023681640625e+0, (float)
-9.32999999999999971578290569595992565155029296875e+1, (float)
7.9000000000000003552713678800500929355621337890625e+0, (float)
8.493999999999999772626324556767940521240234375e+1, (float)
4.839410000000000167119651450775563716888427734375e+1, (float)
3.931000000000000227373675443232059478759765625e+1, (float)
-3.9791000000000002501110429875552654266357421875e+2, (float)
3.48490999999999985448084771633148193359375e+3, (float)
-8.3940999999999998948396751075051724910736083984375e+0, (float)
-9.331000000000000227373675443232059478759765625e+1, (float)
7.910000000000000142108547152020037174224853515625e+0, (float)
8.4941000000000002501110429875552654266357421875e+1}

because the non-constant CTOR is classified valid by categorize_ctor_elements
during gimplification and initializer_constant_valid_p whose handling
of CASE_CONVERT wasn't updated with some recent changes to output_constant
(ideally both would be merged with a flag indicating analysis vs. actual
output).

Reply via email to