aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/java/sql
diff options
context:
space:
mode:
authorQing Zhao <qing.zhao@oracle.com>2025-12-09 14:21:55 +0000
committerQing Zhao <qing.zhao@oracle.com>2025-12-09 16:15:45 +0000
commitcd4d3a14b231cd5a0e38034e1aa155078944bc8e (patch)
tree75980cc97e7f0eb2c8ffcdf22aeee2b481dd6ef9 /libjava/classpath/java/sql
parentf5d72af36d406b55f31e709f01b5fc184019ff26 (diff)
downloadgcc-cd4d3a14b231cd5a0e38034e1aa155078944bc8e.zip
gcc-cd4d3a14b231cd5a0e38034e1aa155078944bc8e.tar.gz
gcc-cd4d3a14b231cd5a0e38034e1aa155078944bc8e.tar.bz2
c: ICE in gimplify_expr when counted_by for pointer is added [PR122982]
The first argument of the call to .ACCESS_WITH_SIZE includes "c_maybe_const_expr" which should not be passed to gimplifier. Before passing the expression as the first argument to the call to .ACCESS_WITH_SIZE, c_fully_fold should be called on this expression. PR c/122982 gcc/c/ChangeLog: * c-typeck.cc (build_access_with_size_for_counted_by): Call c_fully_fold on the first parameter. gcc/testsuite/ChangeLog: * gcc.dg/pointer-counted-by-pr122982.c: New test.
Diffstat (limited to 'libjava/classpath/java/sql')
0 files changed, 0 insertions, 0 deletions