aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2011-03-21Fix PR number in changelog entry.Ramana Radhakrishnan1-1/+1
From-SVN: r171250
2011-03-21Make UNSPEC/UNSPECV constants use the enum; Fix 48192; Add test case for 48053Michael Meissner11-229/+338
From-SVN: r171247
2011-03-21params.def (lto-min-partition): Fix typo.Richard Guenther2-1/+5
2011-03-21 Richard Guenther <rguenther@suse.de> * params.def (lto-min-partition): Fix typo. From-SVN: r171246
2011-03-21re PR c/47939 (Missing DW_TAG_typedef for qualified types)Richard Guenther7-1/+55
2011-03-21 Richard Guenther <rguenther@suse.de> PR c/47939 * c-decl.c (grokdeclarator): Drop to the main variant only for array types. Drop flag_gen_aux_info check. * gcc.dg/debug/dwarf2/pr47939-1.c: New testcase. * gcc.dg/debug/dwarf2/pr47939-2.c: Likewise. * gcc.dg/debug/dwarf2/pr47939-3.c: Likewise. * gcc.dg/debug/dwarf2/pr47939-4.c: Likewise. From-SVN: r171245
2011-03-21re PR translation/47911 (gettext string typo: params.def:861: parition)Richard Guenther2-2/+8
2011-03-21 Richard Guenther <rguenther@suse.de> PR translation/47911 * params.def (lto-partitions): Fix typo. (lto-min-partition): Fix wording. From-SVN: r171244
2011-03-21t-freebsd: Remove duplication from file.Andreas Tobler2-25/+4
2011-03-21 Andreas Tobler <andreast@fgznet.ch> * config/rs6000/t-freebsd: Remove duplication from file. From-SVN: r171243
2011-03-21re PR middle-end/47661 (predict is confused by FP comparisons when math can ↵Richard Guenther2-1/+6
trap) 2011-03-21 Richard Guenther <rguenther@suse.de> PR middle-end/47661 * gimple.c (is_gimple_condexpr): Use tree_could_throw_p. From-SVN: r171236
2011-03-21re PR lto/48210 (ICE: SIGFPE with -flto --param lto-partitions=0 on basic code)Richard Guenther2-1/+6
2011-03-21 Richard Guenther <rguenther@suse.de> PR lto/48210 * params.def (lto-partitions): Require at least 1 partition. From-SVN: r171234
2011-03-21gthr-solaris.h: Remove.Rainer Orth10-591/+22
gcc: * gthr-solaris.h: Remove. * gthr.h (_SOLARIS_THREADS): Don't include gthr-solaris.h, remove. * config/sol2.h (CPP_SUBTARGET_SPEC): Remove -threads support. (LIB_SPEC): Likewise. * config/sol2.opt (threads): Remove. * config.gcc (i[34567]86-*-solaris2*): Remove solaris threads support. (sparc*-*-solaris2*): Likewise. * configure.ac (enable_threads): Enable solaris support. * configure: Regenerate. * doc/invoke.texi (Option Summary, Solaris 2 Options): Remove -threads. * doc/install.texi (Configuration, --enable-threads=lib): Remove solaris. boehm-gc: * configure.ac (THREADS): Remove solaris. * configure: Regenerate. libjava: * configure.ac (THREADS): Remove solaris. * configure: Regenerate. From-SVN: r171229
2011-03-21decl.c (components_to_record): Add REORDER parameter...Eric Botcazou2-53/+123
* gcc-interface/decl.c (components_to_record): Add REORDER parameter, rename DEBUG_INFO_P into DEBUG_INFO and move P_GNU_REP_LIST parameter to the end of the list. Adjust recursive call. Rename local variable. If REORDER is true, reorder components of the record type. (gnat_to_gnu_entity): Pass OK_To_Reorder_Components flag as argument to components_to_record and adjust the parameter list. From-SVN: r171228
2011-03-21config.gcc: Obsolete *-*-solaris2.8*.Rainer Orth3-2/+10
* config.gcc: Obsolete *-*-solaris2.8*. * doc/install.texi (Specific, *-*-solaris2*): Document it. From-SVN: r171226
2011-03-21re PR bootstrap/48135 (build fails on Solaris2.8 due to Glob.pm not found ↵Rainer Orth2-4/+8
within /usr/perl5) contrib: PR bootstrap/48135 * make_sunver.pl: Don't use File::Glob. gcc: PR bootstrap/48135 * doc/install.texi (Prerequisites, Perl): Remove Glob.pm reference. Solaris 8 perl works. From-SVN: r171223
2011-03-21re PR bootstrap/48135 (build fails on Solaris2.8 due to Glob.pm not found ↵Rainer Orth2-4/+20
within /usr/perl5) PR bootstrap/48135 * doc/install.texi (Prerequisites): Move jar etc. up. Explain support library version requirements. From-SVN: r171221
2011-03-21decl.c (elaborate_expression_1): When optimization is disabled, use the ↵Eric Botcazou2-8/+20
variable for bounds of loop iteration scheme. * gcc-interface/decl.c (elaborate_expression_1): When optimization is disabled, use the variable for bounds of loop iteration scheme. From-SVN: r171220
2011-03-21re PR bootstrap/48135 (build fails on Solaris2.8 due to Glob.pm not found ↵Rainer Orth2-15/+22
within /usr/perl5) PR bootstrap/48135 * doc/install.texi (Prerequisites): Move Perl to build requirements. Always necessary on Solaris 2 with Sun ld. From-SVN: r171218
2011-03-21install.texi (Specific, [...]): Update for binutils 2.21.Rainer Orth2-9/+18
* doc/install.texi (Specific, alpha*-dec-osf5.1): Update for binutils 2.21. (Specific, i?86-*-solaris2.[89]): Likewise. (Specific, i?86-*-solaris2.10): Likewise. (Specific, mips-sgi-irix6): Likewise. (Specific, *-*-solaris2*): Remove Sun Studio download URL. Update for binutils 2.21. From-SVN: r171216
2011-03-21configure.ac (gcc_cv_lto_plugin): Fix typo.Rainer Orth3-4/+18
* configure.ac (gcc_cv_lto_plugin): Fix typo. Allow -fuse-linker-plugin for non-default plugin linker. * configure: Regenerate. From-SVN: r171215
2011-03-21In gcc/: 2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com>Nicola Pero5-4/+38
In gcc/: 2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com> PR bootstrap/48167 * gengtype.c (files_rules): Added rule for cp/parser.h. In gcc/objcp/: 2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com> PR bootstrap/48167 * Make-lang.in (START_HDRS): Added CXX_PARSER_H and CXX_PRETTY_PRINT_H. * config-lang.in (gtfiles): Added cp/parser.h and reorganized list so that it is more obvious that it is identical to the C++ one with the addition of some files at the end. From-SVN: r171214
2011-03-21re PR target/48213 (ICE in simplify_subreg called from ↵Jakub Jelinek4-0/+27
s390_delegitimize_address) PR target/48213 * config/s390/s390.c (s390_delegitimize_address): Don't call lowpart_subreg if orig_x has BLKmode. * gcc.dg/pr48213.c: New test. From-SVN: r171211
2011-03-21ChangeLog gcc/c-familyKai Tietz6-0/+57
2011-03-21 Kai Tietz <ktietz@redhat.com> PR target/12171 * c-pretty-print.c (pp_c_specifier_qualifier_list): Display allowed attributes for function pointer types. (pp_c_attributes_display): New function to display attributes having affects_type_identity flag set to true. * c-pretty-print.h (pp_c_attributes_display): New prototype. ChangeLog gcc/cp 2011-03-21 Kai Tietz <ktietz@redhat.com> PR target/12171 * cxx-pretty-print.c (pp_cxx_ptr_operator): Display allowed attributes for function pointer types. * error.c (dump_type_prefix): Likewise. From-SVN: r171210
2011-03-21ChangeLog gcc/Kai Tietz43-281/+484
2011-03-21 Kai Tietz <ktietz@redhat.com> PR target/12171 * doc/plugins.texi: Adjust documentation for plugin register_callback. * tree.h (attribute_spec): Add new member affects_type_identity. - Zitierten Text anzeigen - * attribs.c (empty_attribute_table): Adjust attribute_spec initializers. * config/alpha/alpha.c: Likewise. * config/arc/arc.c: Likewise. * config/arm/arm.c: Likewise. * config/avr/avr.c: Likewise. * config/bfin/bfin.c: Likewise. * config/crx/crx.c: Likewise. * config/darwin.h: Likewise. * config/h8300/h8300.c: Likewise. * config/i386/cygming.h: Likewise. * config/i386/i386.c: Likewise. * config/ia64/ia64.c: Likewise. * config/m32c/m32c.c: Likewise. * config/m32r/m32r.c: Likewise. * config/m68hc11/m68hc11.c: Likewise. * config/m68k/m68k.c: Likewise. * config/mcore/mcore.c: Likewise. * config/mep/mep.c: Likewise. * config/microblaze/microblaze.c: Likewise. * config/mips/mips.c: Likewise. * config/rs6000/rs6000.c: Likewise. * config/rx/rx.c: Likewise. * config/sh/sh.c: Likewise. * config/sol2.h: Likewise. * config/sparc/sparc.c: Likewise. * config/spu/spu.c: Likewise. * config/stormy16/stormy16.c: Likewise. * config/v850/v850.c: Likewise. ChangeLog gcc/cp 2011-03-21 Kai Tietz <ktietz@redhat.com> PR target/12171 * tree.c (cxx_attribute_table): Adjust table. ChangeLog gcc/testsuite 2011-03-21 Kai Tietz <ktietz@redhat.com> PR target/12171 * g++.dg/plugin/attribute_plugin.c: Adjust test. ChangeLog gcc/java 2011-03-21 Kai Tietz <ktietz@redhat.com> PR target/12171 * lang.c (java_attribute_table): Adjust table. ChangeLog gcc/lto 2011-03-21 Kai Tietz <ktietz@redhat.com> PR target/12171 * lto-lang.c (lto_attribute_table): Adjust table. ChangeLog gcc/ada 2011-03-21 Kai Tietz <ktietz@redhat.com> PR target/12171 * gcc-interface/utils.c (gnat_internal_attribute_table): Add new element. ChangeLog gcc/c-family 2011-03-17 Kai Tietz PR target/12171 * c-common.c (c_common_attribute_table): Add new element. (c_common_format_attribute_table): Likewise. From-SVN: r171209
2011-03-21simplify-rtx.c (simplify_binary_operation_1): Handle (xor (and A B) C) case ↵Chung-Lin Tang4-0/+63
when B and C are both constants. 2011-03-21 Chung-Lin Tang <cltang@codesourcery.com> * simplify-rtx.c (simplify_binary_operation_1): Handle (xor (and A B) C) case when B and C are both constants. testsuite/ * gcc.target/arm/xor-and.c: New. From-SVN: r171208
2011-03-21re PR fortran/22572 (Double occurrence of matmul intrinsic not optimised)Thomas Koenig10-31/+417
2010-03-21 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/22572 * gfortran.h (gfc_option_t) : Add flag_aggressive_function_elimination. (gfc_dep_compare_functions): Add prototype. * lang.opt: Add faggressive-function-elimination. * invoke.texi: Document -faggressive-function-elimination. * frontend_passes (expr_array): New static variable. (expr_size): Likewise. (expr_count): Likewise. (current_code): Likewise. (current_ns): Likewise. (gfc_run_passes): Allocate and free space for expressions. (cfe_register_funcs): New function. (create_var): New function. (cfc_expr_0): New function. (cfe_code): New function. (optimize_namespace): Invoke gfc_code_walker with cfe_code and cfe_expr_0. * dependency.c (gfc_dep_compare_functions): New function. (gfc_dep_compare_expr): Use it. * options.c (gfc_init_options): Handle flag_aggressive_function_elimination. (gfc_handle_option): Likewise. 2010-03-21 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/22572 * gfortran.dg/function_optimize_1.f90: New test. * gfortran.dg/function_optimize_2.f90: New test. From-SVN: r171207
2011-03-21Fix typo in comment.Mingjie Xing2-1/+5
From-SVN: r171206
2011-03-20Add 2 testcases for PR rtl-optimization/47502.H.J. Lu3-0/+26
From-SVN: r171205
2011-03-21Daily bump.GCC Administrator1-1/+1
From-SVN: r171202
2011-03-20re PR bootstrap/48168 (Solaris 2/SPARC bootstrap broken: ICE in ↵Eric Botcazou2-0/+17
sparc_function_arg_1, at config/sparc/sparc.c:5721) PR bootstrap/48168 * config/sparc/sparc.c (sparc_delegitimize_address): Add new pattern. From-SVN: r171197
2011-03-20re PR rtl-optimization/48156 (wrong code with -fcrossjumping)Jakub Jelinek4-5/+60
PR rtl-optimization/48156 * df-core.c (df_get_bb_dirty): Use df_lr if df_live is NULL, assume df and df_lr are not NULL. * gcc.dg/pr48156.c: New test. From-SVN: r171195
2011-03-20Fix PR debug/48203Ramana Radhakrishnan2-0/+16
From-SVN: r171193
2011-03-20Daily bump.GCC Administrator1-1/+1
From-SVN: r171190
2011-03-19sh.c (find_barrier): Don't emit a constant pool between a call and its ↵Kaz Kojima2-0/+16
corresponding... * config/sh/sh.c (find_barrier): Don't emit a constant pool between a call and its corresponding CALL_ARG_LOCATION note. From-SVN: r171185
2011-03-19cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range instead ↵Anatoly Sokolov7-58/+48
of loop. * cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range instead of loop. Use HARD_REGISTER_NUM_P predicate. * haifa-sched.c (setup_ref_regs): Ditto. * caller-save.c (add_used_regs_1): Ditto. * dse.c (look_for_hardregs): Ditto. * df-problems.c (df_simulate_one_insn_forwards): Ditto. * sched-rgn.c (check_live_1): Ditto. From-SVN: r171183
2011-03-19re PR libfortran/47439 (Fun with scratch files on Windows MKTEMP only ↵Francois-Xavier Coudert2-2/+7
allows for 26 files) PR libfortran/47439 * gfortran.dg/scratch_1.f90: Adjust test. From-SVN: r171180
2011-03-19re PR libfortran/47439 (Fun with scratch files on Windows MKTEMP only ↵Francois-Xavier Coudert2-0/+13
allows for 26 files) PR libfortran/47439 * io/unix.c (tempfile): Work around poor mktemp() implementations. * gfortran.dg/scratch_1.f90: New test. From-SVN: r171178
2011-03-19Daily bump.GCC Administrator1-1/+1
From-SVN: r171177
2011-03-18c-decl.c (diagnose_mismatched_decls): Give an error for redefining a typedef ↵Joseph Myers5-32/+23
with variably modified type. * c-decl.c (diagnose_mismatched_decls): Give an error for redefining a typedef with variably modified type. testsuite: * gcc.dg/c1x-typedef-1.c: Expect errors for redefinitions of variably modified typedefs. * gcc.dg/c1x-typedef-2.c: Remove. From-SVN: r171172
2011-03-18c-decl.c (grokfield): Don't allow typedefs for structures or unions with no ↵Joseph Myers7-20/+67
tag by default. * c-decl.c (grokfield): Don't allow typedefs for structures or unions with no tag by default. * doc/extend.texi (Unnamed Fields): Update. testsuite: * gcc.dg/c1x-anon-struct-1.c: Don't test use of typedefs. * gcc.dg/c1x-anon-struct-3.c: New test. * gcc.dg/anon-struct-11.c: Update. From-SVN: r171170
2011-03-18i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2): Rewrite using indirect ↵Uros Bizjak3-20/+34
functions. * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2): Rewrite using indirect functions. (lwp_slwpcb): Ditto. * config/i386/sse.md (avx_vextractf128<mode>): Ditto. (avx_vinsertf128<mode>): Ditto. From-SVN: r171169
2011-03-18tweak fconstexpr-depth docsJason Merrill1-1/+1
From-SVN: r171168
2011-03-18c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).Jason Merrill5-15/+7
* c.opt (fconstexpr-depth): Add Var(max_constexpr_depth). * c-common.h: Don't declare it here. * c-common.c: Or define it here. * c-opts.c (c_common_handle_option): Or set it here. From-SVN: r171166
2011-03-18s390.c (s390_delegitimize_address): Handle GOTOFF unspecs.Andreas Krebbel2-0/+22
2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_delegitimize_address): Handle GOTOFF unspecs. From-SVN: r171157
2011-03-18s390.c (s390_chunkify_start): Prevent literal pool splitting between a call ↵Andreas Krebbel2-1/+16
and its corresponding... 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_chunkify_start): Prevent literal pool splitting between a call and its corresponding CALL_ARG_LOCATION note. From-SVN: r171156
2011-03-18re PR rtl-optimization/48170 (ICE: in hoist_code, at gcse.c:4524 with -fgcse ↵Maxim Kuvyrkov2-7/+7
--param max-hoist-depth={0,1}) PR rtl-optimization/48170 * gcse.c (hoist_code): Remove bogus asserts. From-SVN: r171155
2011-03-18ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost computation for ↵Jeff Law2-2/+8
prologue/epilogue. * ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost computation for prologue/epilogue. From-SVN: r171154
2011-03-18* Makefile.in (check-consistency): Remove.Rainer Orth2-10/+4
From-SVN: r171153
2011-03-18slp-multitypes-2.c: Replace dg-do run with dg-xfail-run-if.Rainer Orth2-1/+7
* gcc.dg/vect/slp-multitypes-2.c: Replace dg-do run with dg-xfail-run-if. Only xfail with gas. From-SVN: r171152
2011-03-18re PR debug/48176 (.debug_aranges is no longer emitted)Jakub Jelinek2-1/+10
PR debug/48176 * dwarf2out.c (dwarf2out_finish): Call output_aranges even when arange_table_in_use is 0, but either text_section_used or cold_text_section_used is true. Don't call it if !info_section_emitted. From-SVN: r171150
2011-03-18avr.h (RET_REGISTER, [...]): Remove.Anatoly Sokolov4-20/+48
* config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove. * config/avr/avr-protos.h (avr_ret_register, avr_libcall_value): Remove. * config/avr/avr.c (avr_ret_register): Make static inline. (avr_function_value_regno_p): New function. (avr_libcall_value): Make static. Add 'func' argument. (avr_function_value): Make static. Rename 'func' argument to 'fn_decl_or_type', forward it to avr_libcall_value. Call avr_ret_register function instead of RET_REGISTER macro. (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. From-SVN: r171149
2011-03-18re PR c++/48162 (447.dealII in SPEC CPU 2006 failed to build)Jason Merrill4-0/+13
PR c++/48162 * semantics.c (finish_call_expr): Allow TARGET_EXPR for now. From-SVN: r171148
2011-03-18re PR c++/48118 (g++ sometimes allows copying a volatile class)Jason Merrill4-6/+21
PR c++/48118 * call.c (build_over_call): Don't skip ck_rvalue. From-SVN: r171147