[Bug c++/68385] [6 Regression] ICE building libstdc++ on arm-none-eabi

andre.simoesdiasvieira at arm dot com gcc-bugzilla@gcc.gnu.org
Wed Nov 18 15:45:00 GMT 2015


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

Andre Vieira <andre.simoesdiasvieira at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andre.simoesdiasvieira@arm.
                   |                            |com

--- Comment #2 from Andre Vieira <andre.simoesdiasvieira at arm dot com> ---
Hi Jason,

I don't fully understand what is going wrong here, but when debugging I found
that the tree it complains about is coming from a call to
convert_to_integer_nofold in  the line in ocp_convert, this used to have a
fold_if_not_in_template. I found that I no longer got the ICE after reverting
the code there to fold 'converted'. Not sure this actually fixes it, I'd need
to look further into your patch for this. Hopefully this saves you some
debugging yourself.

The issue seemed to originate from a nop_expr around a param_declaration and
fold gets rid of it.

Hope this helps.

Cheers,
Andre


More information about the Gcc-bugs mailing list