summaryrefslogtreecommitdiff
path: root/gcc/f/ste.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/f/ste.c')
-rw-r--r--gcc/f/ste.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/f/ste.c b/gcc/f/ste.c
index 1648d8fef9b..f27c93ec296 100644
--- a/gcc/f/ste.c
+++ b/gcc/f/ste.c
@@ -387,8 +387,7 @@ typedef struct gbe_block
{
struct gbe_block *outer;
ffestw block;
- int lineno;
- const char *filename;
+ location_t location;
bool is_stmt;
} *gbe_block;
@@ -401,8 +400,7 @@ ffeste_start_block_ (ffestw block)
b->outer = ffeste_top_block_;
b->block = block;
- b->lineno = input_line;
- b->filename = input_filename;
+ b->location = input_location;
b->is_stmt = FALSE;
ffeste_top_block_ = b;
@@ -443,8 +441,7 @@ ffeste_start_stmt_(void)
b->outer = ffeste_top_block_;
b->block = NULL;
- b->lineno = input_line;
- b->filename = input_filename;
+ b->location = input_location;
b->is_stmt = TRUE;
ffeste_top_block_ = b;