This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Java] PATCH for optimization/12547


law@redhat.com writes:

> Rather than starting over again, could you give me the
> dump_tree (stmt) output and tell me what bb->succ->flags looks like?

(gdb) p bb->succ->flags
$2 = 4097
(gdb) p stmt
No symbol "stmt" in current context.

But stepping through the function I see that stmt is not assigned in
this case at all.

Breakpoint 4, cfg_remove_useless_stmts () at /usr/src/aj/cvs/gcc-tree-ssa-20020619-branch/gcc/tree-cfg.c:1422
1422    {
(gdb) c 73
Will ignore next 72 crossings of breakpoint 4.  Continuing.

Breakpoint 4, cfg_remove_useless_stmts () at /usr/src/aj/cvs/gcc-tree-ssa-20020619-branch/gcc/tree-cfg.c:1422
1422    {
(gdb) n
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf992.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf9a1.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf9a1.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf9a1.
During symbol reading, Incomplete CFI data; unspecified registers at 0x00000000007cf9a1.
1426      verify_flow_info ();
(gdb) 
1429      FOR_EACH_BB (bb)
(gdb) 
1294      if (bb->pred && !bb->pred->pred_next
(gdb) 
1328          if (var
(gdb) 
1294      if (bb->pred && !bb->pred->pred_next
(gdb) 
468       if (bb->stmt_list)
(gdb) 
43        i.ptr = STATEMENT_LIST_HEAD (t);
(gdb) 
44        i.container = t;
(gdb) 
46        return i;
(gdb) 
469         bsi.tsi = tsi_start (bb->stmt_list);
(gdb) 
43        i.ptr = STATEMENT_LIST_HEAD (t);
(gdb) 
46        return i;
(gdb) 
469         bsi.tsi = tsi_start (bb->stmt_list);
(gdb) 
480       return bsi;
(gdb) 
479       bsi.bb = bb;
(gdb) 
480       return bsi;
(gdb) 
1333      for (bsi = bsi_start (bb); !bsi_end_p (bsi);)
(gdb) 
480       return bsi;
(gdb) 
1333      for (bsi = bsi_start (bb); !bsi_end_p (bsi);)
(gdb) 
75        i->ptr = i->ptr->next;
(gdb) 
505       return tsi_end_p (i.tsi);
(gdb) 
1333      for (bsi = bsi_start (bb); !bsi_end_p (bsi);)
(gdb) 
1365      if (!stmt)
(gdb) 
1371      if (TREE_CODE (stmt) == GOTO_EXPR
(gdb) p stmt
No symbol "stmt" in current context.
(gdb) n

Program received signal SIGSEGV, Segmentation fault.
cfg_remove_useless_stmts () at /usr/src/aj/cvs/gcc-tree-ssa-20020619-branch/gcc/tree-cfg.c:1371
1371      if (TREE_CODE (stmt) == GOTO_EXPR


Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]