aboutsummaryrefslogtreecommitdiff
path: root/gcc/intl.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2019-12-20 13:29:56 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2020-01-14 20:47:21 -0500
commit718930c0c8f8d25d185cb65e38c79a19458b6628 (patch)
treeeb53b7615cfb8192762d2106feab3304ac17992d /gcc/intl.c
parent8397af8ed0db685312e44117fd52316b57c2c129 (diff)
downloadgcc-718930c0c8f8d25d185cb65e38c79a19458b6628.zip
gcc-718930c0c8f8d25d185cb65e38c79a19458b6628.tar.gz
gcc-718930c0c8f8d25d185cb65e38c79a19458b6628.tar.bz2
analyzer: ensure .dot output is valid for an empty BB
This patch fixes an issue with the output of -fdump-analyzer-supergraph on BBs with no statements, where the resulting files were unreadable by dot e.g.: Error: syntax error in line 1 ... <TABLE BORDER="0"></TABLE> ... in label of node node_10 gcc/analyzer/ChangeLog: * supergraph.cc (supernode::dump_dot): Ensure that the TABLE element has at least one TR. gcc/testsuite/ChangeLog: * gcc.dg/analyzer/dot-output.c: Add test coverage for a BB with no statements.
Diffstat (limited to 'gcc/intl.c')
0 files changed, 0 insertions, 0 deletions