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 40371


Hi,

this isn't a regression, still it's an annoying ICE, because we do not
emit any meaningful error message before it. The fix just makes sure
that in the arithmetic VEC_length (tree, arglist) - skip_without_in_chrg
the latter isn't bigger than the former, returning NULL in that case,
that is the error condition of the concerned function. Tested x86_64-linux.

Ok for mainline?

Paolo.

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

Attachment: CL_40371
Description: Text document

Attachment: patch_40371
Description: Text document


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