Commit 12f7c876 by Richard Stallman

*** empty log message ***

From-SVN: r1149
parent 885d8175
...@@ -1028,10 +1028,17 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes) ...@@ -1028,10 +1028,17 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
{ {
if (GET_CODE (note) != NOTE && GET_CODE (note) != CODE_LABEL) if (GET_CODE (note) != NOTE && GET_CODE (note) != CODE_LABEL)
break; break;
/* These types of notes can be significant
so make sure the preceeding line number stays. */
else if (GET_CODE (note) == NOTE
&& (NOTE_LINE_NUMBER (note) == NOTE_INSN_BLOCK_BEG
|| NOTE_LINE_NUMBER (note) == NOTE_INSN_BLOCK_END
|| NOTE_LINE_NUMBER (note) == NOTE_INSN_FUNCTION_BEG))
break;
else if (GET_CODE (note) == NOTE && NOTE_LINE_NUMBER (note) > 0) else if (GET_CODE (note) == NOTE && NOTE_LINE_NUMBER (note) > 0)
{ {
/* Another note follows; we can delete this note provided /* Another line note follows; we can delete this note
no intervening line numbers have notes elsewhere. */ if no intervening line numbers have notes elsewhere. */
int num; int num;
for (num = NOTE_LINE_NUMBER (insn) + 1; for (num = NOTE_LINE_NUMBER (insn) + 1;
num < NOTE_LINE_NUMBER (note); num < NOTE_LINE_NUMBER (note);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment