aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-03-22Daily bump.GCC Administrator1-1/+1
From-SVN: r123122
2007-03-21configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting of glob.Richard Sandiford3-2/+8
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting of glob. Quote arguments with single quotes too. * configure: Regenerate. From-SVN: r123117
2007-03-21a.22.8.f90: Add dg-final cleanup-modules line.Jakub Jelinek9-0/+27
* testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add dg-final cleanup-modules line. * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise. * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise. * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise. * testsuite/libgomp.fortran/threadprivate2.f90: Likewise. * testsuite/libgomp.fortran/reduction5.f90: Likewise. * testsuite/libgomp.fortran/threadprivate3.f90: Likewise. * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. From-SVN: r123116
2007-03-21* c.opt: Fixup for Objective-C/C++.Mike Stump2-4/+8
From-SVN: r123114
2007-03-21explow.c (convert_memory_address): Fold memory reference when ↵Steve Ellcey2-3/+11
POINTERS_EXTEND_UNSIGNED < 0 * explow.c (convert_memory_address): Fold memory reference when POINTERS_EXTEND_UNSIGNED < 0 From-SVN: r123113
2007-03-21re PR target/31245 (SSE2 generation bug with 4.1.2 and -O3)Richard Henderson4-7/+18
PR target/31245 * config/i386/emmintrin.h (__m128i, __m128d): Mark may_alias. * config/i386/mmintrin.h (__m64): Likewise. * config/i386/xmmintrin.h (__m128): Likewise. From-SVN: r123112
2007-03-21vxworks.h (VXWORKS_ADDITIONAL_CPP_SPEC): Remove -D options.Richard Sandiford3-19/+29
gcc/ * config/vxworks.h (VXWORKS_ADDITIONAL_CPP_SPEC): Remove -D options. (VXWORKS_OS_CPP_BUILTINS): Define. * config/i386/vxworks.h (VXWORKS_CPU_DEFINE): Fold into... (TARGET_OS_CPP_BUILTINS): ...here. Use VXWORKS_OS_CPP_BUILTINS. From-SVN: r123108
2007-03-21target-supports.exp (check_effective_target_nonpic): New procedure.Richard Sandiford10-1/+48
gcc/testsuite/ * lib/target-supports.exp (check_effective_target_nonpic): New procedure. * gcc.target/i386/20020616-1.c: Use an alternative to %ebx when compiling PIC. * gcc.target/i386/asm-4.c: Require nonpic. * gcc.target/i386/cmov1.c: Likewise. * gcc.target/i386/mul.c: Likewise. * gcc.target/i386/pr21291.c: Require nonpic or ! ilp32. * gcc.target/i386/ssetype-1.c: Require nonpic. * gcc.target/i386/ssetype-3.c: Likewise. * gcc.target/i386/ssetype-5.c: Likewise. From-SVN: r123107
2007-03-21rtl.h (constant_pool_reference_p): Delete.Richard Sandiford5-22/+42
gcc/ * rtl.h (constant_pool_reference_p): Delete. (find_constant_src): Declare. * rtlanal.c (find_constant_src): New function. * simplify-rtx.c (constant_pool_reference_p): Delete. * config/i386/i386.md: Use find_constant_src instead of constant_pool_reference_p/avoid_constant_pool_reference pairs. From-SVN: r123106
2007-03-21chk.h (LOCAL): Define.Richard Sandiford5-3/+18
gcc/testsuite/ * gcc.c-torture/execute/builtins/chk.h (LOCAL): Define. * gcc.c-torture/execute/builtins/sprintf-chk.c (s1): Make LOCAL. * gcc.c-torture/execute/builtins/stpcpy-chk.c (s1): Likewise. * gcc.c-torture/execute/builtins/strcpy-chk.c (s1): Likewise. From-SVN: r123105
2007-03-21invoke.texi (-fpie, -fPIE): Document __pie__ and __PIE__.Richard Sandiford3-0/+14
gcc/ * doc/invoke.texi (-fpie, -fPIE): Document __pie__ and __PIE__. * c-cppbuiltin.c (c_cpp_builtins): Define them. From-SVN: r123104
2007-03-21elf.h (TARGET_ASM_DESTRUCTOR): Define.Mark Mitchell3-7/+37
* config/arm/elf.h (TARGET_ASM_DESTRUCTOR): Define. * config/arm/arm.c (arm_elf_asm_cdtor): New function. (arm_elf_asm_constructor): Use it. (arm_elf_asm_destructor): New function. From-SVN: r123103
2007-03-21Daily bump.GCC Administrator1-1/+1
From-SVN: r123100
2007-03-20jump.c (mark_jump_label): Treat SEQUENCE specially.Bernd Schmidt2-0/+10
* jump.c (mark_jump_label): Treat SEQUENCE specially. From-SVN: r123096
2007-03-20configure.ac: Add missing check for gettimeofday.Francois-Xavier Coudert4-0/+117
* configure.ac: Add missing check for gettimeofday. * config.h.in: Renegerate. * configure: Regenerate. From-SVN: r123094
2007-03-20re PR tree-optimization/30590 (tree-nrv optimization clobbers return variable)Seongbae Park2-0/+45
2007-03-19 Seongbae Park <seongbae.park@gmail.com> PR tree-optimization/30590 * g++.dg/opt/pr30590.C: New testcase. From-SVN: r123087
2007-03-20* config/vxlib.c (tls_delete_hook): Use TCB for kernel tasks.Nathan Sidwell2-2/+18
From-SVN: r123086
2007-03-20[multiple changes]Andrew Haley6-1/+38
2007-03-19 Andrew Haley <aph@redhat.com> PR tree-optimization/31264 * tree-vrp.c (register_edge_assert_for_1): Don't look though VIEW_CONVERT_EXPRs. 2007-03-20 Andrew Haley <aph@redhat.com> * testsuite/libjava.lang/PR31264.java: New test. From-SVN: r123085
2007-03-20re PR middle-end/30907 (Propagation of addresses within loops pessimizes code)Paolo Bonzini5-52/+61
2007-03-19 Paolo Bonzini <bonzini@gnu.org> PR rtl-optimization/30907 * fwprop.c (forward_propagate_into): Never propagate inside a loop. (fwprop_init): Always call loop_optimizer_initialize. (fwprop_done): Always call loop_optimizer_finalize. (fwprop): We always have loop info now. (gate_fwprop_addr): Remove. (pass_fwprop_addr): Use gate_fwprop as gate. PR rtl-optimization/30841 * df-problems.c (df_ru_local_compute, df_rd_local_compute, df_chain_alloc): Call df_reorganize_refs unconditionally. * df-scan.c (df_rescan_blocks, df_reorganize_refs): Change refs_organized to refs_organized_size. (df_ref_create_structure): Use refs_organized_size instead of bitmap_size if refs had been organized, and keep refs_organized_size up-to-date. * df.h (struct df_ref_info): Change refs_organized to refs_organized_size. (DF_DEFS_SIZE, DF_USES_SIZE): Use refs_organized_size instead of bitmap_size. From-SVN: r123084
2007-03-20except.c (output_function_exception_table): Do not reference the EH ↵Mark Mitchell2-3/+9
personality routine for functions that do not require... * except.c (output_function_exception_table): Do not reference the EH personality routine for functions that do not require an exception table. From-SVN: r123082
2007-03-20Daily bump.GCC Administrator1-1/+1
From-SVN: r123080
2007-03-20re PR c/30762 (IMA messes up with inlining)Jakub Jelinek5-2/+40
PR c/30762 * c-typeck.c (convert_for_assignment): Call comptypes for RECORD_TYPE or UNION_TYPE. * gcc.dg/pr30762-1.c: New test. * gcc.dg/pr30762-2.c: New test. From-SVN: r123073
2007-03-20re PR inline-asm/30505 (asm operand has impossible constraints.)Jakub Jelinek4-15/+45
PR inline-asm/30505 * reload1.c (reload): Do invalid ASM checking after cleanup_subreg_operands. * gcc.target/i386/pr30505.c: New test. From-SVN: r123072
2007-03-19register-variables.c: New.Mark Shinwell2-0/+25
gcc/testsuite/ * gcc.target/arm/register-variables.c: New. From-SVN: r123071
2007-03-19re PR tree-optimization/30984 (ICE with computed goto and constants)Jeff Law4-1/+29
* tree-cfg.c (find_taken_edge): Tighten conditions for optimizing computed gotos. * PR tree-optimization/30984 * gcc.c-torture/pr30984.c: New test. From-SVN: r123067
2007-03-19re PR target/30058 (bootstrap broken on i386-unknown-netbsdelf2.0.2)Krister Walfridsson4-5/+95
2007-03-18 Krister Walfridsson <cato@df.lth.se> PR target/30058 * inclhack.def (netbsd_c99_inline_1): New. * fixincl.x: Regenerate. * tests/base/signal.h: New. From-SVN: r123065
2007-03-19builtins.c (expand_builtin_sync_operation, [...]): Care for extending ↵Michael Matz3-10/+51
CONST_INTs correctly. * builtins.c (expand_builtin_sync_operation, expand_builtin_compare_and_swap, expand_builtin_lock_test_and_set): Care for extending CONST_INTs correctly. * config/i386/sync.md (sync_double_compare_and_swapdi_pic, sync_double_compare_and_swap_ccdi_pic): Use "SD" as constraint for operand 3. From-SVN: r123064
2007-03-19tuple (get(_Tuple_impl<>&, get(const _Tuple_impl<>&): Rename as __get_helper.Paolo Carlini2-4/+28
2007-03-19 Paolo Carlini <pcarlini@suse.de> * include/tr1/tuple (get(_Tuple_impl<>&, get(const _Tuple_impl<>&): Rename as __get_helper. (get(tuple<>&, get(const tuple<>&)): Forward to the latter. From-SVN: r123063
2007-03-19tm.texi: Add brackets around the return type of TARGET_SECONDARY_RELOAD.Andreas Krebbel2-1/+6
2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com> * doc/tm.texi: Add brackets around the return type of TARGET_SECONDARY_RELOAD. From-SVN: r123062
2007-03-19user.cfg.in: Update for new includes, macros.Benjamin Kosnik2-0/+20
2007-03-19 Benjamin Kosnik <bkoz@redhat.com> * docs/doxygen/user.cfg.in: Update for new includes, macros. From-SVN: r123061
2007-03-19re PR tree-optimization/31254 (verify_ssa failed: type mismatch between an ↵Andrew Pinski4-6/+44
SSA_NAME and its symbol) 2007-03-19 Andrew Pinski <andrew_pinski@playstation.sony.com> Richard Guenther <rguenther@suse.de> PR tree-optimization/31254 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Use handled_component_p () where appropriate. Continue propagating into the rhs if we propagated into an INDIRECT_REF on the lhs. * gcc.dg/torture/pr31254.c: New testcase. Co-Authored-By: Richard Guenther <rguenther@suse.de> From-SVN: r123060
2007-03-19pr26565.c: Expect warning on packed field for target default_packed.Hans-Peter Nilsson2-1/+6
* gcc.dg/torture/pr26565.c: Expect warning on packed field for target default_packed. From-SVN: r123059
2007-03-19s390.md (op_type attribute): RRR instruction type added.Andreas Krebbel2-213/+406
2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.md (op_type attribute): RRR instruction type added. (FP, DFP, SD_SF, DD_DF, TD_TF): New mode macros. (xde, xdee): Mode attributes adjusted to support DFP modes. (RRer, f0, op1, Rf, bt, bfp, HALF_TMODE): New mode attributes added. ("cmp<mode>", "*cmp<mode>_css_0", "*cmp<mode>_ccs", TF move splitters, DF move splitters, "floatdi<mode>2", "add<mode>3", "*add<mode>3", "*add<mode>3_cc", "*add<mode>3_cconly", "sub<mode>3", "*sub<mode>3", "*sub<mode>3_cc", "*sub<mode>3_cconly", "mul<mode>3", "*mul<mode>3", "div<mode>3", "*div<mode>3", "*neg<mode>2_nocc", "*abs<mode>2_nocc", "*negabs<mode>2_nocc", "copysign<mode>3"): Adjusted to support DFP numbers. ("*movtf_64", "*movtf_31", "*movdf_64dfp", "*movdf_64", "*movdf_31", "movsf"): Insn definitions removed. ("*mov<mode>_64", "*mov<mode>_31", "mov<mode>", "*mov<mode>_64dfp", "*mov<mode>_64", "*mov<mode>_31", "fix_trunc<DFP:mode>di2", "trunctddd2", "truncddsd2", "extendddtd2", "extendsddd2"): Insn definitions added. ("fixuns_truncdddi2", "fixuns_trunctddi2", "mov<mode>", "reload_in<mode>", "reload_out<mode>"): Expander added. ("movtf", "movdf", "reload_outtf", "reload_outdf", "reload_intf"): Expander removed. From-SVN: r123058
2007-03-19s390.md: Only non-functional changes.Andreas Krebbel2-133/+138
2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.md: Only non-functional changes. Renamed FPR mode macro to BFP all over the file. From-SVN: r123057
2007-03-19s390.md (UNSPEC_COPYSIGN): New constant.Andreas Krebbel3-6/+138
2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.md (UNSPEC_COPYSIGN): New constant. (op_type attribute): RRF instruction type added. (fT0): New mode attribute. ("*movdi_64dfp", "*movdf_64dfp", "*neg<mode>2_nocc", "*abs<mode>2_nocc", "*negabs<mode>2_nocc", "copysign<mode>3"): Insn definitions added. * config/s390/s390.h (SECONDARY_MEMORY_NEEDED): Due to a new instruction no secondary memory is needed when moving DFmode values between GPRs and FPRs. From-SVN: r123056
2007-03-19s390.opt ("mhard-float", [...]): Bit value inverted and documentation adjusted.Andreas Krebbel5-7/+54
2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.opt ("mhard-float", "msoft-float"): Bit value inverted and documentation adjusted. ("mhard-dfp", "msoft-dfp"): New options. * config/s390/s390.c (s390_handle_arch_option): New architecture switch: z9-ec. (override_options): Sanity checks for the new options added. * config.gcc: New architecture switch: z9-ec. * config/s390/s390.h (processor_flags): PF_DFP added. (TARGET_CPU_DFP, TARGET_DFP): Macro definitions added. (TARGET_DEFAULT): Due to the s390.opt changes hard float is enabled when the bit is NOT set so remove it from the defaults. From-SVN: r123055
2007-03-19genemit.c (main): Print include statement for dfp.h.Andreas Krebbel3-2/+12
2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com> * genemit.c (main): Print include statement for dfp.h. * dfp.h (decimal_real_arithmetic): Hide prototype if tree_code enum is not available. From-SVN: r123054
2007-03-19* config/cris/t-elfmulti (EXTRA_MULTILIB_PARTS): Do not define here.Hans-Peter Nilsson2-1/+4
From-SVN: r123053
2007-03-19* config.host (cris-*-elf | cris-*-none): Set extra_parts.Hans-Peter Nilsson2-0/+5
From-SVN: r123052
2007-03-19re PR fortran/31203 ([4.1/4.2 only] Character length should never be negative)Francois-Xavier Coudert4-1/+95
PR fortran/31203 * trans-expr.c (gfc_trans_init_string_length): Length should never be negative. (gfc_conv_function_call): Likewise. * gfortran.dg/string_length_1.f90: New test. From-SVN: r123051
2007-03-19configure.ac: New configure option --enable-generated-files-in-srcdir.Matthias Klose36-32/+428
2007-03-10 Matthias Klose <doko@ubuntu.com> * configure.ac: New configure option --enable-generated-files-in-srcdir. * doc/Makefile.am: Add support to generate files in srcdir, install the cp-tools documentation in info format. * configure: Regenerate. * native/jni/classpath/Makefile.in, native/jni/midi-dssi/Makefile.in, native/jni/Makefile.in, native/jni/gconf-peer/Makefile.in, native/jni/java-io/Makefile.in, native/jni/native-lib/Makefile.in, native/jni/java-util/Makefile.in, native/jni/java-lang/Makefile.in, native/jni/midi-alsa/Makefile.in, native/jni/java-nio/Makefile.in, native/jni/java-net/Makefile.in, native/jni/xmlj/Makefile.in, native/jni/qt-peer/Makefile.in, native/jni/gtk-peer/Makefile.in, native/Makefile.in, native/jawt/Makefile.in, native/fdlibm/Makefile.in, native/plugin/Makefile.in, resource/Makefile.in, scripts/Makefile.in, tools/Makefile.in, doc/Makefile.in, doc/api/Makefile.in, lib/Makefile.in, external/Makefile.in, external/sax/Makefile.in, external/w3c_dom/Makefile.in, external/jsr166/Makefile.in, external/relaxngDatatype/Makefile.in, include/Makefile.in, examples/Makefile.in: Regenerate. From-SVN: r123050
2007-03-19re PR target/31022 ([SH4] internal compiler error with inline)Kaz Kojima2-1/+7
PR target/31022 * config/sh/sh.c (sh_adjust_cost): Use the result of single_set instead of PATTERN. From-SVN: r123049
2007-03-19pa.c (output_deferred_plabels, [...]): Cleanup formatting of targetm calls.John David Anglin2-14/+20
* pa.c (output_deferred_plabels, output_bb, output_millicode_call, attr_length_call, output_call, output_indirect_call): Cleanup formatting of targetm calls. From-SVN: r123048
2007-03-19Daily bump.GCC Administrator1-1/+1
From-SVN: r123046
2007-03-18* config/cris/cris.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define to 1.Hans-Peter Nilsson2-0/+7
From-SVN: r123043
2007-03-18array_type_info.cc: Likewise.Mark Mitchell19-819/+1307
* libsupc++/array_type_info.cc: Likewise. * libsupc++/bad_cast.cc: Likewise. * libsupc++/bad_typeid.cc: Likewise. * libsupc++/class_type_info.cc: Likewise. * libsupc++/dyncast.cc: Likewise. * libsupc++/enum_type_info.cc: Likewise. * libsupc++/function_type_info.cc: Likewise. * libsupc++/fundamental_type_info.cc: Likewise. * libsupc++/pbase_type_info.cc: Likewise. * libsupc++/pmem_type_info.cc: Likewise. * libsupc++/pointer_type_info.cc: Likewise. * libsupc++/si_class_type_info.cc: Likewise. * libsupc++/vmi_class_type_info.cc: Likewise. * libsupc++/tinfo.h: Move inline type_info functions here. * libsupc++/tinfo.cc: Separate type_info classes into their own files. * libsupc++/tinfo2.cc: Likewise. * Makefile.am (sources): Mention new files. * Makefile.in: Regenerated. From-SVN: r123042
2007-03-18pa.md: Add fpstore_load and store_fpload instruction types.John David Anglin3-35/+99
* pa.md: Add fpstore_load and store_fpload instruction types. Provide reservation, bypass and anti-bypass descriptions for these instructions. Update move patterns. * pa.c (hppa_fpstore_bypass_p): Check for both TYPE_FPSTORE_LOAD and TYPE_FPSTORE. From-SVN: r123041
2007-03-18re PR testsuite/30395 (FAIL: gcc.dg/pr16194.c (test for errors, line 59))John David Anglin2-0/+7
PR testsuite/30395 * gcc.dg/pr16194.c: Provide define for REG on __hppa__. From-SVN: r123040
2007-03-18re PR libfortran/31052 ([4.2 only] Bad IOSTAT values when readings NAMELISTs ↵Jerry DeLisle2-0/+111
past EOF) 2007-03-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/31052 * gfortran.dg/namelist_27.f90: New test. From-SVN: r123039
2007-03-18re PR libfortran/31052 ([4.2 only] Bad IOSTAT values when readings NAMELISTs ↵Jerry DeLisle6-37/+43
past EOF) 2007-03-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/31052 * io/file_position (st_rewind): Fix comments. Remove use of test_endfile. Don't seek if already at 0 position. Use new is_special function to set endfile state. * io/open.c (test_endfile): Delete this function. * io/io.h: Delete prototype for test_endfile. Add prototype for is_special. * io/unix.c (is_special): New function. Fix whitespace. * io/transfer.c (next_record_r): Remove use of test_endfile. From-SVN: r123038