Eric Christopher
6da55c0077
re PR preprocessor/19077 (Internal compiler error compiling MPlayer)
...
2005-02-15 Eric Christopher <echristo@redhat.com>
PR preprocessor/19077
* macro.c (cpp_macro_definition): Move handling of whitespace
to PREV_WHITE conditional. Remove overloading of len
variable.
2005-02-15 Eric Christopher <echristo@redhat.com>
* gcc.dg/cpp/20050215-1.c: New file.
From-SVN: r95080
2005-02-15 23:18:04 +00:00
David Edelsohn
6f85d0c479
re PR target/19019 (GCC ldouble format incompatibility with XLC long double)
...
PR target/19019
* config/rs6000/darwin-ldouble.c (_xlqadd): Rename to __gcc_qadd.
(_xlqsub): Rename to __gcc_qsub.
(_xlqmul): Rename to __gcc_qmul.
(_xlqdiv): Rename to __gcc_qdiv.
Provide versioned symbol aliases with old names.
* config/rs6000/libgcc-ppc64.ver: Rename symbols.
* config/rs6000/rs6000.c (rs6000_init_libfuncs): Rename symbols.
* config/rs6000/t-aix43 (LIB2FUNCS_EXTRA): New.
* config/rs6000/t-aix52 (LIB2FUNCS_EXTRA): New.
* config/rs6000/t-newas (LIB2FUNCS_EXTRA): New.
From-SVN: r95079
2005-02-15 18:16:49 -05:00
Mark Wielaard
342e3b23af
[multiple changes]
...
2005-02-15 Mark Wielaard <mark@klomp.org>
* java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
file path elements are separated by spaces.
2005-02-15 Mark Wielaard <mark@klomp.org>
* java/util/jar/Attributes.java (Attributes.Name): Add documentation
to describe attributes without a constant field value in this class.
2005-02-15 Michael Koch <konqueror@gmx.de>
* java/util/jar/Attributes.java
(CREATED_BY, JAVA_BEAN, MAGIC): Removed.
From-SVN: r95078
2005-02-15 22:38:59 +00:00
Mark Wielaard
339fe53643
URLClassLoader.java (JarURLLoader.JarURLLoader): Just use space for parsing CLASS_PATH attribute.
...
* java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
space for parsing CLASS_PATH attribute.
From-SVN: r95077
2005-02-15 22:17:33 +00:00
Mark Wielaard
d9fdd0d60f
URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look aside for "GCJLIBS" in directory where jarfiles are loaded.
...
* java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
aside for "GCJLIBS" in directory where jarfiles are loaded.
(JarURLLoader.getClass): Removed method.
(JarURLLoader.toString): Removed method.
(FileResource.toString): Removed method.
From-SVN: r95076
2005-02-15 22:08:40 +00:00
Mark Wielaard
affa5a3418
SSLContext.java (getInstance): Add exception message and/or cause before throwing.
...
* javax/net/ssl/SSLContext.java (getInstance): Add exception message
and/or cause before throwing.
From-SVN: r95075
2005-02-15 22:05:04 +00:00
James A. Morrison
40f84775b3
fold-const.c (fold): Fold -(~A) to A + 1.
...
2005-02-15 James A. Morrison <phython@gcc.gnu.org>
* fold-const.c (fold): Fold -(~A) to A + 1. Fold ~(-A) to A - 1.
Fold ~(A - 1) and ~(A + -1) to -A.
From-SVN: r95074
2005-02-15 21:58:21 +00:00
James A. Morrison
14be52a22c
re PR pch/14940 (PCH largefile test fails on various platforms)
...
2005-02-15 James A. Morrison <phython@gcc.gnu.org>
PR pch/14940
PR target/19300
* config/host-linux.c (linux_gt_pch_use_address): Copy from
config/pa/pa-host.c:pa_gt_pch_use_address.
From-SVN: r95073
2005-02-15 20:52:13 +00:00
Daniel Berlin
eace8c18aa
tree-vn.c (get_value_handle): Make sure that given an is_gimple_min_invariant expression, we always return it.
...
2005-02-15 Daniel Berlin <dberlin@dberlin.org>
* tree-vn.c (get_value_handle): Make sure that given an
is_gimple_min_invariant expression, we always return it.
From-SVN: r95072
2005-02-15 20:09:31 +00:00
Alexandre Oliva
e5e459bf3b
re PR c++/17788 (poor diagnostic for missing reference initializer)
...
gcc/cp/ChangeLog:
PR c++/17788
* class.c (add_implicitly_declared_members, check_field_decl)
(check_field_decls, check_bases): Remove arguments, tests and
assignments of cant_have_default_ctor-related variables.
gcc/testsuite/ChangeLog:
PR c++/17788
* g++.dg/init/ctor4.C: New.
* g++.old-deja/g++.bugs/900205_04.C: Adjust.
From-SVN: r95071
2005-02-15 19:39:31 +00:00
Alexandre Oliva
39a87435bc
decl2.c (mark_used): Set the source location of the used decl to the current input location here...
...
* decl2.c (mark_used): Set the source location of the used decl to
the current input location here...
* method.c (synthesize_method): ... not here. Set input_location
from the decl instead.
From-SVN: r95070
2005-02-15 19:37:13 +00:00
Kazu Hirata
83cc36c826
* passes.c (rest_of_handle_gcse): Fix a comment.
...
From-SVN: r95069
2005-02-15 18:56:44 +00:00
Joseph Myers
88fb930d2f
overflow-warn-1.c, [...]: New tests.
...
* gcc.dg/overflow-warn-1.c, gcc.dg/overflow-warn-2.c,
gcc.dg/overflow-warn-3.c, gcc.dg/overflow-warn-4.c: New tests.
From-SVN: r95068
2005-02-15 18:52:15 +00:00
Jeff Law
9a6cf91138
gcse.c (canon_modify_mem_set_list_set): Kill unnecessary bitmap.
...
* gcse.c (canon_modify_mem_set_list_set): Kill unnecessary
bitmap.
(alloc_gcse_mem, free_gcse_mem): Corresponding changes.
(canon_list_insert, record_last_mem_set_info): Similarly.
(clear_modify_mem_tables): Similarly.
From-SVN: r95067
2005-02-15 10:18:07 -07:00
Richard Henderson
bbbf49551a
Makefile.am (libgcj_la_SOURCES): Move all sources ...
...
* Makefile.am (libgcj_la_SOURCES): Move all sources ...
(libgcj0_convenience_la_SOURCES): ... here.
(libgcj_la_LIBADD): Add libgcj0_convenience.la.
(libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
* Makefile.in: Regenerate.
From-SVN: r95066
2005-02-15 09:17:44 -08:00
Andreas Schwab
073aa60193
cxb30131.c: Include <stdlib.h> to properly declare malloc.
...
* ada/acats/tests/cxb/cxb30131.c: Include <stdlib.h> to properly
declare malloc.
From-SVN: r95065
2005-02-15 16:20:05 +00:00
Kazu Hirata
6a6305e4a1
bitmap.c, [...]: Update copyright.
...
* bitmap.c, bitmap.h, lambda-code.c, tree-dfa.c, tree-dump.c,
tree-dump.h, tree-ssa-loop-manip.c, value-prof.c,
config/mips/mips.md, config/rs6000/aix.h,
config/rs6000/beos.h, config/rs6000/sysv4.h: Update copyright.
From-SVN: r95064
2005-02-15 15:53:52 +00:00
Andreas Krebbel
ab71324aa4
linkage.exp (s390): Check for 64bit added.
...
2005-02-15 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.misc-tests/linkage.exp (s390): Check for 64bit added.
From-SVN: r95063
2005-02-15 12:23:40 +00:00
Richard Henderson
934677f9cc
bb-reorder.c (find_traces_1_round): Force fallthru edge from a call to be best_edge.
...
* bb-reorder.c (find_traces_1_round): Force fallthru edge from a
call to be best_edge.
From-SVN: r95062
2005-02-15 01:26:27 -08:00
Kazu Hirata
e22857eb9d
flow.c (recompute_reg_usage): Remove all arguments.
...
* flow.c (recompute_reg_usage): Remove all arguments.
* passes.c (rest_of_compilation): Adjust the call to
recompute_reg_usage.
* rtl.h: Adjust the prototype for recompute_reg_usage.
From-SVN: r95058
2005-02-15 07:19:51 +00:00
Kazu Hirata
2e09ee33f0
basic-block.h: Adjust the prototype for find_basic_blocks.
...
* basic-block.h: Adjust the prototype for find_basic_blocks.
* cfgbuild.c (find_basic_blocks): Remove unused arguments.
* passes.c (rest_of_handle_loop_optimize): Adjust the call to
find_basic_blocks.
From-SVN: r95057
2005-02-15 07:18:23 +00:00
GCC Administrator
6434513e2c
Daily bump.
...
From-SVN: r95055
2005-02-15 00:16:22 +00:00
Jakub Jelinek
1552fa74b8
re PR libstdc++/19946 (cris-elf testsuite failure: demangle/abi_examples/01.cc and 02)
...
PR libstdc++/19946
* testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
demangler change.
* testsuite/demangle/abi_examples/02.cc (main): Likewise.
From-SVN: r95050
2005-02-15 01:07:53 +01:00
Daniel Berlin
f46fe224b4
tree-dump.c (dump_files): Update to reflect new member of dump_file_info.
...
2005-02-14 Daniel Berlin <dberlin@dberlin.org>
* tree-dump.c (dump_files): Update to reflect new member
of dump_file_info.
(dump_register): Add new argument.
Set glob name.
(dump_switch_p_1): Check against glob name if doglob was passed.
(dump_switch_p): Check against regular first, then glob if
we didn't have any hits on the dump name.
* tree-optimize.c (register_one_dump_file):
Pass in glob name as well.
* tree-pass.h (struct dump_file_info): Add glob
member.
From-SVN: r95048
2005-02-14 21:32:14 +00:00
Thomas Fitzsimmons
c36eda5462
jawt.c: New file.
...
2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
* jawt.c: New file.
* include/jawt.h: Likewise.
* include/jawt_md.h: Likewise.
* include/Makefile.am (tool_include__HEADERS): Add jawt.h and
jawt_md.h files.
* include/Makefile.in: Regenerate.
* jni/classpath/classpath_jawt.h: Likewise.
* jni/gtk-peer/gtk_jawt.c: Likewise.
* Makefile.am: Build libjawt.so.
* Makefile.in: Regenerate.
From-SVN: r95047
2005-02-14 21:08:08 +00:00
Tom Tromey
5728cb6687
* testsuite/libjava.lang/PR19921.java: Use correct class name.
...
From-SVN: r95046
2005-02-14 20:56:11 +00:00
Tom Tromey
3cc0646dbc
re PR java/19921 (wrong argument count for invokeInterface with new multidimensional array)
...
* testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
* testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
From-SVN: r95045
2005-02-14 20:51:07 +00:00
Joseph Myers
90689ae11d
re PR preprocessor/16323 (-Wendif-labels listed even though it's on by default)
...
PR preprocessor/16323
* doc/invoke.texi: Document that -Wendif-labels is on by default.
From-SVN: r95044
2005-02-14 20:46:29 +00:00
David Edelsohn
2fe433c230
Fix typo.
...
From-SVN: r95043
2005-02-14 15:22:03 -05:00
David Edelsohn
8cb320b856
re PR target/19019 (GCC ldouble format incompatibility with XLC long double)
...
PR target/19019
* config/rs6000/rs6000.md (trunctfdf2): Change to define_expand.
(trunctfdf2_internal1): New.
(trunctfdf2_internal2): Renamed from trunctfdf2.
From-SVN: r95042
2005-02-14 15:21:10 -05:00
Tom Tromey
adfec6a67b
re PR java/19921 (wrong argument count for invokeInterface with new multidimensional array)
...
gcc/java:
PR java/19921:
* jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Note the
stack effect of multianewarray.
libjava:
For PR java/19929:
* testsuite/libjava.lang/PR19929.out: New file.
* testsuite/libjava.lang/PR19929.java: New file.
From-SVN: r95041
2005-02-14 20:04:36 +00:00
Diego Novillo
9a06c1cb10
re PR tree-optimization/19853 (incorrect vops after exposing a new global variable)
...
PR tree-optimization/19853
* tree-dfa.c (add_referenced_var): Always examine DECL_INITIAL.
testsuite/ChangeLog
PR tree-optimization/19853
* gcc.c-torture/compile/pr19853.c: New test.
From-SVN: r95040
2005-02-14 14:46:08 -05:00
Nathan Sidwell
f769035f7c
re PR c++/19608 (ICE after friend function definition in local class)
...
cp:
PR c++/19608
* parser.c (cp_parser_late_parsing_for_member): Use
current_function_decl as scope to push to and from.
testsuite:
PR c++/19608
* g++.dg/parse/local-class1.C: New.
From-SVN: r95036
2005-02-14 17:50:58 +00:00
Jason Merrill
6a720599bb
re-apply fold_indirect_ref patch
...
From-SVN: r95024
2005-02-14 11:07:16 -05:00
Kazu Hirata
0c86d70907
passes.c (rest_of_handle_loop_optimize): Remove calls to delete_dead_jumptables and cleanup_cfg.
...
* passes.c (rest_of_handle_loop_optimize): Remove calls to
delete_dead_jumptables and cleanup_cfg.
From-SVN: r95019
2005-02-14 15:13:24 +00:00
Ulrich Weigand
e88d55cd88
reload.c (find_reloads): Swap address_reloaded flags when swapping commutative operands.
...
* reload.c (find_reloads): Swap address_reloaded flags when
swapping commutative operands.
From-SVN: r95018
2005-02-14 15:07:05 +00:00
Andrew Haley
891df09c56
re PR java/19907 (Incorrect code generated for ManifestElement.java)
...
2005-02-14 Andrew Haley <aph@redhat.com>
PR java/19907
* expr.c (expand_byte_code): Call promote_arguments().
(promote_arguments): New function.
* decl.c (check_local_unnamed_variable): Remve special case for
new verifier.
(find_local_variable): Promote all boolean types to int
when searching for local variable decls.
From-SVN: r95015
2005-02-14 14:58:22 +00:00
Anthony Green
d633cfe524
re PR libgcj/18116 (JNI uses dot instead of slash as the package separator)
...
2005-02-14 Anthony Green <green@redhat.com>
PR libgcj/18116
* testsuite/libjava.jni/PR18116.c: New file.
* testsuite/libjava.jni/PR18116.java: New file.
* testsuite/libjava.jni/PR18116.out: New file.
From-SVN: r95014
2005-02-14 14:57:37 +00:00
Sebastian Pop
92d2b330de
lambda-code.c (lambda_loopnest_to_gcc_loopnest, [...]): Use standard_iv_increment_position for computing the bsi position for create_iv.
...
* lambda-code.c (lambda_loopnest_to_gcc_loopnest, perfect_nestify):
Use standard_iv_increment_position for computing the bsi position
for create_iv.
* tree-ssa-loop-manip.c (create_iv): Add a comment on how to compute
the bsi position.
From-SVN: r95013
2005-02-14 14:54:37 +00:00
Kazu Hirata
31c3e63157
directives.c, [...]: Update copyright.
...
* directives.c, files.c, init.c, internal.h, macro.c, pch.c,
traditional.c: Update copyright.
From-SVN: r95012
2005-02-14 14:43:56 +00:00
Anthony Green
f1b2b25ccf
jni.cc (nathash_add): Don't strdup the method signature.
...
2005-02-13 Anthony Green <green@redhat.com>
* jni.cc (nathash_add): Don't strdup the method signature.
(_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
method signature.
Update copyright.
From-SVN: r95010
2005-02-14 13:51:29 +00:00
Nathan Sidwell
4230cec2f9
re PR c++/19884 (ICE on explicit instantiation of a non-template constructor)
...
cp:
PR c++/19884
* pt.c (check_explicit_specialization): Make sure namespace
binding lookup found an overloaded function.
(lookup_template_function): Just assert FNS is an overloaded
function.
PR c++/19895
* decl.c (grokdeclarator): Check for error mark node in ptrmem
construction.
testsuite:
PR c++/19895
* g++.dg/parse/ptrmem3.C: New.
PR c++/19884
* g++.old-deja/g++.oliva/template6.C: Add another case.
* g++.dg/template/explicit6.C: New.
From-SVN: r95009
2005-02-14 13:45:42 +00:00
Alexandre Oliva
d1fc3bbd80
re PR c++/17816 (duplicate definition of pure virtual function not diagnosed)
...
gcc/cp/ChangeLog:
PR c++/17816
* decl.c (redeclaration_error_message): Report redefinition of
pure virtual function.
gcc/testsuite/ChangeLog:
PR c++/17816
* g++.dg/other/redecl2.C: New.
From-SVN: r95008
2005-02-14 12:01:15 +00:00
Zdenek Dvorak
af9ecd0ca0
re PR rtl-optimization/17428 (internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching))
...
PR target/17428
* cfgrtl.c (safe_insert_insn_on_edge): Avoid extending life range of hard
registers.
* value-prof.c (insn_prefetch_values_to_profile): Only scan normal insns.
* value-prof.c (rtl_find_values_to_profile): Do not look for values to
profile in libcalls.
From-SVN: r95007
2005-02-14 11:37:52 +00:00
Razya Ladelsky
09950393c3
add myself to MAINTAINERS file
...
From-SVN: r95006
2005-02-14 11:21:09 +00:00
Nathan Sidwell
12a669d1e1
re PR c++/19891 (Covariant returns are broken)
...
cp:
PR c++/19891
* class.c (build_simple_base_path): Build the component_ref
directly.
(update_vtable_entry_for_fn): Walk the covariant's binfo chain
rather than using lookup_base.
* search.c (dfs_walk_once): Add non-recursive assert check.
* typeck.c (build_class_member_access_expr): It is possible for
the member type to be both const and volatile.
testsuite:
PR c++/19891
* g++.dg/abi/covariant4.C: New.
From-SVN: r95005
2005-02-14 09:36:35 +00:00
Nathan Sidwell
90bb1c1f15
bitmap.h (bitmap_and_compl_into): Return bool.
...
* bitmap.h (bitmap_and_compl_into): Return bool.
* bitmap.c (bitmap_and_compl_into): Return changed flag.
From-SVN: r95004
2005-02-14 09:24:41 +00:00
Paolo Bonzini
be0f1e5478
re PR bootstrap/19818 (GCC 4.0 cannot bootstrap itself)
...
include:
2005-02-08 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/19818
* ansidecl.h (PARAMS): Guard from redefinition.
libcpp:
2005-02-08 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/19818
* configure.ac: Check for declaration of basename and getopt.
* config.in: Regenerate.
* configure: Regenerate.
* internal.h (ustrcspn): New.
* macro.c (create_iso_definition): Fix allocation of memory.
(padding_token): Add cast to remove const-ness.
* pch.c (cpp_read_state): Use ustrcspn.
From-SVN: r95003
2005-02-14 08:52:24 +00:00
James A. Morrison
623049aa3c
re PR tree-optimization/19944 (cris-elf testsuite failures: gcc.dg/pr15784-1.c, gcc.dg/pr15784-2.c)
...
2005-02-13 James A. Morrison <phython@gcc.gnu.org>
PR tree-optimization/19944
* fold-const.c (fold): Re-add ABS_EXPR folding.
From-SVN: r95002
2005-02-14 02:27:18 +00:00
GCC Administrator
d9099901ad
Daily bump.
...
From-SVN: r94999
2005-02-14 00:16:51 +00:00