cc1 crashes on every compilation of C program

Bug #1172116 reported by Nida Umar Shaikh
6
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
ProcVersionSignature: Ubuntu 2.6.38-16.67-generic 2.6.38.8
Uname: Linux 2.6.38-16-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Wed Apr 24 10:08:06 2013
ExecutablePath: /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/cc1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: gcc-4.5
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nida Umar Shaikh (nshaikh18) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

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)

Revision history for this message
dino99 (9d9) wrote :

This version is no longer supported; EOL reached since a while.

Changed in gcc-4.5 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.