aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-warn-recursion.cc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-03-10 11:47:28 +0000
committerPhilip Herron <philip.herron@embecosm.com>2022-03-10 11:47:28 +0000
commitf05744511998309f6694ad18abcc22fbac025dc2 (patch)
tree241e3d36eb4e5e23c55f44113e4024176c1f3b3f /gcc/gimple-warn-recursion.cc
parent796c978c4894d6510116180522315c97989c4ccf (diff)
downloadgcc-f05744511998309f6694ad18abcc22fbac025dc2.zip
gcc-f05744511998309f6694ad18abcc22fbac025dc2.tar.gz
gcc-f05744511998309f6694ad18abcc22fbac025dc2.tar.bz2
Add size_of intrinsic
This is another type of intrisic since the function contains no parameters but the argument for the size_of is the generic parameter T. Which uses TYPE_SIZE_UNIT to get the type size in bytes. GCC will optimize the function call away when you turn optimizations on. Addresses #658
Diffstat (limited to 'gcc/gimple-warn-recursion.cc')
0 files changed, 0 insertions, 0 deletions