This is the mail archive of the gcc-cvs@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/gcc rtl.c rtl.h print-rtl.c genattr.c gen ...


CVSROOT:	/cvs/gcc
Module name:	egcs
Changes by:	rth@sourceware.cygnus.com	99/10/13 20:43:49

Modified files:
	gcc            : rtl.c rtl.h print-rtl.c genattr.c genattrtab.c 
	                 gencodes.c genconfig.c genemit.c genextract.c 
	                 genflags.c genopinit.c genoutput.c genpeep.c 
	                 genrecog.c ChangeLog 

Log message:
	* rtl.c (dump_and_abort): Remove.
	(fatal_with_file_and_line): New.
	(fatal_expected_char): New.
	(read_rtx_lineno, read_rtx_filename): New.
	(read_skip_spaces): Track line number.
	(read_name): Use fatal_with_file_and_line.
	(read_rtx): Use fatal_expected_char.  Track line number.
	* rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
	
	* print-rtl.c (print_rtx): Don't special case LABEL_REF argument
	if it isn't a CODE_LABEL.
	
	* genattr.c (main): Set read_rtx_filename.
	* genattrtab.c (main): Likewise.
	* gencodes.c (main): Likewise.
	* genconfig.c (main): Likewise.
	* genemit.c (main): Likewise.
	* genextract.c (main): Likewise.
	* genflags.c (main): Likewise.
	* genopinit.c (main): Likewise.
	* genoutput.c (main): Likewise.
	* genpeep.c (main): Likewise.
	
	* genrecog.c (decision_test.u.insn): Add `lineno'.
	(pattern_lineno, error_count): New variables.
	(message_with_line): New.
	(add_to_sequence): Break out checking code to ...
	(validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
	(merge_insn): Use message_with_line.
	(make_insn_sequence): Use validate_pattern.  Record insn lineno.
	(main): Set read_rtx_filename, pattern_lineno.  Exit early on error.


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