aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2020-07-10 17:06:21 -0400
committerDavid Edelsohn <dje.gcc@gmail.com>2020-07-10 17:39:53 -0400
commitc5ec2f858b78aaf22951395db97b25e2d0163dfc (patch)
treee7756ea543634b28a0488bd14af01637c2521030 /gcc/cse.c
parentb2104239c8f23ff3463dba64f1c9266896ce4fae (diff)
downloadgcc-c5ec2f858b78aaf22951395db97b25e2d0163dfc.zip
gcc-c5ec2f858b78aaf22951395db97b25e2d0163dfc.tar.gz
gcc-c5ec2f858b78aaf22951395db97b25e2d0163dfc.tar.bz2
aix: only create named section for VAR_DECL or FUNCTION_DECL
get_constant_section() can be passed constant-like non-DECLs, such as CONSTRUCTOR or STRING_CST, which make DECL_SECTION_NAME unhappy (asserted in symtab_node::get). This patch ensures that xcoff select section only invokes resolve_unique_section() for DECLs. gcc/ChangeLog 2020-07-10 David Edelsohn <dje.gcc@gmail.com> * config/rs6000/rs6000.c (rs6000_xcoff_select_section): Only create named section for VAR_DECL or FUNCTION_DECL.
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions