[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] [PATCH] tcc and bitfields
From: |
Damian M Gryski |
Subject: |
[Tinycc-devel] [PATCH] tcc and bitfields |
Date: |
Wed, 15 Oct 2003 21:58:27 -0400 |
User-agent: |
Mutt/1.5.4i |
tcc has a problem with casting bitfields.
This patch fixes that problem, and also adds output to tcctest.c to
prevent regressions.
I guess this fixes the "check lcc test suite" TODO item. The "cq.c"
file from the lcc test suite incorrectly assumes that a signed
1-bit field holds 0 or 1, instead of 0 or -1. The warning "Be
especially careful with 1-bit fields." is issued even for gcc.
The patch applies cleanly to a tcc-0.9.20 tree.
Damian
--
Damian Gryski | "There is a crack, a crack in everything.
address@hidden | That's how the light gets in."
gnu / geek / juggler / coder / compsci / crypto / security
tcc-bitfields.patch
Description: Text document
signature.asc
Description: Digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] [PATCH] tcc and bitfields,
Damian M Gryski <=