Project

General

Profile

Actions

Bug #11464

closed

C back-end incorrectly handles initialization of anonymous unions

Added by Evgeny Novikov almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
High
Category:
C back-end
Start date:
03/05/2022
Due date:
% Done:

0%

Estimated time:
Detected in build:
git
Platform:
Published in build:

Description

For instance, this results in CIL failures when substituting macro DECLARE_TASKLET_OLD for Linux 5.10.


Related issues 2 (0 open2 closed)

Related to Klever - Feature #11458: Improve support for Linux 5.10ClosedEvgeny Novikov03/04/2022

Actions
Related to C Instrumentation Framework - Bug #5280: C backend generates artificial structure declarators (field declarators) for unnamed structures and unionsClosedEvgeny Novikov09/19/2014

Actions
Actions #1

Updated by Evgeny Novikov almost 3 years ago

Actions #2

Updated by Evgeny Novikov almost 3 years ago

  • Related to Bug #5280: C backend generates artificial structure declarators (field declarators) for unnamed structures and unions added
Actions #3

Updated by Evgeny Novikov almost 3 years ago

This was already partially fixed by #5280, but that fix does not work in a more tricky conditions.

Actions #4

Updated by Evgeny Novikov almost 3 years ago

  • Status changed from New to Resolved

I fixed this in c33e170. Let's wait for testing results at Klever's CI.

Actions #5

Updated by Evgeny Novikov almost 3 years ago

  • Status changed from Resolved to Closed

Tests demonstrated that the bug fix works well.

Actions

Also available in: Atom PDF