- 04 Sep, 2007 11 commits
-
-
Co-Authored-By: R. Clint Whaley <whaley@cs.utsa.edu> Co-Authored-By: Richard Guenther <rguenther@suse.de> From-SVN: r128075
Revital Eres committed -
2007-09-04 Paolo Carlini <pcarlini@suse.de> PR c++/18608 * doc/install.texi (--enable-__cxa_atexit): Fix typo. From-SVN: r128074
Paolo Carlini committed -
* regrename.c (build_def_use): Don't share RTL between MATCH_OPERATOR and corresponding MATCH_DUP. * regrename.c(copyprop_hardreg_forward_1): Unshare when doing copyprop. From-SVN: r128073
Jan Hubicka committed -
PR middle-end/33187 * combine.c (subst): Do not try to simplify X if it represents load of FP constant from the constant pool via float extension. testsuite/ChangeLog: PR middle-end/33187 * gcc.target/i386/cmov7.c: New file. From-SVN: r128072
Uros Bizjak committed -
From-SVN: r128071
Ben Elliston committed -
From-SVN: r128070
Ben Elliston committed -
* gcc.target/i386/sse4a-check.h: New file. * gcc.target/i386/sse4a-extract.c: Include sse4a-check.h. Remove main. * gcc.target/i386/sse4a-insert.c: Ditto. * gcc.target/i386/sse4a-montsd.c: Ditto. * gcc.target/i386/sse4a-montss.c: Ditto. * gcc.target/i386/mmx-check.h: New file. * gcc.target/i386/mmx-4.c: Include mmx-check.h. Remove main. * gcc.target/i386/builtin-apply-mmx.c: Ditto. * gcc.target/i386/sse-check.h: New file. * gcc.target/i386/pr13685: Include sse-check.h. Remove main. * gcc.target/i386/sse-3.c: Ditto. * gcc.target/i386/sse-7.c: Ditto. * gcc.target/i386/sse-9.c: Ditto. * gcc.target/i386/ssefn-3.c: Ditto. * gcc.target/i386/sse-recip.c: Ditto. * gcc.target/i386/sse-recip-vec.c: Ditto. * gcc.target/i386/20020523.c: Ditto. Rename from 20020523-2.c. * gcc.target/i386/20020523-1.c: Remove. * gcc.target/i386/sse2-lrint-vec.c: Include sse2-check.h. Remove main. * gcc.target/i386/sse2-lrintf-vec.c: Ditto. * gcc.target/i386/ssefn-4.c: Ditto. * gcc.target/i386/sse-6.c: Ditto. * gcc.target/i386/sse-10.c: Ditto. * gcc.target/i386/sse-11.c: Ditto. * gcc.target/i386/sse-18.c: Ditto. * gcc.target/i386/fpprec-1.c: Ditto. * g++.dg/other/i386-1.C: Ditto. From-SVN: r128069
Uros Bizjak committed -
re PR tree-optimization/33291 (a+=2; a+=2 not simplified to a+=4; with -O3 (ok with gcc-4.2.1)) 2007-09-04 Richard Guenther <rguenther@suse.de> PR tree-optimization/33291 * tree-pretty-print.c (dump_generic_node): Dump all qualifiers for pointer types, not only first. Dump qualifiers for aggregate types as well. * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Always use the canonical type for building ARRAY_REFs. * gimplify.c (canonicalize_addr_expr): Clean up. The correct validness check is compatibility of the pointer types. Always use the canonical type for building ARRAY_REFs and ADDR_EXPRs. * tree-ssa-forwprop.c (forward_propagate_addr_expr): Revert change that disabled propagation of ADDR_EXPRs into statements with volatile ops. * gcc.dg/volatile2.c: New testcase. * gcc.dg/pr32721.c: Adjust volatile reference pattern. * gcc.dg/tree-ssa/forwprop-1.c: Remove xfail. * gcc.dg/tree-ssa/forwprop-2.c: Likewise. * gcc.dg/tree-ssa/pr17141-1.c: Likewise. From-SVN: r128068
Richard Guenther committed -
(umulsi3_highpart): Make into expanders; existing insns are now named *[insn]_nov6. Add stars to existing [insn]_v6 counterparts' names. From-SVN: r128067
Zack Weinberg committed -
(unprotoize.o): Remove SHLIB_MULTILIB. * Make-lang.in (jvspec.o): Remove SHLIB_MULTILIB. * Make-lang.in (g++spec.o): Remove SHLIB_MULTILIB. * Make-lang.in (gfortranspec.o): Remove SHLIB_MULTILIB. From-SVN: r128066
Daniel Jacobowitz committed -
From-SVN: r128064
GCC Administrator committed
-
- 03 Sep, 2007 28 commits
-
-
From-SVN: r128061
Eric Weddington committed -
PR target/28902 * config/avr/avr.h (TARGET_VTABLE_ENTRY_ALIGN): Define. From-SVN: r128059
Anatoly Sokolov committed -
* optabs.c (expand_ffs): Initialize val and defined_at_zero to avoid warnings. From-SVN: r128058
Zack Weinberg committed -
2007-09-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/33253 * io/list_read.c (read_character): Use DELIM_APOSTROPHE and DELIM_QUOTE in check of first character in string. From-SVN: r128057
Jerry DeLisle committed -
2007-09-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/33253 * gfortran.dg/namelist_15.f90: Update test. * gfortran.dg/namelist_24.f90: Update test. * gfortran.dg/namelist_38.f90: New test. From-SVN: r128056
Jerry DeLisle committed -
* Makefile.am: Unify MIPS_IRIX and MIPS_LINUX into MIPS. * configure.ac: Likewise. * Makefile.in: Regenerate. * include/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. * configure: Likewise. From-SVN: r128055
Maciej W. Rozycki committed -
* optabs.c: Remove unnecessary forward declarations. (expand_unop_direct): New, broken out of expand_unop. (expand_doubleword_clz): New. (expand_ctz): Move above expand_ffs. Use start_sequence, end_sequence, add_equal_note, and expand_unop_direct. Add more commentary. (expand_ffs): Try both ctz optab and expand_ctz. Generate a test and branch if the hardware doesn't give us a useful value for input zero. Style improvements similar to expand_ctz. * config/arm/arm.md (ffssi2, ctzsi2): Delete. From-SVN: r128054
Zack Weinberg committed -
2007-09-03 Paolo Carlini <pcarlini@suse.de> PR libstdc++/33293 * include/bits/stl_numeric.h (accumulate, inner_product): Add inline function-specifier. From-SVN: r128053
Paolo Carlini committed -
* config.gcc: Delete stanza for arm-semi-aof and armel-semi-aof targets. * config/arm/arm-protos.h * config/arm/arm.c * config/arm/arm.h: Delete all #ifdef AOF_ASSEMBLER blocks; make all #ifndef AOF_ASSEMBLER blocks unconditional. Also delete aof_pic_label and remove mention of AOF in comments. * config/arm/arm.md: Delete patterns used only for AOF assembly. * config/arm/aof.h * config/arm/semiaof.h * config/arm/t-semi: Delete file. From-SVN: r128052
Zack Weinberg committed -
* system.h (CONST_CAST2, CONST_CAST_TREE, CONST_CAST_RTX, CONST_CAST_BB): New macros for type-specific casts. (CONST_CAST): Add a TYPE parameter and define it in terms of CONST_CAST2. * c-decl.c (c_make_fname_decl): Supply a TYPE for CONST_CAST. * c-lex.c (cb_ident, lex_string): Likewise, * c-typeck.c (free_all_tagged_tu_seen_up_to): Likewise, * config/i386/i386.c (ix86_function_regparm, ix86_function_sseregparm): Use CONST_CAST_TREE. * config/mmix/mmix.c (mmix_encode_section_info): Supply a TYPE for CONST_CAST. * gcc.c (set_spec, read_specs, for_each_path, execute, do_spec_1, give_switch, set_multilib_dir): Likewise, * gengtype-parse.c (string_seq, typedef_name): Likewise, * gimple-low.c (block_may_fallthru): Use CONST_CAST_TREE. * jump.c (reversed_comparison_code_parts): Use CONST_CAST_RTX. * passes.c (execute_one_pass): Supply a TYPE for CONST_CAST. * prefix.c (update_path): Likewise, * pretty-print.c (pp_base_destroy_prefix): Likewise, * rtlanal.c (keep_with_call_p): Use CONST_CAST_RTX. * tree-cfg.c (tree_can_merge_blocks_p, tree_block_ends_with_condjump_p): Use CONST_CAST_BB. * tree-eh.c (lookup_stmt_eh_region_fn): USe CONST_CAST_TREE. * tree.c (build_string): Supply a TYPE for CONST_CAST. (attribute_list_contained): Use CONST_CAST_TREE. cp: * call.c (name_as_c_string): Supply a TYPE for CONST_CAST. * decl.c (cp_make_fname_decl): Likewise, * parser.c (cp_parser_string_literal): Likewise, * tree.c (pod_type_p, zero_init_p): Use CONST_CAST_TREE. * typeck.c (cp_type_quals, cp_type_readonly, cp_has_mutable_p): Likewise, fortran: * gfortranspec.c (lang_specific_driver): Use CONST_CAST2. * options.c (gfc_post_options): Supply a TYPE for CONST_CAST. * parse.c (parse_omp_structured_block): Likewise, * st.c (gfc_free_statement): Likewise, java: * jcf-parse.c (read_class, java_parse_file): Supply a TYPE for CONST_CAST. * jcf.h (JCF_FINISH): Likewise. From-SVN: r128051
Kaveh R. Ghazi committed -
PR fortran/31675 * libgfortran.h: New file. * iso-fortran-env.def: Use macros in the new header instead of hardcoded integer constants. * Make-lang.in (F95_PARSER_OBJS, GFORTRAN_TRANS_DEPS): Add fortran/libgfortran.h. * gfortran.h (GFC_STD_*, GFC_FPE_*, options_convert, ioerror_codes): Remove. * trans.c (ERROR_ALLOCATION): Remove. (gfc_call_malloc, gfc_allocate_with_status, gfc_allocate_array_with_status): Use LIBERROR_ALLOCATION. * trans-types.h (GFC_DTYPE_*): Remove. * trans-decl.c (gfc_generate_function_code): Use GFC_CONVERT_NATIVE instead of CONVERT_NATIVE. * trans-io.c (set_parameter_value, set_parameter_ref): Use LIBERROR_* macros instead of IOERROR_ macros. * trans-intrinsic.c (gfc_conv_intrinsic_function): Use LIBERROR_END and LIBERROR_EOR instead of hardcoded constants. * options.c (gfc_init_options): Use GFC_CONVERT_NATIVE instead of CONVERT_NATIVE. (gfc_handle_option): Use GFC_CONVERT_* macros instead of CONVERT_*. * libgfortran.h: Include gcc/fortran/libgfortran.h. Remove M_PI, GFC_MAX_DIMENSIONS, GFC_DTYPE_*, GFC_NUM_RANK_BITS, error_codes, GFC_STD_*, GFC_FPE_* and unit_convert. * runtime/environ.c (variable_table): Use GFC_*_UNIT_NUMBER instead of hardcoded constants. (do_parse, init_unformatted): Use GFC_CONVERT_* macros instead of CONVERT_*. * runtime/string.c (find_option): Use LIBERROR_BAD_OPTION instead of ERROR_BAD_OPTION. * runtime/error.c (translate_error, generate_error): Use LIBERROR_* macros instead of ERROR_*. * io/file_pos.c (formatted_backspace, unformatted_backspace, st_backspace, st_rewind, st_flush): Rename macros. * io/open.c (convert_opt, edit_modes, new_unit, already_open, st_open): Likewise. * io/close.c (st_close): Likewise. * io/list_read.c (next_char, convert_integer, parse_repeat, read_logical, read_integer, read_character, parse_real, check_type, list_formatted_read_scalar, namelist_read, nml_err_ret): Likewise. * io/read.c (convert_real, read_l, read_decimal, read_radix, read_f): Likewise. * io/inquire.c (inquire_via_unit): Likewise. * io/unit.c (get_internal_unit): Likewise. * io/transfer.c (read_sf, read_block, read_block_direct, write_block, write_buf, unformatted_read, unformatted_write, formatted_transfer_scalar, us_read, us_write, data_transfer_init, skip_record, next_record_r, write_us_marker, next_record_w_unf, next_record_w, finalize_transfer, st_read, st_write_done): Likewise. * io/format.c (format_error): Likewise. From-SVN: r128050
Francois-Xavier Coudert committed -
From-SVN: r128049
Krister Walfridsson committed -
gcc/ PR middle-end/33290 * optabs.c (avoid_expensive_constant): Canonicalize CONST_INTs before forcing them into a register. From-SVN: r128048
Richard Sandiford committed -
gcc/ * config/mips/mips.md (fetchop_bit): Use define_code_iterator rather than define_code_macro. From-SVN: r128047
Richard Sandiford committed -
* gcc.c (xputenv): New function. (putenv_from_prefixes): Use xputenv instead of putenv. (process_command): Use xputenv instead of putenv. (set_collect_gcc_options): Use xputenv instead of putenv. (main): Use xputenv instead of putenv. From-SVN: r128046
Francois-Xavier Coudert committed -
2007-09-03 H.J. Lu <hongjiu.lu@intel.com> * gcc.dg/vect/no-tree-scev-cprop-vect-iv-1.c: Restored. Moved to ... * gcc.dg/vect/no-scevccp-vect-iv-1.c: New test. * gcc.dg/vect/no-tree-scev-cprop-vect-iv-2.c: Restored. Moved to ... * gcc.dg/vect/no-scevccp-vect-iv-2.c: New test. * gcc.dg/vect/no-tree-scev-cprop-vect-iv-3.c: Restored. Moved to ... * gcc.dg/vect/no-scevccp-vect-iv-3.c: New test. From-SVN: r128045
H.J. Lu committed -
* gcc.target/cris/builtin_bswap_v3.c: New testcase. * gcc.target/cris/builtin_bswap_v8.c: New testcase. From-SVN: r128044
Jesper Nilsson committed -
* config/cris/cris.h (TARGET_HAS_SWAP): Defined to describe availability of swap instruction. * config/cris/cris.md (bswapsi2): Implement using swap instruction. From-SVN: r128043
Jesper Nilsson committed -
From-SVN: r128041
Revital Eres committed -
Co-Authored-By: Ayal Zaks <zaks@il.ibm.com> Co-Authored-By: Revital Eres <eres@il.ibm.com> From-SVN: r128040
Vladimir Yanovsky committed -
From-SVN: r128039
Jesper Nilsson committed -
* Make-lang.in: Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. * ada-tree.def, nmake.adt, nlists.h, snames.h, utils.c, Makefile.rtl, Makefile.in, config-lang.in, uintp.h, urealp.h, namet.h, decl.c, utils2.c, lang.opt, elists.h, atree.h, types.h, treeprs.adt, lang-specs.h, cuintp.c, stringt.h, gnatbl.c: Likewise. From-SVN: r128038
Nick Clifton committed -
2007-09-02 David Daney <ddaney@avtrex.com> * config/mips/mips.md (UNSPEC_COMPARE_AND_SWAP, UNSPEC_SYNC_OLD_OP, UNSPEC_SYNC_NEW_OP, UNSPEC_SYNC_EXCHANGE): New define_constants. (optab, insn): Add more attributes. (fetchop_bit): New code macro. (immediate_insn): New code macro attribute. (sync): Change condition to ISA_HAS_SYNC. (rdhwr): Change predicate for operand 0 to register_operand. (memory_barrier): New expand. (sync_compare_and_swap<mode>, sync_add<mode>, sync_sub<mode>, sync_old_add<mode>, sync_old_sub<mode>, sync_new_add<mode>, sync_new_sub<mode>, sync_<optab><mode>, sync_old_<optab><mode>, sync_new_<optab><mode>, sync_nand<mode>, sync_old_nand<mode>, sync_new_nand<mode>, sync_lock_test_and_set<mode>): New insns. * config/mips/mips.h (ISA_HAS_SYNC, ISA_HAS_LL_SC): New ISA predicates. (MIPS_COMPARE_AND_SWAP, MIPS_SYNC_OP, MIPS_SYNC_OLD_OP, MIPS_SYNC_NEW_OP, MIPS_SYNC_NAND, MIPS_SYNC_OLD_NAND, MIPS_SYNC_NEW_NAND, MIPS_SYNC_EXCHANGE): New Macros. 2007-09-02 David Daney <ddaney@avtrex.com> * gcc.target/mips/gcc-have-sync-compare-and-swap-1.c: New test. * gcc.target/mips/gcc-have-sync-compare-and-swap-2.c: Ditto. * gcc.target/mips/atomic-memory-1.c: Ditto. * testsuite/gcc.target/mips/atomic-memory-2.c: Ditto. From-SVN: r128037
David Daney committed -
2007-09-02 Steven G. Kargl <kargl@gcc.gnu.org> * invoke.texi: Fix the -frange-checking option entry. From-SVN: r128036
Steven G. Kargl committed -
From-SVN: r128035
Hans-Peter Nilsson committed -
* config/cris/cris.h (TARGET_HAS_LZ, CLZ_DEFINED_VALUE_AT_ZERO): Defined to describe availability and behavior of CLZ. * config/cris/cris.md (clzsi2): Implement using lz instruction. * config/cris/cris.opt: Tweak comment for "-metrax4". * config/cris/arit.c (LZ): When defined, define as __builtin_clz. * longlong.h [__CRIS__ && __CRIS_arch_version >= 3] (count_leading_zeros): Define. Co-Authored-By: Hans-Peter Nilsson <hp@axis.com> From-SVN: r128034
Jesper Nilsson committed -
* gcc.target/cris/builtin_clz_v0.c: New testcase. * gcc.target/cris/builtin_clz_v3.c: New testcase. From-SVN: r128033
Jesper Nilsson committed -
From-SVN: r128031
GCC Administrator committed
-
- 02 Sep, 2007 1 commit
-
-
* decl.c (match_string_p): New helper function to explicitly match a string of characters. (match_attr_spec): Remove no longer needed DECL_COLON from decl_types. Delete decls array and peek_char. Rewrite decl attribute parser to avoid calling gfc_match_strings. * match.c (gfc_match_strings): Delete unused function. * match.h (gfc_match_strings): Delete prototype. From-SVN: r128028
Roger Sayle committed
-