| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
* verify-glue.c (vfy_class_has_field): New function.
* verify.h (vfy_class_has_field): Declare.
* verify-impl.c (check_field_constant): Added 'putfield'
argument.
(verify_instructions_0): Updated.
(types_equal): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95258 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95041 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95015 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
parse-scan.y: Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94940 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* parse-scan.y (input_location): Remove variable.
(main_input_filename): New - replaces input_filename, which isn't
settable if USE_MAPPED_LOCATION.
* lex.c (java_init_lex): Wrap some more places in #ifndef JC1-LITE,
so we don't reference input_location or wfl_operator in that case.
* jv-scan.c (expand_location): Remove - no longer used.
(main): Set main_input_filename rather than input_filename.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94928 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tree.h (DEF_BUILTIN): Likewise.
* builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN, DEF_EXT_LIB_BUILTIN,
DEF_C94_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN): Update to
match.
(DEF_BUILTIN_STUB): New.
(BUILT_IN_STACK_SAVE, BUILT_IN_STACK_RESTORE, BUILT_IN_INIT_TRAMPOLINE,
BUILT_IN_ADJUST_TRAMPOLINE, BUILT_IN_NONLOCAL_GOTO,
BUILT_IN_PROFILE_FUNC_ENTER, BUILT_IN_PROFILE_FUNC_EXIT): Use it.
* c-common.c (DEF_BUILTIN): Add COND argument.
* tree.c (local_define_builtin): New.
(build_common_builtin_nodes): New.
ada/
* utils.c (gnat_define_builtin): Remove.
(gnat_install_builtins): Use build_common_builtin_nodes.
fortran/
* f95-lang.c (gfc_init_builtin_functions): Call
build_common_builtin_nodes; do not define any functions handled
by it.
java/
* builtins.c (initialize_builtins): Call build_common_builtin_nodes.
* decl.c (java_init_decl_processing): Initialize const_ptr_type_node.
treelang/
* treetree.c (treelang_init_decl_processing): Call
build_common_builtin_nodes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94785 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
* expr.c (add_type_assertion): Use the proper enumeration type,
since this is what htab_find_slot() is expecting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94743 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
macro locally. Don't give last revision date. Use GCC version
number from gcc-common.texi.
* doc/cppinternals.texi: Include gcc-common.texi. Don't give last
revision date. Use GCC version number from gcc-common.texi.
Describe being a library as current state rather than as 3.x
history.
* doc/gcc.texi: Remove last update date.
* doc/gccint.texi: Likewise. Update copyright dates.
* doc/install.texi: Update copyright dates.
fortran:
* gfortran.texi: Don't give last update date.
java:
* gcj.texi: Update copyright dates.
treelang:
* treelang.texi: Don't use local treelang version number. Don't
give last update date.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94683 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
to 'cache'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94612 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
| |
* parse-scan.y (formal_parameter): Use $2 (type) instead of $$
(modifiers) when square brackets are present in a declaration for
a final paramter.
* jv-scan.c (main): Set input_filename and input_line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94598 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
* gjavah.c (get_field_name): Don't override name for JNI header.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94578 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
of unsigned types using iushr and lushr JVM bytecodes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94560 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
* gjavah.c (jni_print_float): Do not emit floating-point
initialiser for a static final field.
(jni_print_double): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94553 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
2005-01-31 Mark Mitchell <mark@codesourcery.com>
* gjavah.c (print_field_info): Mark static data members of
floating-point type with "__extension__".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94547 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
| |
floating-point literals in integral constant expressions when
!pedantic.
* gjavah.c (print_field_info): Mark static data members of
floating-point type with "__extension__".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94527 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
* parse.y (build_string_concatenation): Remove redundant if.
(patch_conditional_expr): Attempt to patch_string() the condition
of a ?: as well, in addition to its other operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94513 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94224 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94206 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
* parse.y (patch_binop): Allow comparisons against NULL only
if the other operand is of a reference type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94205 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* class.c (make_class_data): Push gcj_abi_version into "next"
field. Renamed field.
* decl.c (gcj_abi_version): New global.
(parse_version): New function.
(java_init_decl_processing): Call it. Renamed 'next' field.
Include version.h.
(GCJ_BINARYCOMPAT_ADDITION): New define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94174 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
| |
* jcf-write.c (generate_bytecode_insns): Conversions between
integer types of the same precision shouldn't generate widening
or narrowing conversion bytecodes.
* testsuite/libjava.compile/PR19295.java: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94162 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94068 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
PR java/18091:
* jcf-write.c (perform_relocations): Don't call memcpy if source
and destination are the same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94007 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
(get_int): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93772 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
with TYPE_SIZE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93227 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93147 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
* check-init.c (check_init): Take care of references that do not
have an explicit final variable declaration (e.g. array length
access) for pre/post in/de-crement operators.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93144 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
| |
when not already defined.
* jcf-parse.c (read_class): Free results of find_class() and
lrealpath().
(java_parse_file): Keep pointer to head of file_list and free when
done. Free result of lrealpath().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93109 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92965 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
* typeck.c: Use fold_convert for ints and booleans.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92419 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR java/18931
* typeck.c (convert): Use a CONVERT_EXPR when converting to
BOOLEAN_TYPE or CHAR_TYPE.
(convert_to_boolean, convert_to_char) : Remove.
* convert.h (convert_to_boolean, convert_to_char) : Remove.
* expr.c (expand_load_internal): Do type conversion if type is not
as required.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92314 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
Fix ChangeLog entry to refer to correct PR
http://gcc.gnu.org/ml/gcc-cvs/2004-12/msg00507.html
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92079 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR/18549
* defaults.h (TARGET_USE_JCR_SECTION): New macro.
* doc/tm.texi (TARGET_USE_JCR_SECTION): Document it.
* config/i386/cygming.h (TARGET_USE_JCR_SECTION): Override
default.
gcc/java
PR/18549
* class.c (emit_register_classes): Use TARGET_USE_JCR_SECTION.
Update comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92078 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
PR java/18811:
* jcf-parse.c (load_class): Remove sanity test for missing inner
class file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91901 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
* jcf-parse.c (load_class): Remove sanity test for missing inner
class file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91900 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(java.uninstall): Likewise.
(java.maintainer-clean): Likewise.
(.INTERMEDIATE): Likewise.
(java.install-man): Likewise.
(gcj-dbtool.pod): New target.
* gcj.texi (Code Generation): Document -findirect-dispatch.
(libgcj Runtime Properties): Document
gnu.gcj.precompiled.db.path.
(Top): Link to "Invoking gcj-dbtool".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91785 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
| |
* java-tree.h (extract_field_decl): Declare.
* parse.y (extract_field_decl): Renamed from
strip_out_static_field_access_decl. No longer static.
* check-init.c (get_variable_decl): Unwrap COMPOUND_EXPRs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91778 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
(java_post_options): Set flag_new_verifier if indirect dispatch
is being used.
* lang.opt (fnew-verifier): Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91693 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
* Make-lang.in (java.install-common): Only install transformed
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91692 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
PR java/18812
* except.c (link_handler): Patch 'outer' field of siblings of the
range we're demoting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91690 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
PR java/18697
* class.c (layout_class_method): Don't fail to override a method
simply because it has DECL_ARTIFICIAL set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91689 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
* parse.y (craft_constructor): Special case null_pointer_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91657 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
* java-gimplify.c (java_gimplify_expr): Don't call
SET_EXPR_LOCATION unless wrapped tree is an expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91645 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
Fix fencepost error in 'i', which got executed one too many times.
Also, fold memcpy into explicit loop, as originally intended.
Also, free temporary 'buf' which otherwise leaks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91411 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
local static variables if not USE_MAPPED_LOCATION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91408 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91392 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR java/18305
* decl.c (end_java_method): Call
attach_init_test_initialization_flags on all the init_decls.
* parse.y (attach_init_test_initialization_flags): Move to ...
* expr.c (attach_init_test_initialization_flags): here and
support BIND_EXPR also.
* java-tree.h (attach_init_test_initialization_flags): Prototype.
* jcf-parse.c (parse_class_file): Don't disable class init
optimization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91343 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of `%s' in diagnostic.
cp:
* g++spec.c, lex.c: Avoid ` as left quote in diagnostics.
fortran:
* f95-lang.c, gfortranspec.c, trans-decl.c: Avoid ` as left quote
in diagnostics.
java:
* gjavah.c, jcf-dump.c, jv-scan.c, jvspec.c: Avoid ` as left quote
in diagnostics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91282 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
vfy_string_type, vfy_throwable_type): Use ANSI declaration form.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91278 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
* verify.h (java_opcode): Added java_opcode_end.
* class.c (build_class_ref): Remove C++ comment and old FIXME.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91277 138bc75d-0d04-0410-961f-82ee72b054a4
|