aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-05-06re PR libstdc++/31836 (FAIL: ↵Paolo Carlini3-0/+44
27_io/basic_istream/extractors_arithmetic/char/12.cc execution test) 2007-05-06 Paolo Carlini <pcarlini@suse.de> PR libstdc++/31836 * testsuite/17_intro/headers/c++200x/all.cc: Protect inclusion of C99 headers. * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Likewise. From-SVN: r124472
2007-05-06Fix PR30957Revital Eres4-3/+73
From-SVN: r124471
2007-05-06c_locale.cc: Don't use __builtin_huge_val* when __*_HAS_INFINITY__ is false.Paolo Carlini2-12/+57
2007-05-06 Paolo Carlini <pcarlini@suse.de> * config/locale/generic/c_locale.cc: Don't use __builtin_huge_val* when __*_HAS_INFINITY__ is false. From-SVN: r124470
2007-05-06re PR fortran/31251 (Non-integer character length leads to segfault)Jerry DeLisle4-1/+28
2007-05-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/31251 * decl.c (match_char_spec): Add check for invalid character lengths. 2007-05-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/31251 * gfortran.dg/char_type_len_2.f90: New test. From-SVN: r124469
2007-05-06pa.md: Split tgd_load, tld_load and tie_load into pic and non-pic versions.Aurelien Jarno3-18/+73
* config/pa/pa.md: Split tgd_load, tld_load and tie_load into pic and non-pic versions. Mark r19 as used for tgd_load_pic, tld_load_pic and tie_load_pic. Mark r27 as used for tgd_load, tld_load and tie_load . * config/pa/pa.c (legitimize_tls_address): Emit pic or non-pic version of tgd_load, tld_load and tie_load depending on the value of flag_pic. From-SVN: r124468
2007-05-06Index: libiberty/ChangeLogGeoffrey Keating9-3/+109
2007-05-04 Geoffrey Keating <geoffk@apple.com> * cp-demangle.c (d_name): Detect local-source-name. (d_prefix): Likewise. (d_unqualified_name): Implement local-source-name. Index: gcc/cp/ChangeLog 2007-05-04 Geoffrey Keating <geoffk@apple.com> PR 31775 * mangle.c (write_mangled_name): Mangle static variable names. (write_unqualified_name): Use local-source-name for namespace-scope static variables. Index: gcc/testsuite/ChangeLog 2007-05-04 Geoffrey Keating <geoffk@apple.com> PR 31775 * g++.dg/other/nested-extern.cc: New. * g++.dg/other/nested-extern-1.C: New. * g++.dg/other/nested-extern-2.C: New. From-SVN: r124467
2007-05-05Daily bump.GCC Administrator1-1/+1
From-SVN: r124465
2007-05-05stl_raw_storage_iter.h (class raw_storage_iterator): Adjust template ↵Paolo Carlini2-7/+13
parameter name. 2007-05-04 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_raw_storage_iter.h (class raw_storage_iterator): Adjust template parameter name. From-SVN: r124459
2007-05-05cxxabi.h (__cxa_atexit): Conditionalize exception specification on #ifdef ↵Mark Mitchell2-1/+11
__cplusplus. * libsupc++/cxxabi.h (__cxa_atexit): Conditionalize exception specification on #ifdef __cplusplus. From-SVN: r124456
2007-05-04Daily bump.GCC Administrator1-1/+1
From-SVN: r124454
2007-05-04intrinsic.texi (CMPLX): Document result kind.Brooks Moses2-1/+64
* intrinsic.texi (CMPLX): Document result kind. (COMPLEX): Add documentation. From-SVN: r124448
2007-05-04natVMVirtualMachine.cc (getClassMethod): Change to use JVMTI.Kyle Galloway2-5/+23
2007-05-04 Kyle Galloway <kgallowa@redhat.com> * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change to use JVMTI. From-SVN: r124447
2007-05-04re PR libfortran/31760 (missing elemental applicability)Daniel Franke6-32/+55
gcc/fortran: 2007-05-04 Daniel Franke <franke.daniel@gmail.com> PR fortran/31760 * intrinsic.c (add_functions): Replaced calls to gfc_check_g77_math1 by gfc_check_fn_r to avoid checks for scalarity. * check.c (gfc_check_besn): Removed check for scalarity. (gfc_check_g77_math1): Removed. * intrinsic.h (gfc_check_g77_math1): Removed. gcc/testsuite: 2007-05-04 Daniel Franke <franke.daniel@gmail.com> PR fortran/31760 * gfortran.dg/erf.f90: New test. * gfortran.dg/besxy.f90: New test. [gcc/fortran/ChangeLog was already committed in r124441 by accident] From-SVN: r124446
2007-05-04re PR libgomp/28482 (Cannot use libgomp in shared library)Jakub Jelinek2-3/+3
PR libgomp/28482 * configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux. From-SVN: r124445
2007-05-04crtstuff.c (HIDDEN_DTOR_LIST_END): New macro.Ulrich Drepper2-9/+49
* crtstuff.c (HIDDEN_DTOR_LIST_END): New macro. (__do_global_dtors_aux): Use more paranoid loop to run destructors if HIDDEN_DTOR_LIST_END. (__DTOR_END__): Export as a hidden symbol when HIDDEN_DTOR_LIST_END. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r124444
2007-05-04* config/linux/proc.c: New file.Jakub Jelinek2-0/+183
From-SVN: r124443
2007-05-04varasm.c (align_variable): Don't increase alignment for DECL_THREAD_LOCAL_P ↵Jakub Jelinek2-2/+19
variables above BITS_PER_WORD... * varasm.c (align_variable): Don't increase alignment for DECL_THREAD_LOCAL_P variables above BITS_PER_WORD through DATA_ALIGNMENT or CONSTANT_ALIGNMENT. From-SVN: r124442
2007-05-04Fix typo in PR numbers 22539 <> 22359.Daniel Franke3-3/+12
From-SVN: r124441
2007-05-04check.c (gfc_check_fseek_sub): Fixed typo.Daniel Franke2-1/+5
2007-05-04 Daniel Franke <franke.daniel@gmail.com> * check.c (gfc_check_fseek_sub): Fixed typo. From-SVN: r124440
2007-05-04basic-block.h (cdi_direction): Assign values to all enumeration constants.Josh Conner10-89/+206
2007-05-04 Josh Conner <jconner@apple.com> * basic-block.h (cdi_direction): Assign values to all enumeration constants. (dom_computed): Remove. (dom_info_state): New. (set_dom_info_availability): New. * tree-ssa-loop-im.c (determine_invariantness): Initialize walk_data.dom_direction. * cfghooks.c (delete_basic_block): Use dom_info_available_p() instead of dom_computed[]. (split_edge): Likewise. (create_basic_block): Likewise. (merge_blocks): Likewise. * ifcvt.c (find_if_header): Likewise. * tree-cfgcleanup.c (cleanup_tree_cfg): Likewise. * tree-ssa-dce.c (remove_dead_stmt): Likewise. * tree-ssa.c (verify_ssa): Likewise. * tree-cfg.c (tree_verify_flow_info): Likewise. (remove_edge_and_dominated_blocks): Likewise. * dominance.c (dom_computed): Make static. (calc_dfs_tree_nonrec): Change third param to a bool. (calc_dfs_tree): Change second param to a bool. (calc_idioms): Change second param to a bool. Use dom_convert_dir_to_idx. (init_dom_info): Validate dir before using. (dom_convert_dir_to_idx): New. (calculate_dominance_info): Use dom_convert_dir_to_idx. New variable 'reverse' used for calling calc_dfs_tree and calc_idoms. (free_dominance_info): Use dom_convert_dir_to_idx. (get_immediate_dominator): Likewise. (set_immediate_dominator): Likewise. (get_dominated_by): Likewise. (redirect_immediate_dominators): Likewise. (nearest_common_denominator): Likewise. (dominated_by_p): Likewise. (bb_dom_dfs_in): Likewise. (bb_dom_dfs_out): Likewise. (recount_dominator): Likewise. (iterate_fix_dominators): Likewise. (add_to_dominance_info): Likewise. (delete_from_dominance_info): Likewise. (first_dom_son): Likewise. (next_dom_son): Likewise. (dom_info_available_p): Likewise. (dom_info_state): New. (set_dom_info_availability): New. From-SVN: r124439
2007-05-04stl_memory.h: Rename to stl_auto_ptr.h.Paolo Carlini10-86/+109
2007-05-04 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_memory.h: Rename to stl_auto_ptr.h. (__get_temporary_buffer, get_temporary_buffer, return_temporary_buffer): Move... * include/bits/stl_tempbuf.h: ... here. * include/std/memory: Adjust includes. * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust dg-error line numbers. * include/Makefile.am: Adjust. * include/Makefile.in: Regenerate. * testsuite/util/testsuite_iterators.h: Do not include the entire <iterator>. * include/bits/stl_iterator_base_types.h: Adjust includes. * testsuite/25_algorithms/unique_copy/2.cc: Include <functional>. From-SVN: r124438
2007-05-04re PR target/22539 (Internal compiler error with maximum sized array)Daniel Franke12-10/+250
gcc/fortran: 2007-05-04 Daniel Franke <franke.daniel@gmail.com> PR fortran/22539 * intrinsic.c (add_subroutines): Added FSEEK. * intrinsic.h (gfc_resolve_fseek_sub, gfc_check_fseek_sub): New. * iresolve.c (gfc_resolve_fseek_sub): New. * check.c (gfc_check_fseek_sub): New. * intrinsic.texi (FSEEK): Updated. gcc/testsuite: 2007-05-01 Daniel Franke <franke.daniel@gmail.com> PR fortran/22539 * gfortran.dg/fseek.f90: New test. libgfortran: 2007-05-04 Daniel Franke <franke.daniel@gmail.com> PR fortran/22539 * io/intrinsics.c (fseek_sub): New. * io/unix.c (fd_fseek): Change logical and physical offsets only if seek succeeds. * gfortran.map (fseek_sub): New. From-SVN: r124437
2007-05-04atexit_arm.cc: New file.Mark Mitchell6-22/+68
* libsupc++/atexit_arm.cc: New file. * libsupc++/vec.cc (__aeabi_atexit): Remove. * libsupc++/cxxabi.h (__cxa_atexit): Add exception specification. * libsupc++/Makefile.am: Add atexit_arm.cc. * libsupc++/Makefile.in: Regenerated. From-SVN: r124436
2007-05-04* g++.old-deja/g++.pt/static11.C: Remove xtensa-*-elf* xfail.Bob Wilson2-1/+5
From-SVN: r124434
2007-05-04s390.md ("fix_trunc<mode>di2", [...]): Expander removed.Andreas Krebbel2-20/+12
2007-05-04 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.md ("fix_trunc<mode>di2", "fix_trunc<mode>si2"): Expander removed. ("fix_trunc<DSF:mode><GPR:mode>2"): Expander added. From-SVN: r124433
2007-05-04xtensa.md (adddi3, [...]): Delete.Bob Wilson2-81/+6
* config/xtensa/xtensa.md (adddi3, adddi_carry): Delete. (subdi3, subdi_carry): Delete. From-SVN: r124432
2007-05-04opts.c (decode_options): Do not fiddle with inlining parameters in case of ↵Jan Hubicka3-5/+18
optimizing for size. * opts.c (decode_options): Do not fiddle with inlining parameters in case of optimizing for size. * ipa-inline.c (cgraph_decide_recursive_inlining): When optimizing for size do nothing. (cgraph_decide_inlining_of_small_function): When optimizing for size never inline functions increasing caller size. (cgraph_early_inlining): Inline for size when optimizing for size. Co-Authored-By: Richard Guenther <rguenther@suse.de> From-SVN: r124431
2007-05-04re PR libfortran/31210 (I/O of string with (non-constant) zero length)Francois-Xavier Coudert2-0/+23
PR libfortran/31210 * gfortran.dg/zero_length_1.f90: New test. From-SVN: r124429
2007-05-04re PR libfortran/31210 (I/O of string with (non-constant) zero length)Francois-Xavier Coudert2-0/+16
PR libfortran/31210 * io/transfer.c (transfer_character): Avoid passing a NULL pointer as source to the transfer routines, if the string length is zero. From-SVN: r124428
2007-05-04stl_construct.h (_Destroy(_ForwardIterator, _ForwardIterator __last, ↵Paolo Carlini5-65/+106
_Allocator)): Change the last parameter to _Allocator&. 2007-05-04 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_construct.h (_Destroy(_ForwardIterator, _ForwardIterator __last, _Allocator)): Change the last parameter to _Allocator&. * include/bits/stl_uninitialized.h (__uninitialized_copy_a, __uninitialized_fill_a, __uninitialized_fill_n_a, __uninitialized_fill_copy, __uninitialized_copy_fill, __uninitialized_copy_copy): Likewise. * include/ext/rope: Adjust everywhere. * include/ext/ropeimpl.h: Likewise. From-SVN: r124427
2007-05-04re PR fortran/31803 (ICE for character pointer => target(range))Tobias Burnus5-2/+32
2007-05-04 Tobias Burnus <burnus@net-b.de> PR fortran/31803 * expr.c (gfc_check_pointer_assign): Check for NULL pointer. 2007-05-04 Tobias Burnus <burnus@net-b.de> PR fortran/31803 * gfortran.dg/char_pointer_assign_3.f90: New test. * gfortran.dg/char_result_2.f90: Re-enable test. From-SVN: r124419
2007-05-04re PR fortran/31251 (Non-integer character length leads to segfault)Jerry DeLisle2-2/+8
PR fortran/31251 * simplify.c (gfc_simplify_len): Only simplify integer lengths. From-SVN: r124415
2007-05-04bfin.md (<optab>di3): Now a define_expand which expands logical operations ↵Bernd Schmidt2-131/+105
piecewise. * config/bfin/bfin.md (<optab>di3): Now a define_expand which expands logical operations piecewise. (<optab>di_zesidi_di, <optab>di_sesidi_di, negdi2, one_cmpldi2, zero_extendsidi2, subdi_di_zesidi, subdi_zesidi_di, subdi_di_sesidi, subdi_sesidi_di): Delete. (add_with_carry): Produce carry in CC instead of a DREG to shorten the generated sequence. Allow three-reg add in constraints. Rewrite the rtl expression for carry to avoid zero_extend of a constant. (sub_with_carry): New pattern. (adddi3, subdi3): Change into define_expand. For subtract, generate a different sequence not involving jumps. (notbi): Now a named pattern. From-SVN: r124414
2007-05-04invoke.texi (i386 and x86-64 Options): Add the note about a significant loss ↵Brad Lucier2-6/+21
of accuracy of some mathematical routines... * doc/invoke.texi (i386 and x86-64 Options) [-mpc32, -mpc64, -mpc80]: Add the note about a significant loss of accuracy of some mathematical routines when these options are used. From-SVN: r124413
2007-05-04re PR fortran/31781 (fortran regressions on trunk if you --disable-checking)Francois-Xavier Coudert2-1/+10
PR fortran/31781 * simplify.c (gfc_simplify_repeat): Don't put function call with side effect in a gcc_assert(). From-SVN: r124412
2007-05-04re PR fortran/25071 (dummy argument larger than actual argument)Tobias Burnus5-4/+93
2007-05-04 Tobias Burnus <burnus@net-b.de> PR fortran/25071 * interface.c (compare_actual_formal): Check character length. 2007-05-04 Tobias Burnus <burnus@net-b.de> PR fortran/25071 * gfortran.dg/char_length_3.f90: New test. * gfortran.dg/char_result_2.f90: Fix test. From-SVN: r124411
2007-05-04haifa-sched.c (rtx_vec_t): New typedef.Maxim Kuvyrkov3-49/+102
* haifa-sched.c (rtx_vec_t): New typedef. (contributes_to_priority_p): Extract piece of priority () into new static function. (priority): Use the function. Add assertion. (rank_for_schedule, set_priorities): Add assertion to check that insn's priority is initialized. (clear_priorities, calc_priorities): Change signature. Make it update all relevant insns. Update all callers ('add_to_speculative_block ()' and 'create_block_check_twin ()'). * sched-int.h (struct haifa_insn_data): Remove field 'priority_known'. Add new field 'priority_status'. (INSN_PRIORITY_STATUS): New macro. (INSN_PRIORITY_KNOWN): Change to use INSN_PRIORITY_STATUS. From-SVN: r124410
2007-05-04sched-ebb.c (debug_ebb_dependencies): New static function.Maxim Kuvyrkov4-52/+90
* sched-ebb.c (debug_ebb_dependencies): New static function. (init_ready_list): Use it. * sched-rgn.c (debug_dependencies): Split into 'debug_dependencies ()' with changed signature and 'debug_rgn_dependencies ()'. (debug_rgn_dependencies): New static function. (init_ready_list): Use it. * sched-int.h (debug_dependencies): Declare. From-SVN: r124409
2007-05-04libgcc-std.ver (__ffssi2): Added to GCC_4.3.0 section.Andreas Krebbel2-0/+5
2007-05-04 Andreas Krebbel <krebbel1@de.ibm.com> * libgcc-std.ver (__ffssi2): Added to GCC_4.3.0 section. From-SVN: r124408
2007-05-04interpret.cc: Don't include ExceptionEvent.h.Keith Seitz5-69/+7
* interpret.cc: Don't include ExceptionEvent.h. * gnu/gcj/jvmti/natExceptionEvent.cc: Remove. * Makefile.am (nat_source_files): Remove natExceptionEvent.cc. * Makefile.in: Regenerated. From-SVN: r124407
2007-05-04jvmti-int.h (_Jv_ReportJVMTIExceptionThrow): Declare.Keith Seitz11-169/+198
* include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow): Declare. * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function. (find_catch_location): New function. (REPORT_EXCEPTION): New macro. (throw_internal_error): Use REPORT_EXCEPTION. (throw_incompatible_class_change_error): Likewise. (throw_null_pointer_exception): Likewise. (throw_class_format_error): Likewise. * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set to REPORT_EXCEPTION. (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop. (insn_new): Use INTERP_REPORT_EXCEPTION. (insn_athrow): Likewise. Remove previous JVMTI exception notifications. Add JVMTI ExceptionCatch notificatin. * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of exception throw. * gnu/gcj/jvmti/ExceptionEvent.java: Removed. * gnu/gcj/jvmti/ExceptionEvent.h: Removed. * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed. * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpExceptionCB): New function. (jdwpVMInitCB): Set Exception event handler and enable. * sources.am: Regenerated. * Makefile.in: Regenerated. From-SVN: r124406
2007-05-04c.opt (Wmain,ffreestanding): Enable for C++,ObjC++.Dirk Mueller4-3/+13
2007-05-04 Dirk Mueller <dmueller@suse.de> * c.opt(Wmain,ffreestanding): Enable for C++,ObjC++. * cp-tree.h (DECL_MAIN_P): only if -ffreestanding is not in effect. From-SVN: r124404
2007-05-04fold-const.c (fold_unary): Convert (T1)(X op Y) into ((T1)X op (T1)Y)...Jan Hubicka4-17/+40
* fold-const.c (fold_unary): Convert (T1)(X op Y) into ((T1)X op (T1)Y), for pointer type in more cases than before. * gimplify.c (gimplify_expr): Fold (void *)&a + 4. * tree-object-size.c (plus_expr_object_size): When operand size is unknown, return unknown. From-SVN: r124403
2007-05-04ChangeLog: split old changelogs by yearIan Lance Taylor3-7017/+7017
2007-05-04 Dirk Mueller <dmueller@suse.de> * ChangeLog: split old changelogs by year From-SVN: r124401
2007-05-04invoke.texi (-m386,-m486,-mpentium,-mpentiumpro): Remove.Dirk Mueller4-38/+10
2007-05-03 Dirk Mueller <dmueller@suse.de> * doc/invoke.texi (-m386,-m486,-mpentium,-mpentiumpro): Remove. * config/i386/i386.h (CC1_CPU_SPEC): Remove handling for deprecated options. * config/i386/i386.opt (m386,m486,mpentium,mpentiumpro): Remove. From-SVN: r124400
2007-05-03filename_cmp.c: Replace include of ctype.h by include of safe-ctype.h.Joel Brobecker3-4/+13
* filename_cmp.c: Replace include of ctype.h by include of safe-ctype.h. (filename_cmp): Use TOLOWER instead of tolower for conversions that are locale-independent. * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h. From-SVN: r124399
2007-05-03Daily bump.GCC Administrator1-1/+1
From-SVN: r124395
2007-05-03* doc/sourcebuild.texi (Test Directives) Clarify dg-excess-errors.Janis Johnson2-1/+6
From-SVN: r124392
2007-05-03double.h, [...]: Update from glibc CVS.Joseph Myers11-75/+88
* config/soft-fp/double.h, config/soft-fp/extended.h, config/soft-fp/floatundidf.c, config/soft-fp/floatundisf.c, config/soft-fp/floatunsidf.c, config/soft-fp/floatunsisf.c, config/soft-fp/op-2.h, config/soft-fp/op-4.h, config/soft-fp/op-common.h, config/soft-fp/quad.h: Update from glibc CVS. From-SVN: r124388
2007-05-03Makefile.in: Regenerate.Thomas Fitzsimmons6-1/+19
2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304 * Makefile.in: Regenerate. * scripts/makemake.tcl (scan_directory): Treat default.css as a property file. * classpath/javax/swing/text/html/default.css: Move to... * classpath/resource/javax/swing/text/html/default.css: New file. * classpath/javax/swing/text/html/HTMLEditorKit.java (getStyleSheet): Throw RuntimeException when style loading fails. * sources.am (property_files): Add classpath/resource/javax/swing/text/html/default.css. From-SVN: r124387