Bug#435907: gcc-4.1: Empty ; causes programs built with profiling to hang
Package: gcc-4.1
Version: 4.1.2-13
Severity: important
Discovered by running configure, any empty lines with just a ; will
cause an endless loop. I attempted to debug with gdb, but that crashed
to. I've included a test file that reproduces the problem. Also
reproduced with gcc-4.2
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: hurd-i386 (i686-AT386)
Kernel: GNU-Mach 1.3.99/Hurd-0.3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages gcc-4.1 depends on:
ii binutils 2.17cvs20070426-8 The GNU assembler, linker and bina
ii cpp-4.1 4.1.2-13 The GNU C preprocessor
ii gcc-4.1-base 4.1.2-13 The GNU Compiler Collection (base
ii libc0.3 2.5-11+hurd.1 GNU C Library: Shared libraries
ii libgcc1 1:4.2.1-0 GCC support library
Versions of packages gcc-4.1 recommends:
ii libmudflap0-dev 4.1.2-13 GCC mudflap support libraries (dev
-- no debconf information
#include <stdio.h>
#include <unistd.h>
int main() {
;
return 0;
}
Reply to: