- 13 Jan, 2011 17 commits
-
-
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 23 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 -
From-SVN: r168706
Eric Botcazou committed -
gcc/testsuite: * objc-obj-c++-shared/Object1.h: Add copyright header, update comments. Add a TEST_SUITE_ADDITIONS category for GNU runtime. Amend NeXT version to declare a TEST_SUITE_ADDITIONS carrying the methods missing from the OBJC2 Object. * objc-obj-c++-shared/Object1-implementation.h: Add copyright header. Amend implementation to use a TEST_SUITE_ADDITIONS category for both GNU and NeXT runtimes. * objc-obj-c++-shared/Object1.mm: Remove redundant header, update comments. * objc-obj-c++-shared/Object1.m: Likewise. * objc.dg/encode-3.m: Update header use. Amend to be API2 compatible. * objc.dg/proto-qual-1.m: Likewise. * obj-c++.dg/proto-lossage-3.mm: Likewise. * obj-c++.dg/proto-qual-1.mm: Likewise. From-SVN: r168705
Iain Sandoe committed -
PR testsuite/33033 * gcc.dg/20061124-1.c: Pass -mcpu=v9 on the SPARC. From-SVN: r168701
Eric Botcazou committed -
re PR tree-optimization/47233 (IPA reference tends to explode in memory use with -fprofile-generate) PR tree-optimization/47233 * opts.c (common_handle_option): Disable ipa-reference with profile feedback. From-SVN: r168700
Jan Hubicka committed -
In gcc/testsuite/: 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> Fixed the Objective-C++ testsuite and updated all tests. * lib/obj-c++.exp (obj-c++_init): Declare and set gcc_warning_prefix and gcc_error_prefix. * obj-c++.dg/attributes/categ-attribute-2.mm: Fixed usage of 'dg-warning', 'dg-message' and 'dg-error'. * obj-c++.dg/class-extension-3.mm: Likewise. * obj-c++.dg/class-protocol-1.mm: Likewise. * obj-c++.dg/cxx-scope-2.mm: Likewise. * obj-c++.dg/encode-7.mm: Likewise. * obj-c++.dg/exceptions-3.mm: Likewise. * obj-c++.dg/exceptions-5.mm: Likewise. * obj-c++.dg/method-12.mm: Likewise. * obj-c++.dg/method-13.mm: Likewise. * obj-c++.dg/method-15.mm: Likewise. * obj-c++.dg/method-16.mm: Likewise. * obj-c++.dg/method-4.mm: Likewise. * obj-c++.dg/method-8.mm: Likewise. * obj-c++.dg/method-conflict-1.mm: Likewise. * obj-c++.dg/method-conflict-2.mm: Likewise. * obj-c++.dg/method-conflict-3.mm: Likewise. Also, removed FIXME and uncommented second part of the testcase now that the testsuite works correctly. * obj-c++.dg/method-conflict-4.mm: Likewise. Also, removed FIXME and uncommented second part of the testcase now that the testsuite works correctly. * obj-c++.dg/private-1.mm: Likewise. * obj-c++.dg/proto-lossage-4.mm: Likewise. * obj-c++.dg/syntax-error-7.mm: Likewise. * obj-c++.dg/warn5.mm: Likewise. * obj-c++.dg/property/at-property-14.mm: Likewise. * obj-c++.dg/property/at-property-16.mm: Likewise, and removed FIXME. * obj-c++.dg/property/at-property-18.mm: Likewise. * obj-c++.dg/property/at-property-20.mm: Likewise, and removed FIXME. * obj-c++.dg/property/at-property-21.mm: Likewise. * obj-c++.dg/property/at-property-28.mm: Likewise. * obj-c++.dg/property/at-property-5.mm: Likewise. * obj-c++.dg/property/dynamic-2.mm: Likewise. * obj-c++.dg/property/property-neg-3.mm: Likewise. * obj-c++.dg/property/synthesize-11.mm: Likewise. * obj-c++.dg/property/synthesize-6.mm: Likewise. * obj-c++.dg/property/synthesize-8.mm: Likewise. * obj-c++.dg/property/synthesize-9.mm: Likewise. * obj-c++.dg/tls/diag-5.mm: Likewise. * obj-c++.dg/ivar-invalid-type-1.mm: Removed FIXME and uncommented dg-error, now matched correctly. From-SVN: r168699
Nicola Pero committed
-