https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89108
Bug ID: 89108 Summary: variable tracking size limit exceeded Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jg at jguk dot org Target Milestone: --- Created attachment 45561 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45561&action=edit var tracking test case I'm seeing this on 350 line file, will attach. Could the "note: variable tracking size limit exceeded with -fvar-tracking-assignments" message be expanded? How about including the size limit, and how much would be actually required? "note: variable tracking size limit 1,000,000 bytes exceeded by 512,000 bytes" I saw there was this option, but not clear what to set it to, it's not ideal for me to need to set it. --param=max-vartrack-size= $ g++-8 -g -O2 -D_GLIBCXX_ASSERTIONS -fsanitize=undefined,address -fno-omit-frame-pointer -c var_tracking.cpp var_tracking.cpp: In function ‘bool f(const string&, std::__cxx11::string&)’: var_tracking.cpp:20:6: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without bool f(const std::string & name, string & ref) ^