https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109058
--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Even better would be for the event condition to express the string, when it's a
string literal, so that it reads:
../../src/gcc/testsuite/gcc.dg/analyzer/strcmp-path-1.c:27:5: note: path
27 | __analyzer_dump_path ();
| ^~~~~~~~~~~~~~~~~~~~~~~
‘test’: events 1-3
|
| 25 | } else if (strcmp (args[0], "opt-010") == 0) {
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (1) following ‘true’ branch (when args[0] is
"opt-010")...
| 26 | do_opt (10);
| | ~~~~~~~~~~~
| | |
| | (2) ...to here
| 27 | __analyzer_dump_path ();
| | ~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (3) here
|