summaryrefslogtreecommitdiff
path: root/libjava/java/sql/ParameterMetaData.java
diff options
context:
space:
mode:
authorJosef Melcr <josef.melcr@suse.com>2025-11-20 13:32:45 +0100
committerJosef Melcr <josef.melcr@suse.com>2025-11-20 14:19:19 +0100
commit5527996c4431821c10be39e89b8b2caaa93e5efe (patch)
treec890a22a5e58d30b9fc294b4613d3686e96d88e7 /libjava/java/sql/ParameterMetaData.java
parent92ea686c237a6442d16e35bf31b2c3d9a5630866 (diff)
ipa: Add early return when the hashed edge is a callback-carrying edge.
The inclusion of this early return statement has been discussed before, it was ultimately left out of the original patch, but it turns out to be necessary. When a callback edge is being created, it is first created by symbol_table::create_edge, which is where it is added to the call site hash. However, its callback flag is not set at that point, so the early return for callback edges doesn't affect it. This causes the wrong edge to be hashed, ultimately leading to segfaults and ICEs. This happens many times in the testsuite, the one I noticed first was libgomp.fortran/simd7.f90. gcc/ChangeLog: PR ipa/122358 * cgraph.cc (cgraph_add_edge_to_call_site_hash): Add an early return when the hashed edge is a callback-carrying edge. Signed-off-by: Josef Melcr <josef.melcr@suse.com>
Diffstat (limited to 'libjava/java/sql/ParameterMetaData.java')
0 files changed, 0 insertions, 0 deletions