aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-ifcombine.c
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-11-23 11:25:16 +0000
committerPhilip Herron <philip.herron@embecosm.com>2021-11-23 11:29:50 +0000
commit88995535f6415e70d485e48006f606b90374bc75 (patch)
tree4d86b741b4a0519b1fb4d57400dd338ee548644b /gcc/tree-ssa-ifcombine.c
parent87da9922e66d64e2ef307d33076da86b8486bea0 (diff)
downloadgcc-88995535f6415e70d485e48006f606b90374bc75.zip
gcc-88995535f6415e70d485e48006f606b90374bc75.tar.gz
gcc-88995535f6415e70d485e48006f606b90374bc75.tar.bz2
Support QualifiedPathInType's within the same Trait
The first implementation of qualified paths assumed that they only exist within trait-impl blocks. Trait impl blocks have the same canonical paths of <type as trait_path>::segment form but this type of path is more generic than this. This patch changes the name resolver to allow for failures in looking up the qualified path within the type namespace since it will not exist in this case and updates the type checking code to be more permissive when used outside of trait impl blocks to simply allow us to resolve this type to the associated trait item as we expect. Usually the code here tries to setup any associated types based on the associated impl block but this is a difference case. Fixes #739
Diffstat (limited to 'gcc/tree-ssa-ifcombine.c')
0 files changed, 0 insertions, 0 deletions