- 27 Jan, 2008 9 commits
-
-
From-SVN: r131893
Ralf Wildenhues committed -
2008-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/34990 * gfortran.dg/array_constructor_22.f90: New test. From-SVN: r131891
Jerry DeLisle committed -
2008-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/34990 * array.c (gfc_check_constructor_type): Revert clearing the expression. From-SVN: r131890
Jerry DeLisle committed -
* config.gcc (strongarm*-*, ep9312*-*, xscale*-*, parisc*-*, m680[012]0-*, *-*-beos*, *-*-kaos*, *-*-linux*aout*, *-*-linux*libc1*, *-*-solaris2.[0-6], *-*-solaris2.[0-6].*, *-*-sysv*, *-*-windiss*, alpha*-*-unicosmk*, cris-*-aout, hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*, i[34567]86-sequent-ptx4*, i[34567]86-*-nto-qnx*, i[34567]86-*-sco3.2v5*, i[34567]86-*-uwin*, powerpc-*-chorusos*, vax-*-bsd*, vax-*-ultrix*): Mark obsolete. From-SVN: r131889
Joseph Myers committed -
2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org> * basic-block.h (condjump_equiv_p): Fix comment. From-SVN: r131888
Bernhard Fischer committed -
2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org> * tree-pretty-print.c (print_generic_decl, print_generic_stmt, print_generic_stmt_indented): Fix comment. From-SVN: r131885
Bernhard Fischer committed -
2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org> * configure.ac (__stack_chk_fail): Add detecion for availability of SSP in uClibc by checking if __UCLIBC_HAS_SSP__ is defined. * configure: Regenerate. From-SVN: r131884
Bernhard Fischer committed -
include/ 2008-01-26 David Daney <ddaney@avtrex.com> * demangle.h (demangle_component_type): Add DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER as new enum values. (demangle_component): Add struct s_character to union u. libiberty/ 2008-01-26 David Daney <ddaney@avtrex.com> * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER cases. (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and DEMANGLE_COMPONENT_JAVA_RESOURCE cases. (d_make_character): New function. (d_java_resource): Same. (d_special_name): Handle "Gr" case. (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER cases. * testsuite/demangle-expected: Add test for java resource name mangling. From-SVN: r131883
David Daney committed -
From-SVN: r131881
GCC Administrator committed
-
- 26 Jan, 2008 21 commits
-
-
PR middle-end/34688 * final.c (output_addr_const): Handle TRUNCATE. * gcc.c-torture/compile/pr34688: New test. From-SVN: r131878
Maxim Kuvyrkov committed -
PR target/34711 * tree-ssa-loop-ivopts.c (comp_cost): New type. (zero_cost, infinite_cost): New constants. (struct cost_pair): Change type of cost to comp_cost. (struct iv_ca): Change type of cand_use_cost and cost to comp_cost. (new_cost, add_costs, sub_costs, compare_costs, infinite_cost_p): New functions. (set_use_iv_cost, force_expr_to_var_cost, force_var_cost, split_address_cost, ptr_difference_cost, difference_cost, get_computation_cost_at, get_computation_cost, determine_use_iv_cost_generic, determine_use_iv_cost_address, determine_use_iv_cost_condition, determine_use_iv_costs, cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp, iv_ca_set_cp, iv_ca_cost, iv_ca_new, iv_ca_dump, iv_ca_extend, iv_ca_narrow, iv_ca_prune, try_improve_iv_set, find_optimal_iv_set): Change type of cost to comp_cost. (determine_iv_cost): Increase cost of non-original ivs, instead of decreasing the cost of original ones. (get_address_cost): Indicate the complexity of the addressing mode in comp_cost. (try_add_cand_for): Prefer using ivs not specific to some object. * tree-flow.h (force_expr_to_var_cost): Declaration removed. From-SVN: r131877
Zdenek Dvorak committed -
re PR fortran/34848 (internal compiler error with optional argument of character type and array return type) 2008-01-26 Tobias Burnus <burnus@net-b.de> PR fortran/34848 * trans-expr.c (gfc_conv_function_call): Don't call gfc_add_interface_mapping if the expression is NULL. 2008-01-26 Tobias Burnus <burnus@net-b.de> PR fortran/34848 * gfortran.dg/missing_optional_dummy_5.f90: New. From-SVN: r131876
Tobias Burnus committed -
* gcc.dg/tree-ssa/20070302-1.c (baz): Mark with attribute noinline. XFAIL test. From-SVN: r131875
Kaveh R. Ghazi committed -
2008-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/31610 * gfortran.dg/array_3.f90: New test. From-SVN: r131874
Jerry DeLisle committed -
2008-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/31610 * trans-array.c (gfc_trans_create_temp_array): Remove call to gcc_assert (integer_zerop (loop->from[n])). From-SVN: r131873
Jerry DeLisle committed -
boehm-gc/ * include/private/gcconfig.h (HBLKSIZE): Define for MIPS. From-SVN: r131872
Richard Sandiford committed -
PR target/34814 * doc/tm.texi (TARGET_EXPAND_TO_RTL_HOOK): Document. (TARGET_INSTANTIATE_DECLS): Likewise. * target.h (expand_to_rtl_hook): New target hook. (instantiate_decls): Likewise. * function.c (instantiate_decl): Make non-static. Rename to... (instantiate_decl_rtl): ... this. (instantiate_expr): Use instantiate_decl_rtl. (instantiate_decls_1): Likewise. (instantiate_decls): Likewise. (instantiate_virtual_regs: Call new instantiate_decls taget hook. * function.h (instantiate_decl_rtl): Add prototype. * cfgexpand.c (target.h): New include. (tree_expand_cfg): Call new expand_to_rtl_hook target hook. * target-def.h (TARGET_EXPAND_TO_RTL_HOOK): New define. (TARGET_INSTANTIATE_DECLS): Likewise. (TARGET_INITIALIZER): New target hooks added. * config/rs6000/rs6000-protos.h (rs6000_secondary_memory_needed_rtx): New prototype. * config/rs6000/rs6000.c (tree-flow.h): New include. (machine_function): Add sdmode_stack_slot field. (rs6000_alloc_sdmode_stack_slot): New function. (rs6000_instantiate_decls): Likewise. (rs6000_secondary_memory_needed_rtx): Likewise. (rs6000_check_sdmode): Likewise. (TARGET_EXPAND_TO_RTL_HOOK): Target macro defined. (TARGET_INSTANTIATE_DECLS): Likewise. (rs6000_hard_regno_mode_ok): Allow SDmode. (num_insns_constant): Likewise. Handle _Decimal32 constants. (rs6000_emit_move): Handle SDmode. (function_arg_advance): Likewise. (function_arg): Likewise. (rs6000_gimplify_va_arg): Likewise. Add special handling of SDmode var args for 32-bit compiles. (rs6000_secondary_reload_class): Handle SDmode. (rs6000_output_function_epilogue): Likewise. (rs6000_function_value): Simplify if statement. (rs6000_libcall_value): Likewise. * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Handle SDmode. (SECONDARY_MEMORY_NEEDED_RTX): Add define. * config/rs6000/dfp.md (movsd): New define_expand and splitter. (movsd_hardfloat): New define_insn. (movsd_softfloat): Likewise. (movsd_store): Likewise. (movsd_load): Likewise. (extendsddd2): Likewise. (extendsdtd2): Likewise. (truncddsd2): Likewise. (movdd_hardfloat64): Fixup comment. (UNSPEC_MOVSD_LOAD): New constant. (UNSPEC_MOVSD_STORE): Likewise. Co-Authored-By: Janis Johnson <janis187@us.ibm.com> From-SVN: r131869
Peter Bergner committed -
PR c++/34965 * c-pretty-print.c (pp_c_exclusive_or_expression): Handle TRUTH_XOR_EXPR. (pp_c_logical_and_expression): Handle TRUTH_AND_EXPR. (pp_c_logical_or_expression): Handle TRUTH_OR_EXPR. (pp_c_expression): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR and TRUTH_XOR_EXPR. * error.c (dump_expr): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR and TRUTH_XOR_EXPR. * gcc.dg/pr34965.c: New test. * g++.dg/other/error24.C: New test. From-SVN: r131868
Jakub Jelinek committed -
* gcc.c-torture/compile/pr34966.c (atan): Only use asm on i?86/x86_64. From-SVN: r131867
Jakub Jelinek committed -
PR target/34794 * config/os/aix/os_defines.h: Define __COMPATMATH__. From-SVN: r131866
David Edelsohn committed -
PR target/34794 * config.gcc: Separate AIX 5.3 from AIX 6.1. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define __LONGDOUBLE128 too. * config/rs6000/aix61.h: New file. From-SVN: r131865
David Edelsohn committed -
2008-01-26 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfofortran/34887 * io/transfer.c (next_record_w): Always move to the farthest position when completing the record (also when we are processing a slash edit descriptor). 2008-01-26 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfofortran/34887 * gfortran.dg/x_slash_2.f: New test. From-SVN: r131864
Thomas Koenig committed -
gcc/ PR rtl-optimization/34959 * optabs.c (expand_unop): In libcall notes, give ffs, clz, ctz, popcount and parity rtxes the same mode as their operand. Truncate or extend the result to the return value's mode if necessary. From-SVN: r131863
Richard Sandiford committed -
2008-01-26 Richard Guenther <rguenther@suse.de> PR c++/34235 * typeck.c (build_binary_op): Remove code to shorten compares. * g++.dg/torture/pr34235.C: New testcase. From-SVN: r131862
Richard Guenther committed -
gcc/testsuite/ * g++.dg/tree-ssa/ivopts-1.C: XFAIL for MIPS too. From-SVN: r131861
Richard Sandiford committed -
gcc/ PR target/34981 * config/mips/mips-protos.h (mips_expand_call): Return an rtx. * config/mips/mips.h (FIRST_PSEUDO_REGISTER): Rename FAKE_CALL_REGNO to GOT_VERSION_REGNUM. (CALL_REALLY_USED_REGISTERS): Set the GOT_VERSION_REGNUM entry to 0. (EPILOGUE_USES): Include GOT_VERSION_REGNUM if TARGET_USE_GOT. * config/mips/mips.c (mips_emit_call_insn): New function. (mips_call_tls_get_addr): Call mips_expand_call directly. (mips16_copy_fpr_return_value): Use mips_emit_call_insn rather than emit_call_insn. (mips16_build_call_stub): Likewise. Return the call insn or null. (mips_expand_call): Update the call to mips16_build_call_stub accordingly and a remove redundant condition. Assert that MIPS16 stubs do not use lazy binding. Use mips_emit_call_insn and return the call insn. (mips_extra_live_on_entry): Include GOT_VERSION_REGNUM if TARGET_USE_GOT. (mips_hard_regno_mode_ok_p): Allow SImode for GOT_VERSION_REGNUM. (mips_avoid_hazard): Remove hazard_set handling. * config/mips/mips.md (UNSPEC_EH_RECEIVER): Rename to... (UNSPEC_RESTORE_GP): ...this. (UNSPEC_SET_GOT_VERSION, UNSPEC_UPDATE_GOT_VERSION): New constants. (FAKE_CALL_REGNO): Rename to... (GOT_VERSION_REGNUM): ...this. (type): Add "ghost" value. Add an associated insn reservation. (hazard_set): Remove. (exception_receiver): Rename to... (restore_gp): ...this and update the unspec identifier accordingly. (exception_receiver, nonlocal_got_receiver): New expanders. (load_call<mode>): Use GOT_VERSION_REGNUM. Don't set FAKE_CALL_REGNO. Remove hazard_set attribute. (set_got_version, update_got_version): New patterns. gcc/testsuite/ PR target/34981 * gcc.target/mips/lazy-binding-1.c: New test. * gcc.target/mips/mips.exp (setup_mips_tests): Set mips_forced_no_abicalls and mips_forced_no_shared. (dg-mips-options): Avoid using -mabicalls with an implicit -mabi=eabi. Avoid using small data with -mabicalls. Don't make -G0 force -mn-abicalls. Skip -mabicalls and -mshared tests if the multilib forces the opposite option. From-SVN: r131860
Richard Sandiford committed -
PR target/34970 gcc * config/i386/cygming.h (ASM_OUTPUT_LABELREF): Define. testsuite * gcc.target/i386/fastcall-1.c: Scan for correct label. Use -std=gnu89 switch. From-SVN: r131859
Danny Smith committed -
* decl.c (components_to_record): Improve comment. From-SVN: r131858
Eric Botcazou committed -
PR c++/27177 * class.c (build_base_path): Don't mess with virtual access if skip_evaluation. * call.c (standard_conversion): Don't check whether source type is complete. From-SVN: r131855
Jason Merrill committed -
From-SVN: r131853
GCC Administrator committed
-
- 25 Jan, 2008 10 commits
-
-
2008-01-25 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/34876 * gfortran.dg/direct_io_9.f: New test. From-SVN: r131850
Jerry DeLisle committed -
From-SVN: r131849
Jerry DeLisle committed -
2008-01-25 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/34876 * io/transfer.c (write_buf): Handle case of zero sized array. (transfer_array): Set data pointer to NULL and size to zero. Then make a data transfer and return. From-SVN: r131848
Jerry DeLisle committed -
gcc/fortran: 2008-01-25 Daniel Franke <franke.daniel@gmail.com> PR fortran/34661 * resolve.c (resolve_where): Added check if user-defined assignment operator is an elemental subroutine. (gfc_resolve_where_code_in_forall): Likewise. gcc/testsuite: 2008-01-25 Daniel Franke <franke.daniel@gmail.com> PR fortran/34661 * gfortran.dg/where_operator_assign_4.f90: New test. From-SVN: r131845
Daniel Franke committed -
PR other/31955 * doc/install.texi2html: Generate gcc-vers.texi. From-SVN: r131842
Joseph Myers committed -
2008-01-25 Richard Guenther <rguenther@suse.de> PR c++/33887 * decl.c (record_builtin_java_type): Make __java_boolean a variant of bool. * typeck.c (structural_comptypes): Move TYPE_FOR_JAVA check after TYPE_MAIN_VARIANT check. From-SVN: r131840
Richard Guenther committed -
From-SVN: r131836
DJ Delorie committed -
* MAINTAINERS (c4x port): Remove. contrib: * paranoia.cc (main): Remove handling of c4x_single and c4x_extended formats. gcc: * config/c4x: Remove directory. * config.gcc (crx-*, mt-*): Mark obsolete. (c4x-*, tic4x-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*, tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*, sh-*-rtemscoff*): Remove cases. * defaults.h (C4X_FLOAT_FORMAT): Remove. * real.c (encode_c4x_single, decode_c4x_single, encode_c4x_extended, decode_c4x_extended, c4x_single_format, c4x_extended_format): Remove. * real.h (c4x_single_format, c4x_extended_format): Remove. * doc/extend.texi (interrupt, naked): Remove mention of attributes on C4x. (Pragmas): Remove comment about c4x pragmas. * doc/install.texi (c4x): Remove target-specific instructions. * doc/invoke.texi (TMS320C3x/C4x Options): Remove. * doc/md.texi (Machine Constraints): Remove C4x documentation. * doc/tm.texi (MEMBER_TYPE_FORCES_BLK, c_register_pragma): Do not refer to C4x source files as examples. (C4X_FLOAT_FORMAT): Remove documentation. gcc/testsuite: * gcc.dg/builtin-inf-1.c, gcc.dg/compare6.c, gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c, gcc.dg/torture/builtin-attr-1.c: Don't handle c4x-*-* targets. libgcc: * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*, tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*, sh-*-rtemscoff*): Remove cases. From-SVN: r131835
Joseph Myers committed -
decl2.c (is_late_template_attribute): Don't defer attribute visibility just because the type is dependent. * decl2.c (is_late_template_attribute): Don't defer attribute visibility just because the type is dependent. From-SVN: r131833
Jason Merrill committed -
PR c++/31780 * call.c (standard_conversion): Allow conversion from integer/real to complex. (compare_ics): Such a conversion is worse than a normal arithmetic conversion. Co-Authored-By: Mark Mitchell <mark@codesourcery.com> From-SVN: r131832
Jason Merrill committed
-