[Bug rtl-optimization/81340] New: ICE in compute_bb_dataflow, at var-tracking.c:6877

pthaugen at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 6 15:53:00 GMT 2017


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

            Bug ID: 81340
           Summary: ICE in compute_bb_dataflow, at var-tracking.c:6877
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pthaugen at gcc dot gnu.org
                CC: dje at gcc dot gnu.org, wschmidt at gcc dot gnu.org
  Target Milestone: ---
              Host: powerpc64le-unknown-linux-gnu
            Target: powerpc64le-unknown-linux-gnu
             Build: powerpc64le-unknown-linux-gnu

$ cat table_cache.ii
class a {
  struct b {
    b(int, int);
  } c;

public:
  int d;
  a(char *) : c(0, d) {}
};
class e {
  int f(const int &, const int &, const int &, bool, bool, bool, int, bool);
};
class g {
public:
  static g *h();
  void i(a, void *);
};
int e::f(const int &, const int &, const int &, bool j, bool, bool, int, bool)
{
  g::h()->i("", &j);
}


$ ~/install/gcc/trunk/bin/g++ -S -O2 -g -fsanitize=address table_cache.ii
table_cache.ii: In member function ‘int e::f(const int&, const int&, const
int&, bool, bool, bool, int, bool)’:
table_cache.ii:19:19: warning: ISO C++ forbids converting a string constant to
‘char*’ [-Wwrite-strings]
   g::h()->i("", &j);
                   ^
during RTL pass: vartrack
table_cache.ii:20:1: internal compiler error: in compute_bb_dataflow, at
var-tracking.c:6877
 }
 ^
0x10f691af compute_bb_dataflow
        /home/pthaugen/src/gcc/trunk/gcc/gcc/var-tracking.c:6877
0x10f696d3 vt_find_locations
        /home/pthaugen/src/gcc/trunk/gcc/gcc/var-tracking.c:7118
0x10f6a3a3 variable_tracking_main_1
        /home/pthaugen/src/gcc/trunk/gcc/gcc/var-tracking.c:10332
0x10f6a3a3 variable_tracking_main()
        /home/pthaugen/src/gcc/trunk/gcc/gcc/var-tracking.c:10378
0x10f6a3a3 execute
        /home/pthaugen/src/gcc/trunk/gcc/gcc/var-tracking.c:10415
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.


More information about the Gcc-bugs mailing list