aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 2d261b3..09316c6 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -7827,10 +7827,7 @@ switch_to_section (section *new_section, tree decl)
else if (in_section == new_section)
return;
- if (new_section->common.flags & SECTION_FORGET)
- in_section = NULL;
- else
- in_section = new_section;
+ in_section = new_section;
switch (SECTION_STYLE (new_section))
{