- 27 Nov, 2004 13 commits
-
-
From-SVN: r91374
Jakub Jelinek committed -
* fold-const.c (extract_muldiv_1) <case ABS_EXPR>: If ctype is unsigned and type signed, build ABS_EXPR with signed_type (ctype) and only afterwards convert to ctype. * gcc.c-torture/execute/20041126-1.c: New test. From-SVN: r91373
Jakub Jelinek committed -
* gcc.dg/mips-args-1.c: Don't expect _R3000 or _R4000 to be defined on IRIX. From-SVN: r91372
Richard Sandiford committed -
* gcc.dg/mips-movcc-[123].c: Pass the ?: expressions to other functions. From-SVN: r91371
Richard Sandiford committed -
* config/mips/mips-protos.h (function_arg_boundary): Declare. * config/mips/mips.h (PARM_BOUNDARY): Simplify definition. (STACK_BOUNDARY, MIPS_STACK_ALIGN): Likewise. (FUNCTION_ARG_BOUNDARY): Use new function_arg_boundary function. * config/mips/mips.c (function_arg_boundary): New function. Impose a maximum alignment of STACK_BOUNDARY. From-SVN: r91370
Richard Sandiford committed -
PR rtl-optimization/17825 * combine.c (subst): Ignore STRICT_LOW_PART no matter if REG_P (new) or not. * gcc.c-torture/compile/20041119-1.c: New test. From-SVN: r91369
Jakub Jelinek committed -
2004-11-27 Paolo Carlini <pcarlini@suse.de> * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: Fix typo. * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: Likewise. * testsuite/22_locale/time_put/put/char/17038.cc: Use VERIFY. * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: Likewise. * testsuite/27_io/basic_ios/exceptions/char/2.cc: Likewise. From-SVN: r91368
Paolo Carlini committed -
target-libpath.exp (restore_ld_library_path_env_vars): Check existence of ld library path variables before unsetting. * lib/target-libpath.exp (restore_ld_library_path_env_vars): Check existence of ld library path variables before unsetting. From-SVN: r91367
John David Anglin committed -
From-SVN: r91365
Andreas Schwab committed -
PR target/12769 * config/rs6000/rs6000.c (init_cumulative_args): Set call_cookie from rs6000_default_long_calls for libcalls. From-SVN: r91362
Alan Modra committed -
* expmed.c (extract_bit_field): When extracting from non-integer mode, force a SUBREG into a register because we may be taking a further SUBREG of it. From-SVN: r91361
Richard Kenner committed -
[[Split portion of a mixed commit.]] From-SVN: r91358.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r91357.2
GCC Administrator committed
-
- 26 Nov, 2004 27 commits
-
-
From-SVN: r91355
Di-an Jan committed -
2004-11-26 Mark Mitchell <mark@codesourcery.com> * g++.old-deja/g++.eh/badalloc1.C: Robustify. From-SVN: r91352
Mark Mitchell committed -
2004-11-26 Mark Mitchell <mark@codesourcery.com> * inclhack.def (gnu_types): Do not use on Solaris 2.1x. (stdio_va_list): Likewise. (stdio_stdarg.h): Likewise. (solaris_stdio_tag): Add bypass. * fixincl.x: Regenerated. From-SVN: r91351
Mark Mitchell committed -
* config/i386/linux.h: Define REG_NAME to allow overriding of register names in sc structure. * config/i386/linux-unwind.h: Refer to sc->REG_NAME(reg) instead of sc->reg. * config.gcc: Detect x86_64-k*bsd-gnu systems. From-SVN: r91350
Robert Millan committed -
2004-11-26 Paolo Carlini <pcarlini@suse.de> DR 243. get and getline when sentry reports failure [WP] * include/bits/istream.tcc (istream<>::get, istream<>::getline): Store a null character only if the array has a non-zero size. * src/istream.cc (istream<char>::getline, istream<wchar_t>::getline): Likewise. * testsuite/27_io/basic_istream/get/char/3.cc: New. * testsuite/27_io/basic_istream/getline/char/6.cc: New. * testsuite/27_io/basic_istream/getline/wchar_t/6.cc: New. * docs/html/ext/howto.html: Add an entry for DR 243. * testsuite/27_io/basic_istream/getline/wchar_t/1.cc: New. * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: New. * testsuite/27_io/basic_istream/getline/wchar_t/3.cc: New. * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: New. * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: New. From-SVN: r91348
Paolo Carlini committed -
tree-ssa.c (verify_flow_sensitive_alias_info): Don't retrieve annotations or pointer info before it's necessary. * tree-ssa.c (verify_flow_sensitive_alias_info): Don't retrieve annotations or pointer info before it's necessary. Reorder tests for early continue of the loop. Manually CSE SSA_NAME_VAR. From-SVN: r91347
Jeff Law committed -
* target.h (struct gcc_target): New field 'dwarf_handle_frame_unspec'. * target_def.h (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Define to 0. (TARGET_INITIALIZER): Add TARGET_DWARF_HANDLE_FRAME_UNSPEC. * dwarf2out.c (dwarf2out_frame_debug_expr): Allow REG->REG move to a fixed reg if the source is the Return Address register. Implement new Rule 15. * doc/tm.texi (Frame Layout): Document TARGET_DWARF_HANDLE_FRAME_UNSPEC. * config/sparc/sparc.c (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Define to sparc_dwarf_handle_frame_unspec. (gen_save_register_window): New function. (emit_stack_pointer_increment): Rename into gen_stack_pointer_inc. (emit_stack_pointer_decrement): Rename into gen_stack_pointer_dec. (expand_prologue): Adjust calls to emit_stack_pointer_{in,de}crement. Set RTX_FRAME_RELATED_P on the appropriate insns and members of insns. (sparc_asm_function_prologue): Do not emit call frame debugging info. (emit_and_preserve): Adjust calls to emit_stack_pointer_{in,de}crement. (sparc_expand_epilogue): Likewise. (sparc_dwarf_handle_frame_unspec): New function. * config/sparc/sparc.md (save_register_window): Remove. (save_register_windowdi): Rewrite modelled on the callframe debug info. (save_register_windowsi): Likewise. From-SVN: r91346
Eric Botcazou committed -
* config/frv/frv-protos.h: Guard ifcvt functions declarations with BB_HEAD, not BLOCK_HEAD. From-SVN: r91345
Alexandre Oliva committed -
frv.c (frv_ifcvt_modify_insn): Don't leave alone scratch insns that set a register live at the join point. * config/frv/frv.c (frv_ifcvt_modify_insn): Don't leave alone scratch insns that set a register live at the join point. From-SVN: r91344
Alexandre Oliva committed -
2004-11-26 Andrew Pinski <pinskia@physics.uc.edu> PR java/18305 * decl.c (end_java_method): Call attach_init_test_initialization_flags on all the init_decls. * parse.y (attach_init_test_initialization_flags): Move to ... * expr.c (attach_init_test_initialization_flags): here and support BIND_EXPR also. * java-tree.h (attach_init_test_initialization_flags): Prototype. * jcf-parse.c (parse_class_file): Don't disable class init optimization. From-SVN: r91343
Andrew Pinski committed -
Friend class name lookup 4/n * class.c (pushclass): Don't call cxx_remember_type_decls. * cp-tree.h (clear_anon_tags): Remove declaration. * decl.c (grokdeclarator): Don't call lookup_tag_reverse. * name-lookup.c (binding_entry_free, binding_table_free): Comment out functions. (binding_table_find_anon_type, binding_table_reverse_maybe_remap, binding_table_remove_anonymous_types, cxx_remember_type_decls, bt_print_entry, clear_anon_tags, follow_tag_typedef, lookup_tag, lookup_tag_reverse): Remove (begin_scope, leave_scope, kept_level_p, print_binding_level): Don't use type_decls field in cp_binding_level. (maybe_process_template_type_declaration, pushtag): Set CLASSTYPE_NESTED_UTDS directly. * name-lookup.h (binding_table_remove_anonymous_types, cxx_remember_type_decls, lookup_tag, lookup_tag_reverse): Remove declaration. (cp_binding_level): Remove type_decls field. From-SVN: r91342
Kriang Lerdsuwanakij committed -
From-SVN: r91341
Kazu Hirata committed -
From-SVN: r91340
Kazu Hirata committed -
From-SVN: r91339
Kazu Hirata committed -
2004-11-26 James A. Morrison <phython@gcc.gnu.org> PR target/18510 * doc/extend.texi (SPARC VIS Built-in Functions): New section. From-SVN: r91338
James A. Morrison committed -
From-SVN: r91337
Richard Sandiford committed -
From-SVN: r91336
Richard Sandiford committed -
* bitmap.c (bitmap_find_bit): Speed up by traversing from head->first if that seems profitable. From-SVN: r91335
Kazu Hirata committed -
cfgrtl.c (try_redirect_by_replacing_jump): Speed up the check that tests if all edges go to the same destination. * cfgrtl.c (try_redirect_by_replacing_jump): Speed up the check that tests if all edges go to the same destination. From-SVN: r91334
Kazu Hirata committed -
* timevar.def (TV_TREE_LOOP_INIT, TV_TREE_LOOP_FINI): New timevars. * tree-ssa-loop.c (pass_loop_init): Use TV_TREE_LOOP_INIT. (pass_loop_done): Use TV_TREE_LOOP_FINI. From-SVN: r91333
Jeff Law committed -
* gcc.dg/cpp/isysroot-2.c: Move target selector from dg-options to dg-do directive. From-SVN: r91332
Ben Elliston committed -
From-SVN: r91331
Ben Elliston committed -
2004-11-26 Bryce McKinlay <mckinlay@redhat.com> Fix "PACKAGE_NAME redefined" errors. * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h and include/gc_config.h. * configure: Regenerated. * include/gc_config.h.in: No longer auto-generated. Define only the macros needed by libjava. * include/config.h.in: Generated by autoheader. * include/gc.h: Include config.h, not gc_config.h. From-SVN: r91330
Bryce McKinlay committed -
From-SVN: r91326
Alan Modra committed -
PR rtl-optimization/16356 * config/rs6000/rs6000.md (floatdisf2_internal2): Rewrite with separate output register and one less jump. Enable for powerpc64. (floatdisf2): Adjust for above. From-SVN: r91324
Alan Modra committed -
* config/xtensa/xtensa.h (STARTFILE_SPEC): Add crt0. (GCC_DRIVER_HOST_INITIALIZATION): Define. From-SVN: r91323
Bob Wilson committed -
2004-11-25 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17957 * testsuite/gcc.dg/pr17957.c: New test. 2004-11-25 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17957 * tree-complex.c (vector_inner_type): New variable moved from build_word_mode_vector_type. (vector_last_type): Likewise. (vector_last_nunits): Likewise. (build_word_mode_vector_type): Use the new variables. * Makefile.in (tree-complex.o): Add gt-tree-complex.h $(GGC_H). (GTFILES): Add tree-complex.c. (gt-tree-complex.h): New rule, add it to the rest of the gt-* rules. From-SVN: r91322
Andrew Pinski committed
-