------- 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 int * fb)
{
  func1 ((int *) fb);
}
----------------------------------
I was unable to reproduce the problem removing any of the 'if'. Also, I was
unable to reproduce the ICE without generating the warning about qualifiers.
Weird.


-- 

lopezibanez at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lopezibanez at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29254

Reply via email to