aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-05-12re PR libgcj/29324 (add wait handling hook)David Daney10-172/+248
PR libgcj/29324 * include/posix-threads.h (_Jv_BlockSigchld): Declare. (_Jv_UnBlockSigchld): Same. * posix-threads.cc: Include posix-threads.h. (block_sigchld) Rename to... (_Jv_BlockSigchld) ... this. (_Jv_UnBlockSigchld): New function. (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld. (_Jv_ThreadStart): Same. * java/lang/PosixProcess$ProcessManager.h: Regenerate. * java/lang/PosixProcess.java: Clean up imports. (ProcessManager): Make final. (ProcessManager.queue): Genericise and make private. (ProcessManager.pidToProcess): Remove. (ProcessManager.liveProcesses): New field. (ProcessManager.reaperPID): Remove. (ProcessManager.nativeData): New field. (ProcessManager.removeProcessFromMap): Remove. (ProcessManager.addProcessToMap):Remove. (ProcessManager.addToLiveProcesses): New method. (ProcessManager.run): Rewritten. (ProcessManager.reap): Change method signature, (getErrorStream): Correct formatting. (getInputStream): Same. (spawn): Add process to liveProcesses list. (pid): Make package private. * java/lang/PosixProcess.h: Regenerate. * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h. Add useing namespace java::lang. (ProcessManagerInternal): New struct. (sigchld_handler): Rewritten. (init): Rewritten. (waitForSignal): Same. (reap): Same. (signalReaper): Same. (nativeDestroy): Call kill as ::kill. (nativeSpawn): Correct formatting. * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate. * classpath/lib/java/lang/PosixProcess.class: Same. * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same. From-SVN: r124638
2007-05-12re PR tree-optimization/31797 (infinite loop in tree-ssa-pre or ICE)Richard Guenther4-2/+51
2007-05-12 Richard Guenther <rguenther@suse.de> PR tree-optimization/31797 * tree-ssa-forwprop.c (forward_propagate_addr_expr): Do not propagate into a stmt that has volatile ops. * gcc.c-torture/compile/pr31797.c: New testcase. From-SVN: r124637
2007-05-12configure.ac (gcc_gxx_include_dir): Use $(libsubdir_to_prefix).Richard Sandiford4-75/+46
gcc/ * configure.ac (gcc_gxx_include_dir): Use $(libsubdir_to_prefix). (gcc_tooldir): Likewise. * configure: Regenerate. * Makefile.in (libsubdir_to_prefix): New variable, based on the old configure.ac gcc_tooldir setting. (prefix_to_exec_prefix): New variable. (DRIVER_DEFINES): Use $(libsubdir_to_prefix)$(prefix_to_exec_prefix) rather than $(unlibsubdir)/../ to derive TOOLDIR_BASE_PREFIX. From-SVN: r124634
2007-05-12re PR fortran/30746 (50th Anniversary Bug - Forward reference to contained ↵Paul Thomas6-7/+132
function) 2007-05-12 Paul Thomas <pault@gcc.gnu.org> PR fortran/30746 * resolve.c (check_host_association): New function that detects incorrect host association and corrects it. (gfc_resolve_expr): Call the new function for variables and functions. * match.h : Remove prototype for gfc_match_rvalue. * gfortran.h : Add prototype for gfc_match_rvalue. 2007-05-12 Paul Thomas <pault@gcc.gnu.org> PR fortran/30746 * gfortran.dg/host_assoc_function_1.f90: New test. From-SVN: r124633
2007-05-12Daily bump.GCC Administrator1-1/+1
From-SVN: r124631
2007-05-11re PR c++/31829 (FAIL: g++.dg/warn/multiple-overflow-warn-3.C (test for ↵Steve Ellcey2-2/+7
warnings, line 8)) PR c++/31829 * g++.dg/warn/multiple-overflow-warn-3.C: Change wchar_t to short. From-SVN: r124628
2007-05-11pod_char_traits.h (char_traits<>::move): Use __builtin_memmove.Paolo Carlini33-135/+261
2007-05-11 Paolo Carlini <pcarlini@suse.de> * include/ext/pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name, collate_byname(const char*, size_t)): Use __builtin_strcmp. * include/bits/locale_facets.h: Use __builtin_mem* and __builtin_str* everywhere. * include/bits/codecvt.h (codecvt_byname(const char*, size_t)): Use __builtin_strcmp. * include/bits/char_traits.h: Use __builtin_mem* everywhere. * include/bits/fstream.tcc (basic_filebuf<>::underflow, imbue): Use __builtin_memcpy and __builtin_memmove. * include/bits/locale_facets_nonio.h (moneypunct_byname(const char*, size_t __refs)): Use __builtin_strcmp. * include/std/bitset (bitset<>::_M_do_reset): Use __builtin_memset. * config/locale/gnu/c_locale.h: Use __builtin_strlen, __builtin_strcmp, and __builtin_memcpy. * config/locale/gnu/messages_members.h: Likewise. * config/locale/gnu/time_members.h: Likewise. * config/locale/generic/c_locale.h: Likewise. * config/locale/generic/messages_members.h: Likewise. * config/locale/generic/time_members.h: Likewise. * config/os/gnu-linux/ctype_noninline.h: Likewise, avoid strdup. * config/os/tpf/ctype_noninline.h: Likewise. * config/locale/generic/codecvt_members.cc: Include <cstring>. * config/locale/generic/ctype_members.cc: Likewise. * config/locale/generic/collate_members.cc: Likewise. * config/locale/gnu/c++locale_internal.h: Likewise. * config/locale/darwin/ctype_members.cc: Likewise. * src/ctype.cc: Likewise. * testsuite/19_diagnostics/logic_error/what-1.cc: Likewise. * testsuite/19_diagnostics/logic_error/what-2.cc: Likewise. * testsuite/19_diagnostics/runtime_error/what-1.cc: Likewise. * testsuite/19_diagnostics/runtime_error/what-2.cc: Likewise. * testsuite/19_diagnostics/runtime_error/what-3.cc: Likewise. * config/locale/gnu/messages_members.cc: Avoid strdup. * config/locale/gnu/monetary_members.cc: Likewise. * config/locale/gnu/time_members.cc: Likewise. * config/locale/gnu/time_members.cc: Likewise. * config/locale/generic/c_locale.cc: Likewise. From-SVN: r124623
2007-05-11Makefile.in (OBJS-common): Add tree-ssa-alias-warnings.o.Silvius Rus31-30/+1362
gcc/ * Makefile.in (OBJS-common): Add tree-ssa-alias-warnings.o. * c-common.c (strict_aliasing_warning): Modify -Wstrict-aliasing logic. * c-common.h (strict_aliasing_warning): Change return type. * c-opts.c (c_common_handle_option): Add call to set_Wstrict_aliasing. * c-typeck.c (build_indirect_ref): Add call to strict_aliasing_warning. (build_c_cast): Condition call to strict_aliasing_warning. * doc/invoke.texi: Update description of -Wstrict-aliasing[=n]. * flags.h (set_Wstrict_aliasing): Declare. * opts.c (set_Wstrict_alising): Define, add call to. * tree-flow.h (strict_aliasing_warning_backend): Declare. * tree-ssa-alias-warnings.c: New file. * tree-ssa-alias.c (compute_may_aliases): Add call to strict_aliasing_warning_backend. gcc/cp * cp/typeck.c (build_indirect_ref): Add call to strict_aliasing_warning. (build_reinterpret_cast_1): Condition call to strict_aliasing_warning. gcc/testsuite * gcc.dg/Wstrict-aliasing-bogus-const-ptr-nonconst-ptr.c: New test. * gcc.dg/Wstrict-aliasing-bogus-never-dereferenced.c: New test. * gcc.dg/Wstrict-aliasing-bogus-struct-included.c: New test. * gcc.dg/Wstrict-aliasing-converted-assigned.c: New test. * gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c: New test. * gcc.dg/alias-1.c: Update option: -Wstrict-aliasing=2. * gcc.dg/alias-9.c: Update option: -Wstrict-aliasing=2. * g++.dg/warn/Wstrict-aliasing-7.C: Update option: -Wstrict-aliasing=2. * g++.dg/warn/Wstrict-aliasing-bogus-base-derived.C: New test. * g++.dg/warn/Wstrict-aliasing-bogus-char-1.C: New test. * g++.dg/warn/Wstrict-aliasing-bogus-const.C: New test. * g++.dg/warn/Wstrict-aliasing-bogus-nested-arrays.C: New test. * g++.dg/warn/Wstrict-aliasing-bogus-signed-unsigned.C: New test. * g++.dg/warn/Wstrict-aliasing-bogus-struct-included.C: New test. * g++.dg/warn/Wstrict-aliasing-bogus-union.C: New test. * g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C: New test. From-SVN: r124622
2007-05-11stdexcept: Remove extra spacing.Benjamin Kosnik8-59/+239
2007-05-11 Benjamin Kosnik <bkoz@redhat.com> * include/std/stdexcept: Remove extra spacing. * testsuite/19_diagnostics/stdexceptions.cc: Break into... * testsuite/19_diagnostics/bad_exception: ...this. Populate. * testsuite/19_diagnostics/logic_error: ... this. * testsuite/19_diagnostics/logic_error/what-1.cc: ...this. * testsuite/19_diagnostics/logic_error/what-2.cc: ...this. * testsuite/19_diagnostics/runtime_error: ...this. * testsuite/19_diagnostics/runtime_error/what-1.cc: ...this. * testsuite/19_diagnostics/runtime_error/what-2.cc: ...this. * testsuite/19_diagnostics/runtime_error/what-3.cc: ...this. * testsuite/19_diagnostics/23591_thread-1.c: Move... * testsuite/19_diagnostics/bad_exception/23591_thread-1.c: ...here. From-SVN: r124621
2007-05-11MAINTAINERS (Write After Approval): Add myself.Silvius Rus2-0/+5
* MAINTAINERS (Write After Approval): Add myself. From-SVN: r124620
2007-05-11tree-loop-linear.c (gather_interchange_stats, [...]): Use loop_depth and ↵Zdenek Dvorak14-110/+174
loop_outer accessor functions. * tree-loop-linear.c (gather_interchange_stats, try_interchange_loops): Use loop_depth and loop_outer accessor functions. * tree-ssa-loop-im.c (outermost_invariant_loop, set_level, determine_invariantness_stmt, move_computations_stmt): Ditto. * cfgloopmanip.c (fix_bb_placement, fix_loop_placement, remove_path, add_loop, loopify, unloop, fix_loop_structure): Ditto. * tree-ssa-loop-manip.c (find_uses_to_rename_use): Ditto. * tree-scalar-evolution.c (interpret_loop_phi, compute_scalar_evolution_in_loop, analyze_scalar_evolution_in_loop, instantiate_parameters_1, scev_const_prop): Ditto. * cfghooks.c (make_forwarder_block): Ditto. * cfgloopanal.c (mark_irreducible_loops, mark_loop_exit_edges): Ditto. * modulo-sched.c (loop_canon_p): Ditto. * tree-vectorizer.c (slpeel_tree_duplicate_loop_to_edge_cfg, slpeel_can_duplicate_loop_p): Ditto. * lambda-code.c (invariant_in_loop_and_outer_loops): Ditto. * tree-cfg.c (tree_duplicate_sese_region): Ditto. * cfgloop.c (flow_loop_dump, flow_loop_nodes_find, rescan_loop_exit, cancel_loop, verify_loop_structure): Ditto. (flow_loop_nested_p, superloop_at_depth, flow_loop_free, add_bb_to_loop, remove_bb_from_loops, find_common_loop): Use the superloops vector instead of "pred" array. (establish_preds): Take father loop as an argument. Initialize the superloops vector. (flow_loop_tree_node_add): Pass father loop to establish_preds. Do not initialize loop->outer. (flow_loop_tree_node_remove): Truncate the superloops vector. * cfgloop.h (struct loop): Removed field "outer", fields "depth" and "pred" merged to "superloops" vector. (loop_depth, loop_outer): New. (fel_init): Use loop_outer. From-SVN: r124619
2007-05-11semantics.c (expand_or_defer_fn): Do not call c_record_cdtor_fn.Jan Hubicka9-86/+101
* semantics.c (expand_or_defer_fn): Do not call c_record_cdtor_fn. * decl2.c (start_objects): ctors and dtors are no longer public. (cp_write_global_declarations): Do not call c_build_cdtor_fns. * cgraphunit.c: Include gt-cgraphunit.h (static_ctors, static_dtors): New static vars. (record_cdtor_fn, build_cdtor, cgraph_build_cdtor_fns): New functions, based on implementation in c-common.c (cgraph_finalize_function): Call record_cdtor_fn. (cgraph_optimize): Call cgraph_build_cdtor_fns. * decl.c (finish_function): Do not call c_record_cdtor_fn. (c_write_global_declarations): Do not call c_build_cdtor_fns. * c-common.c (static_ctors, static_dtors, c_record_cdtor_fn, build_cdtor, c_build_cdtor_fns): Remove. * c-common.h (static_ctors, static_dtors, c_record_cdtor_fn, c_build_cdtor_fns): Remove prototype. From-SVN: r124618
2007-05-11re PR other/31852 (Missing __builtin_memchr)Paolo Carlini9-9/+164
2007-05-11 Paolo Carlini <pcarlini@suse.de> PR other/31852 * builtin-types.def: Add BT_FN_PTR_CONST_PTR_INT_SIZE. * builtins.def: Add BUILT_IN_MEMCHR, use the latter. * builtins.c (fold_builtin_memchr): New. (expand_builtin_memchr): Call the latter. (expand_builtin, fold_builtin_3): Deal with BUILT_IN_MEMCHR. * doc/extend.texi ([Other built-in functions provided by GCC]): Document memchr. /testsuite 2007-05-11 Paolo Carlini <pcarlini@suse.de> PR other/31852 * gcc.c-torture/execute/builtins/memchr.c: New. * gcc.c-torture/execute/builtins/memchr-lib.c: New. * gcc.c-torture/execute/builtins/lib/memchr.c: New. From-SVN: r124617
2007-05-11re PR fortran/30876 (Array valued recursive function rejected)Paul Thomas6-12/+73
2007-05-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/30876 * trans-expr.c (gfc_conv_function_call): Reduce indirection for direct assignments of recursive array valued functions. * primary.c (gfc_match_rvalue): Correct error for recursive function calls such that directly recursive calls of scalar function without an explicit result are disallowed. 2007-05-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/30876 * gfortran.dg/recursive_reference_1.f90: Put error at correct line. * gfortran.dg/recursive_reference_2.f90: New test. From-SVN: r124616
2007-05-11re PR fortran/30878 (Rejects function f1; namelist /nml/ f1)Paul Thomas6-5/+56
2007-05-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/30878 * resolve.c (resolve_fl_namelist): It is not an error if the namelist element is the result variable of the enclosing function. Search for the symbol in current and all parent namespaces for a potential conflict. * symbol.c (check_conflict): Remove the conflict between 'in_namelist' and 'FL_PROCEDURE' because the symbol info is not available to exclude function result variables. * trans-io.c (nml_get_addr_expr): Use the fake result decl if the symbol is an implicit result variable. 2007-05-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/30878 * gfortran.dg/namelist_29.f90: New test. From-SVN: r124615
2007-05-11s390.md (GPR0_REGNUM, [...]): Constants added.Andreas Krebbel2-0/+172
2007-05-11 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.md (GPR0_REGNUM, FPR0_REGNUM, FPR2_REGNUM, PFPO_CONVERT, PFPO_OP_TYPE_SF, PFPO_OP_TYPE_DF, PFPO_OP_TYPE_TF, PFPO_OP_TYPE_SD, PFPO_OP_TYPE_DD, PFPO_OP_TYPE_TD, PFPO_OP0_TYPE_SHIFT, PFPO_OP1_TYPE_SHIFT): Constants added. (DFP_ALL): Mode macro defined. ("*trunc<BFP:mode><DFP_ALL:mode>2", "*trunc<DFP_ALL:mode><BFP:mode>2", "*extend<BFP:mode><DFP_ALL:mode>2", "*extend<DFP_ALL:mode><BFP:mode>2"): Insn definitions added. ("trunc<BFP:mode><DFP_ALL:mode>2", "trunc<DFP_ALL:mode><BFP:mode>2", "extend<BFP:mode><DFP_ALL:mode>2", "extend<DFP_ALL:mode><BFP:mode>2"): Expanders added. From-SVN: r124614
2007-05-11re PR fortran/31474 (ENTRY & procedural pointer: insert_bbt(): Duplicate key ↵Paul Thomas4-6/+65
found!) 2007-05-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/31474 * decl.c (get_proc_name): If an entry has already been declared as a module procedure, pick up the symbol and the symtree and use them for the entry. 2007-05-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/31474 * gfortran.dg/entry_10.f90: New test. From-SVN: r124613
2007-05-1111.cc: Include <cstring>.Paolo Carlini67-67/+229
2007-05-10 Paolo Carlini <pcarlini@suse.de> * 27_io/objects/wchar_t/11.cc: Include <cstring>. * 27_io/objects/wchar_t/10.cc: Likewise. * 27_io/objects/wchar_t/12.cc: Likewise. * 27_io/basic_streambuf/sputbackc/char/9538.cc: Likewise. * 27_io/basic_streambuf/sgetn/char/1.cc: Likewise. * 27_io/basic_streambuf/overflow/char/1.cc: Likewise. * 27_io/basic_streambuf/sgetc/char/1.cc: Likewise. * 27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise. * 27_io/basic_streambuf/sputn/char/1.cc: Likewise. * 27_io/basic_ios/cons/char/3.cc: Likewise. * 27_io/basic_stringbuf/setbuf/char/2.cc: Likewise. * 27_io/basic_stringbuf/setbuf/char/3.cc: Likewise. * 27_io/basic_stringbuf/setbuf/char/4.cc: Likewise. * 27_io/basic_istream/extractors_character/char/4.cc: Likewise. * 27_io/fpos/mbstate_t/1.cc: Likewise. * 27_io/basic_filebuf/setbuf/char/2.cc: Likewise. * 27_io/basic_filebuf/setbuf/char/3.cc: Likewise. * 25_algorithms/copy/streambuf_iterators/char/2.cc: Likewise. * 25_algorithms/copy/streambuf_iterators/char/4.cc: Likewise. * 19_diagnostics/stdexceptions.cc: Likewise. * 21_strings/char_traits/requirements/short/1.cc: Likewise. * 21_strings/basic_string/compare/char/1.cc: Likewise. * 21_strings/basic_string/capacity/1.cc: Likewise. * ext/codecvt/char-1.cc: Likewise. * ext/codecvt/char-2.cc: Likewise. * ext/codecvt/1.cc: Likewise. * ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise. * ext/stdio_sync_filebuf/char/1.cc: Likewise. * ext/stdio_filebuf/char/2.cc: Likewise. * ext/stdio_filebuf/char/10063-1.cc: Likewise. * 22_locale/ctype/narrow/char/19955.cc: Likewise. * 22_locale/codecvt/unshift/wchar_t/1.cc: Likewise. * 22_locale/codecvt/unshift/wchar_t/2.cc: Likewise. * 22_locale/codecvt/unshift/wchar_t/3.cc: Likewise. * 22_locale/codecvt/unshift/wchar_t/4.cc: Likewise. * 22_locale/codecvt/unshift/char/1.cc: Likewise. * 22_locale/codecvt/length/wchar_t/1.cc: Likewise. * 22_locale/codecvt/length/wchar_t/2.cc: Likewise. * 22_locale/codecvt/length/wchar_t/3.cc: Likewise. * 22_locale/codecvt/length/wchar_t/4.cc: Likewise. * 22_locale/codecvt/length/wchar_t/5.cc: Likewise. * 22_locale/codecvt/length/wchar_t/6.cc: Likewise. * 22_locale/codecvt/length/wchar_t/7.cc: Likewise. * 22_locale/codecvt/always_noconv/char/1.cc: Likewise. * 22_locale/codecvt/encoding/char/1.cc: Likewise. * 22_locale/codecvt/in/wchar_t/1.cc: Likewise. * 22_locale/codecvt/in/wchar_t/2.cc: Likewise. * 22_locale/codecvt/in/wchar_t/3.cc: Likewise. * 22_locale/codecvt/in/wchar_t/4.cc: Likewise. * 22_locale/codecvt/in/wchar_t/5.cc: Likewise. * 22_locale/codecvt/in/wchar_t/6.cc: Likewise. * 22_locale/codecvt/in/wchar_t/7.cc: Likewise. * 22_locale/codecvt/in/wchar_t/8.cc: Likewise. * 22_locale/codecvt/in/wchar_t/9.cc: Likewise. * 22_locale/codecvt/in/char/1.cc: Likewise. * 22_locale/codecvt/max_length/char/1.cc: Likewise. * 22_locale/codecvt/out/wchar_t/1.cc: Likewise. * 22_locale/codecvt/out/wchar_t/2.cc: Likewise. * 22_locale/codecvt/out/wchar_t/3.cc: Likewise. * 22_locale/codecvt/out/wchar_t/4.cc: Likewise. * 22_locale/codecvt/out/wchar_t/5.cc: Likewise. * 22_locale/codecvt/out/wchar_t/6.cc: Likewise. * 22_locale/codecvt/out/wchar_t/7.cc: Likewise. * 22_locale/codecvt/out/char/1.cc: Likewise. * 22_locale/locale/cons/5.cc: Likewise. * 22_locale/collate_byname/named_equivalence.cc: Likewise. From-SVN: r124610
2007-05-11Daily bump.GCC Administrator1-1/+1
From-SVN: r124607
2007-05-10re PR tree-optimization/31885 (Not removing empty loop, scev not finding the ↵Zdenek Dvorak5-5/+38
correct result) PR tree-optimization/31885 * tree-chrec.c (chrec_contains_undetermined): Do not consider NULL_TREE to be undetermined. (automatically_generated_chrec_p): Return false for NULL. * gcc.dg/tree-ssa/loop-29.c: New test. From-SVN: r124602
2007-05-10ffi.c (ffi_prep_incoming_args_SYSV, [...]): New, add closure support.Roman Zippel4-1/+184
* src/m68k/ffi.c (ffi_prep_incoming_args_SYSV, ffi_closure_SYSV_inner,ffi_prep_closure): New, add closure support. * src/m68k/sysv.S(ffi_closure_SYSV,ffi_closure_struct_SYSV): Likewise. * src/m68k/ffitarget.h (FFI_TRAMPOLINE_SIZE): Likewise. (FFI_CLOSURES): Enable closure support. From-SVN: r124601
2007-05-10configure.ac (HAVE_AS_CFI_PSEUDO_OP): New test.Roman Zippel5-0/+105
* configure.ac (HAVE_AS_CFI_PSEUDO_OP): New test. * configure: Regenerate. * fficonfig.h.in: Regenerate. * src/m68k/sysv.S (CFI_STARTPROC,CFI_ENDPROC, CFI_OFFSET,CFI_DEF_CFA): New macros. (ffi_call_SYSV): Add callframe annotation. From-SVN: r124600
2007-05-10ffi.c (ffi_prep_args,ffi_prep_cif_machdep): Fix numerous test suite failures.Roman Zippel3-69/+98
* src/m68k/ffi.c (ffi_prep_args,ffi_prep_cif_machdep): Fix numerous test suite failures. * src/m68k/sysv.S (ffi_call_SYSV): Likewise. From-SVN: r124599
2007-05-10assumed_dummy_1.f90: Fix dg directive.Dominique d'Humieres5-4/+11
2007-05-10 Dominique d'Humieres <dominiq@lps.ens.fr> * assumed_dummy_1.f90: Fix dg directive. * char_initialiser_actual.f90: Likewise. * nested_modules_2.f90: Likewise. * shift-alloc.f90: Likewise. From-SVN: r124598
2007-05-10Improve comment...Mike Stump1-2/+3
From-SVN: r124597
2007-05-10bfin.h (MOVE_RATIO): Define.Bernd Schmidt2-0/+8
* config/bfin/bfin.h (MOVE_RATIO): Define. From-SVN: r124596
2007-05-10config.gcc (sparc-wrs-vxworks): New target.Richard Sandiford10-20/+190
gcc/ * config.gcc (sparc-wrs-vxworks): New target. * config/sparc/vxworks.h, config/sparc/t-vxworks: New files. * config/sparc/sparc-protos.h (sparc_emit_call_insn): Declare. * config/sparc/sparc.h: Include vxworks-dummy.h. (PRINT_OPERAND_ADDRESS): Extend SYMBOL_REF handling to include LABEL_REFs too. * config/sparc/sparc.c (sparc_expand_move): Don't assume that _GLOBAL_OFFSET_TABLE_ - label_ref is a link-time constant on VxWorks. (legitimize_pic_address): Handle LABEL_REFs like SYMBOL_REFs on VxWorks. (load_pic_register): Use gen_vxworks_load_got for VxWorks. (sparc_emit_call_insn): New function. (sparc_function_ok_for_sibcall): Restrict sibcalls to locally-binding functions when generating VxWorks PIC. * config/sparc/sparc.md (vxworks_load_got): New pattern. (call, call_value): Use sparc_emit_call_insn instead of emit_call_insn. libgcc/ * config.host (sparc-wrs-vxworks): New target. From-SVN: r124595
2007-05-1020070507-1.c: Disable for non-pic targets.Andreas Krebbel2-1/+5
2007-05-10 Andreas Krebbel <krebbel1@de.ibm.com> * gcc.dg/20070507-1.c: Disable for non-pic targets. From-SVN: r124593
2007-05-10re PR libfortran/31880 ([4.2 only] silent data corruption in gfortran read ↵Jerry DeLisle1-1/+1
statement) 2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/31880 * gfortran.dg/unf_read_corrupted_2.f90: Fix test. From-SVN: r124591
2007-05-10re PR libfortran/31880 ([4.2 only] silent data corruption in gfortran read ↵Jerry DeLisle2-0/+32
statement) 2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/31880 * gfortran.dg/unf_read_corrupted_2.f90: New test. From-SVN: r124590
2007-05-10* g++.dg/parse/attr-externally-visible-1.C: Likewise.Mike Stump2-0/+2
From-SVN: r124589
2007-05-10re PR libfortran/31880 ([4.2 only] silent data corruption in gfortran read ↵Jerry DeLisle2-2/+7
statement) 2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/31880 * io/unix.c (fd_alloc_r_at): Fix calculation of physical offset. From-SVN: r124588
2007-05-10Daily bump.GCC Administrator1-1/+1
From-SVN: r124586
2007-05-09Fix whitespacingMike Stump1-1/+1
From-SVN: r124583
2007-05-09* g++.dg/other/first-global.C: Add -fpie for darwin.Mike Stump2-0/+6
From-SVN: r124580
2007-05-09* config/xtensa/xtensa.c (xtensa_output_literal): Don't use #if.Bob Wilson2-7/+11
From-SVN: r124579
2007-05-09xtensa.c (xtensa_output_literal): Mask out high bits for floating-point ↵Bob Wilson2-2/+17
values if HOST_BITS_PER_LONG > 32. * config/xtensa/xtensa.c (xtensa_output_literal): Mask out high bits for floating-point values if HOST_BITS_PER_LONG > 32. Use split_double instead of operand_subword. From-SVN: r124578
2007-05-09bfin.h (LOCAL_ALIGNMENT): Define.Bernd Schmidt4-0/+37
* config/bfin/bfin.h (LOCAL_ALIGNMENT): Define. * config/bfin/bfin.c (bfin_local_alignment): New function. * config/bfin/bfin-protos.h (bfin_local_alignment): Declare it. From-SVN: r124570
2007-05-0920070507-1.c: New testcase.Andreas Krebbel2-0/+107
2007-05-09 Andreas Krebbel <krebbel1@de.ibm.com> * gcc.dg/20070507-1.c: New testcase. From-SVN: r124567
2007-05-09Remove conflict markerMark Mitchell1-1/+0
From-SVN: r124566
2007-05-09cxxabi.h (_GLIBCXX_NOTHROW): New macro.Mark Mitchell3-5/+29
* libstdc++-v3/libsupc++/cxxabi.h (_GLIBCXX_NOTHROW): New macro. (__cxa_atexit): Use it. * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): For installed-tree testing, search more include directories. From-SVN: r124565
2007-05-08typeck.c (build_unary_op): Remove code that used to handle non lvalue ↵Andrew Pinski2-35/+5
increments/decrements. 2007-05-07 Andrew Pinski <andrew_pinski@playstation.sony.com> * typeck.c (build_unary_op): Remove code that used to handle non lvalue increments/decrements. From-SVN: r124564
2007-05-09Daily bump.GCC Administrator1-1/+1
From-SVN: r124562
2007-05-08* gcc.target/mips/msub-1.c, gcc.target/mips/msub-2.c,Chao-ying Fu9-0/+171
* gcc.target/mips/msub-3.c, gcc.target/mips/msub-4.c, * gcc.target/mips/msubu-1.c, gcc.target/mips/msubu-2.c, * gcc.target/mips/msubu-3.c, gcc.target/mips/msubu-4.c: New tests. From-SVN: r124559
2007-05-08md.texi (msub@var{m}@var{n}4, [...]): Document.Chao-ying Fu8-28/+103
* doc/md.texi (msub@var{m}@var{n}4, usub@var{m}@var{n}4): Document. * optabs.h (OTI_smsub_widen, OTI_umsub_widen): New optab_indexes. (smsub_widen_optab, umsub_widen_optab): Define. * optabs.c (init_optabs): Initialize smsub_widen_optab and umsub_widen_optab. * genopinit.c (optabs): Fill in smsub_widen_optab and umsub_widen_optab. * expr.c (expand_expr_real_1): Try to use smsub_widen_optab and umsub_widen_optab to implement multiply-subtract sequences. * config/mips/mips.md (*msac<u>_di): Rename to... (<u>msubsidi4): ...this. Extend condition to include GENERATE_MADD_MSUB and TARGET_DSPR2. Change the constraint of operand 0 to "ka" and use the three-operand form of msub<u> for TARGET_DSPR2. * config/mips/mips-dspr2.md (mips_msub, mips_msubu): Convert to define_expands. From-SVN: r124558
2007-05-08re PR rtl-optimization/28011 ([SH] g++ generates wrong code, if ↵Kaz Kojima2-2/+11
'-fno-exceptions' and '-O' options are specified) PR rtl-optimization/28011 * reload.c (push_reload): Set dont_share if IN appears in OUT also when IN is a PLUS rtx. (reg_overlap_mentioned_for_reload_p): Return true if X and IN are same PLUS rtx. From-SVN: r124557
2007-05-08emit-rtl.c (unshare_all_rtl_1): Don't copy DECL_RTL.Kazu Hirata2-30/+10
* emit-rtl.c (unshare_all_rtl_1): Don't copy DECL_RTL. Don't call unshare_all_decls. (unshare_all_rtl): Adjust the call to unshare_all_rtl_1. (unshare_all_decls): Remove. From-SVN: r124556
2007-05-08re PR tree-optimization/31847 (Printing to dump file broken)Simon Martin4-1/+27
2007-05-08 Simon Martin <simartin@users.sourceforge.net> PR 31847 * tree-dump.c (dump_options): Don't use TDF_DIAGNOSTIC in "*-all" tree dumps. From-SVN: r124551
2007-05-08re PR fortran/31630 (ICE on nasty derived types code)Paul Thomas2-15/+11
2007-05-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/31630 * resolve.c (resolve_symbol): Remove the flagging mechanism from the formal namespace resolution and instead check that the formal namespace is not the current namespace. From-SVN: r124550
2007-05-08re PR fortran/31692 (Wrong code when passing function name as result to ↵Paul Thomas4-5/+115
procedures) 2007-05-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/31692 * trans-array.c (gfc_conv_array_parameter): Convert full array references to the result of the procedure enclusing the call. 2007-05-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/31692 * gfortran.dg/actual_array_result_1.f90: New test. From-SVN: r124546