aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorAlan Modra <alan@linuxcare.com.au>2001-04-03 01:12:09 +0000
committerAlan Modra <amodra@gcc.gnu.org>2001-04-03 10:42:09 +0930
commit9ae21d2afc6ee1289bd71820e8edfa0c40dae0bd (patch)
tree75807b23a74b9e13b4afe8b69e1381294c481670 /gcc/dwarf2out.c
parent44a2150dce36055e552f408433327d0ead1359d0 (diff)
downloadgcc-9ae21d2afc6ee1289bd71820e8edfa0c40dae0bd.zip
gcc-9ae21d2afc6ee1289bd71820e8edfa0c40dae0bd.tar.gz
gcc-9ae21d2afc6ee1289bd71820e8edfa0c40dae0bd.tar.bz2
dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and LO_SUM cases to where they belong.
* dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and LO_SUM cases to where they belong. From-SVN: r41033
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 6f8d335..2e71518 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -1404,26 +1404,26 @@ dwarf2out_frame_debug_expr (expr, label)
cfa_temp.offset |= INTVAL (XEXP (src, 1));
break;
+ /* Skip over HIGH, assuming it will be followed by a LO_SUM,
+ which will fill in all of the bits. */
+ /* Rule 8 */
+ case HIGH:
+ break;
+
+ /* Rule 9 */
+ case LO_SUM:
+ if (GET_CODE (XEXP (src, 1)) != CONST_INT)
+ abort ();
+ cfa_temp.reg = REGNO (dest);
+ cfa_temp.offset = INTVAL (XEXP (src, 1));
+ break;
+
default:
abort ();
}
def_cfa_1 (label, &cfa);
break;
- /* Skip over HIGH, assuming it will be followed by a LO_SUM, which
- will fill in all of the bits. */
- /* Rule 8 */
- case HIGH:
- break;
-
- /* Rule 9 */
- case LO_SUM:
- if (GET_CODE (XEXP (src, 1)) != CONST_INT)
- abort ();
- cfa_temp.reg = REGNO (dest);
- cfa_temp.offset = INTVAL (XEXP (src, 1));
- break;
-
case MEM:
if (GET_CODE (src) != REG)
abort ();