https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93293

            Bug ID: 93293
           Summary: 'FAIL: gcc.dg/analyzer/dot-output.c dg-check-dot
                    dot-output.c.state-purge.dot'
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
  Target Milestone: ---

Testing 299ddc612136421f1d9865ea4f2f84f7e3791824 on x86_64-pc-linux-gnu, I see:

    XFAIL: gcc.dg/analyzer/dot-output.c  (test for warnings, line 21)
    PASS: gcc.dg/analyzer/dot-output.c (test for excess errors)
    PASS: gcc.dg/analyzer/dot-output.c dg-check-dot dot-output.c.callgraph.dot
    PASS: gcc.dg/analyzer/dot-output.c dg-check-dot dot-output.c.eg.dot
    FAIL: gcc.dg/analyzer/dot-output.c dg-check-dot
dot-output.c.state-purge.dot
    PASS: gcc.dg/analyzer/dot-output.c dg-check-dot dot-output.c.supergraph.dot

    spawn dot -O -Tpng dot-output.c.state-purge.dot
    Warning: dot-output.c.state-purge.dot:11: string ran past end of line
    Error: dot-output.c.state-purge.dot:12: syntax error near line 12
    context:  >>> ' <<< _5' not needed here
    Warning: dot-output.c.state-purge.dot:34: string ran past end of line
    Warning: dot-output.c.state-purge.dot:45: string ran past end of line
    Warning: dot-output.c.state-purge.dot:68: string ran past end of line
    [etc.]

      1 digraph "supergraph" {
      2   overlap=false;
      3   compound=true;
      4   subgraph "cluster_test_2" {
      5 style="dashed"; color="black"; label="test_2";
      6     subgraph cluster_node_0 {
      7       style="solid";
      8       color="black";
      9       fillcolor="lightgrey";
     10       label="sn: 0";
     11 annotation_for_node_0
[shape=none,margin=0,style=filled,fillcolor=lightblue,label="'c1_4' not needed
here
     12 '_5' not needed here
     13 
    [more empty lines]
     33 
     34 "];
     35 
     36       node_0
[shape=none,margin=0,style=filled,fillcolor=lightgrey,label=<<TABLE
BORDER="0"><TR><TD>ENTRY</TD></TR>
     37 </TABLE>>];
     38 
     39     }
     40     subgraph cluster_node_1 {
     41       style="solid";
     42       color="black";
     43       fillcolor="lightgrey";
     44       label="sn: 1";
     45 annotation_for_node_1
[shape=none,margin=0,style=filled,fillcolor=lightblue,label="'c1_4' not needed
here
     46 '_5' not needed here
     47 
    [more empty lines]
    [etc.]

That's Ubuntu 12.10:

    $ dot -V
    dot - graphviz version 2.26.3 (20100126.1600)

... perhaps too old to deal with such multi-line strings -- but perhaps they
shouldn't be generated like that?

Reply via email to