aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-01-26Daily bump.GCC Administrator1-1/+1
From-SVN: r121195
2007-01-25re PR fortran/30437 (-Wno-all is rejected (even when fortran is not included))Manuel López-Ibáñez8-17/+78
2007-01-25 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR fortran/30437 fortran/ * lang.opt (Wall): Remove RejectNegative. * options.c (gfc_handle_option): Wall can be disabled. (set_Wall): Add a parameter for disabling Wall. testsuite/ * gcc.dg/Wall.c: New. * gcc.dg/Wno-all.c: New. * gfortran.dg/Wall.f90: New. * gfortran.dg/Wno-all.f90: New. From-SVN: r121186
2007-01-25jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.Keith Seitz4-7/+43
* include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare. * gnu/classpath/jdwp/natVMVirtualMachine.cc (_Jv_GetJDWP_JVMTIEnv): New function. * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement. (getSignature): Implement. (getModifiers): Implement. From-SVN: r121185
2007-01-25re PR target/25127 (internal compiler error: in rs6000_emit_prologue, at ↵Geoffrey Keating9-44/+248
config/rs6000/rs6000.c:14039) 2007-01-24 Geoffrey Keating <geoffk@apple.com> PR 25127 * config/rs6000/rs6000.c (first_altivec_reg_to_save): On Darwin, save Altivec registers in an eh_return function. (compute_vrsave_mask): Likewise. (rs6000_stack_info): Correct AIX/Darwin stack alignment computation for saving Altivec registers. (rs6000_emit_prologue): Don't allocate stack twice in eh_return function. Correct expected value of altivec_save_offset when using save_world. Describe save of R0 to stack when using save_world. Describe stack pointer adjustment when using save_world. Remove duplicated eh_return parameter register saving. Update sp_offset variable after save_world. * config/rs6000/t-darwin (LIB2FUNCS_STATIC_EXTRA): Remove darwin-world.asm. (LIB2FUNCS_EXTRA): Add darwin-world.asm. * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): -m64 implies Altivec. Index: gcc/testsuite/ChangeLog 2007-01-24 Geoffrey Keating <geoffk@apple.com> * gcc.target/powerpc/darwin-ehreturn-1.c: New. * g++.dg/eh/simd-2.C: Also run on Darwin. * g++.dg/eh/simd-3.C: New. * g++.dg/eh/simd-4.C: New. From-SVN: r121184
2007-01-25configure, [...]: Rebuilt.Andrew Haley10-110/+49
2007-01-25 Andrew Haley <aph@redhat.com> * configure, Makefile.in, include/config.h.in: Rebuilt. * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC). * configure.ac: Don't check for libmagic. * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load, p_magic_close, p_magic_buffer): New globals. (init): Look up 'magic' functions. (guessContentTypeFromBuffer): Updated. From-SVN: r121183
2007-01-25re PR target/30272 (Build failure under SGI Irix (GFortran))Daniel Franke4-11/+18
2007-01-25 Daniel Franke <franke.daniel@gmail.com> PR target/30272 * inclhack.def(broken_cabs): Also remove definition of cabsl. * fixincl.x: Regenerate. * tests/base/math.h: Update. From-SVN: r121182
2007-01-25* config.gcc (ia64*-*-hpux*): Make posix threads the default.Steve Ellcey2-1/+5
From-SVN: r121180
2007-01-25jvmti.cc (_Jv_JVMTI_GetMethodName): New function.Keith Seitz5-1/+236
* jvmti.cc (_Jv_JVMTI_GetMethodName): New function. (_Jv_JVMTI_Interface): Define GetMethodName. * testsuite/libjava.jvmti/getmethodname.java: New file. * testsuite/libjava.jvmti/natgetmethodname.cc: New file. * testsuite/libjava.jvmti/getmethodname.out: New file. From-SVN: r121179
2007-01-25re PR target/30182 (FAIL: gcc.dg/pr28796-2.c (test for excess errors))Steve Ellcey3-0/+25
PR other/30182 * config/pa/pa.c (pa_init_builtins): Set asm names for finite routines. * config/ia64/ia64.c (ia64_init_builtins): Ditto. From-SVN: r121178
2007-01-25decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of ↵Roger Sayle5-25/+28
TREE_CONSTANT_OVERFLOW. * decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of TREE_CONSTANT_OVERFLOW. (allocatable_size_p, annotate_value): Likewise. * trans.c (gnat_to_gnu): Likewise. * utils.c (unchecked_convert): Likewise. * utils2.c (build_simple_component_ref): Likewise. From-SVN: r121177
2007-01-25configure.ac: Add --enable-version-specific-runtime-libs.Daniel Jacobowitz3-2161/+1703
* configure.ac: Add --enable-version-specific-runtime-libs. Correct $slibdir default. * configure: Regenerated. From-SVN: r121176
2007-01-25libjava.exp (exec_gij): Change [ to { in if statement.Kyle Galloway1-4/+6
2007-01-25 Kyle Galloway <kgallowa@redhat.com> * testsuite/libjava.jvmti/lib/libjava.exp (exec_gij): Change [ to { in if statement. From-SVN: r121174
2007-01-25Kyle Galloway 2007-01-25 <kgallowa@redhat.com>Kyle Galloway1-0/+6
* ChangeLog: Add ChangeLog entry that didn't apply. From-SVN: r121173
2007-01-25jvmti-interp.exp: New file.Kyle Galloway2-0/+202
2007-01-25 Kyle Galloway <kgallowa@redhat.com> * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file. * libjava/testsuite/libjava.jvmti/interp: New folder. * libjava/testsuite/lib/libjava.exp (exec_gij): New Method. From-SVN: r121172
2007-01-25streambuf_iterator.h (istreambuf_iterator<>::equal): Simplify.Nathan Myers2-5/+6
2007-01-25 Nathan Myers <ncm@cantrip.org> * include/bits/streambuf_iterator.h (istreambuf_iterator<>::equal): Simplify. From-SVN: r121170
2007-01-25invoke.texi (-Wcoverage-mismatch): Document.Richard Guenther7-18/+94
2007-01-25 Richard Guenther <rguenther@suse.de> * doc/invoke.texi (-Wcoverage-mismatch): Document. * common.opt (-Wcoverage-mismatch): New warning option. * coverage.c (get_coverage_counts): Ignore coverage mismatch if -Wcoverage-mismatch is given. * gcc.dg/tree-prof/tree-prof.exp: Define _PROFILE_GENERATE and _PROFILE_USE. * gcc.dg/tree-prof/wcoverage-mismatch.c: New testcase. From-SVN: r121169
2007-01-25ipa-1.c: Update scan tree dump.Razya Ladelsky7-5/+46
2007-01-25 Razya Ladelsky <razya@il.ibm.com> * gcc.dg/ipa/ipa-1.c: Update scan tree dump. * gcc.dg/ipa/ipa-2.c: Update scan tree dump. * gcc.dg/ipa/ipa-3.c: Update scan tree dump. * gcc.dg/ipa/ipa-4.c: Update scan tree dump. * gcc.dg/ipa/ipa-5.c: Update scan tree dump. * gcc.dg/ipa/ipa-6.c: Update scan tree dump. * gcc.dg/ipa/ipa-7.c: New testcase. From-SVN: r121168
2007-01-25ipa-cp.c (ipcp_insert_stage, [...]): Support for SSA.Razya Ladelsky1-0/+15
2007-01-25 Razya Ladelsky <razya@il.ibm.com> * ipa-cp.c (ipcp_insert_stage, ipcp_driver): Support for SSA. (ipcp_driver): Change to static definition. Add dumping of the ifunctions. (constant_val_insert): Remove unused parameter. Support for SSA. (ipcp_propagate_const): Support for SSA. (ipcp_profile_bb_print): Print only analyzed nodes. (ipcp_replace_map_create): Remove support for Fortran constant for now. * ipa-prop.c (ipa_method_modify_stmt, ipa_callsite_compute_param): Support for SSA. * ipa-prop.h (ipcp_driver): Remove declaration. (IS_VALID_TREE_MAP_INDEX): Add define. From-SVN: r121167
2007-01-25* unwind-dw2.c (execute_stack_op): Handle DW_OP_swap.Geoffrey Keating2-0/+14
From-SVN: r121165
2007-01-25re PR middle-end/30447 (Evaluate complex math functions at compile-time)Kaveh R. Ghazi2-22/+14
PR middle-end/30447 * builtins.c (fold_builtin_cabs): Use MPFR to evaluate a constant argument to cabs and do it without checking for -funsafe-math-optimizations. From-SVN: r121163
2007-01-25c-common.h (RID_FIRST_CXX0X): New.Douglas Gregor5-2/+22
2007-01-24 Douglas Gregor <dgregor@osl.iu.edu> * c-common.h (RID_FIRST_CXX0X): New. (RID_LAST_CXX0X): New. * c-opts.c (c_common_handle_option): -Wc++0x-compat is triggered by -Wall. * c.opt (Wc++0x-compat): New. * doc/invoke.texi (-Wc++0x-compat): Document. From-SVN: r121162
2007-01-25lex.c (D_CPP0X): Rename.Douglas Gregor3-3/+26
2007-01-24 Douglas Gregor <dgregor@osl.iu.edu> * lex.c (D_CPP0X): Rename. (D_CXX0X): To this. (reswords): D_CPP0X -> D_CXX0X. (init_reswords): Ditto. * parser.c (cp_lexer_get_preprocessor_token): Warn about the use of C++0x keywords as identifiers. From-SVN: r121161
2007-01-25warn_cxx0x.C: New.Douglas Gregor2-0/+11
2007-01-24 Douglas Gregor <dgregor@osl.iu.edu> * g++.dg/cpp0x/warn_cxx0x.C: New. From-SVN: r121160
2007-01-25builtins.c (fold_builtin_carg): New.Kaveh R. Ghazi4-0/+58
* builtins.c (fold_builtin_carg): New. (fold_builtin_1): Use it. testsuite: * gcc.dg/builtins-20.c: Test builtin carg. From-SVN: r121159
2007-01-25link.cc (_Jv_Linker::wait_for_state): Add JVMTI CLASS_PREPARE notification.Keith Seitz2-63/+82
* link.cc (_Jv_Linker::wait_for_state): Add JVMTI CLASS_PREPARE notification. From-SVN: r121157
2007-01-25* ipa-inline.c (cgraph_decide_inlining): Initialize initial_insns.Jan Hubicka2-1/+3
From-SVN: r121156
2007-01-25interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h...Keith Seitz3-3/+39
* interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h, gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h * interpret-run.cc: Implement insn_breakpoint. From-SVN: r121155
2007-01-25Daily bump.GCC Administrator1-1/+1
From-SVN: r121152
2007-01-24deque.tcc (deque<>::erase(iterator, iterator)): Fix condition.Steve LoBasso3-2/+61
2007-01-24 Steve LoBasso <slobasso@yahoo.com> Paolo Carlini <pcarlini@suse.de> * include/bits/deque.tcc (deque<>::erase(iterator, iterator)): Fix condition. * testsuite/23_containers/deque/modifiers/erase/3.cc: New. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r121147
2007-01-24oops, wrong variant of patch.Jan Hubicka1-2/+2
From-SVN: r121146
2007-01-24eh_personality.cc (PERSONALITY_FUNCTION): Replace _Unwind_Word with ↵Andrew Pinski2-1/+6
_uleb128_t in the SJLJ context. 2007-01-24 Andrew Pinski <andrew_pinski@playstation.sony.com> * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Replace _Unwind_Word with _uleb128_t in the SJLJ context. From-SVN: r121145
2007-01-24ipa-inline.c (initial_insns, max_insns): Delete.Jan Hubicka4-13/+40
* ipa-inline.c (initial_insns, max_insns): Delete. (compute_max_insns): New function. (cgraph_decide_inlining_of_small_function): Use it; take minimal amount of insns as base for code growth. (cgraph_decide_inlining): Make initial_insns local; do not compute max_insns. * params.def (PARAM_INLINE_UNIT_GROWTH): Set to 60. * doc/invoke.texi (inline-unit-growth): Update docs. From-SVN: r121144
2007-01-24prims.cc (_Jv_RunMain): Send JVMTI event notifications for VM_INIT and ↵Keith Seitz2-11/+16
VM_DEATH instead of the JDWP... * prims.cc (_Jv_RunMain): Send JVMTI event notifications for VM_INIT and VM_DEATH instead of the JDWP notifications. From-SVN: r121143
2007-01-24* gnu/classpath/jdwp/natVMVirtualMachine.ccKeith Seitz2-2/+37
(getAllClassMethods): Implement. From-SVN: r121142
2007-01-24Add myself as libgomp maintainer.Jakub Jelinek1-0/+1
From-SVN: r121141
2007-01-24i386.h (x86_cmpxchg16b): Remove const.Jakub Jelinek3-8/+18
* config/i386/i386.h (x86_cmpxchg16b): Remove const. (TARGET_CMPXCHG16B): Define to x86_cmpxchg16b. * config/i386/i386.c (x86_cmpxchg16b): Remove const. (override_options): Add PTA_CX16 flag. Set x86_cmpxchg16b for CPUs that have PTA_CX16 set. From-SVN: r121140
2007-01-24re PR middle-end/27416 (ICE on invalid firstprivate/lastprivate)Jakub Jelinek4-0/+76
PR middle-end/27416 * gimplify.c (omp_check_private): New function. (gimplify_scan_omp_clauses): Use it for firstprivate/lastprivate/reduction. * gcc.dg/gomp/pr27416.c: New test. From-SVN: r121133
2007-01-24re PR middle-end/30494 (ICE with VLA and openmp)Jakub Jelinek7-2/+142
PR middle-end/30494 * gimplify.c (omp_add_variable): Don't call omp_notice_variable on TYPE_SIZE_UNIT for GOVD_LOCAL VLAs. * gcc.dg/gomp/pr30494.c: New test. * g++.dg/gomp/pr30494.C: New test. * testsuite/libgomp.c/pr30494.c: New test. From-SVN: r121132
2007-01-24re PR middle-end/30421 (incorrect warning when using firstprivate and ↵Jakub Jelinek4-6/+77
lastprivate clauses) PR middle-end/30421 * omp-low.c (lower_omp_for_lastprivate): Add dlist argument. If lower_lastprivate_clauses emits some statements, append them to dlist rather than body_p and to body_p append an initializer. (lower_omp_for): Adjust caller. * gcc.dg/gomp/pr30421.c: New test. From-SVN: r121131
2007-01-24versionid-1.c: New test.Steve Ellcey3-0/+25
* gcc.target/ia64/versionid-1.c: New test. * gcc.target/ia64/versionid-2.c: New test. From-SVN: r121130
2007-01-24Forgot ChangeLog in previous commit.Steve Ellcey1-0/+17
From-SVN: r121129
2007-01-24target.h (globalize_decl_name): New.Steve Ellcey7-7/+91
* target.h (globalize_decl_name): New. * target-def.h (TARGET_ASM_GLOBALIZE_DECL_NAME): New. * output.h (default_globalize_decl_name): New. * varasm.c (asm_output_bss): Use globalize_decl_name instead of globalize_label. (globalize_decl): Ditto. (default_globalize_decl_name): New. * config/ia64/ia64.c (ia64_globalize_decl_name): New. (ia64_handle_version_id_attribute): New. (TARGET_ASM_GLOBALIZE_DECL_NAME): New. (ia64_asm_output_external): Use globalize_decl_name instead of globalize_label. * doc/extend.texi (version_id): New pragma. * doc/tm.texi (ARGET_ASM_GLOBALIZE_DECL_NAME): New target hook. From-SVN: r121128
2007-01-242007-01-24 Andreas Tobler <a.tobler@schweiz.org>Andreas Tobler1-2/+2
ChangeLog: Fix Typo. From-SVN: r121127
2007-01-24natVMStackWalker.cc: Call InitClass everywhere.Andrew Haley4-37/+59
2007-01-24 Andrew Haley <aph@redhat.com> * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere. (getClassContext) Add a barrier to prevent GetStackWalkerStack() from being sibcalled. 2007-01-24 Andrew Haley <aph@redhat.com> * scripts/makemake.tcl (emit_bc_rule): Set the source filename. * sources.am: Rebuild. From-SVN: r121119
2007-01-24[multiple changes]Andrew Haley3-3/+27
2007-01-24 Andrew Haley <aph@redhat.com> * jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): current_class is a type node, not a decl, so use TYPE_SYNTHETIC not CLASS_SYNTHETIC. 2007-01-22 Andrew Haley <aph@redhat.com> * builtins.c (VMSupportsCS8_builtin): New function. From-SVN: r121118
2007-01-24PR libstdc++/29722 continuedBenjamin Kosnik3-3/+18
2007-01-24 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/29722 continued * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add libsupc++ library directory. * testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded path specification. From-SVN: r121117
2007-01-24unwind-dw2-fde.c (get_cie_encoding): Replaced _Unwind_Word with _uleb128_t ↵Andreas Krebbel10-56/+122
and _Unwind_SWord with _sleb128_t. 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> * unwind-dw2-fde.c (get_cie_encoding): Replaced _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t. * unwind-dw2.c (extract_cie_info, execute_stack_op, execute_cfa_program, uw_frame_state_for, uw_update_context_1): Likewise. * unwind-c.c (parse_lsda_header, PERSONALITY_FUNCTION): Likewise. * unwind-pe.h (read_uleb128, read_sleb128, read_encoded_value_with_base): Likewise. * unwind-generic.h: Define _sleb128_t and _uleb128_t types. 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> * libsupc++/eh_personality.cc (parse_lsda_header, check_exception_spec, get_ttype_entry, empty_exception_spec, PERSONALITY_FUNCTION): Replaced _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t. 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t. From-SVN: r121116
2007-01-24re PR testsuite/30181 (FAIL: gcc.dg/builtins-57.c scan-tree-dump trunc)Richard Guenther2-10/+25
2007-01-24 Richard Guenther <rguenther@suse.de> PR testsuite/30181 * gcc.dg/builtins-57.c: Change to a link-time testcase to support non-C99 targets. From-SVN: r121115
2007-01-24builtins.c (expand_builtin_cexpi): Get the fndecl for cexp in the correct way.Richard Guenther2-2/+12
2007-01-24 Richard Guenther <rguenther@suse.de> * builtins.c (expand_builtin_cexpi): Get the fndecl for cexp in the correct way. From-SVN: r121114
2007-01-24pr23382.c: Avoid DCE from eliminating dead variable.Jan Hubicka4-2/+36
* gcc.dg/tree-ssa/pr23382.c: Avoid DCE from eliminating dead variable. * tree-ssa-dce.c (eliminate_unnecesary_stmts): Remove dead LHS of calls. From-SVN: r121108