This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[C++ Patch] PR 58466


Hi,

this is just an ICE on invalid, but it's a 4_8/4_9 Regression, and, more importantly, we don't emit any sensible error message before ICEing. It manifests itself as TEMPLATE_PARM_INDEX unhandled by the main cxx_eval_constant_expression switch, and just adding the code to the bunch of those returned untouched leads to the same error message of 4_7 and no ICE. Not sure at the moment whether something deeper is going on, though.

Tested x86_64-linux.

Thanks,
Paolo.

//////////////////////////////

Attachment: CL_58466
Description: Text document

Attachment: patch_58466
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]