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] |
This fixes an infinite loop that can occur when trying to demangle certain invalid mangled names. PR libstdc++/12600 * include/bits/demangle.h (session<Allocator>:: decode_unqualified_name(string_type& output)): Fail on a <operator-name> when decoding <template-argument>. No new test case was added because for this particular bug that is ridiculous and would only be a waste of cpu for now until eternity every time someone runs the testsuite. Did run demangle testsuite, no errors. Benjamin - ok to commit? -- Carlo Wood <carlo@alinoe.com>
Attachment:
PR12600.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |