Project

General

Profile

Actions

Bug #9710

closed

Problem with converting of type specifiers

Added by Ilya Shchepetkov almost 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Urgent
Category:
C back-end
Start date:
06/14/2019
Due date:
% Done:

0%

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

Description

I have two code examples, which from my point of view are identical. CIF correctly processes the first one, but fails with an error on the second one.

Example 1:

typedef int my_int1;
typedef my_int1 __attribute__((__may_alias__)) my_int2;

Example 2:

typedef int my;
typedef my __attribute__((__may_alias__)) my2;

Error:

test.c:5:1: error: LDV: ../../aspectator/gcc/c-family/ldv-convert.c: 5606: type specifier "my" wasn't converted
 typedef my __attribute__((__may_alias__)) my2;

Actions

Also available in: Atom PDF