-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 12, 13, 14
-
b23
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8288427 | 13.0.12 | Yuri Nesterenko | P4 | Resolved | Fixed | b03 |
The generated class Pipeline_Use_Cycle_Mask from adlc is given a non-trivial assignment operator. That assignment operator doesn't do anything the default trivial assignment operator wouldn't do. Moreover, it leads to -Wclass-memaccess warnings with recent versions of gcc (gcc10 warns, gcc8 apparently doesn't) because there copy assignments of containing otherwise trivial class objects via memcpy.
The generated non-trivial assignment operator should be removed.
The generated non-trivial assignment operator should be removed.
- backported by
-
JDK-8288427 Generated Pipeline_Use_Cycle_Mask::operator= interferes with memcpy updates
- Resolved