Jakub Jelinek
d4da97d78e
Makefile.am (generic_header_files): Add $(inner_nat_headers).
...
* Makefile.am (generic_header_files): Add $(inner_nat_headers).
* testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
(MYGCJH): New variable.
(compile-tests): New goal.
* Makefile.in: Rebuilt.
* testsuite/Makefile.in: Rebuilt.
From-SVN: r121217
2007-01-27 00:22:35 +01:00
Jakub Jelinek
e2e3023612
genattrtab.c (struct attr_value_list, [...]): Move to file scope from optimize_attrs.
...
* genattrtab.c (struct attr_value_list, insn_code_values): Move to
file scope from optimize_attrs.
(simplify_test_exp): If insn_code_values is not NULL, use it to speed
up search.
(optimize_attrs): Clear insn_code_values after freeing it.
From-SVN: r121216
2007-01-27 00:15:08 +01:00
Tom Tromey
7969a3791e
libjava
...
* Updated headers.
libjava/classpath
* tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
'volatile' after field type.
From-SVN: r121215
2007-01-26 23:07:08 +00:00
Zdenek Dvorak
cdd76d88c8
tree-ssa-address.c (create_mem_ref): Remove ", bsi" from a parts.base assignment.
...
* tree-ssa-address.c (create_mem_ref): Remove ", bsi" from
a parts.base assignment.
From-SVN: r121213
2007-01-26 19:47:20 +00:00
Zdenek Dvorak
d93817c435
tree-data-ref.c (dump_subscript): Use dump_conflict_function.
...
* tree-data-ref.c (dump_subscript): Use dump_conflict_function.
(compute_subscript_distance, initialize_data_dependence_relation,
finalize_ddr_dependent, analyze_ziv_subscript,
analyze_siv_subscript_cst_affine,
compute_overlap_steps_for_affine_univar,
compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine,
analyze_siv_subscript, analyze_miv_subscript,
analyze_overlapping_iterations, subscript_dependence_tester_1,
compute_self_dependence, free_dependence_relation): Work
with affine_fn instead of chrecs.
(dump_affine_function, dump_conflict_function, affine_function_equal_p,
common_affine_function, affine_function_base,
affine_function_constant_p, affine_fn_op, affine_fn_plus,
affine_fn_minus, affine_fn_free, conflict_fn_not_known,
conflict_fn_no_dependence, free_conflict_function, free_subscripts,
conflict_fn, affine_fn_cst, affine_fn_univar): New functions.
(all_chrecs_equal_p): Removed.
* tree-data-ref.h (affine_fn, conflict_function): New types.
(struct subscript): Change type of conflicting_iterations_in_a
and conflicting_iterations_in_b.
From-SVN: r121212
2007-01-26 19:33:04 +00:00
Steve Ellcey
dfcb2b5145
re PR target/30182 (FAIL: gcc.dg/pr28796-2.c (test for excess errors))
...
PR other/30182
* config/pa/pa.h (TARGET_HPUX_11): New.
* config/pa/pa-hpux11.h (TARGET_HPUX_11): New.
* config/pa/pa.c (pa_init_builtins): Use TARGET_HPUX_11.
From-SVN: r121211
2007-01-26 18:16:29 +00:00
Paolo Carlini
ddde5c6ddb
re PR libstdc++/30586 (Namespace pollution in c++ headers)
...
2007-01-26 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/30586
* config/cpu/ia64/atomic_word.h: Just include <bits/cxxabi_tweaks.h>.
* testsuite/abi/30586.cc: New.
From-SVN: r121209
2007-01-26 18:00:42 +00:00
Richard Guenther
b6f0e9b748
pr23382.c: Fix typo.
...
2007-01-26 Richard Guenther <rguenther@suse.de>
* gcc.dg/tree-ssa/pr23382.c: Fix typo.
From-SVN: r121205
2007-01-26 15:36:03 +00:00
Daniel Berlin
d3c3697412
tree-ssa-structalias.c (solve_graph): Handle case we merged the variable to another.
...
2007-01-26 Daniel Berlin <dberlin@dberlin.org>
Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (solve_graph): Handle case
we merged the variable to another.
Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r121202
2007-01-26 12:36:01 +00:00
Tobias Burnus
7befd5d26a
lang-specs.h: Add support for .f03 and .F03 extensions.
...
fortran/
2007-01-26 Tobias Burnus <burnus@net-b.de>
* lang-specs.h: Add support for .f03 and .F03 extensions.
* gfortran.texi: Document .f03 extension.
* options.c (form_from_filename): Recognize .f03.
testsuite/
2007-01-26 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/gomp/gomp.exp: Support .f03 extension.
* gfortran.dg/vect/vect.exp: Ditto.
* gfortran.dg/dg.exp: Ditto.
* gfortran.fortran-torture/execute/execute.exp: Ditto.
* gfortran.fortran-torture/compile/compile.exp: Ditto.
libgomp/
2007-01-26 Tobias Burnus <burnus@net-b.de>
* testsuite/libgomp.fortran/fortran.exp: Support .f03 extension.
From-SVN: r121201
2007-01-26 09:35:19 +01:00
Kaveh R. Ghazi
4b26d10bcc
builtins.c (fold_builtin_1): Treat ccos and ccosh as 'even' functions.
...
* builtins.c (fold_builtin_1): Treat ccos and ccosh as 'even'
functions.
* fold-const.c (negate_mathfn_p): Treat casin, casinh, catan,
catanh, cproj, csin, csinh, ctan and ctanh as 'odd' functions.
testsuite:
* gcc.dg/builtins-20.c: Add more cases.
* gcc.dg/torture/builtin-symmetric-1.c: Likewise.
From-SVN: r121200
2007-01-26 02:40:31 +00:00
DJ Delorie
db9c839733
m32c.c (m32c_cannot_change_mode_class): We don't allow changes to modes which don't fit in those registers.
...
* config/m32c/m32c.c (m32c_cannot_change_mode_class): We don't
allow changes to modes which don't fit in those registers.
From-SVN: r121199
2007-01-25 20:16:57 -05:00
DJ Delorie
21f14ff955
reload1.c (choose_reload_regs): Check for invalid subregs before computing their locations, not after.
...
* reload1.c (choose_reload_regs): Check for invalid subregs before
computing their locations, not after.
From-SVN: r121198
2007-01-25 20:15:05 -05:00
Tom Tromey
e858910352
re PR libgcj/29594 (jv-convert with no args NPE)
...
PR libgcj/29594:
* gnu/gcj/convert/Convert.java (main): Correctly handle missing
input or output encodings. Removed unused local variables.
From-SVN: r121197
2007-01-26 01:05:13 +00:00
GCC Administrator
6f75716afb
Daily bump.
...
From-SVN: r121195
2007-01-26 00:17:43 +00:00
Manuel López-Ibáñez
4428e682fb
re PR fortran/30437 (-Wno-all is rejected (even when fortran is not included))
...
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-25 21:15:34 +00:00
Keith Seitz
161a649cb9
jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
...
* 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-25 21:05:18 +00:00
Geoffrey Keating
22fa69dace
re PR target/25127 (internal compiler error: in rs6000_emit_prologue, at 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-25 20:32:06 +00:00
Andrew Haley
9fe944471a
configure, [...]: Rebuilt.
...
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-25 19:51:33 +00:00
Daniel Franke
a942e89f3a
re PR target/30272 (Build failure under SGI Irix (GFortran))
...
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 14:25:01 -05:00
Steve Ellcey
79e8b6c016
* config.gcc (ia64*-*-hpux*): Make posix threads the default.
...
From-SVN: r121180
2007-01-25 18:08:16 +00:00
Keith Seitz
ff393407cf
jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
...
* 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-25 18:04:01 +00:00
Steve Ellcey
7d52200069
re PR target/30182 (FAIL: gcc.dg/pr28796-2.c (test for excess errors))
...
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-25 17:06:55 +00:00
Roger Sayle
cd259a9825
decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of 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-25 16:58:26 +00:00
Daniel Jacobowitz
d6efbf5a88
configure.ac: Add --enable-version-specific-runtime-libs.
...
* configure.ac: Add --enable-version-specific-runtime-libs.
Correct $slibdir default.
* configure: Regenerated.
From-SVN: r121176
2007-01-25 16:00:32 +00:00
Kyle Galloway
fd1830eba2
libjava.exp (exec_gij): Change [ to { in if statement.
...
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-25 14:42:45 +00:00
Kyle Galloway
4ca40ac049
Kyle Galloway 2007-01-25 <kgallowa@redhat.com>
...
* ChangeLog: Add ChangeLog entry that didn't apply.
From-SVN: r121173
2007-01-25 14:25:26 +00:00
Kyle Galloway
05296a2810
jvmti-interp.exp: New file.
...
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-25 14:19:05 +00:00
Nathan Myers
6bfcbf0d48
streambuf_iterator.h (istreambuf_iterator<>::equal): Simplify.
...
2007-01-25 Nathan Myers <ncm@cantrip.org>
* include/bits/streambuf_iterator.h (istreambuf_iterator<>::equal):
Simplify.
From-SVN: r121170
2007-01-25 13:08:51 +00:00
Richard Guenther
16c1c158d8
invoke.texi (-Wcoverage-mismatch): Document.
...
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-25 12:35:13 +00:00
Razya Ladelsky
04a9178839
ipa-1.c: Update scan tree dump.
...
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-25 11:01:40 +00:00
Razya Ladelsky
b9c369e618
ipa-cp.c (ipcp_insert_stage, [...]): Support for SSA.
...
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 10:54:47 +00:00
Geoffrey Keating
9dc5c4f5eb
* unwind-dw2.c (execute_stack_op): Handle DW_OP_swap.
...
From-SVN: r121165
2007-01-25 07:08:33 +00:00
Kaveh R. Ghazi
01ffa37015
re PR middle-end/30447 (Evaluate complex math functions at compile-time)
...
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-25 04:15:26 +00:00
Douglas Gregor
e1f1ee86a8
c-common.h (RID_FIRST_CXX0X): New.
...
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-25 04:04:18 +00:00
Douglas Gregor
54654d29cb
lex.c (D_CPP0X): Rename.
...
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-25 04:02:36 +00:00
Douglas Gregor
18103407c6
warn_cxx0x.C: New.
...
2007-01-24 Douglas Gregor <dgregor@osl.iu.edu>
* g++.dg/cpp0x/warn_cxx0x.C: New.
From-SVN: r121160
2007-01-25 04:02:15 +00:00
Kaveh R. Ghazi
527cab2096
builtins.c (fold_builtin_carg): New.
...
* 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-25 03:57:30 +00:00
Keith Seitz
9ea6c4a4b7
link.cc (_Jv_Linker::wait_for_state): Add JVMTI CLASS_PREPARE notification.
...
* link.cc (_Jv_Linker::wait_for_state): Add JVMTI
CLASS_PREPARE notification.
From-SVN: r121157
2007-01-25 01:21:27 +00:00
Jan Hubicka
ee41133693
* ipa-inline.c (cgraph_decide_inlining): Initialize initial_insns.
...
From-SVN: r121156
2007-01-25 01:13:02 +00:00
Keith Seitz
c422af91ad
interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h...
...
* 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-25 00:40:45 +00:00
GCC Administrator
3c727a410c
Daily bump.
...
From-SVN: r121152
2007-01-25 00:18:18 +00:00
Steve LoBasso
45dc23a66b
deque.tcc (deque<>::erase(iterator, iterator)): Fix condition.
...
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-24 23:52:37 +00:00
Jan Hubicka
3e2a6e7bd2
oops, wrong variant of patch.
...
From-SVN: r121146
2007-01-24 22:45:34 +00:00
Andrew Pinski
ca32e64edd
eh_personality.cc (PERSONALITY_FUNCTION): Replace _Unwind_Word with _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-24 14:45:20 -08:00
Jan Hubicka
b7c27d5169
ipa-inline.c (initial_insns, max_insns): Delete.
...
* 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-24 22:45:00 +00:00
Keith Seitz
078b307321
prims.cc (_Jv_RunMain): Send JVMTI event notifications for VM_INIT and 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 22:44:08 +00:00
Keith Seitz
c65110e44c
* gnu/classpath/jdwp/natVMVirtualMachine.cc
...
(getAllClassMethods): Implement.
From-SVN: r121142
2007-01-24 22:35:43 +00:00
Jakub Jelinek
c3a7e886ee
Add myself as libgomp maintainer.
...
From-SVN: r121141
2007-01-24 23:23:58 +01:00
Jakub Jelinek
15a26abf30
i386.h (x86_cmpxchg16b): Remove const.
...
* 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-24 23:00:03 +01:00