- 04 Jun, 2009 1 commit
-
-
From-SVN: r148159
GCC Administrator committed
-
- 03 Jun, 2009 29 commits
-
-
PR target/10242 * arm.md (arm_addsi3): Don't try to split an add with an eliminable register until after reload has completed. From-SVN: r148156
Richard Earnshaw committed -
PR libfortran/40330 Use heap memory for cached format strings. From-SVN: r148149
Janne Blomqvist committed -
2009-06-03 Tobias Burnus <burnus@net-b.de> * gfortran.texi: Add mixed-language programming, mention varying string lengths, some clean up of introduction parts. * intrinsic.texi (instrinsic modules): Create @menu for * subsections. (ISO_C_BINDING): Support ISOCBINDING_INT_FAST128_T. * libgfortran.h: Comment to rember to keep gfortran.texi in * sync. * iso-c-binding.def: Support ISOCBINDING_INT_FAST128_T. From-SVN: r148147
Tobias Burnus committed -
include/: * ansidecl.h (EXPORTED_CONST): Define. gcc/: * dummy-checksum.c (executable_checksum): Use EXPORTED_CONST. * genattrtab.c (write_length_unit_log): Likewise. * genchecksum.c (dosum): Likewise. * gengtype.c (write_rtx_next): Likewise. (finish_root_table, write_roots): Likewise. * gimple.c (gimple_ops_offset_): Likewise. * tree-nomudflap.c (gt_ggc_r_gt_tree_mudflap_h): Likewise. * config/arc/arc.c (arc_attribute_table): Likewise. * config/arm/arm.c (arm_attribute_table): Likewise. * config/avr/avr.c (avr_attribute_table): Likewise. * config/crx/crx.c (crx_attribute_table): Likewise. * config/m32r/m32r.c (m32r_attribute_table): Likewise. * config/m68hc11/m68hc11.c (m68hc11_attribute_table): Likewise. * config/mcore/mcore.c (mcore_attribute_table): Likewise. * config/rs6000/rs6000.c (rs6000_attribute_table): Likewise. * config/sh/sh.c (sh_attribute_table): Likewise. * config/sparc/sparc.c (sparc_attribute_table): Likewise. * config/spu/spu.c (spu_attribute_table): Likewise. * config/v850/v850.c (v850_attribute_table): Likewise. * config/alpha/alpha.c (vms_attribute_table): Make static. * config/bfin/bfin.c (bfin_attribute_table): Likewise. * config/h8300/h8300.c (h8300_attribute_table): Likewise. * config/mips/mips.c (mips_attribute_table): Likewise. * Makefile.in (dummy-checksum.o): Depend upon $(CONFIG_H) and $(SYSTEM_H). (cc1-checksum.o): Likewise. gcc/cp/: * Make-lang.in (cc1plus-checksum.o): Depend upon $(CONFIG_H) and $(SYSTEM_H). gcc/objc/: * Make-lang.in (cc1obj-checksum.o): Depend upon $(CONFIG_H) and $(SYSTEM_H). gcc/objcp/: * Make-lang.in (cc1objplus-checksum.o): Depend upon $(CONFIG_H) and $(SYSTEM_H). From-SVN: r148146
Ian Lance Taylor committed -
2009-06-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> Tobias Burnus <burnus@net-b.de> * iso-c-binding.def: Use INTMAX_TYPE instead of * intmax_type_node. * trans-types.c (init_c_interop_kinds): Remove intmax_type_node. Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r148145
Francois-Xavier Coudert committed -
From-SVN: r148144
Alexandre Oliva committed -
2009-06-03 Steve Ellcey <sje@cup.hp.com> * config/ia64/vect.md (*movv2sf_internal): Handle big endian case. From-SVN: r148142
Steve Ellcey committed -
2009-06-03 Benjamin Kosnik <bkoz@redhat.com> * testsuite/23_containers/list/cons/6.cc: Adjust test name. From-SVN: r148140
Benjamin Kosnik committed -
* config/rs6000/rs6000.c (rs6000_emit_stack_reset): Return generated insn if it is changing sp. Use gen_add3_insn instead of conditionally gen_addsi3 and gen_adddi3. (offset_below_red_zone_p): New static inline function. (rs6000_emit_epilogue): Emit needed epilogue unwind info. Use gen_add3_insn instead of conditionally gen_addsi3 and gen_adddi3. * config/rs6000/ppc-asm.h: Include auto-host.h. (CFI_STARTPROC, CFI_ENDPROC, CFI_DEF_CFA_REGISTER, CFI_OFFSET, CFI_RESTORE): Define. * config/rs6000/crtresxgpr.asm: Add unwind info. * config/rs6000/crtresxfpr.asm: Likewise. * config/rs6000/crtresgpr.asm: Likewise. * config/rs6000/crtresfpr.asm: Likewise. * config/rs6000/crtsavgpr.asm: Likewise. * config/rs6000/crtsavfpr.asm: Likewise. From-SVN: r148138
Jakub Jelinek committed -
dwarf2out.c (output_cfi_directive): Pass 1 instead of 0 to second argument of DWARF2_FRAME_REG_OUT macros. * dwarf2out.c (output_cfi_directive): Pass 1 instead of 0 to second argument of DWARF2_FRAME_REG_OUT macros. From-SVN: r148137
Jakub Jelinek committed -
arm.c (arm_hard_regno_mode_ok): Permit values of four words or less (including TImode) in core registers. * config/arm/arm.c (arm_hard_regno_mode_ok): Permit values of four words or less (including TImode) in core registers. From-SVN: r148135
Julian Brown committed -
2009-06-03 Richard Guenther <rguenther@suse.de> PR middle-end/40328 * fold-const.c (fold_convert): Fold the build COMPLEX_EXPR. * gcc.dg/torture/pr40328.c: New testcase. From-SVN: r148134
Richard Guenther committed -
* statistics.c (statistics_counter_event): Do not record event in pass dump if its number == -1. (curr_statistics_hash): Add assert that we never get passes with static number == -1. From-SVN: r148131
Andrey Belevantsev committed -
2009-06-03 Richard Guenther <rguenther@suse.de> Andrey Belevantsev <abel@ispras.ru> * cfgexpand.c (discover_nonconstant_array_refs_r): Make only non-BLKmode arrays addressable. Co-Authored-By: Andrey Belevantsev <abel@ispras.ru> From-SVN: r148130
Richard Guenther committed -
* config/m68k/linux.h (HAVE_GAS_BALIGN_AND_P2ALIGN): Move to ... * config/m68k/m68k.h: ... here. * testsuite/gcc.dg/falign-labels.c (dg-options): Don't restrict for m68k and fido. From-SVN: r148127
Maxim Kuvyrkov committed -
2009-06-03 Martin Jambor <mjambor@suse.cz> PR tree-optimization/40323 * ipa-prop.c (get_ssa_def_if_simple_copy): Break if not single assignment. * testsuite/g++.dg/torture/pr40323.C: New file. From-SVN: r148126
Martin Jambor committed -
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: When adjusting the discriminant nodes in an extension, use the full view of the parent subtype if it is of a private kind. From-SVN: r148125
Eric Botcazou committed -
decl.c (gnat_to_gnu_entity): Add the _Parent field, if any, to the record before adding the other fields. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Add the _Parent field, if any, to the record before adding the other fields. <E_Record_Subtype>: Put the _Controller field before the other fields except for the _Tag or _Parent fields. (components_to_record): Likewise. Retrieve the _Parent field from the record type. From-SVN: r148124
Eric Botcazou committed -
2009-06-03 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/40296 * libsupc++/exception_ptr.h (exception_ptr::operator!, exception_ptr::operator __safe_bool): Only declare when _GLIBCXX_EH_PTR_COMPAT is undefined. * libsupc++/eh_ptr.cc: Define _GLIBCXX_EH_PTR_COMPAT before including exception_ptr. * testsuite/18_support/exception_ptr/40296.cc: New. * testsuite/18_support/nested_exception/throw_with_nested.cc: Adjust. * testsuite/18_support/nested_exception/cons.cc: Likewise. * testsuite/18_support/nested_exception/nested_ptr.cc: Likewise. * testsuite/18_support/exception_ptr/current_exception.cc: Likewise. From-SVN: r148122
Paolo Carlini committed -
* gcc-interface/decl.c (substitution_list): Rename to build_subst_list, remove unused parameter and simplify. (gnat_to_gnu_entity) <E_Record_Type>: Do not set TYPE_FIELDS. Factor common predicate. Rewrite loop for clarity. Use GNU_TYPE directly as context for all discriminants. Fix formatting nits. <E_Record_Subtype>: Add cosmetic 'break'. Test Has_Discriminants before Discriminant_Constraint. Adjust for above renaming. Do not set GNU_TYPE more than once. (elaborate_entity): Test Has_Discriminants on the entity and use Implementation_Base_Type. (components_to_record): Rename component_list to gnat_component_list. Retrieve the _Parent field from the list. Fix nits in comments. Clarify logic in loop. Pass correct arguments to create_field_decl. From-SVN: r148121
Eric Botcazou committed -
2009-06-03 Richard Guenther <rguenther@suse.de> * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use DECL_SIZE consistently. From-SVN: r148120
Richard Guenther committed -
2009-06-03 Shujing Zhao <pearly.zhao@oracle.com> * config/sh/predicates.md: Use REG_P, MEM_P, CONST_INT_P, LABEL_P, JUMP_P, CALL_P, NONJUMP_INSN_P, NOTE_P, BARRIER_P and JUMP_TABLE_DATA_P where applicable. * config/sh/sh.c: Ditto. * config/sh/sh.h: Ditto. * config/sh/sh.md: Ditto. * config/sh/symbian.c: Ditto. From-SVN: r148119
Shujing Zhao committed -
2009-06-03 Shujing Zhao <pearly.zhao@oracle.com> * config/sh/predicates.md: Use REG_P, MEM_P, CONST_INT_P, LABEL_P, JUMP_P, CALL_P, NONJUMP_INSN_P, NOTE_P, BARRIER_P and JUMP_TABLE_DATA_P where applicable. * config/sh/sh.c: Ditto. * config/sh/sh.h: Ditto. * config/sh/sh.md: Ditto. * config/sh/symbian.c: Ditto. From-SVN: r148118
Shujing Zhao committed -
From-SVN: r148116
Eric Botcazou committed -
* config/i386/driver-i386.c (describe_cache): Optimize concatenation of strings. Use snprintf instead of sprintf. (host_detect_local_cpu): Ditto. Ignore -march and -mtune for native target when not compiling with GCC. From-SVN: r148115
Uros Bizjak committed -
* Makefile.tpl (all): Avoid a trailing backslash. * Makefile.in: Regenerate. Co-Authored-By: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> From-SVN: r148113
Jerome Guitton committed -
From-SVN: r148111
Mark Mitchell committed -
From-SVN: r148110
Mark Mitchell committed -
From-SVN: r148109
GCC Administrator committed
-
- 02 Jun, 2009 10 commits
-
-
From-SVN: r148105
Ben Elliston committed -
* config/sh/sh.c: Revert last change. (sh_expand_epilogue): Emit a blockage insn before the frame pointer adjustment unconditionally. From-SVN: r148103
Kaz Kojima committed -
gcc/ * config/pa/pa-hpux.h (LINK_SPEC): Remove "%<fwhole-program". * config/pa/pa-hpux10.h (LINK_SPEC): Likewise. * config/pa/pa-hpux11.h (LINK_SPEC): Likewise. * gcc.c (set_collect_gcc_options): Don't add -fwhole-program to COLLECT_GCC_OPTIONS. From-SVN: r148099
Richard Sandiford committed -
libstdc++-v3/ * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Handle AIX targets. * configure: Regenerate. From-SVN: r148098
Richard Sandiford committed -
gcc/ * collect2.c (target_system_root): New variable. (main): Handle --sysroot=. (ignore_library): Strip the sysroot from the library path. From-SVN: r148097
Richard Sandiford committed -
gcc/ * Makefile.in (COLLECT2_OBJS): Add collect2-aix.o. (collect2.o): Depend on collect2-aix.h. (collect2-aix.o): New rule. * collect2-aix.h: New file. * collect2-aix.c: Likewise. * collect2.c: Include collect2-aix.h. Don't undefine OBJECT_FORMAT_COFF if CROSS_AIX_SUPPORT is defined. Guard native includes with #ifndef CROSS_DIRECTORY_STRUCTURE. Use TARGET_AIX_VERSION instead of _AIX51. * config/rs6000/aix43.h (TARGET_AIX_VERSION): Define. * config/rs6000/aix51.h (TARGET_AIX_VERSION): Likewise. * config/rs6000/aix52.h (TARGET_AIX_VERSION): Likewise. * config/rs6000/aix53.h (TARGET_AIX_VERSION): Likewise. * config/rs6000/aix61.h (TARGET_AIX_VERSION): Likewise. From-SVN: r148096
Richard Sandiford committed -
gcc/ * collect2.c (ignore_library): Avoid premature post-increment and null deference. From-SVN: r148095
Richard Sandiford committed -
gcc/ * Makefile.in (libgcc.mvars): Add TARGET_SYSTEM_ROOT. * config/rs6000/aix.h (LINK_SYSCALLS_SPEC): Add %R to the !CROSS_DIRECTORY_STRUCTURE alternative and use it for CROSS_DIRECTORY_STRUCTURE too. (LINK_LIBG_SPEC): Likewise. (LIB_SPEC): Add %R to sysroot paths. * config/rs6000/aix43.h (CPP_SPEC): Add %R to sysroot paths. (CPLUSPLUS_CPP_SPEC, LIB_SPEC): Likewise. * config/rs6000/aix51.h: As for aix43.h. * config/rs6000/aix52.h: Likewise. * config/rs6000/aix53.h: Likewise. * config/rs6000/aix61.h: Likewise. * config/rs6000/t-aix52 (SHLIB_LINK): Add $(TARGET_SYSTEM_ROOT) to the beginning of sysroot paths. From-SVN: r148094
Richard Sandiford committed -
* configure.ac (powerpc-*-aix*, rs6000-*-aix*): Add target-newlib to noconfdirs. * configure: Regenerate. From-SVN: r148093
Richard Sandiford committed -
print_rtl (print_rtx): Don't print modes in EXPR_LISTs and INSN_LISTs that are out of the REG_NOTE range. * print_rtl (print_rtx): Don't print modes in EXPR_LISTs and INSN_LISTs that are out of the REG_NOTE range. From-SVN: r148091
Alexandre Oliva committed
-