Subject: port-alpha/15046: C++ program compiled with -pedantic dumps core
To: None <gnats-bugs@gnats.netbsd.org>
From: None <taya@ba2.so-net.ne.jp>
List: netbsd-bugs
Date: 12/25/2001 01:30:56
>Number:         15046
>Category:       port-alpha
>Synopsis:       C++ program compiled with -pedantic dumps core
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 24 08:31:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5ZA
>Organization:
	
>Environment:
	
	
System: NetBSD turtle12.m2g.org 1.5ZA NetBSD 1.5ZA (DPWS500A) #1: Tue Dec 25 01:18:49 JST 2001 taya@turtle12.m2g.org:/export/NetBSD/NetBSD-current/src/sys/arch/alpha/compile/DPWS500A alpha
Architecture: alpha
Machine: alpha
>Description:
	C++ program compiled with -pedantic dumps core.
>How-To-Repeat:
	% cat a.cc
	#include <iostream.h>

	main()
	{
		cout << "Hello\n";
	}
	% c++ a.cc 
	% ./a.out 
	Hello
	% c++ -g -pedanitic a.cc 
	% ./a.out
	Illegal instruction (core dumped)

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: