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]
Other format: [Raw text]

c++/5853: -ax option lets crash g++



>Number:         5853
>Category:       c++
>Synopsis:       -ax option lets crash g++
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 06 11:16:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lodewijk T. Smit
>Release:        3.0.3
>Organization:
University of Twente
>Environment:
System: Linux loki 2.4.9-21smp #1 SMP Thu Jan 17 14:01:48 EST 2002 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure --prefix=/home/aid/smitl/linux
>Description:
	The g++ compiler crashes when using the -ax option, e.g.:
	g++ -ax filename.cpp
	
	Output of compiler is:
	try.cpp: In function `int main()':
	try.cpp:3: Unrecognizable insn:
	(call_insn 46 45 47 (call (mem:QI (symbol_ref ("__bb_trace_ret")) 0)
			             (const_int 0 [0x0])) -1 (nil)
	     (nil)
	         (nil))
	try.cpp:3: Internal compiler error in extract_insn, at recog.c:2218
	Please submit a full bug report,
	with preprocessed source if appropriate.
	See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
    
>How-To-Repeat:
	Edit a very simple cpp file, e.g. with only one line of code: 
	int main () {};
	Compile the file with the following command:
	g++ -ax filename.cpp
>Fix:
	Work around : omit -ax option.
>Release-Note:
>Audit-Trail:
>Unformatted:


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