- 23 Jan, 2003 12 commits
-
-
From-SVN: r61659
Andreas Schwab committed -
2003-01-23 Benjamin Kosnik <bkoz@redhat.com> * configure.in (libtool_VERSION): To 6:0:0. * configure: Regenerated. * config/linker-map.gnu: Clean. * src/misc-inst.cc: Remove instantiations. * include/bits/stl_alloc.h (__malloc_alloc_template): To __malloc_alloc. (__default_alloc_template): To __pool_alloc. * src/stl-inst.cc: Same. * include/backward/alloc.h: Update. * testsuite/ext/allocators.cc: Update. * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should really try to remove these if possible. * src/locale.cc (std): Same. * testsuite/abi_check.cc (check_version): Add. From-SVN: r61658
Benjamin Kosnik committed -
From-SVN: r61655
Kaveh R. Ghazi committed -
PR other/7341 * invoke.texi (ftest-coverage): Fix broken cross-reference. Change @code to @command for gcov command. * gcc.texi: Adjust title of gcov section. Adjust copyright. * gcov.texi: Likewise. From-SVN: r61651
Volker Reichelt committed -
PR c++/9354 * init.c (build_new): Set the type of the new-expression, even when processing_templte_decl. PR c++/9216 * parser.c (cp_parser_primary_expression): Improve error message for templates used in an expression context. PR c++/8696 * parser.c (cp_parser_decl_specifier_seq): Commit to tentative parse when encountering "typedef". PR c++/9354 * g++.dg/parse/new1.C: New test. PR c++/9216 * g++.dg/parse/template2.C: New test. PR c++/9354 * g++.dg/parse/typedef2.C: New test. From-SVN: r61643
Mark Mitchell committed -
PR optimization/8423 * cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when its argument is constant, or 0 if !flag_gcse. * simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1 if it's argument is constant. * gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes. (hash_scan_set): Don't record CONSTANT_P_RTX expressions. (do_local_cprop): Don't propagate CONSTANT_P_RTX constants. * builtins.c (purge_builtin_constant_p): New function to force instantiation of any remaining CONSTANT_P_RTX nodes. * rtl.h (purge_builtin_constant_p): Prototype here. * toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p pass after GCSE and before loop. (flag_gcse): No longer static. * flags.h (flag_gcse): Prototype here. From-SVN: r61642
Roger Sayle committed -
2003-01-22 Nathanael Nerode <neroden@gcc.gnu.org> * class.c, parser.c: ANSIfy function definitions and declarations. From-SVN: r61641
Nathanael Nerode committed -
* java-tree.h: Don't use PARAMS. * resource.c: Add prototypes for all functions. (write_resource_constructor): Use `const char *' to avoid warning. From-SVN: r61640
Tom Tromey committed -
* config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression introduced by last change. From-SVN: r61638
Ulrich Weigand committed -
2003-01-22 Nathanael Nerode <neroden@gcc.gnu.org> * jcf-parse.c (process_zip_dir): Remove unused variable. From-SVN: r61637
Nathanael Nerode committed -
From-SVN: r61632
GCC Administrator committed -
PR c++/9328 * g++.dg/ext/typeof3.C: New test. PR c++/9328 * error.c (dump_decl): For an OVERLOAD, just print the name of the function; it doesn't make sense to try to print its type. * semantics.c (finish_typeof): Issue errors about invalid uses. From-SVN: r61631
Mark Mitchell committed
-
- 22 Jan, 2003 26 commits
-
-
PR c++/2738 * g++.dg/parse/ret-type1.C: New test. PR c++/3792 * g++.dg/parse/tmpl-outside1.C: New test. PR c++/4207 * g++.dg/parse/int-as-enum1.C: New test. PR c++/4903 * g++.dg/parse/no-typename1.C: New test. PR c++/5533 * g++.dg/parse/no-value1.C: New test. PR c++/5921 * g++.dg/parse/wrong-inline1.C: New test. PR c++/6402 * g++.dg/parse/ref1.C: New test. PR c++/6992 * g++.dg/parse/attr-ctor1.C: New test. PR c++/7229 * g++.dg/parse/namespace5.C: New test. PR c++/7917 * g++.dg/parse/func-def1.C: New test. PR c++/8143 * g++.dg/parse/undefined1.C: New test. PR c++/5723, PR c++/8522 * g++.dg/parse/specialization1.C: New test. PR c++/163, PR c++/8595 * g++.dg/parse/struct-as-enum1.C: New test. PR c++/9173 * g++.dg/parse/undefined2.C: New test. From-SVN: r61624
Volker Reichelt committed -
* MAINTAINERS: Move myself from GNATS-only-accounts to write-after-approval. From-SVN: r61620
Volker Reichelt committed -
PR c++/9298 * parser.c (cp_parser_consume_semicolon_at_end_of_statement): New function. (cp_parser_expression_statement): Use it. (cp_parser_explicit_instantiation): Likewise. * pt.c (do_decl_instantiation): Improve error handling logic. PR c++/9298 * g++.dg/parse/template1.C: New test. From-SVN: r61618
Mark Mitchell committed -
re PR libstdc++/9269 (libstdc++ headers: explicit specialization of function must precede its first use) 2003-01-22 Benjamin Kosnik <bkoz@redhat.com> Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com> Mark Mitchell <mark@codesourcery.com> PR libstdc++/9269 * include/std/std_fstream.h (basic_filebuf::uflow): Declare. (basic_filebuf::underflow): Declare. Move definitions. Co-Authored-By: Mark Mitchell <mark@codesourcery.com> Co-Authored-By: Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com> From-SVN: r61616
Benjamin Kosnik committed -
* expr.c (build_invokeinterface): Abort if method's context is not an interface. From-SVN: r61615
Tom Tromey committed -
* gcj.texi (Input and output files): Mention non-class entries. * decl.c (java_init_decl_processing): Call init_resource_processing. * java-tree.h (compile_resource_data, write_resource_constructor, compile_resource_file, init_resource_processing): Declare. * config-lang.in (gtfiles): Added resource.c. * Make-lang.in (gt-java-resource.h): New target. (JAVA_OBJS): Added resource.o. (java/resource.o): New target. * resource.c: New file. * class.c (compile_resource_file): Moved to resource.c. (registerResource_libfunc): Likewise. (utf8_decl_list): Mark with GTY; now static. * jcf-parse.c (classify_zip_file): New function. (parse_zip_file_entries): Use it; compile .properties files. (process_zip_dir): Use classify_zip_file and compute_class_name. Don't write class name into zip directory. (java_parse_file): Call write_resource_constructor. (compute_class_name): New function. * jcf-io.c (read_zip_member): Reindented. From-SVN: r61614
Tom Tromey committed -
From-SVN: r61612
Andreas Schwab committed -
PR c++/9384 * parser.c (cp_parser_using_declaration): Issue error messages about name resolution failures here. PR c++/9384 * g++.dg/parse/using1.C: New test. From-SVN: r61611
Mark Mitchell committed -
2003-01-22 Andrew Haley <aph@redhat.com> * src/powerpc/darwin.S (_ffi_call_AIX): Add Augmentation size to unwind info. From-SVN: r61608
Andrew Haley committed -
h8300.c (h8300_shift_needs_scratch_p): Don't request a scratch reg on H8S when the shift count is 8. * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't request a scratch reg on H8S when the shift count is 8. From-SVN: r61602
Kazu Hirata committed -
From-SVN: r61601
Andrew Haley committed -
2003-01-22 Andrew Haley <aph@redhat.com> * x86_64-signal.h: Add simple handler for x86_64 32-bit mode. * configure.host (CHECKREFSPEC): Define for x86_64. From-SVN: r61600
Andrew Haley committed -
* parser.c (cp_parser_simple_declaration): Return quickly when encountering errors. From-SVN: r61599
Mark Mitchell committed -
PR c++/9388 * class.c (currently_open_derived_class): Use dependent_type_p. * cp-tree.h (dependent_type_p): New function. (dependent_template_arg_p): Likewise. (dependent_template_p): Likewise. (type_dependent_expression_p): Likewise. * parser.c (cp_parser_dependent_type_p): Remove. (cp_parser_value_dependent_type_p): Likewise. (cp_parser_type_dependent_expression_p): Likewise. (cp_parser_dependent_template_arg_p): Likewise. (cp_parser_dependent_template_id_p): Likewise. (cp_parser_dependent_template_p): Likewise. (cp_parser_diagnose_invalid_type_name): Replace cp_parser_dependent_type_p with dependent_type_p, etc. (cp_parser_primary_expresion): Likewise. (cp_parser_nested_name_specifier_opt): Likewise. (cp_parser_postfix_expression): Likewise. (cp_parser_unary_expression): Likewise. (cp_parser_template_name): Likewise. (cp_parser_class_name): Likewise. (cp_parser_lookup_name): Likewise. * pt.c (dependent_type_p): New function. (value_dependent_expression_p): Likewise. (type_dependent_expression_p): Likewise. (dependent_template_arg_p): Likewise. (dependent_template_id_p): Likewise. (dependent_template_p): Likewise. PR c++/9285 PR c++/9294 * parser.c (cp_parser_simple_declaration): PR c++/9285 PR c++/9294 * g++.dg/parse/expr2.C: New test. PR c++/9388 * g++.dg/parse/lookup2.C: Likewise. From-SVN: r61596
Mark Mitchell committed -
* config/s390/s390-protos.h (preferred_la_operand_p): Remove second parameter. * config/s390/s390.c (preferred_la_operand_p): Likewise. * config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros. (HARD_REGNO_MODE_OK): Use FRAME_REGNO_P. * config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove. Add peepholes to transform ADD to LOAD ADDRESS. From-SVN: r61594
Ulrich Weigand committed -
2003-01-22 Benjamin Kosnik <bkoz@redhat.com> * include/bits/locale_facets.h: Move non-facet classes requiring <string> to... * include/bits/locale_classes.h: New. * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h. * include/bits/Makefile.in: Regenerate. * include/bits/locale_facets.tcc (__convert_from_v): Move to... * config/locale/gnu/c_locale.h: ...here. * config/locale/generic/c_locale.h: Same. * include/bits/locale_facets.tcc: Move declarations to... * include/bits/locale_facets.h: ...here. * include/bits/basic_ios.h: Tweak includes accordingly. * include/std/std_sstream.h: Add streambuf include. * include/std/std_fstream.h: Ditto. * include/std/std_locale.h: Add locale_classes.h include. * include/std/std_iosfwd.h: Tweak. * src/concept-inst.cc: Add iterator include. * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_* bits as unexported in the future. From-SVN: r61593
Benjamin Kosnik committed -
* arm.c (arm_address_register_rtx_p): New function. (arm_legitimate_address_p): New function. (arm_legitimate_index_p): New function. (legitimize_pic_address): Use arm_legitimate_index_p. * arm-protos.h (arm_legtimate_address_p): Add prototype. * arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete. (ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p. From-SVN: r61592
Richard Earnshaw committed -
* config/s390/s390.md (floatdfdi2): Insn has type 'itof'. * config/s390/2064.md (define_bypass): Correct 'Load' and 'Load-address' bypass values. From-SVN: r61591
Hartmut Penner committed -
From-SVN: r61590
Andreas Schwab committed -
From-SVN: r61589
Zack Weinberg committed -
genautomata.c (output_internal_insn_latency_func, [...]): Short circuit when there is no automaton to generate code for. * genautomata.c (output_internal_insn_latency_func, output_print_reservation_func): Short circuit when there is no automaton to generate code for. From-SVN: r61588
Zack Weinberg committed -
* ada/Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c. From-SVN: r61587
Zack Weinberg committed -
* Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H). (df.o): Delete duplicate dependency on coretypes.h $(TM_H). From-SVN: r61586
Kaveh R. Ghazi committed -
* config/rs6000/rs6000.md: Remove warning. (builtin_setjmp_receiver): Likewise. * config/darwin.c (update_stubs): Slightly improve terrible hack with identifiers. Add comment pointing out problems with it. (update_non_lazy_ptrs): Likewise. From-SVN: r61585
Geoffrey Keating committed -
* dwarf2out.c (lookup_filename): Fix printf format warning. * system.h (fread_unlocked, fwrite_unlocked): Undef. * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook. (fixincl.o-warn, gnu-regex.o-warn): New. * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused. * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise. * fixinc/fixincl.c (process): Fix printf format warning. From-SVN: r61584
Richard Henderson committed -
From-SVN: r61583
GCC Administrator committed
-
- 21 Jan, 2003 2 commits
-
-
* dwarf2out (output_file_names): Don't crash if called with empty file_table. From-SVN: r61576
Ulrich Weigand committed -
* java/util/natResourceBundle.cc (getCallingClassLoader): Start search at 2, not 3. From-SVN: r61574
Tom Tromey committed
-