- 13 Jan, 2011 22 commits
-
-
re PR libfortran/47268 (Documentation: missing (Optional) keyword for parameters of get_command_argument() and get_environment_variable()) 2011-01-13 Tobias Burnus <burnus@net-b.de> PR fortran/47268 * intrinsic.texi (get_command_argument, * get_environment_variable): Mark arguments as optional in the Arguments section. From-SVN: r168766
Tobias Burnus committed -
* config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE, LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. * config/xtensa/xtensa.c (xtensa_libcall_value, xtensa_function_value_regno_p): New functions. (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. From-SVN: r168765
Anatoly Sokolov committed -
From-SVN: r168764
Ian Lance Taylor committed -
2011-01-13 Kai Tietz <kai.tietz@onevision.com> PR c++/47213 * g++.dg/ext/pr47213.C: New. 2011-01-13 Kai Tietz <kai.tietz@onevision.com> PR c++/47213 * cp-tree.h (CLASSTYPE_VISIBILITY): Use TYPE_MAIN_DECL instead of TYPE_NAME. (CLASSTYPE_VISIBILITY_SPECIFIED): Likewise. * decl2.c (determine_visibility): Add check of CLASS_TYPE_P for underlying_type. 2011-01-13 Kai Tietz <kai.tietz@onevision.com> PR c++/47213 * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY): PE specific hook. * config/i386/i386-protos.h (i386_pe_assemble_visibility): New function prototype. * config/i386/winnt.c (i386_pe_assemble_visibility): Warn only if attribute was specified by user. From-SVN: r168763
Kai Tietz committed -
Backport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L. /: * ltmain.sh (relink): Use absolute path when hardcoding with -L. From-SVN: r168762
John David Anglin committed -
From-SVN: r168759
Rainer Orth committed -
ChangeLog: * configure.ac: Remove readline, mmalloc, and gdb from noconfigdirs for ia64-hpux. * configure: Regenerate. From-SVN: r168758
Joel Brobecker committed -
2011-01-13 Kai Tietz <kai.tietz@onevision.com> Tobias Burnus <burnus@net-b.de> PR fortran/47260 * trans-decl.c (gfc_get_extern_function_decl, build_function_decl): Set TREE_PUBLIC/TREE_EXTERNAL before calling decl_attributes. Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r168757
Kai Tietz committed -
2011-01-13 Tobias Burnus <burnus@net-b.de> Mikael Morin <mikael@gcc.gnu.org> PR fortran/45848 PR fortran/47204 * gfortran.h (gfc_code): Move union ext's case_list into the struct block. * dump-parse-tree.c (show_code_node): Adapt by prefixing * case_list by "block.". * frontend-passes.c (gfc_code_walker): Ditto. * match.c (gfc_match_goto, gfc_match_call, gfc_match_case, gfc_match_type_is, gfc_match_class_is): Ditto. * resolve.c (resolve_select, resolve_select_type): Ditto. * st.c (gfc_free_statement): Ditto. * trans-stmt.c (gfc_trans_integer_select, * gfc_trans_logical_select, gfc_trans_character_select): Ditto. * parse.c (resolve_all_program_units): For error recovery, avoid segfault is proc_name is NULL. 2011-01-13 Tobias Burnus <burnus@net-b.de> Mikael Morin <mikael@gcc.gnu.org> PR fortran/45848 PR fortran/47204 * gfortran.dg/select_type_20.f90: New. * gfortran.dg/select_type_21.f90: New. Co-Authored-By: Mikael Morin <mikael@gcc.gnu.org> From-SVN: r168753
Tobias Burnus committed -
From-SVN: r168752
Michael Meissner committed -
2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.dg/guality/pr36728-1.c: Disable arg1/2 checks for s390 and s390x. * gcc.dg/guality/pr36728-2.c: Likewise. From-SVN: r168749
Andreas Krebbel committed -
2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (print_operand_address): Replace 'error' with 'output_operand_lossage'. (print_operand): Likewise. From-SVN: r168748
Andreas Krebbel committed -
* PR rtl-optimization/39077 * doc/invoke.texi (max-gcse-insertion-ratio): Document. * params.h (MAX_GCSE_INSERTION_RATIO): Define. * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define. * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps. * gcse.c (prune_insertions_deletions): New function. (compute_pre_data): Use it. From-SVN: r168747
Jeff Law committed -
gcc/ * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New static function. (prune_unused_types_mark): Use it. gcc/testsuite/ * g++.dg/debug/dwarf2/template-params-9.C: New test. From-SVN: r168743
Dodji Seketeli committed -
PR rtl-optimization/45352 * sel-sched.c: Update copyright years. (reset_sched_cycles_in_current_ebb): Also recheck the DFA state in the advancing loop when we have issued issue_rate insns. * gcc.dg/pr45352-3.c: New. From-SVN: r168742
Andrey Belevantsev committed -
From-SVN: r168741
Eric Botcazou committed -
From-SVN: r168740
Ian Lance Taylor committed -
From Rainer Orth. From-SVN: r168739
Ian Lance Taylor committed -
From-SVN: r168738
Ian Lance Taylor committed -
From-SVN: r168737
Joseph Myers committed -
From-SVN: r168736
GCC Administrator committed -
2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/47045 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version. From-SVN: r168732
Jonathan Wakely committed
-
- 12 Jan, 2011 18 commits
-
-
* cp-tree.h (begin_for_scope): New prototype. (begin_for_stmt): Update prototype. (begin_range_for_stmt): Update prototype. * init.c (build_vec_init): Update call to begin_for_stmt. * parser.c (cp_parser_for): New. (cp_parser_c_for): Add three new parameters. (cp_parser_range_for): Likewise. Most parsing code removed. (cp_parser_iteration_statement): Call cp_parser_for instead of cp_parser_c_for and cp_parser_range_for. (cp_parser_for_init_statement): Add new parameter and return type. (cp_parser_block_declaration): Update call to cp_parser_simple_declaration. (cp_parser_simple_declaration): Add new parameter. Update call to cp_parser_init_declarator. (cp_parser_init_declarator): Add new parameter. * pt.c (tsubst_expr): Update call to begin_for_stmt. * semantics.c (begin_for_scope): New. (begin_for_stmt): Add two new parameters. (begin_range_for_stmt): Likewise. From-SVN: r168731
Rodrigo Rivas Costa committed -
From-SVN: r168730
Ian Lance Taylor committed -
From-SVN: r168729
Ian Lance Taylor committed -
From-SVN: r168725
Richard Henderson committed -
This suppresses warnings generated by the dwarf2 output routines about uninterpretable addresses. From-SVN: r168724
Richard Henderson committed -
From-SVN: r168723
Richard Henderson committed -
From-SVN: r168722
Richard Henderson committed -
There are a number of tests that fail -- generally ones involving generic vectorization -- at -O0 because we run out of registers. The lower-subreg pass cleans things up sufficiently to allow these tests to succeed. From-SVN: r168721
Richard Henderson committed -
The old code was failing in the testsuite. I didn't try to debug exactly why, since the existing code was needlessly complex. From-SVN: r168720
Richard Henderson committed -
* config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove. * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove. * config/s390/s390.c (s390_output_addr_const_extra): Make static. (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. From-SVN: r168719
Anatoly Sokolov committed -
re PR debug/47209 (ICE: SIGSEGV in should_emit_struct_debug (dwarf2out.c:627) with -f{no-,}emit-struct-debug-{baseonly,reduced} -g) 2011-01-12 Kai Tietz <kai.tietz@onevision.com> PR debug/47209 * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT of type. 2011-01-12 Kai Tietz <kai.tietz@onevision.com> PR debug/47209 * g++.dg/debug/pr47209.C: New. From-SVN: r168718
Kai Tietz committed -
PR driver/47244 * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used. (PLUGIN_COND_CLOSE): New macro. (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE. From-SVN: r168717
Jan Hubicka committed -
2011-01-12 Richard Guenther <rguenther@suse.de> PR lto/47259 * gcc.dg/lto/pr47259_0.c: New testcase. * gcc.dg/lto/pr47259_1.c: Likewise. From-SVN: r168715
Richard Guenther committed -
2011-01-12 Richard Guenther <rguenther@suse.de> PR lto/47259 * lto-streamer-out.c (output_gimple_stmt): Do not wrap register variables in a MEM_REF. From-SVN: r168713
Richard Guenther committed -
* config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*, crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*, hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu, ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*, m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*, mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*, s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*, sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*, am33_2.0-*-linux*): Use gnu-user.h before linux.h. * config/gnu-user.h: New. Copied from linux.h. (LINUX_TARGET_STARTFILE_SPEC): Rename to GNU_USER_TARGET_STARTFILE_SPEC. (LINUX_TARGET_ENDFILE_SPEC): Rename to GNU_USER_TARGET_ENDFILE_SPEC. (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC. (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC. (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1, CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64, BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32, BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER, LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64, TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove. * config/arm/linux-eabi.h (CC1_SPEC): Use GNU_USER_TARGET_CC1_SPEC. (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC. (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC. (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF, LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC, LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC, CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC, LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove. From-SVN: r168711
Joseph Myers committed -
2011-01-12 Richard Guenther <rguenther@suse.de> PR other/46946 * doc/invoke.texi (ffast-math): Document it is turned on with -Ofast. From-SVN: r168709
Richard Guenther committed -
2011-01-12 Richard Guenther <rguenther@suse.de> PR lto/47264 * lto-plugin.c (parse_table_entry): Use memcpy to access unaligned fields. From-SVN: r168708
Richard Guenther committed -
include: * dwarf2.h: Update value for DW_AT_hi_user. From-SVN: r168707
Iain Sandoe committed
-