Wed Nov 18 23:54:53 1998 Alexandre Petit-Bianco <apbianco@cygnus.com> * class.c (unmangle_classname): Set QUALIFIED_P when appropriate. (layout_class): Cope with methods featuring WFL in decl names. * decl.c (unqualified_object_id_node): New global variable, initialized. (build_decl_no_layout): Removed. * expr.c (build_primtype_type_ref): Handle Double. (java_lang_expand_expr): Fixed indentations. * java-tree.h (CLASS_METHOD_CHECKED_P): Flag deleted. (flag_wall, flag_redundant, flag_not_overriding, flag_static_local_jdk1_1, unqualified_object_id_node): Global variable declarations. (build_decl_no_layout): Removed prototype. (java_get_real_method_name): Added prototype. (IS_UNCHECKED_EXPRESSION_P): Renamed IS_UNCHECKED_EXCEPTION_P. (java_parse_abort_on_error): Macro now just returns. * jcf-parse.c (jcf_parse_source): Check fclose returned value. Call emit_register_classes if java_report_errors returns zero. * lanc.c (flag_wall, flag_redundant, flag_not_overriding, flag_static_local_jdk1_1): New integer flags. (lang_decode_option): New flags set here. * parse.h (GET_REAL_TYPE, GET_METHOD_NAME): New macros. (OBSOLETE_MODIFIER_WARNING): Issue error message conditionally to the flag_redundant variable. (SET_TYPE_FOR_RESOLUTION): Consider Object being java.lang.Object when parsing java.lang.Object class. (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT): Added terminal NULL_TREE to build. (resolve_qualified_expression_name): Fixed indentation. (patch_array_ref): Changed prototype. (not_initialized_as_it_should_p): Prototype removed. (java_report_errors): Added function prototype. * parse.y (formal_parameter:): Changed error message for not yet supported final parameters. (class_type_list:): Set both PURPOSE and VALUE of created TREE_LIST to be class_type. (primary_no_new_array:): Handle class literals on primitive types. (parse_warning_context): Reinstalled correct force_error and do_warning flags setups. (java_report_errors): Changed prototype. Return java_error_count value. (variable_redefinition_error): Consider treating variable type as a fake pointer. (create_interface): Warn about redundant abstract modifier if flag_redundant is set. Changed error message. (lookup_field_wrapper): Save/restore globals before/after looking up field. (duplicate_declaration_error_p): Consider treating declaration type as a fake pointer. (register_fields): Extract real type from dependency node. Check for duplicate field declaration after type adjustment. Use DECL_INITIAL to store static final initialized values. (method_header): Extract real function type from dependency node. (check_abstract_method_header): Use GET_METHOD_NAME. (obtain_incomplete_type): Layout fake pointer type. (safe_layout_class): Don't try to check for methods before layout. (java_complete_class): Don't check for correct throws clause elements inheritance here. (resolve_and_layout): Broadened name parameter meaning. (reset_method_name): Use GET_METHOD_NAME. (java_get_real_method_name): New function. (java_check_regular_methods): Don't check methods in java.lang.Object. Verify lineage of throws clause elements. Use flag_no_overriding in warning report. (check_throws_clauses): Don't check if class was from bytecode. Use IS_UNCHECKED_EXCEPTION_P macro. (java_check_methods): Don't set CLASS_METHOD_CHECKED_P flag. (declare_local_variables): Use flag_static_local_jdk1_1 to report warning on unsupported final local variables. Use build_decl instead of build_decl_no_layout. Get real local variable type from dependency node. (source_start_java_method): Get real parameter type from dependency node. Call build_decl instead of build_decl_no_layout. (java_layout_classes): Reverse tree and layout type and class as required. Mark class as loaded when done. (resolve_field_access): Fixed indentation. Restricted condition leading to static field access code generation. Set field_type decl's TREE_TYPE if QUAL_DECL_TYPE not available. (resolve_qualified_expression_name): Initialize type_found to null. Handle static field resolved during qualification. Fixed layout on non primitive field decl types. (not_accessible_p): Fixed typo in comment. (patch_method_invocation): Resolve and layout class to search from type. (lookup_method_invoke): Keep integer constant 0 as is. Resolve and layout non primitive type, if necessary. Make method node only to report errors. (find_applicable_accessible_methods_list): Consider WFL'ed method decl names. Fixed indentation. (argument_types_convertible): Resolve and layout target type if necessary. (java_complete_tree): Fixed indentation problems. Rewrote CALL_EXPR thrown exceptions check. Re-installed further processing of the assignment in certain cases. (patch_assignment): Call maybe_build_primttype_type_ref to perform inlining on class literals. (valid_builtin_assignconv_identity_widening_p): Cope with constant 0 literal. (valid_method_invocation_conversion_p): Likewise. (patch_string): Temporary disable forbidden use of `this' in explicit constructor invocations when doing string concatenation within their scope. (patch_unaryop): Added comment. Reinstalled code to disable further check on assignment operation with cast expression RHS. (patch_switch_statement): Fixed indentation. (build_try_statement): Call build_decl instead of build_decl_no_layout. (patch_synchronized_statement): Likewise. (patch_throw_statement): Use IS_UNCHECKED_EXCEPTION_P instead of IS_UNCHECKED_EXPRESSION_P. (check_thrown_exceptions_do): Changed leading comment. Resolve and layout argument exception type. (purge_unchecked_exceptions): Use IS_UNCHECKED_EXCEPTION_P instead of IS_UNCHECKED_EXPRESSION_P. Fixed problems found when compiling a mixture of .class and .java files in the same package. Some support for the compilation of libjava. From-SVN: r23704
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ch | Loading commit data... | |
config | Loading commit data... | |
cp | Loading commit data... | |
f | Loading commit data... | |
fixinc | Loading commit data... | |
ginclude | Loading commit data... | |
intl | Loading commit data... | |
java | Loading commit data... | |
objc | Loading commit data... | |
po | Loading commit data... | |
testsuite | Loading commit data... | |
.cvsignore | Loading commit data... | |
.gdbinit | Loading commit data... | |
ABOUT-GCC-NLS | Loading commit data... | |
ABOUT-NLS | Loading commit data... | |
BUGS | Loading commit data... | |
COPYING | Loading commit data... | |
COPYING.LIB | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog.0 | Loading commit data... | |
ChangeLog.lib | Loading commit data... | |
FSFChangeLog | Loading commit data... | |
FSFChangeLog.10 | Loading commit data... | |
FSFChangeLog.11 | Loading commit data... | |
FSFChangeLog.12 | Loading commit data... | |
INSTALL | Loading commit data... | |
LANGUAGES | Loading commit data... | |
LITERATURE | Loading commit data... | |
Makefile.in | Loading commit data... | |
NEWS | Loading commit data... | |
PROBLEMS | Loading commit data... | |
PROJECTS | Loading commit data... | |
README | Loading commit data... | |
README-bugs | Loading commit data... | |
README-fixinc | Loading commit data... | |
README.ACORN | Loading commit data... | |
README.ALTOS | Loading commit data... | |
README.APOLLO | Loading commit data... | |
README.C4X | Loading commit data... | |
README.DWARF | Loading commit data... | |
README.FRESCO | Loading commit data... | |
README.NS32K | Loading commit data... | |
README.RS6000 | Loading commit data... | |
README.TRAD | Loading commit data... | |
README.X11 | Loading commit data... | |
README.g77 | Loading commit data... | |
README.gnat | Loading commit data... | |
SERVICE | Loading commit data... | |
TESTS.FLUNK | Loading commit data... | |
acconfig.h | Loading commit data... | |
aclocal.m4 | Loading commit data... | |
alias.c | Loading commit data... | |
assert.h | Loading commit data... | |
basic-block.h | Loading commit data... | |
bitmap.c | Loading commit data... | |
bitmap.h | Loading commit data... | |
build-make | Loading commit data... | |
c-aux-info.c | Loading commit data... | |
c-common.c | Loading commit data... | |
c-convert.c | Loading commit data... | |
c-decl.c | Loading commit data... | |
c-gperf.h | Loading commit data... | |
c-iterate.c | Loading commit data... | |
c-lang.c | Loading commit data... | |
c-lex.c | Loading commit data... | |
c-lex.h | Loading commit data... | |
c-parse.c | Loading commit data... | |
c-parse.gperf | Loading commit data... | |
c-parse.h | Loading commit data... | |
c-parse.in | Loading commit data... | |
c-parse.y | Loading commit data... | |
c-pragma.c | Loading commit data... | |
c-pragma.h | Loading commit data... | |
c-tree.h | Loading commit data... | |
c-typeck.c | Loading commit data... | |
caller-save.c | Loading commit data... | |
calls.c | Loading commit data... | |
cccp.1 | Loading commit data... | |
cccp.c | Loading commit data... | |
cexp.c | Loading commit data... | |
cexp.y | Loading commit data... | |
collect2.c | Loading commit data... | |
combine.c | Loading commit data... | |
conditions.h | Loading commit data... | |
config.guess | Loading commit data... | |
config.in | Loading commit data... | |
config.sub | Loading commit data... | |
configure | Loading commit data... | |
configure.bat | Loading commit data... | |
configure.frag | Loading commit data... | |
configure.in | Loading commit data... | |
configure.lang | Loading commit data... | |
convert.c | Loading commit data... | |
convert.h | Loading commit data... | |
cpp.1 | Loading commit data... | |
cpp.cps | Loading commit data... | |
cpp.fns | Loading commit data... | |
cpp.texi | Loading commit data... | |
cppalloc.c | Loading commit data... | |
cpperror.c | Loading commit data... | |
cppexp.c | Loading commit data... | |
cppfiles.c | Loading commit data... | |
cpphash.c | Loading commit data... | |
cpphash.h | Loading commit data... | |
cpplib.c | Loading commit data... | |
cpplib.h | Loading commit data... | |
cppmain.c | Loading commit data... | |
cppulp.c | Loading commit data... | |
cross-make | Loading commit data... | |
crtstuff.c | Loading commit data... | |
cse.c | Loading commit data... | |
cstamp-h.in | Loading commit data... | |
dbxout.c | Loading commit data... | |
dbxout.h | Loading commit data... | |
dbxstclass.h | Loading commit data... | |
defaults.h | Loading commit data... | |
demangle.h | Loading commit data... | |
doprint.c | Loading commit data... | |
doschk.c | Loading commit data... | |
dostage2 | Loading commit data... | |
dostage3 | Loading commit data... | |
dwarf.h | Loading commit data... | |
dwarf2.h | Loading commit data... | |
dwarf2out.c | Loading commit data... | |
dwarf2out.h | Loading commit data... | |
dwarfout.c | Loading commit data... | |
dwarfout.h | Loading commit data... | |
dyn-string.c | Loading commit data... | |
dyn-string.h | Loading commit data... | |
eh-common.h | Loading commit data... | |
emit-rtl.c | Loading commit data... | |
enquire.c | Loading commit data... | |
except.c | Loading commit data... | |
except.h | Loading commit data... | |
exgettext | Loading commit data... | |
explow.c | Loading commit data... | |
expmed.c | Loading commit data... | |
expr.c | Loading commit data... | |
expr.h | Loading commit data... | |
extend.texi | Loading commit data... | |
final.c | Loading commit data... | |
fix-header.c | Loading commit data... | |
fixcpp | Loading commit data... | |
fixinc-nt.sed | Loading commit data... | |
fixinc.dgux | Loading commit data... | |
fixinc.irix | Loading commit data... | |
fixinc.ptx | Loading commit data... | |
fixinc.sco | Loading commit data... | |
fixinc.svr4 | Loading commit data... | |
fixinc.winnt | Loading commit data... | |
fixinc.wrap | Loading commit data... | |
fixincludes | Loading commit data... | |
fixproto | Loading commit data... | |
flags.h | Loading commit data... | |
floatlib.c | Loading commit data... | |
flow.c | Loading commit data... | |
fold-const.c | Loading commit data... | |
fp-test.c | Loading commit data... | |
frame.c | Loading commit data... | |
frame.h | Loading commit data... | |
function.c | Loading commit data... | |
function.h | Loading commit data... | |
future.options | Loading commit data... | |
gansidecl.h | Loading commit data... | |
gbl-ctors.h | Loading commit data... | |
gcc.1 | Loading commit data... | |
gcc.c | Loading commit data... | |
gcc.cps | Loading commit data... | |
gcc.hlp | Loading commit data... | |
gcc.texi | Loading commit data... | |
gcov-io.h | Loading commit data... | |
gcov.c | Loading commit data... | |
gcov.texi | Loading commit data... | |
gcse.c | Loading commit data... | |
gen-protos.c | Loading commit data... | |
genattr.c | Loading commit data... | |
genattrtab.c | Loading commit data... | |
gencheck.c | Loading commit data... | |
gencodes.c | Loading commit data... | |
genconfig.c | Loading commit data... | |
genemit.c | Loading commit data... | |
genextract.c | Loading commit data... | |
genflags.c | Loading commit data... | |
gengenrtl.c | Loading commit data... | |
genmultilib | Loading commit data... | |
genopinit.c | Loading commit data... | |
genoutput.c | Loading commit data... | |
genpeep.c | Loading commit data... | |
genrecog.c | Loading commit data... | |
getpwd.c | Loading commit data... | |
glimits.h | Loading commit data... | |
global.c | Loading commit data... | |
gmon.c | Loading commit data... | |
gstab.h | Loading commit data... | |
gsyms.h | Loading commit data... | |
gsyslimits.h | Loading commit data... | |
gthr-dce.h | Loading commit data... | |
gthr-posix.h | Loading commit data... | |
gthr-single.h | Loading commit data... | |
gthr-solaris.h | Loading commit data... | |
gthr-vxworks.h | Loading commit data... | |
gthr.h | Loading commit data... | |
haifa-sched.c | Loading commit data... | |
halfpic.c | Loading commit data... | |
halfpic.h | Loading commit data... | |
hard-reg-set.h | Loading commit data... | |
hash.c | Loading commit data... | |
hash.h | Loading commit data... | |
input.h | Loading commit data... | |
install.texi | Loading commit data... | |
install1.texi | Loading commit data... | |
integrate.c | Loading commit data... | |
integrate.h | Loading commit data... | |
intl.c | Loading commit data... | |
intl.h | Loading commit data... | |
invoke.texi | Loading commit data... | |
jump.c | Loading commit data... | |
just-fixinc | Loading commit data... | |
libgcc1-test.c | Loading commit data... | |
libgcc1.c | Loading commit data... | |
libgcc2.c | Loading commit data... | |
limitx.h | Loading commit data... | |
limity.h | Loading commit data... | |
listing | Loading commit data... | |
local-alloc.c | Loading commit data... | |
longlong.h | Loading commit data... | |
loop.c | Loading commit data... | |
loop.h | Loading commit data... | |
machmode.def | Loading commit data... | |
machmode.h | Loading commit data... | |
make-l2.com | Loading commit data... | |
makefile.vms | Loading commit data... | |
mbchar.c | Loading commit data... | |
mbchar.h | Loading commit data... | |
md.texi | Loading commit data... | |
mips-tdump.c | Loading commit data... | |
mips-tfile.c | Loading commit data... | |
mkinstalldirs | Loading commit data... | |
move-if-change | Loading commit data... | |
optabs.c | Loading commit data... | |
output.h | Loading commit data... | |
patch-apollo-includes | Loading commit data... | |
pcp.h | Loading commit data... | |
prefix.c | Loading commit data... | |
print-rtl.c | Loading commit data... | |
print-tree.c | Loading commit data... | |
profile.c | Loading commit data... | |
protoize.c | Loading commit data... | |
pself.c | Loading commit data... | |
pself1.c | Loading commit data... | |
pself2.c | Loading commit data... | |
pself3.c | Loading commit data... | |
real.c | Loading commit data... | |
real.h | Loading commit data... | |
recog.c | Loading commit data... | |
recog.h | Loading commit data... | |
reg-stack.c | Loading commit data... | |
regclass.c | Loading commit data... | |
regmove.c | Loading commit data... | |
regs.h | Loading commit data... | |
reload.c | Loading commit data... | |
reload.h | Loading commit data... | |
reload1.c | Loading commit data... | |
reorg.c | Loading commit data... | |
rtl.c | Loading commit data... | |
rtl.def | Loading commit data... | |
rtl.h | Loading commit data... | |
rtl.texi | Loading commit data... | |
rtlanal.c | Loading commit data... | |
scan-decls.c | Loading commit data... | |
scan-types.sh | Loading commit data... | |
scan.c | Loading commit data... | |
scan.h | Loading commit data... | |
sched.c | Loading commit data... | |
sdbout.c | Loading commit data... | |
sdbout.h | Loading commit data... | |
sort-protos | Loading commit data... | |
stab.def | Loading commit data... | |
stack.h | Loading commit data... | |
stmt.c | Loading commit data... | |
stor-layout.c | Loading commit data... | |
stupid.c | Loading commit data... | |
sys-protos.h | Loading commit data... | |
sys-types.h | Loading commit data... | |
system.h | Loading commit data... | |
texinfo.tex | Loading commit data... | |
tlink.c | Loading commit data... | |
tm.texi | Loading commit data... | |
tmp-emsgids.c | Loading commit data... | |
toplev.c | Loading commit data... | |
toplev.h | Loading commit data... | |
tree.c | Loading commit data... | |
tree.def | Loading commit data... | |
tree.h | Loading commit data... | |
typeclass.h | Loading commit data... | |
unprotoize.c | Loading commit data... | |
unroll.c | Loading commit data... | |
varasm.c | Loading commit data... | |
varray.c | Loading commit data... | |
varray.h | Loading commit data... | |
version.c | Loading commit data... | |
vmsconfig.com | Loading commit data... | |
xcoffout.c | Loading commit data... | |
xcoffout.h | Loading commit data... |