summaryrefslogtreecommitdiff
path: root/gcc/target-globals.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-23 14:47:45 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-23 14:47:45 +0000
commitbce266bd6727a5225922a812bda7eee56fcebdf2 (patch)
treeb88c2df92168eb4ba17dc3577347c28630206cba /gcc/target-globals.c
parent2859bd06e82c91c8320bac661a82a27af2798aed (diff)
downloadgcc-bce266bd6727a5225922a812bda7eee56fcebdf2.tar.gz
gcc/
PR bootstrap/63280 * target-globals.c (target_globals::~target_globals): Fix location of ira_int destruction. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215515 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target-globals.c')
-rw-r--r--gcc/target-globals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/target-globals.c b/gcc/target-globals.c
index 52ac2c02dfc..9122d672d0b 100644
--- a/gcc/target-globals.c
+++ b/gcc/target-globals.c
@@ -121,10 +121,10 @@ save_target_globals_default_opts ()
target_globals::~target_globals ()
{
- ira_int->~target_ira_int ();
/* default_target_globals points to static data so shouldn't be freed. */
if (this != &default_target_globals)
{
+ ira_int->~target_ira_int ();
hard_regs->finalize ();
XDELETE (flag_state);
XDELETE (regs);