FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 01-19-2009, 07:45 AM
Marko Mäkelä
 
Default Bug#512275: gcc-4.1 ICE on mixing typedef and enum names

Package: gcc-4.1
Version: 4.1.1-21
Severity: minor

This three-line test program will trigger an internal compiler error
when compiled with gcc -c /tmp/ice.c:

typedef enum { a } b;
extern enum b c;
int d(void) { return (c != a); }

/tmp/ice.c: In function ‘d’:
/tmp/ice.c:3: internal compiler error: in create_tmp_var, at gimplify.c:410

The bug has apparently been fixed by upstream, because GCC 4.3.2-1 on
Debian Lenny AMD64 duly flags the error:

bar.c: In function 'd':
bar.c:3: error: 'c' has an incomplete type
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-686
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)

Versions of packages gcc-4.1 depends on:
ii binutils 2.17-3 The GNU assembler, linker and bina
ii cpp-4.1 4.1.1-21 The GNU C preprocessor
ii gcc-4.1-base 4.1.1-21 The GNU Compiler Collection (base
ii libc6 2.3.6.ds1-13etch8 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-21 GCC support library
ii libssp0 4.1.1-21 GCC stack smashing protection libr

Versions of packages gcc-4.1 recommends:
ii libc6-dev 2.3.6.ds1-13etch8 GNU C Library: Development Librari
pn libmudflap0-dev <none> (no description available)

-- debconf-show failed



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org