- 27 Nov, 2001 12 commits
-
-
* ia64/aix.h (REG_SIZE): Don't #undef. * sparc.h (REG_SIZE): Delete. * flow.c (mark_used_regs): Don't use REG_SIZE. * regs.h (REG_SIZE): Delete. From-SVN: r47378
Kaveh R. Ghazi committed -
* gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT -> PREFERRED_DEBUGGING_TYPE. From-SVN: r47377
Andreas Schwab committed -
* Makefile.in (c-lang.o): Depends on langhooks-def.h. (expr.o, varasm.o): Depends on langhooks.h. * c-common.c (c_safe_from_p): Always declare. (c_expand_expr): Refine when declared. * c-lang.c (c-common.h): Now include. (LANG_HOOKS_SAFE_FROM_P): Define new hook. (c_init): Don't set lang_safe_from_expr. * expr.c (langhooks.h): Now include. (lang_safe_from_p): No longer define. (safe_from_p): Use lang hook. (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too. (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down. * expr.h (lang_expand_constant, lang_safe_from_p): Delete. * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls. (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks. * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions. * langhooks.h (struct lang_hooks): New fields expand_constant and safe_from_p. * output.h (output_constant): Size arg is HOST_WIDE_INT. * stmt.c (expand_decl_init): No longer need to expand constant for CONST_DECL. * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR. * toplev.c (lang_expand_constant): Delete var. * tree.c (save_expr): Don't put another SAVE_EXPR around simple operations on SAVE_EXPR. * varasm.c (langhooks.h): Now include. (compare_constant_1): Use lang_hooks, not lang_expand_constant. (record_constant_1, output_addressed_constants): Likewise. (initializer_constant_valid_p, output_constant): Likewise. (output_constant_def): Process no-defer of string constant. (output_addressed_constants, case ADDR_EXPR): Use handled_component_p. (output_constant): Strip more conversions. Track our size and pad for the rest. (array_size_for_constructor): Remove code for non-byte STRING_CST. (output_constructor): SIZE now HOST_WIDE_INT. * cp/Make-lang.in (cp-lang.o): Depends on c-common.h. * cp/cp-lang.c (c-common.h): Include. (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks. * cp/decl.c (cxx_init_decl_processing): Don't set lang_safe_from_p. * cp/expr.c (init_cplus_expand): Don't set lang_expand_constant. From-SVN: r47376
Richard Kenner committed -
* ifcvt.c (noce_try_store_flag_constants): Test for overflow in computing DIFF. From-SVN: r47374
Richard Henderson committed -
2001-11-27 Laurent Guerby <guerby@acm.org> * Makefile.in: Regenerate Ada dependencies. From-SVN: r47373
Laurent Guerby committed -
From-SVN: r47371
GCC Administrator committed -
From-SVN: r47370
Richard Henderson committed -
From-SVN: r47369
Zack Weinberg committed -
From-SVN: r47368
Richard Henderson committed -
From-SVN: r47367
David Edelsohn committed -
From-SVN: r47365
Richard Henderson committed -
* config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef. * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove commented out override. From-SVN: r47364
Richard Henderson committed
-
- 26 Nov, 2001 23 commits
-
-
* cppfiles.c (stack_include_file): Don't optimize zero-length files. (read_include_file): NUL-terminate read files. * cpplex.c (handle_newline, skip_escaped_newlines, get_effective_char, skip_whitespace, parse_identifier, parse_identifier_slow, parse_number, parse_string, _cpp_lex_direct): Optimize for the fact that buffers are guaranteed NUL-terminated. * cpplib.c (destringize_and_run, cpp_define, handle_assertion): Be sure buffers are NUL terminated. * cppmacro.c (warn_of_redefinition): Kill compile warning. * c-common.c: Include tree-inline.h. (c_language): Move separate definitions here. (c_common_init_options, c_common_post_options): New. (c_common_lang_init): Rename c_common_init. * c-common.h (c_common_lang_init): Similarly. (c_common_init_options, c_common_post_options): New. * c-lang.c (c_post_options): Move body to c_common_post_options. (c_init_options): Use c_common_init_options. (c_init): Update. * langhooks.def: Rearrange. * langhooks.h: Rearrange, and improve comments. * toplev.c (do_compile): New function. (toplev_main): Use it. (lang_independent_f_options, parse_options_and_default_flags, process_options): Remove trailing periods. * Makefile.in: Update. cp: * decl2.c (c_language): Move to c-common.c. * lex.c (cxx_post_options, cxx_init_options): Use c-common.c functions. (cxx_init): Update. objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c functions. (ojbc_init): Update. From-SVN: r47362
Neil Booth committed -
From-SVN: r47361
Richard Henderson committed -
From-SVN: r47360
Ziemowit Laski committed -
* expr.c (store_constructor): Actually use the value computed if WORD_REGISTER_OPERATIONS. From-SVN: r47359
DJ Delorie committed -
* Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd, gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys, gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o. From-SVN: r47358
Richard Henderson committed -
* config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY for CONSTRUCTOR. From-SVN: r47357
Richard Henderson committed -
* rs6000.c (output_mi_thunk): Handle minimal-toc and call correct function on AIX. From-SVN: r47355
David Edelsohn committed -
* Makefile.in (stamp-h): Depend on Makefile for proper serialization. (*-subdir): Depend on config.h for proper serialization. Co-Authored-By: Daniel Jacobowitz <drow@mvista.com> From-SVN: r47354
DJ Delorie committed -
From-SVN: r47353
DJ Delorie committed -
* configure.in: Check for alloca.h (for regex.c and putenv.c). * configure: Regenerate. * config.h: Add HAVE_ALLOCA_H. From-SVN: r47352
DJ Delorie committed -
toplev.c (process_options): Don't force flag_optimize_sibling_calls to zero just because exceptions are enabled. * toplev.c (process_options): Don't force flag_optimize_sibling_calls to zero just because exceptions are enabled. From-SVN: r47351
Alexandre Oliva committed -
* df.h (transfer_function_sbitmap): Use PARAMS around argument list in function prototypes. (transfer_function_bitmap): Likewise. From-SVN: r47350
Jeffrey A Law committed -
* config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS. * config/i386/netbsd-elf.h: Likewise. From-SVN: r47349
Loren J. Rittle committed -
From-SVN: r47348
David Edelsohn committed -
* linux_threads.c (WRAP_FUNC(pthread_join)): Remove special case for GC_FREEBSD_THREADS. * configure.in (*-*-freebsd*): Clarify warning. * configure: Rebuilt. From-SVN: r47347
Loren J. Rittle committed -
From-SVN: r47346
Jason Merrill committed -
From-SVN: r47345
Jan Hubicka committed -
* sparc.c (sparc_absnegfloat_split_legitimate): Do not call alter_subreg. * sparc.md (post-reload splitters): Do not call alter_subreg. * cfgrtl.c (purge_dead_edges): Fix typo in previous fix. From-SVN: r47339
Jan Hubicka committed -
From-SVN: r47338
Aldy Hernandez committed -
From-SVN: r47335
GCC Administrator committed -
* include/jvm.h (_Jv_VerifyFieldSignature, _Jv_VerifyMethodSignature, _Jv_VerifyClassName, _Jv_VerifyIdentifier, _Jv_ClassNameSamePackage): Moved from ... * include/java-interp.h: ... here. * defineclass.cc (UTF8_PEEK): No longer conditional on interpreter. (_Jv_VerifyOne): Likewise. (_Jv_VerifyFieldSignature): Likewise. (_Jv_VerifyMethodSignature): Likewise. (is_identifier_start): Likewise. (is_identifier_part): Likewise. (_Jv_VerifyIdentifier): Likewise. (_Jv_VerifyClassName): Likewise. (_Jv_VerifyClassName): Likewise. (_Jv_ClassNameSamePackage): Likewise. (_Jv_VerifyClassName): Fail if class name is too long. * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Disallow array of void. * java/lang/natClass.cc (forName): Check syntax of class name. Include IllegalArgumentException.h. From-SVN: r47334
Tom Tromey committed -
* cp/search.c (lookup_base_r): Declare bk in variable declaration space. From-SVN: r47333
Aldy Hernandez committed -
* final.c: (insn_lengths): Make it an int *, so that large jump tables don't overflow. From-SVN: r47331
Alan Modra committed
-
- 25 Nov, 2001 5 commits
-
-
* verify.cc (_Jv_BytecodeVerifier::branch_prepass): Use java_opcode as type for switch. [op_wide]: Likewise. (_Jv_BytecodeVerifier::verify_instructions_0): Likewise. [op_invokevirtual]: Likewise. * include/java-insns.h (java_opcode): Give enum a name. From-SVN: r47330
Tom Tromey committed -
Fix for PR libgcj/4583: * java/math/BigDecimal.java (BigDecimal(double)): Rewrote. (BigDecimal(String)): Likewise. From-SVN: r47329
Tom Tromey committed -
2001-11-25 Toon Moene <toon@moene.indiv.nluug.nl> * libF77/Makefile.in: Fix non-portable use of `$<' in z_log.c's rule. From-SVN: r47328
Toon Moene committed -
* c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New. (format_types): Use it for scanf. (dollar_arguments_pointer_p): New. (init_dollar_format_checking): Store details of which arguments are pointers. (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p. (finish_dollar_format_checking): Take extra parameter pointer_gap_ok. Treat unused arguments differently if pointer_gap_ok and the unused arguments are pointers. (check_format_info_main): Pass extra argument to finish_dollar_format_checking. * doc/invoke.texi (-Wno-format-extra-args): Document behavior when unused arguments are present between used arguments with operand numbers. testsuite: * gcc.dg/format/strfmon-1.c: Update comments. Adjust examples from Austin Group draft 7. * gcc.dg/format/xopen-1.c: Update comments. Add tests for gaps in scanf format arguments. * gcc.dg/format/no-exargs-2.c: New test. From-SVN: r47327
Joseph Myers committed -
2001-11-25 Daniel Berlin <dan@cgsoftware.com> * df.c: Add prototypes for hybrid_search_bitmap and hybrid_search_sbitmap. (hybrid_search_bitmap): New function. (hybrid_search_sbitmap): New function. (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap. (iterative_dataflow_bitmap): Ditto. From-SVN: r47326
Daniel Berlin committed
-