--- Comment #6 from lopezibanez at gmail dot com 2006-10-04 20:21 ---
Don't know whether it is relevant, but no ICE occurs if Werror is not used.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29254
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29254
--- Comment #5 from lopezibanez at gmail dot com 2006-09-29 00:53 ---
(In reply to comment #4)
> Not so surprising if you check gcc/c-typeck.c line 3980. The warning is not
> conditionalised to any option. What is the criteria for a warning to be
> emitted
> always or be conditional to
--- Comment #4 from lopezibanez at gmail dot com 2006-09-29 00:37 ---
Not so surprising if you check gcc/c-typeck.c line 3980. The warning is not
conditionalised to any option. What is the criteria for a warning to be emitted
always or be conditional to a given option?
--
http://gcc
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-09-28 10:55 ---
Confirmed. The warning is correct - we emit it with explicit casts, too. But
surprisingly -Wno-cast-qual does not get rid of it.
--
rguenth at gcc dot gnu dot org changed:
What|Removed
--- Comment #2 from lopezibanez at gmail dot com 2006-09-27 21:31 ---
Is this testcase better?
list_compare (int * list1)
{
if (list1)
value_compare ();
}
func1 (int * f){}
value_compare (int * a)
{
if (a)
list_compare (a);
}
func2 (const in
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-27 18:34 ---
Here is a reduced testcase:
typedef struct _GList GList;
typedef struct _KvpFrame KvpFrame;
typedef struct _KvpValue KvpValue;
struct _KvpValue
{
int type;
GList *list;
};
kvp_glist_compare (GList * list1,GList *
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||pinskia at gcc dot gnu dot
|
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||hubicka at gcc dot gnu dot
|