[Bug preprocessor/48677] cpp.exe broken ?

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 19 08:45:00 GMT 2011


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Build|                            |i686-w64-mingw32

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-04-19 08:45:23 UTC ---
(In reply to comment #0)
> 
> unfortunatly it seems something broke with the changes causing cpp.exe to crash
> when executed (i686-w64-mingw32) a quick run through gdb points to lbasename.c 

Does it crash in all cases, whatever arguments you give it, or only sometimes?

> in this section   
> 
>   /* Skip over a possible disk name.  */
>   if (ISALPHA(name[0]) && name[1] == ':') // crashes here
>     name += 2;

Why does it crash? is name null? is it less than two characters?



More information about the Gcc-bugs mailing list