aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2021-12-30 20:47:31 +0000
committerOlivier Hainque <hainque@adacore.com>2022-01-11 08:44:08 +0000
commit14cb768ef32ab978a0f5ce2485fa4213c5167fb6 (patch)
tree7992e03389d3344aae56a5f92633a3d4934b11e3 /gcc/gcc.c
parent0552605b7b27dc6beed62e71bd05bc1efd191c0d (diff)
downloadgcc-14cb768ef32ab978a0f5ce2485fa4213c5167fb6.zip
gcc-14cb768ef32ab978a0f5ce2485fa4213c5167fb6.tar.gz
gcc-14cb768ef32ab978a0f5ce2485fa4213c5167fb6.tar.bz2
Improve sequence logic in cxx_init_decl_processing
Checking for one_only/weak support is better done before deciding to turn references to __cxa_pure_virtual weak. This helps at least on VxWorks where one_only / weak support varies between kernel and rtp modes as well as across VxWorks versions. 2021-12-30 Olivier Hainque <hainque@adacore.com> gcc/cp/ * decl.c (cxx_init_decl_processing): Move code possibly altering flag_weak before code testing it.
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions