Logo Search packages:      
Sourcecode: gcc-2.95 version File versions

bug-46963.c

/*
From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bug#46963: Internal compiler error in `int_mode_for_mode' on alpha
Date: Fri, 08 Oct 1999 22:20:48 +0200

Package: gcc
Version: 1:2.95.2-0pre2
Severity: normal

This problem doesn't occur on i386, and not if using g++, or if using
a larger type. I don't know if the double declaration is valid C, but
it shouldn't give an internal error in any case.

      Falk


% uname -a            
Linux borkum 2.2.5 #2 Mon Apr 12 09:16:55 CEST 1999 alpha unknown

% gcc -v
Reading specs from /usr/lib/gcc-lib/alpha-linux/2.95.2/specs
gcc version 2.95.2 19990906 (prerelease)

% gcc -c automap.c 
automap.c: In function `add_segment_edges':
automap.c:9: Internal compiler error in `int_mode_for_mode', at stor-layout.c:202
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.


----- automap.c ---------------------------------------------------
*/

extern short Player_init[10];
extern short Player_init[];

void add_segment_edges() {
    short foo = Player_init[5];
}

Generated by  Doxygen 1.6.0   Back to index