- 03 Jul, 2003 22 commits
-
-
* Makefile.in: Use dependency variables in lieu of explicit files throughout. From-SVN: r68896
Kaveh R. Ghazi committed -
* call.c (build_scoped_method_call): Use convert_to_void. (build_method_call): Likewise. * class.c (check_field_decls): Remove dead code. * cvt.c (convert_from_reference): Remove OFFSET_TYPE handling. * decl2.c (grok_array_decl): Remove dead code. (arg_assoc_type): Avoid relying on POINTER_TYPE over OFFSET_TYPE as pointer-to-member representation. * init.c (build_offset_ref): Tidy. (build_vec_delete_1): Use convert_to_void. * mangle.c (write_type): Avoid relying on POINTER_TYPE over OFFSET_TYPE as pointer-to-member representation. From-SVN: r68895
Mark Mitchell committed -
From-SVN: r68892
Eric Botcazou committed -
2003-07-03 Steven Bosscher <steven@gcc.gnu.org> * rtl.h (ECF_*, flags_from_decl_or_type): Move from here... * tree.h: ...to here. From-SVN: r68890
Steven Bosscher committed -
* config/s390/2064.md: Fix comment typos. * config/s390/2084.md: Likewise. * config/s390/s390.c: Likewise. * config/s390/s390.md: Likewise. * config/sh/sh.c: Likewise. * config/sh/sh.h: Likewise. * config/sh/sh.md: Likewise. * config/sparc/sparc.c: Likewise. * config/sparc/sparc.h: Likewise. * config/sparc/sparc.md: Likewise. * config/stormy16/stormy16.c: Likewise. * config/stormy16/stormy16.h: Likewise. * config/stormy16/stormy-abi: Fix a typo. From-SVN: r68887
Kazu Hirata committed -
cp: PR c++/9162 * decl.c (grokdeclarator): Return friend decls, not void_type_node. * decl2.c (grokfield): Alter friend decl check. * parser.c (struct cp_parser): Document default_arg chain on unparsed_functions_queue. (cp_parser_save_default_args): New. (cp_parser_init_declarator, cp_parser_function_definition, cp_parser_member_declaration): Call it. (cp_parser_class_specifier): Remove unused variable. Alter processing of unparsed_functions_queue. testsuite: PR c++/9162 * g++.dg/parse/defarg4.C: New. From-SVN: r68886
Nathan Sidwell committed -
2003-07-03 Kelley Cook <kelleycook@wideopenwest.org> * Makefile.in (ifcvt.o): Depend on OPTABS_H. From-SVN: r68885
Kelley Cook committed -
* testsuite/22_locale/num_put/put/char/7.cc: Guard with _GLIBCPP_USE_WCHAR_T. From-SVN: r68883
David Edelsohn committed -
From-SVN: r68882
Kaveh R. Ghazi committed -
* class.c (add_method, check_field_decl): Fix format specifier. * decl.c (duplicate_decls, pushdecl, check_goto, fixup_anonymous_aggr, maybe_commonize_var, grokdeclarator, start_enum): Likewise. * decl2.c (ambiguous_decl): Likewise. * pt.c (redeclare_class_template): Likewise. From-SVN: r68878
Kaveh R. Ghazi committed -
PR target/10700 * fold-const.c (extract_muldiv_1): There's nothing that can be done if the expression is a SAVE_EXPR. * gcc.c-torture/compile/20030703-1.c: New test case. From-SVN: r68877
Roger Sayle committed -
* config/m32r/m32r.c: Fix comment typos. * config/m68hc11/m68hc11.c: Likewise. * config/m68hc11/m68hc11.h: Likewise. * config/m68k/m68k.c: Likewise. * config/mcore/mcore.c: Likewise. * config/mcore/mcore.h: Likewise. * config/mcore/mcore.md: Likewise. * config/mips/mips.c: Likewise. * config/mips/mips.h: Likewise. * config/mips/mips.md: Likewise. * config/mips/netbsd.h: Likewise. * config/mn10300/mn10300.c: Likewise. From-SVN: r68876
Kazu Hirata committed -
dbxout.c (pending_bincls): Move decl down inside DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section. * dbxout.c (pending_bincls): Move decl down inside DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section. From-SVN: r68875
Andreas Schwab committed -
* rtl.h (NOTE_DATA): Refer to whole union. * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA. From-SVN: r68874
Nathan Sidwell committed -
From-SVN: r68872
Mark Mitchell committed -
PR optimization/11381 * simplify-rtx.c (simplify_relational_operation): Check that two equal operands have no side-effects before simplifying the comparison. From-SVN: r68869
Eric Botcazou committed -
* expr.c (do_store_flag): Remove special case folding for single bit tests. Instead call back into the commonized folder routine. * fold-const.c (fold_single_bit_test): New function, mostly extracted from do_store_flag, with an additional case extracted from fold. (fold): Call fold_single_bit_test appropriately. * tree.h (fold_single_bit_test): Prototype. From-SVN: r68867
Jeff Law committed -
From-SVN: r68866
Neil Booth committed -
* gcse.c: Fix misspelling. * line-map.c: Likewise. * config/dsp16xx/dsp16xx.h: Likewise. From-SVN: r68865
Matt Kraai committed -
* system.h: Include filenames.h. (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define. (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined, define based on HAVE_DOS_BASED_FILE_SYSTEM. * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h * config/i386/xm-mingw32.h: Don't define HAVE_DOS_BASED_FILE_SYSTEM, DIR_SEPARATOR, or DIR_SEPARATOR_2. * doc/hostconfig.texi: Update to match. * cppfiles.c, gcc.c, gensupport.c, protoize.c, config/i386/cygwin.h: Use IS_ABSOLUTE_PATH throughout. * gcc.c (DIR_UP): Delete, unused. * protoize.c (IS_SAME_PATH): Define in terms of FILENAME_CMP. (is_abspath): Delete. java: * jcf-path.c: Don't default-define PATH_SEPARATOR nor DIR_SEPARATOR. Use FILENAME_CMP. * jcf-write.c: Don't default-define DIR_SEPARATOR. * jcf.h: Delete COMPARE_FILENAMES definition. From-SVN: r68863
Zack Weinberg committed -
2003-07-02 Danny Smith <dannysmith@users.source.forge.net> * pex-win32.c (fix_argv): Ensure that the executable pathname uses Win32 backslashes. (pexecute): Cast away constness when assigning *errmsg_arg. From-SVN: r68862
Danny Smith committed -
From-SVN: r68860
GCC Administrator committed
-
- 02 Jul, 2003 18 commits
-
-
* config/i386/emmintrin.h: Fix comment typos. * config/i386/i386.c: Likewise. * config/i386/i386.h: Likewise. * config/i386/sco5.h: Likewise. * config/ia64/ia64.c: Likewise. * config/ia64/itanium2.md: Likewise. From-SVN: r68857
Kazu Hirata committed -
From-SVN: r68856
Wolfgang Bangerth committed -
2003-07-02 H.J. Lu <hongjiu.lu@intel.com> * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with DBX_USE_BINCL. (emit_bincl_stab): Same. (emit_pending_bincls): Same. From-SVN: r68855
H.J. Lu committed -
* config/h8300/h8300.c (compute_mov_length): Fix the length of loading CONST0_RTX (SFmode). * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change 'G' to CONST0_RTX (SFmode). * config/h8300/h8300.md (movsf_h8300): Change the first constraint to 'G'. (movsf_h8300h): Likewise. From-SVN: r68854
Kazu Hirata committed -
From-SVN: r68853
Neil Booth committed -
From-SVN: r68852
Neil Booth committed -
* c-common.h (c_common_init_options): New prototype. * c-opts.c (deferred_size): Remove. (defer_opt): Array is now pre-allocated. (c_common_init_options): Pre-allocate deferred_opts. Make lang_flags unsigned. (push_command_line_options): Free deferred_opts. * hooks.c (hook_uint_uint_constcharptrptr_0): New. * hooks.h (hook_uint_uint_constcharptrptr_0): New. * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update. * langhooks.h (struct lang_hooks): New prototype for init_options. * main.c (main): Cast argv. * opts.c (handle_option, handle_options): Update prototypes. (decode_options): save_argc, save_argv are not global. Constify. * opts.h (decode_options): New prototype. * toplev.c (general_init): New protoype. (save_argv): Make static. (save_argc): Remove. (print_switch_values, general_init): Constify. (toplev_main): Save argv. * toplev.h (toplev_main): Update prototype. (save_argc, save_argv): Remove. ada: * misc.c (save_argc, save_argv): Make static. (gnat_init_options): New prototype. (gnat_init_options): Update. f: * top.c (ffe_init_options): Update prototype. * top.h (ffe_init_options): Update prototype. java: * lang.c (java_init_options): Update prototype. treelang: * tree1.c (treelang_init_options): Update prototype. * treelang.h (treelang_init_options): Update prototype. From-SVN: r68850
Neil Booth committed -
2003-07-02 Paolo Carlini <pcarlini@unitus.it> * include/bits/basic_string.tcc (_M_replace_aux): Constify __n1 and __off1. From-SVN: r68849
Paolo Carlini committed -
* dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS. (emit_bincl_stab): Same. (emit_pending_bincls): Same. From-SVN: r68848
David Edelsohn committed -
re PR fastjar/9532 (jar -C flag is incompatible with Sun's (fastjar uses nonportable feature of getcwd)) PR java/9532 * jartool.c (add_to_jar): Return 1 on failure to open file. Split out -C case to: * jartool.c (add_to_jar_with_dir): New function. From-SVN: r68847
Nathanael Nerode committed -
PR c++/11072 * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why. testsuite: PR c++/11072 * g++.dg/other/offsetof2.C: XFAIL. * g++.dg/other/offsetof5.C: New. From-SVN: r68831
Nathan Sidwell committed -
From-SVN: r68829
Andreas Schwab committed -
2003-07-02 Paolo Carlini <pcarlini@unitus.it> * include/bits/stl_bvector.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup. * include/bits/stl_construct.h: Likewise. * include/bits/stl_deque.h: Likewise. From-SVN: r68828
Paolo Carlini committed -
2003-07-02 Paolo Carlini <pcarlini@unitus.it> * testsuite/22_locale/num_put/put/char/7.cc: Include <testsuite_hooks.h>, tweak. * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise. From-SVN: r68827
Paolo Carlini committed -
From-SVN: r68826
Rainer Orth committed -
cp: PR c++/10219 * pt.c (type_unification_real): Don't unify exprs of error type. * tree.c (error_type): Don't die on error_type. testsuite: PR c++/10219 * g++.dg/template/error1.C: New. From-SVN: r68825
Nathan Sidwell committed -
cp: PR c++/9779 * decl2.c (arg_assoc_class): Don't die on NULL type. * typeck.c (type_unknown_p): Don't die on untyped expressions. testsuite: PR c++/9779 * g++.dg/template/dependent-expr1.C: New. From-SVN: r68824
Nathan Sidwell committed -
re PR rtl-optimization/11210 (optimizer drops conditional with typecast from signed to unsigned char) PR optimization/11210 * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note about the behaviour with regard to bitfields. * fold-const (decode_field_reference): Record outermost type in case the expression is a NOP. Strip all NOPs. Set the signedness to that of the outermost type (if any) when the bitsize is equal to the size of the type. From-SVN: r68823
Eric Botcazou committed
-