[Bug middle-end/54327] [4.8 Regression] Segmentation fault in init_ggc

markus at trippelsdorf dot de gcc-bugzilla@gcc.gnu.org
Mon Aug 20 03:40:00 GMT 2012


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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markus at trippelsdorf dot
                   |                            |de

--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-08-20 03:40:24 UTC ---
Small testcase:

#include <string.h>
#include <stdlib.h>
void treathead ()
{
    char *a = ';' == '\0' ? : 0;
    if (*a == '=')
    {
        while (*a == (*a == 0) || *a == '\'')
            a++;
        if (strlen (a) < 2)
            abort ();
    }
}



More information about the Gcc-bugs mailing list