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]

GNU cc optimiser bug - report as requested (I hope)


cc -c -pipe -mcpu=i686 -fsigned-char -funsigned-bitfields 
-fwritable-strings -fPIC -ggdb3 -O3 
fails.i
fails.c:98: Internal compiler error in `output_die', at 
dwarf2out.c:5426
Please submit a full bug 
report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for 
instructions.
cc -v >>> gcc version 2.95.2 19991024 (release)
uname -a >>> Linux netfinity 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 
unknown
 


typedef void *HANDLE;
typedef HANDLE HMENU;
typedef HANDLE HWND;
typedef HANDLE HTREEITEM;
typedef int LV_ITEM;
typedef long LRESULT;
typedef	int WPARAM;
typedef int LPARAM;
typedef struct
	{
	int x;
	} WNDCLASSEX;



static HWND hList,hContainer;

extern HWND GetWindow(HWND, int);
extern HWND CreateInstanceWindow
	( int, int, int, int, int, int, int);


LRESULT    Nav_wnd_proc 	(	HWND hWnd	,	unsigned msg	,	WPARAM wParam	,	LPARAM lParam	) ;

LRESULT    ListContainerProc 	(	HWND hWnd	,	unsigned msg	,	WPARAM wParam	,	LPARAM lParam	) 
{
switch (msg)
	{
	case 0x0210:
		break;
	case (0x400 +0x1008):
		break;
	case 0x0007 :
		{
		HWND wnd;

		for (wnd=GetWindow(hWnd,5);wnd;wnd=GetWindow(wnd,2))
			if (IsWindowVisible(wnd))
				return (LRESULT)SetFocus(wnd);
		}	

		break;
	case 0x0005:
		MoveLists(hWnd);
		AutoArrangeIcons(hList);
		break;
	case 0x004E :
	case 0x0111 :
	case 0x400 +300 :
	case 0x400 +301 :
	case 0x007B :
		return SendMessage(GetParent(hWnd),msg,wParam,lParam);
	}

return DefWindowProc(hWnd, msg, wParam, lParam);
}

static HWND CreateListContainer(HWND hWnd)
{
static int reg;

if (!reg)
	{
	LRESULT    ListContainerProc 	(	HWND hWnd	,	unsigned msg	,	WPARAM wParam	,	LPARAM lParam	) ;
	WNDCLASSEX wc={0};
	reg = RegisterInstanceClass(&wc);
	}
return hContainer=CreateInstanceWindow( 0, 0, 0, 0, 0, 0, 0);
}

static void CreateListView(HWND hWnd)
{
HWND Container=CreateListContainer(hWnd);

	{
	unsigned styles = 0;

	if (GetIniInt("SingleClickNavigate",0))
		styles|=1;
	ListView_SetExtendedListViewStyle(hList,styles);
	}

SendMessage(hList,0x0030,(WPARAM)GetAPLFont(),0);
AddColumns(hList,~0 ^ (1 <<1), "Navigator");
}


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