diff options
| author | Qing Zhao <qing.zhao@oracle.com> | 2025-12-09 14:21:55 +0000 |
|---|---|---|
| committer | Qing Zhao <qing.zhao@oracle.com> | 2025-12-09 16:15:45 +0000 |
| commit | cd4d3a14b231cd5a0e38034e1aa155078944bc8e (patch) | |
| tree | 75980cc97e7f0eb2c8ffcdf22aeee2b481dd6ef9 /libjava/classpath/gnu/java/beans/decoder | |
| parent | f5d72af36d406b55f31e709f01b5fc184019ff26 (diff) | |
| download | gcc-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/gnu/java/beans/decoder')
0 files changed, 0 insertions, 0 deletions
