- 19 Jun, 2009 9 commits
-
-
2009-06-19 Robert Dewar <dewar@adacore.com> * sem_type.ads, sem_ch12.adb: Minor reformatting * s-wchcnv.adb (UTF_32_To_Char_Sequence): Handle invalid data properly 2009-06-19 Ed Schonberg <schonberg@adacore.com> * exp_ch9.adb (Build_Wrapper_Spec): Handle properly an overridden primitive operation of a rivate extension whose controlling argument is an out parameter. * sem.adb (Walk_Library_Units): exclude generic package declarations from check. From-SVN: r148696
Arnaud Charlet committed -
* sem.adb (Walk_Library_Items): Include bodies in the list of units to traverse, to account for front-end inlining and instantiations in a spec or in the main unit. From-SVN: r148695
Arnaud Charlet committed -
2009-06-19 Thomas Quinot <quinot@adacore.com> * i-vxwoio.ads: Add comments 2009-06-19 Thomas Quinot <quinot@adacore.com> * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads, g-socket.adb, g-sothco.ads (GNAT.Sockets.Thin.C_Ioctl): Rename to Socket_Ioctl. (GNAT.Sockets.Thin.Socket_Ioctl): Use new function Thin_Common.Socket_Ioctl. (GNAT.Sockets.Thin_Common.Socket_Ioctl): Binding to new C wrapper __gnat_socket_ioctl. (__gnat_socket_ioctl): Wrapper for ioctl(2) called with a single int* argument after the file descriptor and request code. 2009-06-19 Robert Dewar <dewar@adacore.com> * checks.adb: Minor reformatting From-SVN: r148694
Arnaud Charlet committed -
2009-06-19 Jose Ruiz <ruiz@adacore.com> * env.c (__gnat_environ): RTX does not support this functionality. 2009-06-19 Sergey Rybin <rybin@adacore.com> * gnat_ugn.texi, vms_data.ads: Fix VMS qualifiers. 2009-06-19 Ed Schonberg <schonberg@adacore.com> * sem.adb (Walk_Library_Items): Include bodies in the list of units to traverse, to account for front-end inlining and instantiations in a spec or in the main unit. 2009-06-19 Robert Dewar <dewar@adacore.com> * checks.adb (Determine_Range): Do not attempt to get range of generic type. From-SVN: r148693
Arnaud Charlet committed -
gnat_ugn.texi, [...]: Add the documentation for the new gnatmetric option for generating the schema... 2009-06-19 Sergey Rybin <rybin@adacore.com> * gnat_ugn.texi, vms_data.ads: Add the documentation for the new gnatmetric option for generating the schema file for gnatmetric XML output. Add corresponding VMS qualifier. From-SVN: r148692
Sergey Rybin committed -
2009-06-19 Robert Dewar <dewar@adacore.com> * g-cgi.adb: Minor reformatting 2009-06-19 Eric Botcazou <ebotcazou@adacore.com> * s-intman-solaris.adb (Notify_Exception): Do not discriminate on the signal code for SIGFPE and raise Program_Error for SIGILL. * s-osinte-solaris.ads: Remove signal code constants for SIGFPE. 2009-06-19 Ed Schonberg <schonberg@adacore.com> * sem_ch8.adb (Nvis_Messages): Do not list an entity declared in a generic package if there is a visibility candidate that is declared in a regular package. From-SVN: r148691
Arnaud Charlet committed -
2009-06-19 Janus Weil <janus@gcc.gnu.org> PR fortran/40450 * trans-expr.c (gfc_conv_procedure_call): Only add an extra addr_expr to a procedure pointer actual argument, if it is not itself a dummy arg. 2009-06-19 Janus Weil <janus@gcc.gnu.org> PR fortran/40450 * gfortran.dg/proc_ptr_20.f90: New. From-SVN: r148690
Janus Weil committed -
* config/avr/avr.c (avr_override_options): Remove setting value of PARAM_INLINE_CALL_COST. From-SVN: r148689
Anatoly Sokolov committed -
From-SVN: r148688
GCC Administrator committed
-
- 18 Jun, 2009 22 commits
-
-
PR 40488 * tree-pass.h (TDF_ASMNAME): New. * tree-dump.c (dump_options): Add asmname. * doc/invoke.texi: Document it. * tree-pretty-print.c (maybe_dump_asm_name): Merge into... (dump_decl_name): ...here. (dump_function_name): New flags arg; mind TDF_ASMNAME. (dump_generic_node): Update dump_function_name calls. (print_call_name): New flags arg; update all dump calls. * diagnostic.h (print_call_name): Update. * gimple-pretty-print.c (dump_gimple_call): Update. From-SVN: r148685
Richard Henderson committed -
gcc/ 2009-06-18 H.J. Lu <hongjiu.lu@intel.com> PR target/40470 * config/i386/i386.h (CLASS_LIKELY_SPILLED_P): Add SSE_FIRST_REG. gcc/testsuite/ 2009-06-18 H.J. Lu <hongjiu.lu@intel.com> PR target/40470 * gcc.dg/torture/pr40470-1.c: New. * gcc.dg/torture/pr40470-2.c: Likewise. * gcc.dg/torture/pr40470-3.c: Likewise. * gcc.dg/torture/pr40470-4.c: Likewise. From-SVN: r148673
H.J. Lu committed -
* doc/plugins.texi: Document plugin_is_GPL_compatible. * plugin.c (str_license): Declare. (try_init_one_plugin): Assert that the symbol 'plugin_is_GPL_compatible' exists. testsuite/ChangeLog * gcc.dg/plugin/selfassign.c: Declare plugin_is_GPL_compatible. * gcc.dg/plugin/ggcplug.c: Likewise. * gcc.dg/plugin/one_time_plugin.c: Likewise. * g++.dg/plugin/selfassign.c: Likewise. * g++.dg/plugin/attribute_plugin.c: Likewise. * g++.dg/plugin/dumb_plugin.c: Likewise. From-SVN: r148667
Diego Novillo committed -
* class.c (get_vtable_decl): Replace finish_decl with cp_finish_decl. * decl.c (finish_decl): Remove. (declare_global_var): Replace finish_decl with cp_finish_decl. (start_method): Same. * rtti.c (emit_tinfo_decl): Same. * pt.c (tsubst_expr): Same. (instantiate_decl): Same. * decl2.c (grokbitfield): Same. * name-lookup.c (pushdecl_top_level_1): Same. * cp-tree.h: Remove finish_decl. From-SVN: r148666
Aldy Hernandez committed -
From-SVN: r148665
Sergei Dyshel committed -
From-SVN: r148664
Sergei Dyshel committed -
2009-06-18 Martin Jambor <mjambor@suse.cz> * tree-sra.c: Include statistics.h (sra_stats): New variable. (sra_initialize): Clear sra_stats. (create_access_replacement): Increment sra_stats.replacements. (get_access_replacement): Do not return twice. (analyze_all_variable_accesses): Increment statistics counter by the number of scalarized aggregates. (generate_subtree_copies): Increment sra_stats.subtree_copies. (sra_modify_expr): Increment sra_stats.exprs. (load_assign_lhs_subreplacements): Increment sra_stats.subreplacements. (sra_modify_assign): Increment sra_stats.exprs, sra_stats.separate_lhs_rhs_handling and sra_stats.deleted. (perform_intra_sra): Update statistics counters. * Makefile.in (tree-sra.o): Add statistics.h to dependencies. From-SVN: r148663
Martin Jambor committed -
2009-06-18 Manuel López-Ibáñez <manu@gcc.gnu.org> libcpp/ * expr.c (num_div_op): Take explicit location. testsuite/ * gcc.dg/cpp/arith-3.c: Add column info. From-SVN: r148662
Manuel López-Ibáñez committed -
* system-aix64.ads: New file. * gcc-interface/Makefile.in (aix LIBGNAT_TARGET_PAIRS): Use the 64bit system.ads for ppc64 multilib variants. From-SVN: r148659
Olivier Hainque committed -
2009-06-18 Sandra Loosemore <sandra@codesourcery.com> gcc/ * config/arm/arm.c (TARGET_SCALAR_MODE_SUPPORTED_P): Redefine. (arm_scalar_mode_supported_p): New function. gcc/testsuite/ * gcc.target/arm/fp16-compile-none-2.c: New. * gcc.target/arm/fp16-compile-ieee-12.c: New. * gcc.target/arm/fp16-compile-alt-12.c: New. From-SVN: r148657
Sandra Loosemore committed -
2009-06-18 Sandra Loosemore <sandra@codesourcery.com> gcc/testsuite/ * gcc.target/arm/fp16-compile-alt-1.c: New. * gcc.target/arm/fp16-compile-alt-2.c: New. * gcc.target/arm/fp16-compile-alt-3.c: New. * gcc.target/arm/fp16-compile-alt-4.c: New. * gcc.target/arm/fp16-compile-alt-5.c: New. * gcc.target/arm/fp16-compile-alt-6.c: New. * gcc.target/arm/fp16-compile-alt-7.c: New. * gcc.target/arm/fp16-compile-alt-8.c: New. * gcc.target/arm/fp16-compile-alt-9.c: New. * gcc.target/arm/fp16-compile-alt-10.c: New. * gcc.target/arm/fp16-compile-alt-11.c: New. * gcc.target/arm/fp16-compile-ieee-1.c: New. * gcc.target/arm/fp16-compile-ieee-2.c: New. * gcc.target/arm/fp16-compile-ieee-3.c: New. * gcc.target/arm/fp16-compile-ieee-4.c: New. * gcc.target/arm/fp16-compile-ieee-5.c: New. * gcc.target/arm/fp16-compile-ieee-6.c: New. * gcc.target/arm/fp16-compile-ieee-7.c: New. * gcc.target/arm/fp16-compile-ieee-8.c: New. * gcc.target/arm/fp16-compile-ieee-9.c: New. * gcc.target/arm/fp16-compile-ieee-10.c: New. * gcc.target/arm/fp16-compile-ieee-11.c: New. * gcc.target/arm/fp16-compile-none-1.c: New. * gcc.target/arm/fp16-compile-exprtype.c: New. * gcc.target/arm/fp16-compile-vcvt.c: New. * gcc.target/arm/fp16-builtins-1.c: New. * gcc.target/arm/fp16-rounding-alt-1.c: New. * gcc.target/arm/fp16-rounding-ieee-1.c: New. * gcc.target/arm/fp16-param-1.c: New. * gcc.target/arm/fp16-return-1.c: New. * gcc.target/arm/fp16-unprototyped-1.c: New. * gcc.target/arm/fp16-unprototyped-2.c: New. * gcc.target/arm/fp16-variadic-1.c: New. * gcc.dg/torture/arm-fp16-compile-assign.c: New. * gcc.dg/torture/arm-fp16-compile-convert.c: New. * gcc.dg/torture/arm-fp16-int-convert-alt.c: New. * gcc.dg/torture/arm-fp16-int-convert-ieee.c: New. * gcc.dg/torture/arm-fp16-ops.h: New. * gcc.dg/torture/arm-fp16-ops-1.c: New. * gcc.dg/torture/arm-fp16-ops-2.c: New. * gcc.dg/torture/arm-fp16-ops-3.c: New. * gcc.dg/torture/arm-fp16-ops-4.c: New. * gcc.dg/torture/arm-fp16-ops-5.c: New. * gcc.dg/torture/arm-fp16-ops-6.c: New. * gcc.dg/torture/arm-fp16-ops-7.c: New. * gcc.dg/torture/arm-fp16-ops-8.c: New. * g++.dg/ext/arm-fp16/fp16-overload-1.C: New. * g++.dg/ext/arm-fp16/fp16-return-1.C: New. * g++.dg/ext/arm-fp16/fp16-param-1.C: New. * g++.dg/ext/arm-fp16/fp16-mangle-1.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops.h: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-1.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-2.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-3.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-4.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-5.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-6.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-7.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-8.C: New. From-SVN: r148656
Sandra Loosemore committed -
2009-06-18 Paul Brook <paul@codesourcery.com> Sandra Loosemore <sandra@codesourcery.com> gcc/ * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANSIGN_H): Define. (__extendhfsf2, __truncsfhf2): Define. * config/arm/fp16.c: New file. * config/arm/t-bpabi (LIB2FUNCS_STATIC_EXTRA): Add fp16.c. * config/arm/t-symbian (LIB2FUNCS_STATIC_EXTRA): Add fp16.c. Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com> From-SVN: r148655
Paul Brook committed -
2009-06-18 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/extend.texi (Half-Precision): New section. * doc/invoke.texi (Option Summary): List -mfp16-format. (ARM Options): List neon-fp16 as -mfpu value. Document -mfp16-format. * config/arm/arm.opt (mfp16-format=): New. * config/arm/arm.c: Include intl.h. (TARGET_INVALID_PARAMETER_TYPE): Redefine. (TARGET_INVALID_RETURN_TYPE): Redefine. (TARGET_PROMOTED_TYPE): Redefine. (TARGET_CONVERT_TO_TYPE): Redefine. (arm_fp16_format): Define. (all_fpus): Add entry for neon-fp16. (fp_model_for_fpu): Likewise. (struct fp16_format): Declare. (all_fp16_formats): Define. (arm_init_libfuncs): Add entries for HFmode conversions and arithmetic functions. (arm_override_options): Set arm_fp16_format. Call sorry for fp16 and no ldrh. (arm_legitimate_index_p): Treat HFmode like HImode. (thumb1_legitimate_address_p): Make it recognize HFmode constants. (coproc_secondary_reload_class): Special-case HFmode. (arm_print_operand): Add 'z' specifier for vld1.16/vst1.16. (arm_hard_regno_mode_ok): Allow HFmode values in VFP registers. (arm_init_fp16_builtins): New. (arm_init_builtins): Call it. (arm_invalid_parameter_type): New. (arm_invalid_return_type): New. (arm_promoted_type): New. (arm_convert_to_type). (arm_file_start): Deal with neon-fp16 as fpu_name. Emit tag for fp16 format. (arm_emit_fp16_const): New function. (arm_mangle_type): Mangle __fp16 as "Dh". * config/arm/arm.h (TARGET_VFPD32): Make it know about FPUTYPE_NEON_FP16. (TARGET_NEON_FP16): New. (TARGET_NEON): Make it know about FPUTYPE_NEON_FP16. (enum fputype): Add FPUTYPE_NEON_FP16. (enum arm_fp16_format_type): Declare. (arm_fp16_format): Declare. (LARGEST_EXPONENT_IS_NORMAL): Define. * config/arm/arm-protos.h (arm_emit_fp16_const): Declare. * config/arm/arm-modes.def (HFmode): Define. * config/arm/vfp.md: (*movhf_vfp): New. (extendhfsf2): New. (truncsfhf2): New. * config/arm/arm.md: (fpu): Add neon_fp16. (floatsihf2, floatdihf2): New. (fix_trunchfsi2, fix_trunchfdi2): New. (truncdfhf2): New. (extendhfdf2): New. (movhf): New. (*arm32_movhf): New. (*thumb1_movhf): New. (consttable_2): Add check for HFmode constants. (consttable_4): Handle HFmode constants. From-SVN: r148654
Sandra Loosemore committed -
* convert.c (convert_to_integer): Convert (int)logb() into ilogb(). testsuite/ChangeLog: * gcc.dg/builtins-65.c: New test. From-SVN: r148653
Uros Bizjak committed -
2009-06-18 Janus Weil <janus@gcc.gnu.org> PR fortran/40451 * resolve.c (resolve_contained_fntype): Prevent implicit typing for procedures with explicit interface. * symbol.c (gfc_check_function_type): Ditto. 2009-06-18 Janus Weil <janus@gcc.gnu.org> PR fortran/40451 * gfortran.dg/proc_ptr_result_4.f90: New. From-SVN: r148652
Janus Weil committed -
* ChangeLog: Various fixes. * testsuite/ChangeLog: Ditto. From-SVN: r148651
Uros Bizjak committed -
collect2.c (main): Use CONST_CAST2 to perform char ** to const char ** conversion in AIX specific... * collect2.c (main): Use CONST_CAST2 to perform char ** to const char ** conversion in AIX specific section. From-SVN: r148649
Olivier Hainque committed -
2009-06-17 Benjamin Kosnik <bkoz@redhat.com> * testsuite/23_containers/list/check_construct_destroy.h: New. Move test logic here. * testsuite/23_containers/list/moveable.h: Same. * testsuite/23_containers/list/modifiers/insert/25288.h: Same. * testsuite/23_containers/list/modifiers/1.h: Same. * testsuite/23_containers/list/modifiers/2.h: Same. * testsuite/23_containers/list/modifiers/3.h: Same. * testsuite/23_containers/list/modifiers/swap/1.h: Same. * testsuite/23_containers/list/modifiers/swap/2.h: Same. * testsuite/23_containers/list/modifiers/swap/3.h: Same. * testsuite/23_containers/list/operations/1.h: Same. * testsuite/23_containers/list/operations/2.h: Same. * testsuite/23_containers/list/operations/3.h: Same. * testsuite/23_containers/list/operations/4.h: Same. * testsuite/23_containers/list/operations/5.h: Same. * testsuite/23_containers/list/capacity/1.h: Same. * testsuite/23_containers/list/init-list.h: Same. * testsuite/23_containers/list/cons/1.h: Same. * testsuite/23_containers/list/cons/2.h: Same. * testsuite/23_containers/list/cons/3.h: Same. * testsuite/23_containers/list/cons/4.h: Same. * testsuite/23_containers/list/cons/5.h: Same. * testsuite/23_containers/list/cons/6.h: Same. * testsuite/23_containers/list/cons/7.h: Same. * testsuite/23_containers/list/cons/8.h: Same. * testsuite/23_containers/list/cons/9.h: Same. * testsuite/23_containers/list/cons/clear_allocator.h: Same. * testsuite/23_containers/list/modifiers/insert/25288.cc: Include test header. * testsuite/23_containers/list/modifiers/1.cc: Same. * testsuite/23_containers/list/modifiers/2.cc: Same. * testsuite/23_containers/list/modifiers/3.cc: Same. * testsuite/23_containers/list/modifiers/swap/1.cc: Same. * testsuite/23_containers/list/modifiers/swap/2.cc: Same. * testsuite/23_containers/list/modifiers/swap/3.cc: Same. * testsuite/23_containers/list/operations/1.cc: Same. * testsuite/23_containers/list/operations/2.cc: Same. * testsuite/23_containers/list/operations/3.cc: Same. * testsuite/23_containers/list/operations/4.cc: Same. * testsuite/23_containers/list/operations/5.cc: Same. * testsuite/23_containers/list/capacity/1.cc: Same. * testsuite/23_containers/list/init-list.cc: Same. * testsuite/23_containers/list/cons/1.cc: Same. * testsuite/23_containers/list/cons/2.cc: Same. * testsuite/23_containers/list/cons/3.cc: Same. * testsuite/23_containers/list/cons/4.cc: Same. * testsuite/23_containers/list/cons/5.cc: Same. * testsuite/23_containers/list/cons/6.cc: Same. * testsuite/23_containers/list/cons/7.cc: Same. * testsuite/23_containers/list/cons/8.cc: Same. * testsuite/23_containers/list/cons/9.cc: Same. * testsuite/23_containers/list/cons/clear_allocator.cc: Same. * testsuite/23_containers/list/check_construct_destroy.cc: Same. * testsuite/23_containers/list/moveable.cc: Same. From-SVN: r148644
Benjamin Kosnik committed -
2009-06-17 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (ix86_special_builtin_type): Remove UINT64_FTYPE_PINT. Add UINT64_FTYPE_PUNSIGNED. (bdesc_special_args): Updated. (ix86_init_mmx_sse_builtins): Likewise. (ix86_expand_special_args_builtin): Likewise. From-SVN: r148643
H.J. Lu committed -
* tree-pretty-print.c (maybe_dump_asm_name): New. (dump_decl_name): Use it. (PRINT_FUNCTION_NAME): Merge into... (dump_function_name): ... here. Use maybe_dump_asm_name. From-SVN: r148642
Richard Henderson committed -
From-SVN: r148641
Cary Coutant committed -
From-SVN: r148640
GCC Administrator committed
-
- 17 Jun, 2009 9 commits
-
-
* dbxout.c (dbxout_source_line): Add is_stmt parameter. Change caller. * debug.c (struct gcc_debug_hooks): Change placeholder for source_line hook. (debug_nothing_int_charstar_int): Replaced by... (debug_nothing_int_charstar_int_bool): ...this. * debug.h (struct gcc_debug_hooks): Add is_stmt parameter to source_line prototype. (debug_nothing_int_charstar_int): Replaced by... (debug_nothing_int_charstar_int_bool): ...this. * defaults.h (SUPPORTS_DISCRIMINATOR): New constant. * dwarf2out.c (dwarf2out_source_line): Add is_stmt parameter. Output is_stmt operand when necessary. * final.c (last_is_stmt): New variable. (final_start_function): Initialize last_is_stmt. (final_scan_insn): Pass is_stmt to source_line debug hook. (notice_source_line): Add is_stmt parameter. * sdbout.c (sdbout_source_line): Add is_stmt parameter. * vmsdbgout.c (vmsdbgout_source_line): Add is_stmt parameter. Change callers. * xcoffout.c (xcoffout_source_line): Add is_stmt parameter. * xcoffout.h (xcoffout_source_line): Add is_stmt parameter. From-SVN: r148635
Cary Coutant committed -
* expr.c (struct move_by_pieces_d): Rename from move_by_pieces. Change all uses. (struct store_by_pieces_d): Rename from store_by_pieces. Change call uses. From-SVN: r148633
Ian Lance Taylor committed -
* tree.h (STRIP_NOPS, STRIP_SIGN_NOPS, STRIP_USELESS_TYPE_CONVERSION): Use tree_strip_nop_conversions, tree_strip_sign_nop_conversions and tree_ssa_strip_useless_type_conversions rather than stripping the operations here. (tree_strip_nop_conversions, tree_strip_sign_nop_conversions): Declare them. * gimple.h (tree_ssa_strip_useless_type_conversions): Declare it. * tree-ssa.c (tree_ssa_strip_useless_type_conversions): New function. * tree.c (tree_nop_conversion, tree_sign_nop_conversion, tree_strip_nop_conversions, tree_strip_sign_nop_conversions): New functions. testsuite/ * gcc.c-torture/execute/bitfld-5.c: New test. From-SVN: r148631
Adam Nemet committed -
Replace uses of "f" constraint with "d" as needed. From-SVN: r148630
Michael Eager committed -
* profile.c (total_num_never_executed): Don't define. (compute_branch_probabilities): Don't count or print num_never_executed. (init_branch_prob): Don't set total_num_never_executed. (end_branch_prob): Don't print total_num_never_executed. From-SVN: r148628
Ian Lance Taylor committed -
From-SVN: r148627
Ian Lance Taylor committed -
* python/hook.in: Do not fail when there is no current objfile. Use os.path.normpath. From-SVN: r148626
Tom Tromey committed -
2009-06-17 David Daney <ddaney@caviumnetworks.com> * jump.c (cleanup_barriers): Handle case of no insns before a barrier. 2009-06-17 David Daney <ddaney@caviumnetworks.com> * gcc.dg/builtin-unreachable-3.c: New test. From-SVN: r148624
David Daney committed -
2009-06-17 David Daney <ddaney@caviumnetworks.com> * gcc.target/i386/builtin-unreachable.c: New test. From-SVN: r148622
David Daney committed
-