cc1 crashes on every compilation of C program
Bug #1172116 reported by
Nida Umar Shaikh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.5 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
cc1 crashes on every compilation of C program
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: cpp-4.5 4.5.2-8ubuntu4
ProcVersionSign
Uname: Linux 2.6.38-16-generic i686
NonfreeKernelMo
Architecture: i386
Date: Wed Apr 24 10:08:06 2013
ExecutablePath: /usr/lib/
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: gcc-4.5
UpgradeStatus: No upgrade log present (probably fresh install)
To post a comment you must log in.
your program is wrong, however gcc shouldn't crash:
$ gcc -c undiected.c
undiected.c:4:1: error: array type has incomplete element type
undiected.c: In function 'main':
undiected.c:35:3: error: type of formal parameter 1 is incomplete
undiected.c: In function 'check':
undiected.c:43:14: error: 'p' undeclared (first use in this function)
undiected.c:43:14: note: each undeclared identifier is reported only once for each function it appears in
undiected.c:43:17: error: 'q' undeclared (first use in this function)