This is the mail archive of the gcc-bugs@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]

[Bug rtl-optimization/43056] __builtin_prefetch causes ICE: in rtl_verify_flow_info, at cfgrtl.c:2205 with -fsched2-use-superblocks



------- Comment #1 from steven at gcc dot gnu dot org  2010-02-13 23:18 -------
Breakpoint 7, rest_of_handle_sched2 () at ../../trunk/gcc/sched-rgn.c:3534
3534          && ! maybe_skip_selective_scheduling ())
(gdb) p brief_dump_cfg(stderr)
Basic block 2 (reachable, rtl)
Predecessors:  ENTRY [100.0%]  (fallthru)
Successors:  EXIT [100.0%]


The .split4 dump (just before .sched2):
;; Function foo (foo)

    1 NOTE_INSN_DELETED 
    3 NOTE_INSN_BASIC_BLOCK
    9 NOTE_INSN_PROLOGUE_END
    2 NOTE_INSN_FUNCTION_BEG
    5 prefetch(`x',0x0,0x3)
   10 NOTE_INSN_EPILOGUE_BEG 
   11 return
i  12: barrier
    8 NOTE_INSN_DELETED

And the .sched2 dump:
changing bb of uid 13
  unscanned insn  
changing bb of uid 5
  from 2 to 3

deleting block 3
    1 NOTE_INSN_DELETED
    3 NOTE_INSN_BASIC_BLOCK
    9 NOTE_INSN_PROLOGUE_END
    2 NOTE_INSN_FUNCTION_BEG
   14 NOTE_INSN_EPILOGUE_BEG
   11 return
    8 NOTE_INSN_DELETED

What insn 13? What basic block 3?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43056


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