aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-01-14little.h (CPP_ENDIAN_SPEC, [...]): Remove.Joseph Myers2-13/+6
* config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC, ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove. From-SVN: r168810
2011-01-14nwld.h (LINK_SPEC): Check -nodefaultlibs not -nodefaultlib.Joseph Myers2-2/+7
* config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not -nodefaultlib. From-SVN: r168809
2011-01-14cris.h (ASM_SPEC, [...]): Check for mcpu not cpu.Joseph Myers3-19/+23
* config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu not cpu. * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC, CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu not cpu. (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options. Don't handle -shlib. From-SVN: r168808
2011-01-14avr.h (CPP_SPEC): Don't handle -posix.Joseph Myers2-3/+8
* config/avr/avr.h (CPP_SPEC): Don't handle -posix. (CC1_SPEC): Don't handle -profile. From-SVN: r168807
2011-01-14re PR objc/45989 (Some objc.dg-struct-layout-encoding-1 tests XPASS)Dominique d'Humieres2-5/+22
2011-01-08 Dominique d'Humieres <dominiq@lps.ens.fr> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> PR objc/45989 * objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c (switchfiles): XFAIL objc.dg-struct-layout-encoding-1/t02[57-9]_main.m execution tests on i?86-*-*, x86_64-*-*, and powerpc*-apple-darwin* && ilp32. XFAIL objc.dg-struct-layout-encoding-1/t03[01]_main.m execution tests on i?86-*-* and x86_64-*-*. Co-Authored-By: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> From-SVN: r168806
2011-01-14microblaze.h (CC1_SPEC): Remove -gline spec.Joseph Myers3-2/+6
* config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec. * config/mips/mips.h (CC1_SPEC): Likewise. From-SVN: r168805
2011-01-14libgo/Makefile.am: Correct typos in Solaris support.Ian Lance Taylor2-8/+8
From Rainer Orth. From-SVN: r168804
2011-01-14microblaze.h (CC1_SPEC): Remove %{save-temps: }.Joseph Myers3-4/+7
* config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }. * config/mips/mips.h (CC1_SPEC): Likewise. From-SVN: r168803
2011-01-14linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.Joseph Myers8-59/+61
* config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional. * config/m32r/linux.h (LINK_SPEC): Likewise. * config/mips/linux.h (LINK_SPEC): Likewise. * config/mips/linux64.h (LINK_SPEC): Likewise. * config/sparc/linux.h (LINK_SPEC): Likewise. * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, LINK_SPEC): Likewise. * config/xtensa/linux.h (LINK_SPEC): Likewise. From-SVN: r168802
2011-01-14linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{version:-v}.Joseph Myers3-3/+9
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{version:-v}. * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. From-SVN: r168801
2011-01-14mksysinfo: Define _pad128_t and _upad128_t if commented out.Ian Lance Taylor1-0/+9
From Rainer Orth. From-SVN: r168800
2011-01-14sp-elf.h (ASM_SPEC): Remove %{v:-V}.Joseph Myers3-4/+10
* config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}. * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. From-SVN: r168799
2011-01-14* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.Joseph Myers2-2/+5
From-SVN: r168798
2011-01-14Fix indentation.Mike Stump1-2/+2
From-SVN: r168797
2011-01-14check_type.cc: Minor tweaks.Paolo Carlini3-15/+22
2011-01-14 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/25_algorithms/is_permutation/check_type.cc: Minor tweaks. * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes. From-SVN: r168796
2011-01-14configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always supports ↵Rainer Orth3-17/+37
-Bstatic/-Bdynamic. * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always supports -Bstatic/-Bdynamic. * configure: Regenerate. From-SVN: r168795
2011-01-14re PR target/46037 (--enable-stage1-languages=c,lto --enable-languages=c,lto ↵Jan Hubicka2-3/+12
--with-build-config=bootstrap-lto fails on darwin) 2011-01-14 Jan Hubicka <jh@suse.cz> Jack Howarth <howarth@bromo.med.uc.edu> PR target/46037 * config/darwin.c (darwin_override_options): Honor flag_gtoggle when checking debug_info_level. Test write_symbols instead of debug_hooks->var_location when setting flag_var_tracking_uninit. Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu> From-SVN: r168793
2011-01-14re PR tree-optimization/47179 (SPU: errno misoptimization around malloc call)Richard Guenther9-19/+72
2011-01-14 Richard Guenther <rguenther@suse.de> PR tree-optimization/47179 * target.def (ref_may_alias_errno): New target hook. * targhooks.h (default_ref_may_alias_errno): Declare. * targhooks.c: Include tree-ssa-alias.h and tree-flow.h. (default_ref_may_alias_errno): New function. * target.h (struct ao_ref_s): Declare. * tree-ssa-alias.c: Include target.h. (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook. * Makefile.in (tree-ssa-alias.o): Adjust dependencies. (targhooks.o): Likewise. * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document. * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation. From-SVN: r168788
2011-01-14tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.Richard Guenther2-1/+6
2011-01-14 Richard Guenther <rguenther@suse.de> * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER. From-SVN: r168787
2011-01-14Fix formatting issuesEric Botcazou1-8/+7
From-SVN: r168786
2011-01-14re PR tree-optimization/47280 (ICE: verify_stmts failed: statement marked ↵Richard Guenther4-4/+37
for throw, but doesn't with -fnon-call-exceptions -ftrapv) 2011-01-14 Richard Guenther <rguenther@suse.de> PR tree-optimization/47280 * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and return CFG changes. (tree_ssa_forward_propagate_single_use_vars): Deal with CFG changes from associate_plusminus. * g++.dg/opt/pr47280.C: New testcase. From-SVN: r168784
2011-01-14re PR c++/46903 ([C++0x] ICE unexpected expression of kind template_id_expr)Jason Merrill4-0/+18
PR c++/46903 * typeck2.c (check_narrowing): Only check arithmetic types. From-SVN: r168783
2011-01-14re PR c++/46688 (g++ requires a function declaration when it should not)Jason Merrill4-1/+27
PR c++/46688 * tree.c (build_vec_init_expr): Handle flexible array properly. From-SVN: r168782
2011-01-14re PR middle-end/47281 (error: non-trivial conversion at assignment)Richard Guenther5-6/+40
2011-01-14 Richard Guenther <rguenther@suse.de> PR middle-end/47281 Revert 2011-01-11 Richard Guenther <rguenther@suse.de> PR tree-optimization/46076 * tree-ssa.c (useless_type_conversion_p): Conversions from unprototyped to empty argument list function types are useless. * gcc.dg/torture/pr47281.c: New testcase. * gcc.dg/tree-ssa/pr46076.c: XFAIL. From-SVN: r168781
2011-01-14re PR tree-optimization/47286 (Invalid code when using register ... asm)Richard Guenther4-1/+35
2011-01-14 Richard Guenther <rguenther@suse.de> PR tree-optimization/47286 * tree-ssa-structalias.c (new_var_info): Register variables are global. * gcc.dg/tree-ssa/pr47286.c: New testcase. From-SVN: r168779
2011-01-14re PR middle-end/46823 (ICE: edge points to wrong declaration)Martin Jambor2-12/+15
2011-01-14 Martin Jambor <mjambor@suse.cz> PR middle-end/46823 * tree-inline.c (expand_call_inline): Get fndecl from call graph edge. From-SVN: r168778
2011-01-14re PR fortran/47182 (libquadmath.texi: undefined flag: BUGURL)Tobias Burnus6-8/+64
2011-01-14 Tobias Burnus <burnus@net-b.de> PR fortran/47182 * configure.ac: Use ACX_BUGURL. * libquadmath.texi: Include libquadmath-vers.texi for BUGURL. * Makefile.am: Create libquadmath-vers.texi. * configure.in: Regenerate. * Makefile.in: Regenerate. From-SVN: r168776
2011-01-14The type of a string slice is the type of the string being sliced.Ian Lance Taylor1-1/+1
From-SVN: r168775
2011-01-14Move clearing of flag_strict_aliasing to gcc interface.Ian Lance Taylor6-20/+46
From-SVN: r168774
2011-01-14[multiple changes]Paolo Carlini7-3/+356
2011-01-13 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/25_algorithms/is_permutation/check_type.cc: New. * testsuite/25_algorithms/is_permutation/requirements/ explicit_instantiation/2.cc: Likewise. * testsuite/25_algorithms/is_permutation/requirements/ explicit_instantiation/pod.cc: Likewise. * testsuite/25_algorithms/is_permutation/1.cc: Likewise. 2011-01-13 John Lakos <jlakos@bloomberg.net> Pablo Halpern <phalpern@halpernwightsoftware.com> Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_algo.h (is_permutation): Add, per N3068. * include/bits/algorithmfwd.h: Add. From-SVN: r168773
2011-01-14Daily bump.GCC Administrator1-1/+1
From-SVN: r168770
2011-01-13re PR libfortran/47268 (Documentation: missing (Optional) keyword for ↵Tobias Burnus2-7/+13
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
2011-01-13xtensa.h (XTENSA_LIBCALL_VALUE, [...]): Remove macros.Anatoly Sokolov3-29/+35
* 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
2011-01-13Don't exit mksysinfo.sh if there is no _user_regs_struct.Ian Lance Taylor1-1/+1
From-SVN: r168764
2011-01-13re PR c++/47213 (ICE: SIGSEGV in determine_visibility (decl2.c:2076) with ↵Kai Tietz9-3/+63
-fvisibility-ms-compat) 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
2011-01-13backport: ltmain.sh (relink): Use absolute path when hardcoding with -L.John David Anglin2-1/+5
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
2011-01-13* gfortran.dg/cray_pointers_2.f90: Use dg-timeout-factor 4.Rainer Orth2-0/+5
From-SVN: r168759
2011-01-13Resync with GDB (from "port GDB to ia64-hpux (native).")Joel Brobecker3-4/+10
ChangeLog: * configure.ac: Remove readline, mmalloc, and gdb from noconfigdirs for ia64-hpux. * configure: Regenerate. From-SVN: r168758
2011-01-13re PR fortran/47260 (DLLEXPORT: TREE_PUBLIC for procedures lost between ↵Kai Tietz2-15/+23
trans-decl.c and tree.c) 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
2011-01-13re PR fortran/45848 ([OOP] ICE on invalid code in fortran/symbol.c:2410)Tobias Burnus12-40/+111
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
2011-01-13Fix 47251, failure in powerpc -mcpu=power7 -m32 -msoft-floatMichael Meissner4-3/+30
From-SVN: r168752
2011-01-13pr36728-1.c: Disable arg1/2 checks for s390 and s390x.Andreas Krebbel3-8/+14
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
2011-01-13s390.c (print_operand_address): Replace 'error' with 'output_operand_lossage'.Andreas Krebbel2-16/+34
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
2011-01-13re PR rtl-optimization/39077 (GCSE-optimization causes enormous binary size ↵Jeff Law6-5/+104
increase (~20 times !)) * 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
2011-01-13Fix PR debug/PR46973Dodji Seketeli4-0/+71
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
2011-01-13re PR rtl-optimization/45352 (ICE: in reset_sched_cycles_in_current_ebb, at ↵Andrey Belevantsev4-6/+36
sel-sched.c:7058) 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
2011-01-13Fix minor issuesEric Botcazou1-2/+2
From-SVN: r168741
2011-01-13Use GOARCH value of sparc64 rather than sparcv9.Ian Lance Taylor4-18/+18
From-SVN: r168740
2011-01-13Add some Solaris support to mksysinfo.sh.Ian Lance Taylor1-4/+27
From Rainer Orth. From-SVN: r168739
2011-01-13Clean up syscalls, add some Solaris support.Ian Lance Taylor18-310/+413
From-SVN: r168738