- 28 Feb, 2004 17 commits
-
-
* genattr.c (main): Don't define TRADITIONAL_PIPELINE_INTERFACE or DFA_PIPELINE_INTERFACE. * system.h (TRADITIONAL_PIPELINE_INTERFACE): Poison. (DFA_PIPELINE_INTERFACE): Likewise. * doc/tm.texi (TRADITIONAL_PIPELINE_INTERFACE): Remove. (DFA_PIPELINE_INTERFACE): Likewise. From-SVN: r78628
Kazu Hirata committed -
* java/io/ObjectInputStream.java (readClassDescriptor): Keep elements of the mapping non null. (checkTypeConsistency): New method. (readFields): Fixed main loop and base logic. Small reindentation. * java/io/ObjectStreamField.java (lookupField): New method to update the field reference. (checkFieldType): New method. * java/io/ObjectStreamClass.java (setClass, setFields): Call lookupField when building the field database. Check the real field type. From-SVN: r78627
Guilhem Lavaux committed -
* java/nio/ByteOrder.java (nativeOrder): Use equals() to compare strings. From-SVN: r78626
Michael Koch committed -
2004-02-28 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (num_get<>::_M_extract_float): According to 22.2.3.1, p2, 'units' may be followed by 'e' with no 'decimal-point' in the middle: in this case too we must fix up __found_grouping; slightly tweak. * testsuite/22_locale/num_get/get/char/14.cc: New. * testsuite/22_locale/num_get/get/wchar_t/14.cc: New. From-SVN: r78625
Paolo Carlini committed -
From-SVN: r78624
Richard Sandiford committed -
* config/mips/mips.c (override_options): Remove an obsolete duplicate definition of the "e" constraint. * config/mips/mips.h: Update a comment accordingly. From-SVN: r78623
Maciej W. Rozycki committed -
* config/mips/mips.md: Complete the unfinished R4000 multiply/shift errata workaround. Improve documentation. (hazard): Use TARGET_FIX_R4000 to decide whether an "imul" instruction has a hilo hazard. (mulsi3, mulsi3_internal, mulsi3_r4000): Use TARGET_FIX_R4000. (muldi3, muldi3_internal): Likewise. (muldi3_internal2): Remove, replacing with... (muldi3_mult3, muldi3_r4000): ...these new patterns. (mulsidi3): Take the errata into account. (mulsidi3_32bit): Remove, replacing with... (mulsidi3_32bit_internal, mulsidi3_32bit_r4000): ...these new patterns. (mulsidi3_64bit, mulsidi3_64bit_parts): Disable if TARGET_FIX_R4000. (umulsidi3): Take the errata into account. (umulsidi3_32bit): Remove, replacing with.. (umulsidi3_32bit_internal, umulsidi3_32bit_r4000): ...these patterns. (umulsi3_highpart, umulsi3_highpart_internal): Disable if TARGET_FIX_R4000. (smulsi3_highpart, smulsi3_highpart_internal): Likewise. (smuldi3_highpart, umuldi3_highpart): Likewise. * doc/invoke.texi: Document the errata workaround. From-SVN: r78622
Maciej W. Rozycki committed -
* config/mips/mips-protos.h (mips_idiv_insns): Declare. * config/mips/mips.h (MASK_FIX_SB1): Bump. (MASK_FIX_R4000, TARGET_FIX_R4000): New macros. (TARGET_SWITCHES): Add -mfix-r4000 and -mno-fix-r4000. * config/mips/mips.c (mips_idiv_insns): New function. (override_options): Make -march=r4000 imply -mfix-r4000 by default. (mips_output_division): Add a workaround for the R4000 divide/shift errata. * config/mips/mips.md (length): Use mips_idiv_insns() to calculate the length of an "idiv" instruction. * doc/invoke.texi: Document the new switches. From-SVN: r78621
Maciej W. Rozycki committed -
* doc/tm.texi (IS_COSTLY_DEPENDENCE): Change to TARGET_SCHED_IS_COSTLY_DEPENDENCE. From-SVN: r78620
Kazu Hirata committed -
PR optimization/14229 * cfgrtl.c (rtl_tidy_fallthru_edge): Do not fail for !onlyjump jump. From-SVN: r78605
Zdenek Dvorak committed -
* lib/g++.exp (g++_link_flags): Don't crash if LD_LIBRARY_PATH is not defined. From-SVN: r78604
Richard Earnshaw committed -
* fold-const.c (fold): Strip NOPs that change the signedness for RSHIFT too. Expand comment. From-SVN: r78603
Eric Botcazou committed -
PR optimization/7871 * flow.c (mark_set_1): Don't add LOG_LINKS for global registers from or to call insns. (propagate_one_insn): Interpret calls as setting global registers, not merely clobbering them. From-SVN: r78601
Ian Lance Taylor committed -
From-SVN: r78598
Per Bothner committed -
parse.y (build_assertion): Re-do 02-25 change following Jeff Sturm suggestion: Use build_incomplete_class_ref. * parse.y (build_assertion): Re-do 02-25 change following Jeff Sturm suggestion: Use build_incomplete_class_ref. From-SVN: r78597
Per Bothner committed -
2004-02-27 Eric Christopher <echristo@redhat.com> * g++.dg/charset/charset.exp: Change CFLAGS to CHARSETCFLAGS. * g++.dg/charset/asm2.c: Run only x86. * gcc.dg/charset/asm3.c: Ditto. From-SVN: r78596
Eric Christopher committed -
From-SVN: r78593
GCC Administrator committed
-
- 27 Feb, 2004 23 commits
-
-
2004-02-27 Dale Johannesen <dalej@apple.com> * config/darwin.c (machopic_output_possible_stub_label): Remove. config/darwin-protos.h: Ditto. config/darwin.h: Remove call to it. * combine.c (distribute_notes): Do not place a REG_DEAD note when value is both set and used. From-SVN: r78590
Dale Johannesen committed -
* config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300 as well. * config/h8300/lib1funcs.asm (___fixunssfsi): Remove. * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm. From-SVN: r78588
Kazu Hirata committed -
c-typeck.c (tagged_types_tu_compatible_p): Speedup common case of the type values being in the same order. * c-typeck.c (tagged_types_tu_compatible_p) <ENUMERAL_TYPE>: Speedup common case of the type values being in the same order. From-SVN: r78585
Andrew Pinski committed -
2004-02-27 Eric Christopher <echristo@redhat.com> Phil Edwards <phil@codesourcery.com> * testsuite/22_locale/collate/compare/wchar_t/2.cc, testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc, testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc, testsuite/22_locale/collate/hash/wchar_t/2.cc, testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc, testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc, testsuite/22_locale/collate/transform/wchar_t/2.cc, testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc, testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: Use dg-require-iconv. * testsuite/lib/libstdc++.exp: Load target-supports.exp. From-SVN: r78582
Eric Christopher committed -
2004-02-27 Aldy Hernandez <aldyh@redhat.com> * lib/g++.exp (g++_link_flags): Append LD_LIBRARY_PATH to ld_library_path. From-SVN: r78581
Aldy Hernandez committed -
2004-02-27 Phil Edwards <phil@codesourcery.com> * testsuite/config/default.exp: Update with comments. (${tool}_target_compile): New wrapper routine. * testsuite/lib/dg-options.exp: New file, with dg-require-iconv. * testsuite/lib/libstdc++.exp: Update with comments and cosmetic fixes. (load_gcc_lib, v3track): New routines. (v3-init): Rename to libstdc++_init. * testsuite/libstdc++-dg/normal.exp: No longer call v3-init. Move DEFAULT_CXXFLAGS handling into libstdc++_init. From-SVN: r78580
Phil Edwards committed -
[gcc/cp/ChangeLog] 2004-02-27 Ziemowit Laski <zlaski@apple.com> * tree.c (pod_type_p): Treat VECTOR_TYPEs as PODs. [gcc/testsuite/ChangeLog] 2004-02-27 Ziemowit Laski <zlaski@apple.com> * g++.dg/ext/altivec-3.C: New. From-SVN: r78578
Ziemowit Laski committed -
2004-02-27 Benjamin Kosnik <bkoz@redhat.com> * config/cpu/hppa/atomicity.h: Include c++config.h to get defines. * src/misc-inst.cc (_S_atomicity_lock): Move to __gnu_cxx. * config/os/irix/irix5.2/atomicity.h: Merge.. * config/os/irix/irix6.5/atomicity.h: Merge.. * config/os/irix/atomicity.h: ...into this. * config/os/irix/atomic_word.h: New. * configure.host: Set atomic_word_dir for irix. * hppa/atomicity.h: Change __Atomicity_lock to _Atomicity_lock. * i386/atomicity.h: Same. * m68k/atomicity.h: Same. * sparc/atomicity.h: Same. From-SVN: r78577
Benjamin Kosnik committed -
* config/os/aix/atomicity.h: Use __gnu_cxx namespace. Remove static, and inline keyworks. From-SVN: r78574
David Edelsohn committed -
* config/ia64/ia64.h (no-inline-float-divide): New option. * config/ia64/ia64.h (no-inline-int-divide): New option. * config/ia64/ia64.h (no-inline-sqrt): New option. (TARGET_DEFAULT): Add MASK_INLINE_FLOAT_DIV_THR to define. * config/ia64/hpux.h (TARGET_DEFAULT): Ditto. * config/ia64/ia64.c (ia64_override_options): Modify error checking for inlined division/sqrt. From-SVN: r78569
Steve Ellcey committed -
gcc/ * bb-reorder.c, cfgbuild.c, diagnostic.c, explow.c, profile.c, ra-build.c, read-rtl.c, tracer.c, unwind-dw2-fde-glibc.c, value-prof.c, config/darwin-protos.h, config/frv/frv-abi.h, config/i386/pmmintrin.h, config/pa/pa-hpux.h: Update copyright. gcc/java/ * java/parse.h: Update copyright. From-SVN: r78566
Kazu Hirata committed -
locale_facets.tcc (num_get<>::_M_extract_float, [...]): If appropriate, call reserve on the __tmp_gruping string. 2004-02-27 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (num_get<>::_M_extract_float, num_get<>::_M_extract_int, money_get<>::_M_extract): If appropriate, call reserve on the __tmp_gruping string. (num_get<>::_M_extract_float): Don't append unnecessarily a char() to the returned string. * include/bits/locale_facets.tcc: Trivial reformattings. From-SVN: r78565
Paolo Carlini committed -
From-SVN: r78563
Paul Brook committed -
2004-02-27 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.h (money_get<>::_M_extract): Change signature: now takes a plain string&. * include/bits/locale_facets.tcc (money_get<>::_M_extract): Update consistently the definition; use the moneypunct cache to parse the value; use swap to change __units. (money_get<>::do_get(long double&)): Update call of _M_extract, avoid ctype::narrow, not correct wrt the standard. (money_get<>::do_get(string_type&)): Likewise, update call of _M_extract, use ctype::widen. * src/locale-inst.cc: Tweak instantiations of _M_extract. From-SVN: r78562
Paolo Carlini committed -
* passes.c: New file. * Makefile.in (OBJS-common): Add it. * diagnostic.c (rtl_dump_and_exit): Move decl ... * flags.h (rtl_dump_and_exit): ... here. * output.h (size_directive_output, last_assemble_variable_decl): Move from toplev.c. * rtl.h (reg_alloc): Move from toplev.c. * toplev.c (HAVE_conditional_execution, DUMPFILE_FORMAT, struct dump_file_info, enum dump_file_index, dump_file_tbl, open_dump_file, close_dump_file, rest_of_decl_compilation, rest_of_type_compilation, rest_of_handle_final, rest_of_handle_delay_slots, rest_of_handle_stack_regs, rest_of_handle_variable_tracking, rest_of_handle_machine_reorg, rest_of_handle_new_regalloc, rest_of_handle_old_regalloc, rest_of_handle_regrename, rest_of_handle_reorder_blocks, rest_of_handle_sched, rest_of_handle_sched2, rest_of_handle_regmove, rest_of_handle_tracer, rest_of_handle_if_conversion, rest_of_handle_if_after_combine, rest_of_handle_web, rest_of_handle_branch_prob, rest_of_handle_value_profile_transformations, rest_of_handle_cfg, rest_of_handle_addressof, rest_of_handle_sibling_calls, rest_of_handle_jump_bypass, rest_of_handle_inlining, rest_of_handle_null_pointer, rest_of_handle_combine, rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2, rest_of_handle_gcse, rest_of_handle_loop_optimize, rest_of_handle_loop2, rest_of_compilation): Move to passes.c. (decode_d_option): Use enable_rtl_dump_file. (compile_file, finalize, do_compile): Move profile+combine+graph cleanup to finish_optimization_passes. * toplev.h (init_optimization_passes, finish_optimization_passes, enable_rtl_dump_file): Declare. From-SVN: r78561
Richard Henderson committed -
* g++.dg/ext/attrib10.C: Mark for warning. * gcc.dg/attr-alias-1.c: New. From-SVN: r78560
Richard Henderson committed -
* fold-const.c (fold): Revert 2004-02-25 change. Use the original operands to build a tree with swapped operands. * expr.c (expand_expr_real) <MAX_EXPR>: Consistently use the 'unsignedp' predicate to specify the signedness. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r78558
Eric Botcazou committed -
* gcc.c-torture/execute/ieee/20040208-2.c: Move ... * gcc.c-torture/execute/20040208-2.c: ... it back. From-SVN: r78556
Richard Henderson committed -
* c-decl.c, c-ppoutput.c, combine.c, cppfiles.c, dwarf2out.c, expr.c, fold-const.c, gcc.c, haifa-sched.c, loop-iv.c, params.def, read-rtl.c, rtl.c, rtlanal.c, toplev.c: Fix comment typos and formatting. Follow spelling conventions. From-SVN: r78555
Kazu Hirata committed -
2004-02-26 Ian Lance Taylor <ian@wasabisystems.com> * testsuite/demangle/abi_examples/01.cc: Expect error -2. * testsuite/demangle/abi_examples/02.cc: Likewise. * testsuite/demangle/regression/cw-11.cc: Likewise. * testsuite/demangle/regression/cw-16.cc: Change two expected results to match libiberty demangler output. 2004-02-26 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/10246 * libsupc++/Makefile.am: Use libiberty demangler. (c_sources): Add cp-demangle.c. * libsupc++/Makefile.in: Regenerate. * src/Makefile.am (sources): Remove demangle.cc. * src/Makefile.in: Regenerate. * include/Makefile.am (bits_headers): Move demangle.h. (ext_headers): ...here. * include/Makefile.in: Regenerate. * include/bits/demangle.h: Move... * include/ext/demangle.h: ...here. * src/demangle.cc: Remove. 2004-02-26 Benjamin Kosnik <bkoz@redhat.com> * include/bits/demangle.h: Add type template parameter to all templates with just an Allocator template parameter. From-SVN: r78553
Benjamin Kosnik committed -
2004-02-26 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.md: Add fixuns_truncsfsi2 and fix_truncsfsi2. * config/rs6000/spe.md: Delete spe_efsctuiz. Add spe_fixuns_truncsfsi2. Add spe_fix_truncsfsi2. [[Split portion of a mixed commit.]] From-SVN: r78549.2
Aldy Hernandez committed -
2004-02-26 Eric Christopher <echristo@redhat.com> * lib/target-supports.exp (check-iconv-available): New function. * lib/gcc-dg.exp (dg-require-iconv): New function. Use above. * gcc.dg/charset: New directory. * gcc.dg/charset/charset.exp: New file. * gcc.dg/charset/asm1.c: Ditto. * gcc.dg/charset/asm2.c: Ditto. * gcc.dg/charset/asm3.c: Ditto. * gcc.dg/charset/asm4.c: Ditto. * gcc.dg/charset/asm5.c: Ditto. * gcc.dg/charset/attribute1.c: Ditto. * gcc.dg/charset/attribute2.c: Ditto. * gcc.dg/charset/string1.c: Ditto. * g++.dg/charset: New directory. * g++.dg/dg.exp: Add here. Special options. * g++.dg/charset/charset.exp: New file. * g++.dg/charset/asm1.c: Ditto. * g++.dg/charset/asm2.c: Ditto. * g++.dg/charset/asm3.c: Ditto. * g++.dg/charset/asm4.c: Ditto. * g++.dg/charset/attribute1.c: Ditto. * g++.dg/charset/attribute2.c: Ditto. * g++.dg/charset/extern1.cc: Ditto. * g++.dg/charset/extern2.cc: Ditto. * g++.dg/charset/string1.c: Ditto. 2004-02-26 Eric Christopher <echristo@redhat.com> * c-lex.c (c_lex_string_translate): New variable. (lex_string): Use to determine string translation. * c-pragma.h: Prototype. * c-parse.in (start_string_translation): New. Set above. (stop_string_translation): Ditto. (attribute, attribute_list, asm_def, asm_stmt, asm_operand): Use above functions. * cp/parser.c (cp_parser_declaration): Translate strings unless token is RID_EXTERN. Set c_lex_string_translate for recursive use. (cp_parser_asm_definition): Only translate argument strings to asms. (cp_parser_asm_operand_list): Ditto. (cp_parser_attribute_list): Do not translate attribute strings. From-SVN: r78548
Eric Christopher committed -
* ltconfig, ltmain.sh: Remove unused files. * configure.in: Remove bogus extra early invocation of AC_CONFIG_AUX_DIR. * configure: Regenerate. * mkinstalldirs, install-sh, config.sub, config.guess: Remove (now) unused files. * Makefile.in: Regenerate (losing references to vanished files). From-SVN: r78545
Nathanael Nerode committed
-