- 24 Feb, 2008 15 commits
-
-
* config/rs6000/rs6000.c (processor_costs): Add cache costs for e300c2 and e300c3. From-SVN: r132598
David Edelsohn committed -
2008-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/35223 * simplify.c (gfc_simplify_ibclr), (gfc_simplify_ibits), (gfc_simplify_ibset): Remove call to range_check. (simplify_cmplx), (gfc_simplify_dble), (gfc_simplify_float) (gfc_simplify_real): Add call gfc_clear_ts to initialize the temporary gfc_typspec variable. From-SVN: r132597
Jerry DeLisle committed -
PR target/35349 * gcc.c-torture/execute/20050604-1.x: New file. From-SVN: r132596
Uros Bizjak committed -
error.c (dump_expr): Don't deal directly with NEW_EXPR (and VEC_NEW_EXPR), forward to pp_expression. 2008-02-24 Paolo Carlini <pcarlini@suse.de> * error.c (dump_expr): Don't deal directly with NEW_EXPR (and VEC_NEW_EXPR), forward to pp_expression. * cxx-pretty-print.c (pp_cxx_new_expression): Fix FIXME. From-SVN: r132595
Paolo Carlini committed -
* gcc.target/i386/pr22076.c: Update number of mov insns for PIC targets. From-SVN: r132594
Uros Bizjak committed -
* gcc.target/i386/pr34256.c: Update number of mov insns for PIC targets. From-SVN: r132593
Uros Bizjak committed -
* trans-array.c (gfc_conv_descriptor_data_get, gfc_conv_descriptor_data_set_internal, gfc_conv_descriptor_data_addr, gfc_conv_descriptor_offset, gfc_conv_descriptor_dtype, gfc_conv_descriptor_dimension, gfc_conv_descriptor_stride, gfc_conv_descriptor_lbound, gfc_conv_descriptor_ubound, gfc_trans_create_temp_array, gfc_conv_array_transpose, gfc_grow_array, gfc_trans_array_constructor_subarray, gfc_trans_array_constructor_value, gfc_trans_scalarized_loop_end, gfc_array_init_size, gfc_array_allocate, gfc_array_deallocate, gfc_conv_array_initializer, gfc_trans_array_bounds, gfc_trans_auto_array_allocation, gfc_trans_dummy_array_bias, gfc_get_dataptr_offset, gfc_conv_array_parameter, gfc_trans_dealloc_allocated, get_full_array_size, gfc_duplicate_allocatable, structure_alloc_comps): Use fold_buildN instead of buildN. * trans-expr.c (gfc_conv_expr_present, gfc_conv_missing_dummy, gfc_conv_component_ref, gfc_conv_cst_int_power, gfc_conv_function_call, gfc_trans_structur_assign): Likewise. * trans-common.c (create_common): Likewise. * trans-openmp.c (gfc_trans_omp_atomic, gfc_trans_omp_do): Likewise. * trans-const.c (gfc_conv_constant_to_tree): Likewise. * trans-stmt.c (gfc_trans_goto, gfc_trans_return, gfc_trans_do, gfc_trans_integer_select, gfc_trans_character_select, gfc_trans_forall_loop, compute_overall_iter_number, gfc_trans_forall_1, gfc_evaluate_where_mask, gfc_trans_allocate, gfc_trans_deallocate): Likewise. * trans.c (gfc_build_addr_expr, gfc_trans_runtime_check, gfc_allocate_with_status, gfc_allocate_array_with_status, gfc_deallocate_with_status): Likewise. * f95-lang.c (gfc_truthvalue_conversion): Likewise. * trans-io.c (set_parameter_const, set_parameter_value, set_parameter_ref, set_string, set_internal_unit, io_result, set_error_locus, nml_get_addr_expr, transfer_expr): Likewise. * trans-decl.c (gfc_build_qualified_array, build_entry_thunks, gfc_get_fake_result_decl, gfc_trans_auto_character_variable, gfc_generate_function_code): Likewise. * convert.c (convert): Likewise. * trans-intrinsic.c (gfc_conv_intrinsic_conversion, build_fixbound_expr, build_fix_expr, gfc_conv_intrinsic_aint, gfc_conv_intrinsic_int, gfc_conv_intrinsic_imagpart, gfc_conv_intrinsic_conjg, gfc_conv_intrinsic_abs, gfc_conv_intrinsic_cmplx, gfc_conv_intrinsic_mod, gfc_conv_intrinsic_dim, gfc_conv_intrinsic_dprod, gfc_conv_intrinsic_ctime, gfc_conv_intrinsic_fdate, gfc_conv_intrinsic_ttynam, gfc_conv_intrinsic_minmax, gfc_conv_intrinsic_minmax_char, gfc_conv_intrinsic_count, gfc_conv_intrinsic_arith, gfc_conv_intrinsic_dot_product, gfc_conv_intrinsic_minmaxloc, gfc_conv_intrinsic_minmaxval, gfc_conv_intrinsic_btest, gfc_conv_intrinsic_not, gfc_conv_intrinsic_ibits, gfc_conv_intrinsic_ishft, gfc_conv_intrinsic_ichar, gfc_conv_intrinsic_size, gfc_conv_intrinsic_array_transfer, gfc_conv_intrinsic_transfer, gfc_conv_allocated, gfc_conv_associated, gfc_conv_intrinsic_trim, gfc_conv_intrinsic_repeat): Likewise. From-SVN: r132592
Tobias Schlüter committed -
PR 33738 * tree-vrp.c (vrp_evaluate_conditional): With -Wtype-limits, emit a warning when comparing against a constant outside the natural range of OP0's type. * c.opt (Wtype-limits): Move ... * common.opt (Wtype-limits): ... here. testsuite/ChangeLog PR 33738 * g++.dg/warn/pr33738.C: New. From-SVN: r132591
Diego Novillo committed -
From-SVN: r132590
David Edelsohn committed -
2008-02-21 Edmar Wienskoski <edmar@freescale.com> * config.gcc (powerpc*-*-*): Add new cores e300c2 and e300c3. * config/rs6000/e300c2c3.md: New file. * config/rs6000/rs6000.c (processor_costs): Add new costs for e300c2 and e300c3. (rs6000_override_options): Add e300c2 and e300c3 cases to processor_target_table. Do not allow usage of Altivec or Spe with e300 cores. Initialize rs6000_cost for e300c2 and e300c3. (rs6000_issue_rate): Set issue rate for e300c2 and e300c3. * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPCE300C2 and PROCESSOR_PPCE300C3. (ASM_CPU_SPEC): Add e300c2 and e300c3. * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce300c2 and ppce300c3. Include e300c2c3.md. From-SVN: r132589
Edmar Wienskoski committed -
re PR libfortran/32841 (HUGE(1.0_16) output as +Infinity on ppc-darwin8 (gfortran.dg/large_real_kind_2.F90)) PR libfortran/32841 * acinclude.m4: Don't use HAVE_MATH_H. * configure: Regenerate. From-SVN: r132587
Francois-Xavier Coudert committed -
gcc/testsuite/ * gcc.c-torture/execute/nest-align-1.x: New file. From-SVN: r132586
Richard Sandiford committed -
cp PR c++/34749 * friend.c (do_friend): Call cplus_decl_attributes earlier. testsuite PR c++/34749 * g++.dg.ext/dllimport13.C: New test. From-SVN: r132585
Danny Smith committed -
* config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT instead of TARGET_STRICT_ALIGN. From-SVN: r132584
David Edelsohn committed -
From-SVN: r132582
GCC Administrator committed
-
- 23 Feb, 2008 12 commits
-
-
* explow.c (memory_address): Assert that the generated address is valid. From-SVN: r132578
Joseph Myers committed -
re PR libfortran/24685 (real(16) formatted input is broken for huge values (gfortran.dg/default_format_2.f90)) PR libfortran/24685 * gfortran.dg/large_real_kind_form_io_2.f90: XFAIL on powerpc*-apple-darwin*. From-SVN: r132577
Francois-Xavier Coudert committed -
PR target/25477 * config/darwin-protos.h: Add darwin_patch_builtins prototype. * config/darwin-ppc-ldouble-patch.def: New file. * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): New macro. * config/rs6000/rs6000.c (rs6000_init_builtins): Call SUBTARGET_INIT_BUILTINS if defined. * config/darwin.c (darwin_patch_builtin, darwin_patch_builtins): New functions. * trans-expr.c (gfc_conv_power_op): Use BUILT_IN_CPOW{F,,L}. * f95-lang.c (gfc_init_builtin_functions): Define BUILT_IN_CPOW{F,,L}. * trans.h (gfor_fndecl_math_cpow, gfor_fndecl_math_cpowf, gfor_fndecl_math_cpowl10, gfor_fndecl_math_cpowl16): Remove. * trans-decl.c: Likewise. * gfortran.dg/large_real_kind_2.F90: Split testing of ERF and ERFC into gfortran.dg/large_real_kind_3.F90. * gfortran.dg/large_real_kind_3.F90: New test. From-SVN: r132576
Francois-Xavier Coudert committed -
2008-02-23 Andrew Pinski <andrew_pinski@playstation.sony.com> PR rtl-opt/33512 * simplify-rtx.c (simplify_binary_operation_1): Add simplification of (and X (ior (not X) Y) and (and (ior (not X) Y) X). 2008-02-23 Andrew Pinski <andrew_pinski@playstation.sony.com> PR rtl-opt/33512 * gcc.dg/and-1.c: New test. From-SVN: r132575
Andrew Pinski committed -
2008-02-23 Andrew Pinski <andrew_pinski@playstation.sony.com> PR pch/35027 * c-pch.c (c_common_valid_pch): Make the "too short to be a PCH file" warning condtional on -Winvalid-PCH. From-SVN: r132574
Andrew Pinski committed -
* expmed.c (extract_bit_field): Always use adjust_address for MEM. * gcc.c-torture/execute/20080222-1.c: New test. From-SVN: r132573
Daniel Jacobowitz committed -
PR target/22076 PR target/34256 * config/i386/mmx.md (*mov<mode>_internal_rex64): Use "!y" to prevent reload from using MMX registers. (*mov<mode>_internal): Ditto. (*movv2sf_internal_rex64): Ditto. (*movv2sf_internal): Ditto. testsuite/ChangeLog: PR target/22076 PR target/34256 * gcc.target/i386/pr22076.c: New test. * gcc.target/i386/pr34256.c: New test. * gcc.target/i386/vecinit-5.c: New test. * gcc.target/i386/vecinit-6.c: New test. * gcc.target/i386/vecinit-[1-4].c: Check that no MMX register is used. * g++.dg/compat/struct-layout-1.h: Do not include <mmintrin.h> and <xmmintrin.h>, define __m64 and __m128 directly. * g++.dg/compat/struct-layout-1_generate.c: Add -mno-mmx for x86. From-SVN: r132572
Uros Bizjak committed -
gcc/: PR documentation/31569 * doc/install.texi2html: Use makeinfo --no-number-sections. From-SVN: r132570
Ralf Wildenhues committed -
From-SVN: r132569
Jakub Jelinek committed -
rs6000.c (rs6000_legitimize_address): Check to ensure that we can address an entire entity > 8 bytes. * config/rs6000/rs6000.c (rs6000_legitimize_address): Check to ensure that we can address an entire entity > 8 bytes. Don't generate reg+reg addressing for such data. From-SVN: r132567
Nathan Froyd committed -
* config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign strings when optimizing for size, unless the target cares about alignment. From-SVN: r132566
Nathan Froyd committed -
From-SVN: r132564
GCC Administrator committed
-
- 22 Feb, 2008 13 commits
-
-
From-SVN: r132559
Tom Tromey committed -
re PR c++/34715 (always_inline with templates and not declared as always_inline but definition has it) 2008-02-22 Andrew Pinski <andrew_pinski@playstation.sony.com> PR C++/34715 * decl.c (duplicate_decls): Merge DECL_DISREGARD_INLINE_LIMITS for template decls' function decl. 2008-02-22 Andrew Pinski <andrew_pinski@playstation.sony.com> PR C++/34715 * g++.dg/ext/always_inline-1.C: New test. * g++.dg/ext/always_inline-2.C: New test. * g++.dg/ext/always_inline-3.C: New test. * g++.dg/ext/always_inline-4.C: New test. From-SVN: r132558
Andrew Pinski committed -
* testsuite/libmudflap.c/fail8-frag.c: Adjust scan pattern for mudflap dead object. * testsuite/libmudflap.c/fail9-frag.c: Ditto. From-SVN: r132557
Uros Bizjak committed -
* config/avr/libgcc.S (__RAMPZ__): Define. (__do_copy_data): Add for devices with 128KB code memory. From-SVN: r132555
Anatoly Sokolov committed -
* config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use spe_abi. * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Likewise. From-SVN: r132551
Nathan Froyd committed -
* config/cris/cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for GENNONACR_REGS. From-SVN: r132549
Hans-Peter Nilsson committed -
From-SVN: r132548
Hans-Peter Nilsson committed -
/testsuite 2008-02-22 Paolo Carlini <pcarlini@suse.de> PR c++/35282 * g++.dg/template/nontype17.C: Add. /cp 2008-02-22 Paolo Carlini <pcarlini@suse.de> PR c++/35282 Revert: 2008-02-14 Paolo Carlini <pcarlini@suse.de> PR c++/28743 * pt.c (determine_specialization): In case of function templates, when the type of DECL does not match FN there is no match. /testsuite 2008-02-22 Paolo Carlini <pcarlini@suse.de> PR c++/35282 Revert: 2008-02-14 Paolo Carlini <pcarlini@suse.de> PR c++/28743 * g++.dg/template/nontype17.C: New. * g++.dg/template/nontype16.C: Add error. From-SVN: r132543
Paolo Carlini committed -
2008-02-20 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/34907 * iresolve.c (resolve_mask_arg): Add gfc_clear_ts to initialize structure. (gfc_resolve_aint): Likewise. (gfc_resolve_anint): Likewise. (gfc_resolve_besn): Likewise. (gfc_resolve_cshift): Likewise. (gfc_resolve_ctime): Likewise. (gfc_resolve_eoshift): Likewise. (gfc_resolve_index_func): Likewise. (gfc_resolve_isatty): Likewise. (gfc_resolve_malloc): Likewise. (gfc_resolve_rrspacing): Likewise. (gfc_resolve_scale): Likewise. (gfc_resolve_set_exponent): Likewise. (gfc_resolve_spacing): Likewise. (gfc_resolve_spacing): Likewise. (gfc_resolve_fgetc): Likewise. (gfc_resolve_fputc): Likewise. (gfc_resolve_ftell): Likewise. (gfc_resolve_ttynam): Likewise. (gfc_resolve_alarm_sub): Likewise. (gfc_resolve_mvbits): Likewise. (gfc_resolve_getarg): Likewise. (gfc_resolve_signal_sub): Likewise. (gfc_resolve_exit): Likewise. (gfc_resolve_flush): Likewise. (gfc_resolve_free): Likewise. (gfc_resolve_ctime_sub): Likewise. (gfc_resolve_fgetc_sub): Likewise. (gfc_resolve_fputc_sub): Likewise. (gfc_resolve_fseek_sub): Likewise. (gfc_resolve_ftell_sub): Likewise. (gfc_resolve_ttynam_sub): Likewise. From-SVN: r132541
Jerry DeLisle committed -
gcc/: PR c/19999 * c-typeck.c (build_binary_op): Warn about floating point comparisons if FLOAT_TYPE_P, not only for REAL_TYPE. gcc/cp/: * typeck.c (build_binary_op): Warn about floating point comparisons if FLOAT_TYPE_P, not only for REAL_TYPE. gcc/testsuite/: * gcc.dg/Wfloat-equal-1.c: New. * g++.dg/warn/Wfloat-equal-1.C: New. From-SVN: r132540
Ralf Wildenhues committed -
gcc-fortran/: * gfc-internals.texi: Fix typos and markup nits. * gfortran.texi: Likewise. * intrinsic.texi: Likewise. From-SVN: r132539
Ralf Wildenhues committed -
PR target/34526 * config/rs6000/rs6000.c (rs6000_altivec_abi): Clarify comment. (rs6000_explicit_options): Split abi into spe_abi and altivec_abi, add vrsave. (rs6000_override_options): Set altivec_abi as default, not override, for 64-bit GNU/Linux; for 32-bit GNU/Linux default to altivec_abi for TARGET_ALTIVEC; default to TARGET_ALTIVEC_VRSAVE when AltiVec ABI is used; use new member spe_abi. (rs6000_handle_option): Set rs6000_explicit_options.vrsave; use spe_abi and altivec_abi. From-SVN: r132537
Janis Johnson committed -
From-SVN: r132535
GCC Administrator committed
-