[Bug java/15543] "jv-scan --complexity" segfaults

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Feb 12 16:33:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-12 06:13 -------
Subject: Bug 15543

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bothner@gcc.gnu.org	2005-02-12 06:12:48

Modified files:
	gcc/java       : parse-scan.y lex.c jv-scan.c ChangeLog 

Log message:
	PR java/15543
	* parse-scan.y (input_location): Remove variable.
	(main_input_filename): New - replaces input_filename, which isn't
	settable if USE_MAPPED_LOCATION.
	* lex.c (java_init_lex): Wrap some more places in #ifndef JC1-LITE,
	so we don't reference input_location or wfl_operator in that case.
	* jv-scan.c (expand_location): Remove - no longer used.
	(main): Set main_input_filename rather than input_filename.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse-scan.y.diff?cvsroot=gcc&r1=1.38&r2=1.39
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/lex.c.diff?cvsroot=gcc&r1=1.118&r2=1.119
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/jv-scan.c.diff?cvsroot=gcc&r1=1.45&r2=1.46
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1548&r2=1.1549



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15543



More information about the Gcc-bugs mailing list