Project

General

Profile

Actions

Bug #1137

closed

C backend fails to get casting and suffix for integer constants having "pointer" type

Added by Evgeny Novikov about 13 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
04/26/2011
Due date:
% Done:

0%

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

Description

This is the case for integer constant conversion to pointer type like (void *)1UL. After all it leads to simply 1 and there are warnings from both C backend work (it says multiple times that it cannot process such constructions) and test compilation (that says about implicit casting from integer to pointer).


Related issues 1 (0 open1 closed)

Has duplicate C Instrumentation Framework - Bug #4911: C-backend fails to inline constantsRejectedEvgeny Novikov05/08/2014

Actions
Actions

Also available in: Atom PDF