- 01 Jun, 2008 2 commits
-
-
2008-05-31 Jerry DeLisle <jvdelisle@gcc.gnu.org> * intrinsic.texi: Revert wrong commit. From-SVN: r136249
Jerry DeLisle committed -
From-SVN: r136247
GCC Administrator committed
-
- 31 May, 2008 7 commits
-
-
2008-05-31 Paolo Carlini <paolo.carlini@oracle.com> Chris Jefferson <chris@bubblescope.net> PR libstdc++/36338 * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly. (pop_heap): Slightly tweak. Co-Authored-By: Chris Jefferson <chris@bubblescope.net> From-SVN: r136242
Paolo Carlini committed -
2008-05-31 Steven G. Kargl <kargls@comcast.net> * arith.c (gfc_arith_init_1): Remove now unused r and c variables. Cleanup numerical inquiry function initialization. (gfc_arith_done_1): Replace multiple mpfr_clear() invocations with a single mpfr_clears(). (gfc_check_real_range): Re-arrange logic to eliminate multiple unnecessary branching and assignments. (gfc_arith_times): Use mpfr_clears() in preference to multiple mpfr_clear(). (gfc_arith_divide): Ditto. (complex_reciprocal): Eliminate now unused variables a, re, im. Cleanup the mpfr abuse. Use mpfr_clears() in preference to multiple mpfr_clear(). (complex_pow): Fix comment whitespace. Use mpfr_clears() in preference to multiple mpfr_clear(). * simplify.c (gfc_simplify_and): Remove blank line. (gfc_simplify_atan2): Move error checking earlier to eliminate a now unnecessay gfc_free_expr(). (gfc_simplify_bessel_j0): Remove unnecessary gfc_set_model_kind(). (gfc_simplify_bessel_j1): Ditto. (gfc_simplify_bessel_jn): Ditto. (gfc_simplify_bessel_y0): Ditto. (gfc_simplify_bessel_y1): Ditto. (gfc_simplify_bessel_yn): Ditto. (only_convert_cmplx_boz): Eliminate unnecessary duplicate code, and combine nested if statement rational expressions. (gfc_simplify_cos): Use mpfr_clears() in preference to multiple mpfr_clear(). (gfc_simplify_exp): Ditto. (gfc_simplify_fraction): Move gfc_set_model_kind() to after the special case of 0. Use mpfr_clears() in preference to multiple mpfr_clear(). (gfc_simplify_gamma): Eliminate unnecessary gfc_set_model_kind(). (gfc_simplify_lgamma): Ditto. (gfc_simplify_log10): Ditto. (gfc_simplify_log): Move gfc_set_model_kind () inside switch statement. Use mpfr_clears() in preference to multiple mpfr_clear(). (gfc_simplify_mod): Eliminate now unused variables quot, iquot, and term. Simplify the mpfr magic. (gfc_simplify_modulo): Ditto. (gfc_simplify_nearest): Eliminate unnecessary gfc_set_model_kind(). (gfc_simplify_scale): Use mpfr_clears() in preference to multiple mpfr_clear(). (gfc_simplify_sin): Ditto (gfc_simplify_sqrt): Ditto (gfc_simplify_set_exponent): Move gfc_set_model_kind() to after the special case of 0. Use mpfr_clears() in preference to multiple mpfr_clear(). From-SVN: r136239
Steven G. Kargl committed -
* config/avr/avr.md (UNSPECV_WRITE_SP_IRQ_ON): New constants. (UNSPECV_WRITE_SP_IRQ_OFF): (Ditto.). (movhi_sp_r_irq_off, movhi_sp_r_irq_on): New insn. * config/avr/avr.c (expand_prologue, expand_epilogue): Use movhi_sp_r_irq_off and movhi_sp_r_irq_on insns for writing to the stack pointer register. (output_movhi): Remove code for interrupt specific writing to the stack pointer register. From-SVN: r136238
Anatoly Sokolov committed -
2008-05-31 Richard Guenther <rguenther@suse.de> PR tree-optimization/34244 * fold-const.c (tree_expr_nonnegative_warnv_p): Do not ask VRP. (tree_expr_nonzero_warnv_p): Likewise. * tree-vrp.c (vrp_expr_computes_nonnegative): Call ssa_name_nonnegative_p. (vrp_expr_computes_nonzero): Call ssa_name_nonzero_p. (extract_range_from_unary_expr): Use vrp_expr_computes_nonzero, not tree_expr_nonzero_warnv_p. PR tree-optimization/36262 Revert 2007-11-29 Zdenek Dvorak <ook@ucw.cz> PR tree-optimization/34244 * tree-vrp.c (adjust_range_with_scev): Clear scev cache. (record_numbers_of_iterations): New function. (execute_vrp): Cache the numbers of iterations of loops. * tree-scalar-evolution.c (scev_reset_except_niters): New function. (scev_reset): Use scev_reset_except_niters. * tree-scalar-evolution.h (scev_reset_except_niters): Declare. From-SVN: r136237
Richard Guenther committed -
gcc/ * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __WORKAROUND_RETS when appropriate. gcc/testsuite/ * gcc.target/bfin/mcpu-default.c: Adjust for recent changes: default CPU has all workarounds, and no longer explicitly sets bf532 as CPU type. * gcc.target/bfin/mcpu-bf531.c: Adjust for WORKAROUND_RETS. * gcc.target/bfin/mcpu-bf532.c: Likewise. * gcc.target/bfin/mcpu-bf533.c: Likewise. * gcc.target/bfin/mcpu-bf534.c: Likewise. * gcc.target/bfin/mcpu-bf536.c: Likewise. * gcc.target/bfin/mcpu-bf537.c: Likewise. * gcc.target/bfin/mcpu-bf548.c: Likewise. * gcc.target/bfin/mcpu-bf549.c: Likewise. * gcc.target/bfin/mcpu-bf561.c: Likewise. * gcc.target/bfin/mcpu-bf523.c: Likewise. * gcc.target/bfin/mcpu-bf524.c: Likewise. * gcc.target/bfin/mcpu-bf526.c: Likewise. * gcc.target/bfin/mcpu-bf522.c: Likewise. * gcc.target/bfin/mcpu-bf525.c: Likewise. * gcc.target/bfin/mcpu-bf527.c: Likewise. * gcc.target/bfin/mcpu-bf538.c: Likewise. * gcc.target/bfin/mcpu-bf539.c: Likewise. * gcc.target/bfin/mcpu-bf542.c: Likewise. * gcc.target/bfin/mcpu-bf544.c: Likewise. * gcc.target/bfin/mcpu-default.c: Likewise. * gcc.target/bfin/workarounds-any.c: Likewise. * gcc.target/bfin/workarounds-none.c: Likewise. * gcc.target/bfin/workarounds-1.c: Likewise. * gcc.target/bfin/workarounds-2.c: Likewise. * gcc.target/bfin/workarounds-3.c: Likewise. * gcc.target/bfin/workarounds-4.c: Likewise. From-SVN: r136236
Bernd Schmidt committed -
i386.md (*fop_<mode>_comm_mixed): Macroize from *fop_sf_comm_mixed and *fop_df_comm_mixed insn patterns using... * config/i386/i386.md (*fop_<mode>_comm_mixed): Macroize from *fop_sf_comm_mixed and *fop_df_comm_mixed insn patterns using MODEF mode iterator. (*fop_<mode>_comm_sse): Macroize from *fop_sf_comm_sse and *fop_df_comm_sse insn patterns using MODEF mode iterator. (*fop_<mode>_comm_i387): Macroize from *fop_sf_comm_i387 and *fop_df_comm_i387 insn patterns using MODEF mode iterator. (*fop_<mode>_1_mixed): Macroize from *fop_sf_1_mixed and *fop_df_1_mixed insn patterns using MODEF mode iterator. (*fop_<mode>_1_sse): Macroize from *fop_sf_1_sse and *fop_df_1_sse insn patterns using MODEF mode iterator. (*fop_<mode>_1_i387): Macroize from *fop_sf_1_i387 and *fop_df_1_i387 insn patterns using MODEF mode iterator. (*fop_<MODEF:mode>_2_i387): Macroize from *fop_sf_2<mode>_i387 and *fop_df_2<mode>_i387 insn patterns using MODEF mode iterator. (*fop_<MODEF:mode>_3_i387): Macroize from *fop_sf_3<mode>_i387 and *fop_df_3<mode>_i387 insn patterns using MODEF mode iterator. (*fop_xf_2_i387): Rename from *fop_xf_2<mode>_i387. (*fop_xf_3_i387): Rename from *fop_xf_3<mode>_i387. (*fop_xf_4_i387): Use <MODE> for mode attribute. (*fop_xf_5_i387): Ditto. (*fop_xf_6_i387): Ditto. From-SVN: r136235
Uros Bizjak committed -
From-SVN: r136229
GCC Administrator committed
-
- 30 May, 2008 9 commits
-
-
2008-05-30 Richard Guenther <rguenther@suse.de> * builtins.c (build_string_literal): Avoid generating a non-gimple_val result. From-SVN: r136222
Richard Guenther committed -
* exec-tool.in: Use an environment variable (private) instead of a file (shared) as a semaphore, so as to not break parallel builds. From-SVN: r136221
DJ Delorie committed -
2008-05-30 Steven Bosscher <stevenb.gcc@gmail.com> * optabs.c (maybe_encapsulate_block): Remove. (emit_libcall_block): Adjust accordingly. * optabs.h (maybe_encapsulate_block): Remove prototype. * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Don't use maybe_encapsulate_block. From-SVN: r136217
Steven Bosscher committed -
rs6000.c (rs6000_legitimize_address, [...]): Make sure an rtx is a SYMBOL_REF before calling get_pool_constant. 2008-05-30 Steven Bosscher <stevenb.gcc@gmail.com> * config/rs6000/rs6000.c (rs6000_legitimize_address, rs6000_legitimize_reload_address, rs6000_emit_move): Make sure an rtx is a SYMBOL_REF before calling get_pool_constant. From-SVN: r136216
Steven Bosscher committed -
* configure.ac (arm*-*-linux-gnueabi): Don't disable building of libobjc for ARM EABI Linux. * configure: Regenerate. libobjc/ * exception.c (__objc_exception_class): Initialise as constant array for ARM EABI. Change macro to static const for non-ARM EABI. (ObjcException): Add note about structure layout. Remove landingPad and handlerSwitchValue for ARM EABI. (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version of function. (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases. (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add ARM EABI unwinding support. (objc_exception_throw): Use memcpy to initialise exception class. From-SVN: r136215
Julian Brown committed -
gcc/testsuite PR preprocessor/36320: * gcc.dg/cpp/pr36320.c: New file. libcpp PR preprocessor/36320: * internal.h (_cpp_parse_expr): Update. * expr.c (_cpp_parse_expr): Add 'is_if' argument. Update error messages. * directives.c (do_if): Update. (do_elif): Require expression if processing group. From-SVN: r136209
Tom Tromey committed -
From-SVN: r136200
Eric Botcazou committed -
libcpp/ChangeLog * include/cpplib.h (struct cpp_dir): Add new field, canonical_name. gcc/ChangeLog * incpath.c: Use HOST_LACKS_INODE_NUMBERS conditional rather than OS names to choose INO_T_EQ definition. (DIRS_EQ) [!INO_T_EQ]: Don't worry about case in comparison. (add_path) [!INO_T_EQ]: Use lrealpath to fill canonical_name field. From-SVN: r136196
Danny Smith committed -
From-SVN: r136194
GCC Administrator committed
-
- 29 May, 2008 20 commits
-
-
gcc: 2008-05-29 Daniel Franke <franke.daniel@gmail.com> PR target/36348 * config/darwin-f.c: New. * config/t-darwin: Added rule to build darwin-f.o. * config.gcc: Defined new variable, fortran_target_objs. (*-*-darwin*): Set fortran_target_objs. * Makefile.in: Defined new variable FORTRAN_TARGET_OBJS. * configure.ac: Substitute fortran_target_objs, set FORTRAN_TARGET_OBJS. * configure: Regenerated. gcc/fortran: 2008-05-29 Daniel Franke <franke.daniel@gmail.com> PR target/36348 * Make-lang.in (F95_OBJS): Added dependency on FORTRAN_TARGET_OBJS. From-SVN: r136178
Daniel Franke committed -
/cp 2008-05-29 Paolo Carlini <paolo.carlini@oracle.com> PR c++/35243 * pt.c (tsubst_initializer_list): Consistently check the tree returned by tsubst_pack_expansion for error_mark_node. /testsuite 2008-05-29 Paolo Carlini <paolo.carlini@oracle.com> PR c++/35243 * g++.dg/cpp0x/vt-35243.C: New. From-SVN: r136174
Paolo Carlini committed -
* scanner.c (load_line): Add first_char argument. Don't call ungetc. (gfc_read_orig_filename): Adjust call to load_line. Don't call ungetc. (load_file): Adjust call to load_line. From-SVN: r136171
Francois-Xavier Coudert committed -
gcc/ 2008-05-29 H.J. Lu <hongjiu.lu@intel.com> PR target/35771 * config/i386/i386.c (ix86_function_arg_boundary): Convert to canonical type if needed. gcc/testsuite/ 2008-05-29 H.J. Lu <hongjiu.lu@intel.com> PR target/35771 * gcc.dg/torture/pr35771.h: New. * gcc.dg/torture/pr35771-1.c: Likewise. * gcc.dg/torture/pr35771-2.c: Likewise. * gcc.dg/torture/pr35771-3.c: Likewise. From-SVN: r136159
H.J. Lu committed -
2008-05-29 Paolo Carlini <paolo.carlini@oracle.com> * include/debug/bitset (bitset(const char*)): Implement DR 778 in debug-mode too. * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode deal with char16_t and char32_t. From-SVN: r136158
Paolo Carlini committed -
* tree-nested.c (check_for_nested_with_variably_modified): Fix typo. From-SVN: r136154
Eric Botcazou committed -
re PR tree-optimization/36343 (Wrong code due to bad TBAA pruning of points-to-sets and use in call clobbering) 2008-05-29 Richard Guenther <rguenther@suse.de> PR tree-optimization/36343 PR tree-optimization/36346 PR tree-optimization/36347 * tree-flow.h (clobber_what_p_points_to): Declare. * tree-ssa-structalias.c (set_uids_in_ptset): Whether the pointed-to variable is dereferenced is irrelevant to whether the pointer can access the pointed-to variable. (clobber_what_p_points_to): New function. * tree-ssa-alias.c (set_initial_properties): Use it. * tree-ssa.c (verify_flow_sensitive_alias_info): Adjust call clobber check for NMTs. * gcc.c-torture/execute/pr36343.c: New testcase. From-SVN: r136152
Richard Guenther committed -
From-SVN: r136151
Arnaud Charlet committed -
From-SVN: r136150
Arnaud Charlet committed -
PR ada/864 * osint.ads, osint.adb (Program_Name): New parameter "Prog" to allow recognition of program suffix in addition to prefix. * gnatchop.adb (Locate_Executable): Add support for prefix. * make.adb, gnatcmd.adb, gnatlink.adb, prj-makr.adb, mlib-utl.adb: Adjust calls to Program_Name. From-SVN: r136149
Arnaud Charlet committed -
2008-05-29 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Analyze_Subprogram_Specification): if the return type is abstract, do not apply abstractness check on subprogram if this is a renaming declaration. From-SVN: r136148
Ed Schonberg committed -
From-SVN: r136147
Arnaud Charlet committed -
From-SVN: r136145
Arnaud Charlet committed -
2008-05-29 Robert Dewar <dewar@adacore.com> * sem_eval.adb (Is_Same_Value): Take care of several more cases From-SVN: r136144
Robert Dewar committed -
* sem_util.adb: (Abstract_Interface_List): Add missing support for full type-declaration associated with synchronized types. From-SVN: r136143
Javier Miranda committed -
From-SVN: r136142
Arnaud Charlet committed -
From-SVN: r136141
Arnaud Charlet committed -
From-SVN: r136140
Arnaud Charlet committed -
From-SVN: r136139
Arnaud Charlet committed -
From-SVN: r136135
GCC Administrator committed
-
- 28 May, 2008 2 commits
-
-
2008-05-28 Seongbae Park <seongbae.park@gmail.com> * value-prof.c (tree_ic_transform): Use HOST_WIDEST_INT_PRINT_DEC for printing gcov_type. From-SVN: r136131
Seongbae Park committed -
2008-05-28 Janus Weil <janus@gcc.gnu.org> PR fortran/36325 PR fortran/35830 * interface.c (gfc_procedure_use): Enable argument checking for external procedures with explicit interface. * symbol.c (check_conflict): Fix conflict checking for externals. (copy_formal_args): Fix handling of arrays. * resolve.c (resolve_specific_f0, resolve_specific_s0): Fix handling of intrinsics. * parse.c (parse_interface): Non-abstract INTERFACE statement implies EXTERNAL attribute. 2008-05-28 Janus Weil <janus@gcc.gnu.org> PR fortran/36325 PR fortran/35830 * gfortran.dg/interface_23.f90: New. * gfortran.dg/gomp/reduction3.f90: Fixed invalid code. * gfortran.dg/proc_decl_12.f90: New: * gfortran.dg/external_procedures_1.f90: Fixed error message. From-SVN: r136130
Janus Weil committed
-