aboutsummaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorQing Zhao <qing.zhao@oracle.com>2024-05-28 18:39:31 +0000
committerQing Zhao <qing.zhao@oracle.com>2024-05-31 16:44:57 +0000
commit4c5bea7def13613fba166edb23289bab446b0b48 (patch)
tree5a595325128d0c96ac3eebb617f63e57ab3b990f /MAINTAINERS
parent3d94fee616d6132075f3292a6eafdcb7b1d3f5a5 (diff)
downloadgcc-4c5bea7def13613fba166edb23289bab446b0b48.zip
gcc-4c5bea7def13613fba166edb23289bab446b0b48.tar.gz
gcc-4c5bea7def13613fba166edb23289bab446b0b48.tar.bz2
Add the 6th argument to .ACCESS_WITH_SIZE
to carry the TYPE of the flexible array. Such information is needed during tree-object-size.cc. We cannot use the result type or the type of the 1st argument of the routine .ACCESS_WITH_SIZE to decide the element type of the original array due to possible type casting in the source code. gcc/c/ChangeLog: * c-typeck.cc (build_access_with_size_for_counted_by): Add the 6th argument to .ACCESS_WITH_SIZE. gcc/ChangeLog: * tree-object-size.cc (access_with_size_object_size): Use the type of the 6th argument for the type of the element. * internal-fn.cc (expand_ACCESS_WITH_SIZE): Update the comment with the 6th argument. gcc/testsuite/ChangeLog: * gcc.dg/flex-array-counted-by-6.c: New test.
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions