- 15 Jun, 2002 15 commits
-
-
From-SVN: r54650
Hans-Peter Nilsson committed -
* Object.m: Fix signed/unsigned warning. * Protocol.m: Likewise. * archive.c: Always include stdlib.h. (objc_read_short, objc_read_unsigned_short, objc_read_int, objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong): Fix signed/unsigned warning. (objc_write_type, objc_read_type, objc_write_types, objc_read_types): Ensure ctype 8-bit safety. (__objc_no_write, __objc_no_read): Mark unused parameters. * class.c (class_table_setup): Specify void arg. * encoding.c (atoi, objc_sizeof_type, objc_alignof_type, objc_skip_typespec, objc_skip_offset, objc_layout_structure_next_member): Ensure ctype 8-bit safety. (objc_layout_structure_next_member): Ensure variables are initialized. * gc.c (__objc_generate_gc_type_description, class_ivar_set_gcinvisible): Mark unused parameters. * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark unused parameters. (__objc_init_protocols) Fix signed/unsigned warning. * nil_method.c (nil_method): Mark unused parameters. * thr.h (objc_thread_callback): Specify void arg. * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix signed/unsigned warning. (sarray_free): Fix formatting. * selector.c (sel_types_match): Ensure ctype 8-bit safety. * sendmsg.c (__objc_init_install_dtable) Mark unused parameters. From-SVN: r54649
Kaveh R. Ghazi committed -
* Makefile.in (tm_defines): New configuration variable. (cs-config.h, cs-hconfig.h, cs-tconfig.h): Rename DEFINES to XM_DEFINES. Pass tm_defines in TM_DEFINES. (cs-tm_p.h): Rename DEFINES to XM_DEFINES. Pass TM_DEFINES. * config.gcc (tm_defines): New configuration variable. (hppa*-*-* | parisc*-*-*): Use tm_defines instead of pa-700.h and pa-7100.h headers. Change hppa1* scheduling default to 7100LC. * configure.in: Substitute tm_defines. * configure: Rebuilt. * mkconfig.sh: Rename DEFINES to XM_DEFINES. Output TM_DEFINES. * doc/install.texi: Update. * pa/pa-700.h: Delete file. * pa/pa-7100.h: Delete file. From-SVN: r54648
John David Anglin committed -
fold-const.c (comparison_to_compcode): New function to convert an comparison TREE CODE into a bit-based representation. * fold-const.c (comparison_to_compcode): New function to convert an comparison TREE CODE into a bit-based representation. (compcode_to_comparison): New function to convert from this bit based representation back to a comparison TREE CODE. (fold_truthop): Simplify (x<y) && (x==y) and related composite comparisons. * gcc.c-tortuture/execute/compare-1.c: New test case. * gcc.c-tortuture/execute/compare-2.c: New test case. * gcc.c-tortuture/execute/compare-3.c: New test case. From-SVN: r54647
Roger Sayle committed -
* cp-tree.h (compiler_error): Remove declaration. * lex.c (compiler_error): Remove definition. From-SVN: r54644
Gabriel Dos Reis committed -
2002-06-15 Aldy Hernandez <aldyh@redhat.com> * tm.texi (MEMBER_TYPE_FORCES_BLK): Document MODE argument. * stor-layout.c (compute_record_mode): Remove check for FUNCTION_ARG_REG_LITTLE_ENDIAN and VOIDmode when checking for MEMBER_TYPE_FORCES_BLK. Pass new mode field to MEMBER_TYPE_FORCES_BLK. * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Same. * config/c4x/c4x.h (MEMBER_TYPE_FORCES_BLK): Same. From-SVN: r54643
Aldy Hernandez committed -
From-SVN: r54642
GCC Administrator committed -
From-SVN: r54637
Jeff Sturm committed -
configure.in (USE_UNWIND_EXCEPTIONS): Add support to set USE_UNWIND_EXCEPTIONS if --enable-libunwind-exceptions is set. * configure.in (USE_UNWIND_EXCEPTIONS): Add support to set USE_UNWIND_EXCEPTIONS if --enable-libunwind-exceptions is set. * configure, config.in: Regenerate. * g++spec.c (LIBUNWIND): New. (lang_specific_driver): Add it if USE_UNWIND_EXCEPTIONS is set. From-SVN: r54636
Steve Ellcey committed -
* loop.c (check_final_value): Use v->always_executed instead of v->always_computable. * unroll.c (final_giv_value): Don't calculate the final value as a function of the biv if the giv is not computed for every loop iteration. From-SVN: r54634
Eric Botcazou committed -
From-SVN: r54633
Eric Botcazou committed -
From-SVN: r54630
Richard Henderson committed -
From-SVN: r54629
Richard Henderson committed -
* convert.c (convert_to_integer) [LSHIFT_EXPR]: Don't pass the truncation down when the target type is signed. [trunc1]: Use unsigned arithmetic for LSHIFT_EXPR. * fold-const.c (extract_muldiv) [NOP_EXPR]: Don't pass through the conversion if the target type is a smaller type. From-SVN: r54627
Eric Botcazou committed -
* fold-const.c (fold) [compare ops]: Move X>=C / X<C transfomation earlier. Re-factor comparisons vs extrema. From-SVN: r54626
Richard Henderson committed
-
- 14 Jun, 2002 14 commits
-
-
From-SVN: r54625
Richard Henderson committed -
2002-06-12 Eric Christopher <echristo@redhat.com> * config/mips/mips.md (prefetch, prefetch_di, prefetch_si): New patterns. * config/mips/mips.h (RTX_COSTS): Fix formatting. From-SVN: r54623
Eric Christopher committed -
2002-06-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * rtl.h (SCHED_GROUP_P): Disallow CODE_LABEL, BARRIER and NOTE. * sched-deps.c (add_dependence): Likewise. (group_leader): Likewise. * sched-rgn.c (init_ready_list): Likewise. * doc/rtl.texi: Adjust accordingly. From-SVN: r54622
Franz Sirl committed -
2002-06-14 J.T. Conklin <jtc@acorntoolworks.com> * configure.in (target_alias): Fix. * configure: Regenerate. * aclocal.m4: Regenerate. From-SVN: r54618
J.T. Conklin committed -
* gcse.c (delete_null_pointer_checks_1): Inform caller if any null pointer checks were eliminated. Update prototype. (delete_null_pointer_checks): Similarly. * rtl.h (delete_null_pointer_checks): Update prototype. * toplev.c (rest_of_compilation): Only run cleanup_cfg if delete_null_pointer_checks deletes one or more null pointer checks. Do not run cleanup_cfg before gcse, the CFG is accurate and optimized at that point.. From-SVN: r54617
Jeff Law committed -
* rs6000.c (rs6000_frame_related): Avoid unwanted sharing of hard registers. From-SVN: r54615
Jeff Law committed -
From-SVN: r54614
Ulrich Weigand committed -
From-SVN: r54613
J"orn Rennecke committed -
Fri Jun 14 12:04:02 2002 Dhananjay R. Deshpande <dhananjayd@kpit.com> * sh.h: Define HARD_REGNO_RENAME_OK * sh.c: sh_hard_regno_rename_ok: New. If current function has interrupt_handler attribute, only registers saved on stack are OK. * sh-protos.h: Declare sh_hard_regno_rename_ok. From-SVN: r54612
Dhananjay R. Deshpande committed -
* config/sh/sh.md (jump): Emit jump insn. (call_pcrel): Get pattern of the result of gen_call_site. (call_value_pcrel, sibcall_pcrel, GOTaddr2picreg): Likewise. From-SVN: r54611
Kaz Kojima committed -
From-SVN: r54610
GCC Administrator committed -
* cpphash.h (struct cpp_buffer): Remove saved_line_base. * cpptrad.c: Update comments. (skip_whitespace, copy_comment): Take a new parameter. (skip_escaped_newlines): Don't duplicate escaped newline test. (copy_comment): Different location for CUR, decide here how to copy / replace the comment. (skip_whitespace): Copy whitespace. (_cpp_overlay_buffer, _cpp_remove_overlay): Don't play with line_base. (scan_out_logical_line): Let copy comment handle keeping or replacing comments. (scan_parameters, _cpp_create_trad_definition): Update. From-SVN: r54605
Neil Booth committed -
From-SVN: r54604
Alan Lehotsky committed -
* defaults.h (TARGET_VTABLE_ENTRY_ALIGN): New. (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New. * doc/tm.texi: Document them. * config/ia64/ia64.h (TARGET_VTABLE_ENTRY_ALIGN): New. (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New. (TARGET_VTABLE_USES_DESCRIPTORS): 4 word descriptors for 32-bit mode. (ASM_OUTPUT_FDESC): Likewise. * class.c (build_vtable): Use TARGET_VTABLE_ENTRY_ALIGN. (build_vtbl_initializer): Honor TARGET_VTABLE_DATA_ENTRY_DISTANCE. (build_vbase_offset_vtbl_entries): Likewise. * rtti.c (build_headof): Likewise. (get_tinfo_decl_dynamic): Likewise. (create_pseudo_type_info): Likewise. * g++.old-deja/g++.abi/vtable2.C (INC_VDATA): New. Define for ia64 ilp32. From-SVN: r54603
Richard Henderson committed
-
- 13 Jun, 2002 11 commits
-
-
2002-06-13 Eric Christopher <echristo@redhat.com> * diagnostic.c (output_format): Fix thinko. From-SVN: r54602
Eric Christopher committed -
* config/sh/coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Don't define. (DWARF2_UNWIND_INFO): Define to 0. From-SVN: r54601
J"orn Rennecke committed -
* config/sh/sh.c (calc_live_regs): Don't use initial_value optimization for PR_MEDIA_REG. From-SVN: r54600
J"orn Rennecke committed -
* cpphash.h (_cpp_lex_identifier_trad): Remove. * cpplib.c (end_directive): Don't skip, always remove overlay apart from #define. (prepare_directive_trad): Handle NULL pfile->directive. (_cpp_handle_directive): Always call prepare_directive_trad if traditional. * cppmain.c (check_multiline_token): Rename account_for_newlines, generalize inputs. (scan_translation_unit_trad): Use it. * cpptrad.c (skip_comment): Rename copy_comment, copy comment to output, get escaped newline in comment close correct. (check_output_buffer, skip_whitespace): Update. (_cpp_lex_identifier_trad): Remove. (scan_out_logical_line): Handle -C and comments in directives properly. From-SVN: r54599
Neil Booth committed -
gcc: * config.gcc: Add support for sh[234]*-*-elf*, sh[2346lbe]*-*-linux*. * config/sh/linux.h (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT. * sh.h (SELECT_SH1, SELECT_SH2, SELECT_SH3, SELECT_SH3E): New macros. (SELECT_SH4_NOFPU, SELECT_SH4_SINGLE_ONLY, SELECT_SH4): Likewise. (SELECT_SH4_SINGLE, SELECT_SH5_64, SELECT_SH5_64_NOFPU): Likewise. (SELECT_SH5_32, SELECT_SH5_32_NOFPU, SELECT_SH5_COMPACT): Likewise. (SELECT_SH5_COMPACT_NOFPU): Likewise. (TARGET_SWITCHES): Use them. (TARGET_CPU_DEFAULT): Define if not already defined. (TARGET_DEFAULT): Use it. (LINK_DEFAULT_CPU_EMUL): Value now depends on TARGET_CPU_DEFAULT. * config/sh/t-linux (MULTILIB_OPTIONS): Use MULTILIB_ENDIAN. * config/sh/t-monolib: New file. bfd: config.bfd: Add support for sh[1234]l*-*-elf* | sh3el*-*-elf*, sh[1234]*-elf*. ld: * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf. Still outstanding: config.sub: * config.sub: Add support for sh[12], sh3e, sh[1234]le, sh3ele, shle, sh[1234]le, sh3ele, sh64le. From-SVN: r54598
J"orn Rennecke committed -
* java/lang/natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. * java/lang/String.java (String(char[],int,int,boolean): New constructor. * java/lang/Long.java: Imported new version from Classpath. * java/lang/Number.java: Likewise. * java/lang/Integer.java: Likewise. * java/lang/Long.java: Likewise. * java/lang/Float.java: Likewise. * java/lang/Boolean.java: Likewise. * java/lang/Double.java: Likewise. * java/lang/Void.java: Likewise. From-SVN: r54595
Tom Tromey committed -
* lib/libjava.exp (test_libjava): Fixed typo. * libjava.compile/PR6865.xfail: New file. From-SVN: r54594
Tom Tromey committed -
toplev.c (rest_of_compilation): Simplify (and correct) the logic of the first delete-null-pointer-checks pass. * toplev.c (rest_of_compilation): Simplify (and correct) the logic of the first delete-null-pointer-checks pass. From-SVN: r54593
Roger Sayle committed -
2002-06-13 Akim Demaille <akim@epita.fr> * parse.y (class_declaration, interface_declaration): Make sure all their rules have an action, in order to avoid meaningless `$$ = $1' and their type clashes. From-SVN: r54592
Akim Demaille committed -
From-SVN: r54590
Jan Hubicka committed -
From-SVN: r54589
Jan Hubicka committed
-