https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22020
Andrew Pinski changed:
What|Removed |Added
CC||jankowski938 at gmail dot com
--- Commen
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2008-11-30 09:21
---
A little better with the current 4.4.0 compiler:
t.c:3: warning: cast from pointer to integer of different size
t.c:3: error: initializer element is not constant
but not as good as with the Sun compiler.
--
--- Additional Comments From david at gibson dot dropbear dot id dot au
2005-07-28 12:37 ---
This is arguably a real functionality bug, not just a poor diagnostic.
The compiler will refuse to allow such a truncated address as an initializer,
even when the assembler can generate the nece
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-11
19:38 ---
Confirmed.
--
What|Removed |Added
Status|UNCONFIRMED |NEW
E
--
What|Removed |Added
Summary|Poor error message for |Poor error message for
|invalid cast in initializer |invalid cast in constant