This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs-20000221 on sparc-redhat-linux: ICE at fold-const.c:1873


SPARC, RedHat 6.1

-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fpu -fcall-used-g5
-fcall-used-g7 gives:

namei.i: In function `isofs_find_entry':
namei.i:26: Internal compiler error in `size_binop', at fold-const.c:1873

struct inode {
	struct super_block	*i_sb;
};
struct isofs_sb_info {
	unsigned char s_high_sierra;  
};

struct super_block {
	union {
		struct isofs_sb_info	isofs_sb;
	} u;
	 
};

struct iso_directory_record {
	char flags			[( 26 - 26 + 1)];
};

int
isofs_find_entry(struct inode *dir)
{
	int dlen, match;
	struct iso_directory_record * de = ((void *)0);  
	
		match = 0;
		if (!(de->flags[-dir->i_sb->u.isofs_sb.s_high_sierra] & 5))
		{
			match = 1;
		}
	return 0;
}

--
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]