- 21 Jun, 2010 10 commits
-
-
2010-06-21 Pascal Obry <obry@adacore.com> * prj-nmsc.adb (Search_Directories): Use the non-translated directory path to open it. 2010-06-21 Javier Miranda <miranda@adacore.com> * exp_cg.adb (Write_Call_Info): Fill the component sourcename using the external name. 2010-06-21 Ed Schonberg <schonberg@adacore.com> * exp_ch4.adb (Expand_Concatenate): If an object declaration is created to hold the result, indicate that the target of the declaration does not need an initialization, to prevent spurious errors when Initialize_Scalars is enabled. 2010-06-21 Ed Schonberg <schonberg@adacore.com> * a-tifiio.adb (Put): In the procedure that performs I/O on a String, Fore is not bound by line length. The Fore parameter of the internal procedure that performs the operation is an integer. 2010-06-21 Thomas Quinot <quinot@adacore.com> * sem_res.adb, checks.adb: Minor reformatting. 2010-06-21 Emmanuel Briot <briot@adacore.com> * s-regpat.adb (Next_Instruction, Get_Next_Offset): Removed, merged into Get_Next. (Insert_Operator_Before): New subprogram, avoids duplicated code (Compile): Avoid doing two compilations when the pattern matcher ends up being small. From-SVN: r161074
Arnaud Charlet committed -
2010-06-21 Emmanuel Briot <briot@adacore.com> * s-regpat.adb: Improve debug traces (Dump): Change output format to keep it smaller. 2010-06-21 Javier Miranda <miranda@adacore.com> * exp_cg.adb (Generate_CG_Output): Disable redirection of standard output to the output file when this routine completes its work. From-SVN: r161073
Arnaud Charlet committed -
From-SVN: r161071
Joern Rennecke committed -
Move the entry from libjava/classpath/ ChangeLog to ChangeLog.gcj as it is a local change. Reported by Jakub Jelinek, approved by Mark Wielaard. From-SVN: r161069
Jan Kratochvil committed -
* config/rx/rx.h (PTRDIFF_TYPE): Define. (SMALL_REGISTER_CLASS): Define (to zero). (PRINT_OPERAND): Delete. (PRINT_OPERAND_ADDRESS): Delete. * config/rx/rx-protos.h (rx_print_operand): Delete prototype. (rx_print_operand_address): Delete prototype. * config/rx/rx.c (rx_print_operand): Make static. Allow %H and %L to handle CONST_DOUBLEs. (rx_print_operand_address): Make static. (rx_gen_move_template): Rename local variable 'template' to out_template. (rx_function_arg): Do not pass unknown sized objects in registers. (TARGET_PRINT_OPERAND): Define. (TARGET_PRINT_OPERAND_ADDRESS): Define. From-SVN: r161068
Nick Clifton committed -
gcc/ * Makefile.in (POD2MAN): Provide --date from $(DATESTAMP). libjava/classpath/ * doc/Makefile.am (POD2MAN): Provide --date from ChangeLog. * doc/Makefile.in: Regenerate. From-SVN: r161066
Jan Kratochvil committed -
2010-06-21 Kai Tietz <kai.tietz@onevision.com> * config/i386/i386.c (ix86_compute_frame_layout): Avoid stack-alignment for simple leaf-functions. From-SVN: r161064
Kai Tietz committed -
2010-06-21 Kai Tietz <kai.tietz@onevision.com> * gcc.target/x86_64/abi/callabi/leaf-1.c: New. * gcc.target/x86_64/abi/callabi/leaf-2.c: New. From-SVN: r161063
Kai Tietz committed -
contrib/ChangeLog: * compare-debug: Drop LTO sections. config/ChangeLog: * bootstrap-lto.mk: New. gcc/ChangeLog: * doc/install.texi: Document bootstrap-lto. From-SVN: r161061
Alexandre Oliva committed -
From-SVN: r161060
GCC Administrator committed
-
- 20 Jun, 2010 7 commits
-
-
PR debug/44248 * lto-streamer-in.c (input_bb): Leave debug stmts alone. (input_function): Drop them here, if VTA is disabled. From-SVN: r161056
Alexandre Oliva committed -
PR target/44546 * config/i386/predicates.md (ix86_swapped_fp_comparsion_operator): New predicate. * config/i386/i386.md (*fp_jcc_8<mode>_387): Use ix86_swapped_fp_comparsion_operator instead of ix86_fp_comparison_operator. (*fp_jcc_1_387): Rename from *fp_jcc_3_387. (*fp_jcc_1r_387): Rename from *fp_jcc_4_387. (*fp_jcc_2_387): Rename from *fp_jcc_5_387. (*fp_jcc_2r_387): Rename from *fp_jcc_6_387. (*fp_jcc_3_387): Rename from *fp_jcc_7_387. (*fp_jcc_4_<mode>_387): Rename from *fp_jcc_8<mode>_387. testsuite/ChangeLog: PR target/44546 * gcc.target/i386/pr44546.c: New test. From-SVN: r161055
Uros Bizjak committed -
random.tcc (uniform_int_distribution<>::operator()): Fix to work well for arbitrary urng.max() and urng.min(). 2010-06-20 Paolo Carlini <paolo.carlini@oracle.com> Kai-Uwe Bux <bux@kubux.net> * include/bits/random.tcc (uniform_int_distribution<>::operator()): Fix to work well for arbitrary urng.max() and urng.min(). Co-Authored-By: Kai-Uwe Bux <bux@kubux.net> From-SVN: r161054
Paolo Carlini committed -
PR other/32998 * opth-gen.awk: Generate definitions of OPT_SPECIAL_unknown, OPT_SPECIAL_program_name and OPT_SPECIAL_input_file. * opts-common.c (find_opt): Return OPT_SPECIAL_unknown on failure. (decode_cmdline_option): Update for this return value. Set orig_option_with_args_text field. Set arg field for unknown options. Make static. (decode_cmdline_options_to_array): New. (prune_options): Update handling of find_opt return value. * opts.c (read_cmdline_option): Take decoded option. Return void. (read_cmdline_options): Take decoded options. (decode_options): Add parameters for decoded options. Use decode_cmdline_options_to_array. Use decoded options for -O scan. Use integral_argument for -O parameters. Update call to read_cmdline_options. (enable_warning_as_error): Update handling of find_opt return value. * opts.h: Update comment on unknown options. (struct cl_decoded_option): Update comments on opt_index and arg. Add orig_option_with_args_text. (decode_cmdline_option): Remove. (decode_cmdline_options_to_array): Declare. (decode_options): Update prototype. * toplev.c (save_argv): Remove. (save_decoded_options, save_decoded_options_count): New. (read_integral_parameter): Remove. (print_switch_values): Use decoded options. (toplev_main): Don't set save_argv. Update call to decode_options. * toplev.h (read_integral_parameter): Remove. * varasm.c (elf_record_gcc_switches): Don't handle holding back names. c-family: * c-common.c (parse_optimize_options): Update call to decode_options. fortran: * options.c (gfc_handle_option): Don't handle N_OPTS. testsuite: * gcc.dg/opts-2.c: New test. From-SVN: r161053
Joseph Myers committed -
* gcc-interface/trans.c (Subprogram_Body_to_gnu): Use while instead of for loop. Call build_constructor_from_list directly in the CICO case. From-SVN: r161046
Eric Botcazou committed -
From-SVN: r161045
GCC Administrator committed -
2010-06-19 Janus Weil <janus@gcc.gnu.org> PR fortran/44584 * resolve.c (resolve_fl_derived): Reverse ordering of conditions to avoid ICE. 2010-06-19 Janus Weil <janus@gcc.gnu.org> PR fortran/44584 * gfortran.dg/typebound_proc_15.f03: Modified. From-SVN: r161041
Janus Weil committed
-
- 19 Jun, 2010 8 commits
-
-
PR target/44072 * arm.md (cmpsi2_addneg): Prefer emitting adds to subs with a negative immediate. * constraints.md (Pw, Px): New constraints. * thumb2.md (cmpsi2_addneg peephole2): New peepholes. * gcc.target/arm/thumb2-cmpneg2add-1.c: New test. * gcc.target/arm/thumb2-cmpneg2add-2.c: New test. From-SVN: r161040
Richard Earnshaw committed -
2010-06-19 H.J. Lu <hongjiu.lu@intel.com> * config/i386/sse.md (fma4modesuffixf4): Removed. (ssemodesuffixf2s): Likewise. (ssemodesuffixf4): Likewise. (ssemodesuffixf2c): Likewise. (ssescalarmodesuffix2s): Likewise. (avxmodesuffixf2c): Likewise. (ssemodesuffix): New. (ssescalarmodesuffix): Likewise. Update patterns with ssemodesuffix and ssescalarmodesuffix. From-SVN: r161031
H.J. Lu committed -
* g++.dg/ext/label13.C: Fix typo in last change. From-SVN: r161028
John David Anglin committed -
2010-06-19 Philip Herron <herron.philip@googlemail.com> * c-decl.c (c_write_global_declarations): Don't check flag_syntax_only. From-SVN: r161024
Philip Herron committed -
2010-06-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/44477 * gfortran.dg/eof_3.f90 * gfortran.dg/endfile_2.f90 * gfortran.dg/endfile_4.f90 * gfortran.dg/endfile_3.f90 From-SVN: r161021
Jerry DeLisle committed -
2010-06-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/44477 * io/file_pos.c (st_endfile): Add check for ENDFILE when file is already positioned after the EOF marker. Use find_or_create_unit instead of find_unit. If unit is not connected, connect it and create the file with default settings. * io/transfer.c (data_transfer_init): Add check for attempted READ or WRITE when file is already positioned after the EOF marker. From-SVN: r161020
Jerry DeLisle committed -
PR c++/41090 * g++.dg/ext/label13.C: xfail on 32-bit hppa*-*-hpux*. From-SVN: r161018
John David Anglin committed -
From-SVN: r161017
GCC Administrator committed
-
- 18 Jun, 2010 15 commits
-
-
re PR fortran/44556 (incorrect error: Stat-variable at (1) shall not be DEALLOCATEd within the same DEALLOCATE statement) 2010-06-18 Tobias Burnus <burnus@net-b.de> PR fortran/44556 * resolve.c (resolve_allocate_deallocate): Properly check part-refs in stat=/errmsg= for invalid use. 2010-06-18 Tobias Burnus <burnus@net-b.de> PR fortran/44556 * gfortran.dg/allocate_alloc_opt_11.f90: New. From-SVN: r161011
Tobias Burnus committed -
2010-06-18 Ed Schonberg <schonberg@adacore.com> * freeze.adb (Build_And_Analyze_Renamed_Body): If the renaming declaration appears in the same unit and ealier than the renamed entity, retain generated body to prevent order-of-elaboration issues in gigi. 2010-06-18 Arnaud Charlet <charlet@adacore.com> * s-tpoben.adb: Update comments. 2010-06-18 Robert Dewar <dewar@adacore.com> * debug.adb: Minor comment change. From-SVN: r161010
Arnaud Charlet committed -
re PR libstdc++/32618 (std::vector calls uneccessary constructors instead of inplace construction of first object) 2010-06-18 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/32618 * include/bits/stl_list.h (vector<>::_M_default_initialize, _M_default_append): Declare. (list<>::list(size_type), resize(size_type)): Add in C++0x mode, use the latter. * include/bits/list.tcc (list<>::resize, _M_default_append): Define. * include/bits/stl_vector.h (vector<>::_M_default_initialize, _M_default_append): Declare. (vector<>::vector(size_type), resize(size_type)): Add in C++0x mode, use the latter. * include/bits/vector.tcc (vector<>::_M_default_append): Define. * include/bits/stl_deque.h (deque<>::_M_default_initialize, _M_default_append): Declare. (deque<>::deque(size_type), resize(size_type)): Add in C++0x mode, use the latter. * include/bits/deque.tcc (deque<>::_M_default_append): Define. * include/debug/vector: Update. * include/debug/deque: Likewise. * include/debug/list: Likewise. * include/profile/vector: Likewise. * include/profile/deque: Likewise. * include/profile/list: Likewise. * include/bits/forward_list.h (_M_default_initialize, _M_default_insert_after): Declare. (forward_list<>::forward_list(size_type), resize(size_type)): Fix, use the latter. * include/bits/forward_list.tcc (forward_list<>::_M_default_append, _M_default_insert_after): Define. * testsuite/util/testsuite_api.h (NonCopyConstructible): Add. * testsuite/23_containers/forward_list/modifiers/6.cc: Move to... * testsuite/23_containers/forward_list/capacity/resize_size.cc: ... here. * testsuite/23_containers/forward_list/cons/10.cc: Move to... * testsuite/23_containers/forward_list/cons/cons_size.cc: ... here. * testsuite/23_containers/vector/resize/1.cc: Move to... * testsuite/23_containers/vector/capacity/resize/1.cc: ... here. * testsuite/23_containers/vector/resize/moveable.cc: Move to... * testsuite/23_containers/vector/resize/capacity/moveable.cc: ... here. * testsuite/23_containers/vector/cons/cons_size.cc: New. * testsuite/23_containers/vector/capacity/resize/resize_size.cc: Likewise. * testsuite/23_containers/deque/cons/cons_size.cc: Likewise. * testsuite/23_containers/deque/capacity/resize_size.cc: Likewise. * testsuite/23_containers/list/cons/cons_size.cc: Likewise. * testsuite/23_containers/list/capacity/resize_size.cc: Likewise. * testsuite/23_containers/vector/capacity/resize/moveable.cc: Adjust. * testsuite/23_containers/deque/capacity/moveable.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ assign_neg.cc: Adjust dg-error line numbers. * testsuite/23_containers/forward_list/requirements/dr438/ insert_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ assign_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/ assign_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_2_neg.cc: Likewise. From-SVN: r161009
Paolo Carlini committed -
2010-06-18 H.J. Lu <hongjiu.lu@intel.com> * stor-layout.c (debug_rli): Remove unused local variables. From-SVN: r161008
H.J. Lu committed -
2010-06-18 Rafael Espindola <espindola@google.com> * plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library): Make argument const. From-SVN: r161007
Rafael Avila de Espindola committed -
PR rtl-optimization/40900 * expr.c (expand_expr_real_1) <SSA_NAME>: Fix long line. Save the original expression for later reuse. <expand_decl_rtl>: Use promote_function_mode to compute the signedness of the promoted RTL for a SSA_NAME on the LHS of a call statement. From-SVN: r161006
Eric Botcazou committed -
2010-06-18 Javier Miranda <miranda@adacore.com> * exp_cg.adb (Homonym_Suffix_Length): Minor code reorganization. 2010-06-18 Thomas Quinot <quinot@adacore.com> * sprint.ads: Minor reformatting. * output.ads: Update obsolete comment. 2010-06-18 Ed Schonberg <schonberg@adacore.com> * freeze.adb (Build_And_Analyze_Renamed_Body): if the renamed entity is an external intrinsic operation (e.g. a GCC numeric function) indicate that the renaming entity has the same characteristics, so a call to it is properly expanded. From-SVN: r161003
Javier Miranda committed -
* double-int.h (double_int_to_shwi, double_int_to_uhwi, double_int_fits_in_uhwi_p): Implement as static inline. (double_int_xor): New inline function. (double_int_lrotate, double_int_rrotate, double_int_max, double_int_umax, double_int_smax, double_int_min, double_int_umin, double_int_smin): Declare. (lrotate_double, rrotate_double): Remove declaration. * double-int.c (double_int_fits_in_uhwi_p, double_int_to_shwi, double_int_to_uhwi, lrotate_double, rrotate_double): Remove function. (double_int_lrotate, double_int_rrotate, double_int_max, double_int_umax, double_int_smax, double_int_min, double_int_umin, double_int_smin): New function. * fold-const.c (int_const_binop): Clean up, use double_int_* functions. * simplify-rtx.c (simplify_const_binary_operation): Clean up, use double_int_* and immed_double_int_const functions. From-SVN: r161002
Anatoly Sokolov committed -
gcc/ * function.h (types_used_by_cur_var_decl): Change type to a VEC. * function.c (types_used_by_cur_var_decl): Likewise. (used_types_insert): Adjust for new type of types_used_by_cur_var_decl. gcc/c-family/ * c-common.c (record_types_used_by_current_var_decl): Adjust for new type of types_used_by_cur_var_decl. From-SVN: r161001
Nathan Froyd committed -
* tree.h (record_layout_info): Change type of pending_statics field to a VEC. * stor-layout.c (start_record_layout): Store NULL into pending_statics. (debug_rli): Call debug_vec_tree instead of debug_tree. (place_field): Likewise. (finish_record_layout): Likewise. From-SVN: r161000
Nathan Froyd committed -
2010-06-18 Javier Miranda <miranda@adacore.com> * exp_cg.adb (Homonym_Suffix_Length): Minor code reorganization. 2010-06-18 Thomas Quinot <quinot@adacore.com> * sprint.ads: Minor reformatting. * output.ads: Update obsolete comment. 2010-06-18 Ed Schonberg <schonberg@adacore.com> * freeze.adb (Build_And_Analyze_Renamed_Body): if the renamed entity is an external intrinsic operation (e.g. a GCC numeric function) indicate that the renaming entity has the same characteristics, so a call to it is properly expanded. From-SVN: r160999
Arnaud Charlet committed -
2010-06-18 Javier Miranda <miranda@adacore.com> * exp_cg.adb, exp_cg.ads, exp_disp.adb, gnat1drv.adb: Add initial support for dispatch table/callgraph info generation. * gcc-interface/Make-lang.in: Update dependencies. From-SVN: r160997
Javier Miranda committed -
2010-06-18 Robert Dewar <dewar@adacore.com> * exp_ch6.adb: Minor reformatting. * gnatname.adb: Add comment. From-SVN: r160996
Robert Dewar committed -
2010-06-18 Vincent Celier <celier@adacore.com> * gnatname.adb (Scan_Args): When --and is used, make sure that the dynamic tables in the newly allocated Argument_Data are properly initialized. 2010-06-18 Eric Botcazou <ebotcazou@adacore.com> * gnat1drv.adb: Fix comment. 2010-06-18 Ed Schonberg <schonberg@adacore.com> * exp_ch6.adb (Expand_Inlined_Call): If the inlined subprogram is a renaming, re-expand the call with the renamed subprogram if that one is marked inlined as well. From-SVN: r160995
Arnaud Charlet committed -
2010-06-18 Gary Dismukes <dismukes@adacore.com> * gnat1drv.adb (Adjust_Global_Switches): Enable Use_Expression_With_Actions for AAMP and VM targets. 2010-06-18 Vincent Celier <celier@adacore.com> * prj-nmsc.adb (Process_Linker): Recognize response file format GCC. From-SVN: r160994
Arnaud Charlet committed
-