1. 28 Mar, 2007 5 commits
  2. 27 Mar, 2007 24 commits
  3. 26 Mar, 2007 11 commits
    • Daily bump. · 196a935a
      From-SVN: r123247
      GCC Administrator committed
    • * error.c (show_locus): Remove always-false test. · 7b0930d9
      From-SVN: r123244
      Brooks Moses committed
    • Revert accidental commit. · 2aeb72e9
      From-SVN: r123243
      DJ Delorie committed
    • Main.java (cniOrJniSeen): New field. · 596438ca
      2007-03-26  Stepan Kasal  <skasal@redhat.com>
      
      	* tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
      	field.
      	(getParser): Use new field.
      
      From-SVN: r123240
      Stepan Kasal committed
    • re PR c++/30500 (pragma GCC system_header vs templates) · 7cf2045d
      2007-03-26  Paolo Carlini  <pcarlini@suse.de>
      
      	PR c++/30500
      	* pt.c (instantiate_decl): Set in_system_header.
      
      2007-03-26  Paolo Carlini  <pcarlini@suse.de>
      
      	PR c++/30500
      	* g++.dg/warn/pragma-system_header1.C: New test.
      	* g++.dg/warn/pragma-system_header2.C: New test.
      	* g++.dg/warn/pragma-system_header1.h. New.
      	* g++.dg/warn/pragma-system_header2.h. New.
      
      From-SVN: r123239
      Paolo Carlini committed
    • re PR c++/30500 (pragma GCC system_header vs templates) · 912291ca
      2007-03-26  Paolo Carlini  <pcarlini@suse.de>
      
      	PR c++/30500
      	* pt.c (instantiate_decl): Set in_system_header.
      
      2007-03-26  Paolo Carlini  <pcarlini@suse.de>
      
      	PR c++/30500
      	* g++.dg/warn/pragma-system_header1.C: New test.
      	* g++.dg/warn/pragma-system_header2.C: New test.
      	* g++.dg/warn/pragma-system_header1.h. New.
      	* g++.dg/warn/pragma-system_header2.h. New.
      
      From-SVN: r123238
      Paolo Carlini committed
    • re PR tree-optimization/31345 (ICE in set_value_range, at tree-vrp.c:269) · fa633851
      ./:	PR tree-optimization/31345
      	* tree-vrp.c (extract_range_from_binary_expr): Turn ranges like
      	[+INF, +INF(OVF)] into VARYING.
      testsuite/:
      	PR tree-optimization/31345
      	* gcc.c-torture/compile/pr31345-1.c: New test.
      
      From-SVN: r123237
      Ian Lance Taylor committed
    • * lang.opt: Minor edits to descriptions. · 0d67a675
      From-SVN: r123236
      Brooks Moses committed
    • gengtype-parse.c: New file. · 01d419ae
      	* gengtype-parse.c: New file.
      	* gengtype-yacc.y: Delete.
      	* gengtype-lex.l: Don't include gengtype-yacc.h.
      	Define YY_DECL and yyterminate appropriately for recursive
      	descent parser.  yylval is now a string out-parameter to yylex.
      	(HWS, EOID): New shorthand.
      	(IWORD): Add a couple more types.
      	(yylex): Add a setup stanza.  Remove the complex rules for
      	detecting GTY'ed types and typedefs; replace with simple
      	keyword detectors.  Adjust everything for the changed
      	definition of yylval.  Ignore all pp-directives, not just #define.
      	(yyerror): Delete.
      	(parse_file): Rename yybegin; do not call yyparse.
      	(yyend): New.
      	* gengtype.c (xasprintf): Export again.
      	(this_file): New.  Use everywhere __FILE__ was being used.
      	(get_lang_bitmap): Special case types defined in gengtype.c.
      	(do_typedef, new_structure): Suppress definition of certain types.
      	(new_structure): Improve diagnostics of duplicate definitions.
      	Make sure location_s is associated with input.h.
      	(nreverse_pairs, define_location_structures): New functions.
      	(main): Improve tagging of kludge types.  Remove old kludges
      	for input.h types; use define_location_structures.
      	* gengtype.h: Update prototypes.  Define token codes here.
      	* Makefile.in: Remove all references to gengtype-yacc.
      	Add rules for gengtype-parse.o.  Adjust rules for gengtype-lex.o
      	and gengtype.
      	* bitmap.h (struct bitmap_head_def): Coalesce definitions,
      	add GTY((skip)) to the field that's only conditionally there.
      	* doc/install.texi: Document that Bison is no longer required
      	unless building treelang.
      
      From-SVN: r123235
      Zack Weinberg committed
    • gengtype.c: Don't include gtyp-gen.h. · 11a67599
      	* gengtype.c: Don't include gtyp-gen.h.
      	(srcdir): Declare here.
      	(base_files, lang_dir_names): Allocate dynamically.
      	(gt_files, num_gt_files, num_lang_dirs): New globals.
      	(measure_input_list, read_input_line, read_input_list)
      	(set_lang_bitmap): New functions.
      	(get_base_file_bitmap): Rename get_lang_bitmap and drastically
      	simplify, relying on read_input_list to set up the bitmaps.
      	(main): Arguments are no longer unused.  Check for correct number
      	of command line arguments, set srcdir and srcdir_len, then call
      	read_input_list, before doing anything else.  No need to worry
      	about duplicates in main loop.
      	* configure.ac: Simplify the calculation of all_gtfiles.
      	Put language tags in there.  Don't set or substitute
      	all_gtfiles_files_langs or all_gtfiles_files_frags.
      	* Makefile.in: Revamp the way gengtype is invoked, now that it
      	takes a file on its command line with a much simpler format.
      	Remove or replace with gtyp-input.list all references to gtyp-gen.h.
      	(GTFILES): Remove duplicates and C source files.
      	* c-config-lang.in, cp/config-lang.in, objc/config-lang.in
      	* objcp/config-lang.in: Add c-pragma.h to gtfiles.
      	* configure: Regenerate.
      
      From-SVN: r123234
      Zack Weinberg committed