diff options
| author | Dimitar Dimitrov <dimitar@dinux.eu> | 2026-02-08 20:39:45 +0200 |
|---|---|---|
| committer | Dimitar Dimitrov <dimitar@dinux.eu> | 2026-02-08 20:45:09 +0200 |
| commit | 5e0ab35a54c0a56932be251c5b3f9ec627dcfabd (patch) | |
| tree | ef3b410e6ac3837bfa1525407c5e924eaeabc495 /libjava/gnu/java/net/protocol | |
| parent | d93c8a679b2657729229d7c833308ee6eca7bb91 (diff) | |
| download | gcc-5e0ab35a54c0a56932be251c5b3f9ec627dcfabd.zip gcc-5e0ab35a54c0a56932be251c5b3f9ec627dcfabd.tar.gz gcc-5e0ab35a54c0a56932be251c5b3f9ec627dcfabd.tar.bz2 | |
testsuite: Fix ice-pr116228.C test for 32-bit targets
This test fails on 32-bit targets:
..../gcc/gcc/testsuite/g++.dg/analyzer/ice-pr116228.C:3:7: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter [-fpermissive]
Fix by using proper __SIZE_TYPE__ type.
Ensured that the test still passes with this patch. Also, reverted the
fix for r16-7383-gf3f7e7514a794f, and ensured that the test still can
expose the ICE on x86_64-pc-linux-gnu:
$ make check-gcc-c++ RUNTESTFLAGS="--target_board=unix/ analyzer.exp=ice-pr116228.C"
FAIL: g++.dg/analyzer/ice-pr116228.C -std=c++20 (internal compiler error: in get_or_create_null_ptr, at analyzer/region-model-manager.cc:257)
# of unexpected failures 6
$ make check-gcc-c++ RUNTESTFLAGS="--target_board=unix/-m32 analyzer.exp=ice-pr116228.C"
FAIL: g++.dg/analyzer/ice-pr116228.C -std=c++20 (internal compiler error: in get_or_create_null_ptr, at analyzer/region-model-manager.cc:257)
# of unexpected failures 6
gcc/testsuite/ChangeLog:
* g++.dg/analyzer/ice-pr116228.C: Use __SIZE_TYPE__ for "new"
operator declaration.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
Diffstat (limited to 'libjava/gnu/java/net/protocol')
0 files changed, 0 insertions, 0 deletions
