summaryrefslogtreecommitdiff
path: root/gcc/insn-notes.def
diff options
context:
space:
mode:
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2013-02-25 11:50:25 +0000
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2013-02-25 11:50:25 +0000
commit6de7acd5f66623db7d1749a1c24c088dc8a1d537 (patch)
treeb5cc77bdb6a9aa017f4449f30d95a3ef88801dea /gcc/insn-notes.def
parent2d0b2b60703be7af7e484e974f2a74a238a9706f (diff)
downloadgcc-6de7acd5f66623db7d1749a1c24c088dc8a1d537.tar.gz
2013-02-25 Tom de Vries <tom@codesourcery.com>
PR rtl-optimization/56131 * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment. * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED_LABEL and NOTE_INSN_BASIC_BLOCK if BLOCK_FOR_INSN == NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196255 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/insn-notes.def')
-rw-r--r--gcc/insn-notes.def4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/insn-notes.def b/gcc/insn-notes.def
index 9c1523edb3e..1a9883cefe0 100644
--- a/gcc/insn-notes.def
+++ b/gcc/insn-notes.def
@@ -70,7 +70,9 @@ INSN_NOTE (CALL_ARG_LOCATION)
/* Record the struct for the following basic block. Uses
NOTE_BASIC_BLOCK. FIXME: Redundant with the basic block pointer
- now included in every insn. */
+ now included in every insn. NOTE: If there's no CFG anymore, in other words,
+ if BLOCK_FOR_INSN () == NULL, NOTE_BASIC_BLOCK cannot be considered reliable
+ anymore. */
INSN_NOTE (BASIC_BLOCK)
/* Mark the inflection point in the instruction stream where we switch