apbianco [Sat, 1 Sep 2001 04:54:05 +0000 (04:54 +0000)]
2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.compile/final_assignment_check.java: New file.
* libjava.compile/final_assignment_check.xfail: Likewise.
* libjava.compile/final_local_switch.java: Likewise.
(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00342.html )
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45346
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Sat, 1 Sep 2001 04:42:50 +0000 (04:42 +0000)]
2001-08-30 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (patch_assignment): Don't verify final re-assignment here.
(java_complete_lhs): Verify assignments to finals calling
patch_assignment. Verify re-assignments to finals before calling
patch_assignment.
2001-08-29 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (java_complete_lhs): Allow final locals in CASE_EXPRs.
Fixes PR java/1413
2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
* lex.c (java_lex): new local found_hex_digits. Set and then used
in test to reject invalid hexadecimal numbers.
* parse.y (java_complete_tree): Prevent unwanted cast with
initialized floating point finals.
(patch_binop): Emit a warning when detecting a division by zero,
mark result not constant, don't simplify non integer division.
(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00343.html )
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45345
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sat, 1 Sep 2001 01:26:14 +0000 (01:26 +0000)]
* gcj/javaprims.h (_Jv_RegisterClassHook): New extern declaration.
(_Jv_RegisterClassHookDefault): Likewise.
* java/lang/Class.h (_Jv_RegisterClassHookDefault): Declare as friend.
* java/lang/natClassLoader.cc (_Jv_RegisterClassHook): New variable.
(_Jv_RegisterClassHookDefault): New.function.
(_Jv_RegisterClasses): Call _Jv_RegisterClassHook.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45344
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sat, 1 Sep 2001 01:17:24 +0000 (01:17 +0000)]
* java/lang/ClassLoader.java (system): Remove static field.
(getSystemClassLoader): Get gnu.gcj.runtime.VMClassLoader.instance
directly instead of using it to set the system field.
(loadClass): Use VMClassLoader.instance instead of system field.
(findSystemClass): Similar.
* prims.cc (_Jv_RunMain): Clear VMClassLoader::instance rather
than ClassLoader::system which no longer exists.
* java/lang/natClassLoader.java (_Jv_FindClass): Simplify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45343
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 1 Sep 2001 00:59:09 +0000 (00:59 +0000)]
* java/io/BufferedReader.java, java/io/ObjectInput.java,
java/io/ObjectInputValidation.java, java/io/ObjectOutput.java:
Re-merged with Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45342
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 1 Sep 2001 00:47:19 +0000 (00:47 +0000)]
Merged from gcc-3_0-branch:
2001-07-30 Jeff Sturm <jsturm@one-pont.com>
* ltcf-c.sh: Use $objext, not $ac_objext.
2001-07-27 Mark Kettenis <kettenis@gnu.org>
* ltcf-cxx.sh: Add support for GNU.
2001-07-22 Timothy Wall <twall@redhat.com>
* ltcf-c.sh: Don't disable shared libraries for AIX5/IA64. Preserve
default settings if using GNU tools with that configuration.
* ltcf-cxx.sh: Ditto.
* ltcf-gcj.sh: Ditto.
2001-07-21 Michael Chastain <chastain@redhat.com>
* ltconfig: Set max_cmd_len to a maximum of 512Kb, as it seems some
HPUX 11.0 systems have trouble with 1MB. Mark as gcc-local.
* ltmain.sh: Mark as gcc-local.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45341
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Sat, 1 Sep 2001 00:23:53 +0000 (00:23 +0000)]
2001-08-31 Eric Christopher <echristo@redhat.com>
* gcc.c (handle_braces): Add explaination for abort.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45340
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 31 Aug 2001 23:09:11 +0000 (23:09 +0000)]
* testsuite/gcc.c-torture/execute/ieee/ieee.exp: Add -ffloat-store
for m68k.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45339
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 31 Aug 2001 22:54:19 +0000 (22:54 +0000)]
* expmed.c (store_bit_field): Update to patch from 2001-08-27:
move adjustment of bitpos instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45338
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 31 Aug 2001 22:31:40 +0000 (22:31 +0000)]
Re-merge with Classpath:
* java/util/Comparator (equals): Added.
* java/io/PipedWriter.java (write): Changed argument to `int'.
* java/io/FileDescriptor.java (FileDescriptor()): New
constructor.
* java/io/File.java (getAbsoluteFile): Doesn't throw IOException.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45337
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 31 Aug 2001 22:22:02 +0000 (22:22 +0000)]
* function.c: Remove all_functions. Make outer_function_chain
static.
(init_function_start): Don't add new function structure to
all_functions.
(find_function_data, push_function_context_to,
pop_function_context_from, put_var_into_stack,
trampoline_address): Update for changed structure element names.
(push_function_context_to): Disentangle.
(free_after_compilation): Also free F.
(expand_dummy_function_end): Don't free cfun here.
(put_var_into_stack): Comment why we can't use find_function_data here.
(fix_lexical_addr, trampoline_address, ): Use find_function_data.
(mark_function_chain): Split into maybe_mark_struct_function and
ggc_mark_struct_function. Export the latter.
(init_function_once): Mark from cfun and outer_function_chain;
not all_functions.
* function.h (struct function): Kill next_global. Rename next
to outer. All users updated to match.
(all_functions, outer_function_chain): Don't declare.
* ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
* integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
don't touch f->inlinable, after calling rest_of_compilation.
* tree.h: Forward-declare struct function. Prototype
ggc_mark_struct_function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45336
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 31 Aug 2001 21:31:20 +0000 (21:31 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Removed
EnumerationChain, added DoubleEnumeration.
(nat_source_files): Added natResourceBundle.cc.
* java/util/natResourceBundle.cc: New file.
* gnu/java/util/DoubleEnumeration.java: New file.
* gnu/gcj/util/EnumerationChain.java: Removed.
* java/beans/VetoableChangeSupport.java: Merged with Classpath.
* java/util/ResourceBundle.java: Merged with Classpath.
* java/util/StringTokenizer.java: Merged with Classpath.
* java/util/Locale.java: Merged with Classpath.
* java/util/Random.java: Merged with Classpath.
* java/util/PropertyResourceBundle.java: Merged with Classpath.
* java/util/ListResourceBundle.java: Merged with Classpath.
* java/util/ConcurrentModificationException.java: Re-merged with
Classpath.
* java/util/EmptyStackException.java: Likewise.
* java/util/MissingResourceException.java: Likewise.
* java/util/NoSuchElementException.java: Likewise.
* java/util/TooManyListenersException.java: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45335
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 31 Aug 2001 20:13:38 +0000 (20:13 +0000)]
* config/h8300/h8300.md (*andorhi3): Fix typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45334
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 31 Aug 2001 20:07:31 +0000 (20:07 +0000)]
* class.c (set_constant_value): When not emiting class files, then a
String ConstantValue is a utf8const_ptr_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45333
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 31 Aug 2001 19:28:58 +0000 (19:28 +0000)]
* calls.c (emit_library_call_value): Don't use a fixed
argument after VA_CLOSE, i.e. out of scope in traditional C.
* emit-rtl.c (gen_rtvec): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45332
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 31 Aug 2001 19:27:12 +0000 (19:27 +0000)]
* Makefile.in (c-pragma.o): Depend on output.h.
(reorg.o): Depend on except.h.
* c-pragma.c: Include output.h.
* reorg.c: Include except.h.
* unwind-dw2.c: Call __builtin_alloca, not alloca.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45331
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 31 Aug 2001 18:01:08 +0000 (18:01 +0000)]
* sched-deps.c (add_dependence): Don't elide dependancy if the
conditional used by insn is modified in elem.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45330
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Fri, 31 Aug 2001 17:46:06 +0000 (17:46 +0000)]
* error.c (dump_template_decl): Output template parameters
together with their specifiers.
Output `class' prefix for template template parameter.
(dump_decl): Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45329
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 31 Aug 2001 17:15:20 +0000 (17:15 +0000)]
oops - omitted from previouys delta
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45328
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 31 Aug 2001 17:11:27 +0000 (17:11 +0000)]
* java/io/ByteArrayOutputStream.java: Re-merged with Classpath.
* java/io/OptionalDataException.java: Merged with Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45327
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 31 Aug 2001 17:10:57 +0000 (17:10 +0000)]
Skip TRUNCATE operators in const pool addresses for v850 short switch tables
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45326
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 31 Aug 2001 17:09:58 +0000 (17:09 +0000)]
Account for FP registers saved to stack during prologue
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45325
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 31 Aug 2001 16:59:43 +0000 (16:59 +0000)]
* g++.dg/abi/empty4.C: Allow for 16-bit ints.
* g++.dg/special/initp1.C (X): Allow for 16-bit ints.
* gcc.c-torture/unsorted/bcopy.c (BYTES): Honor STACK_SIZE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45324
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 31 Aug 2001 16:34:44 +0000 (16:34 +0000)]
* c-decl.c (c_decode_option): Skip '-f' prefix before calling
dump_switch_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45323
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 31 Aug 2001 15:44:20 +0000 (15:44 +0000)]
* config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
function.
(stormy16_asm_out_constructor): New function.
(TARGET_ASM_CONSTRUCTOR): Define.
(TARGET_ASM_DESTRUCTOR): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45322
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Fri, 31 Aug 2001 14:49:37 +0000 (14:49 +0000)]
* gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
* loop.c (add_label_notes): Likewise.
* reload.c (find_reloads): Likewise.
* config/sh/sh.c (machine_dependent_reorg): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45320
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 31 Aug 2001 12:27:32 +0000 (12:27 +0000)]
* exception.cc (PERSONALITY_FUNCTION): Simplify
leb128 handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45317
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 31 Aug 2001 10:24:46 +0000 (10:24 +0000)]
tweak comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45316
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 31 Aug 2001 09:49:13 +0000 (09:49 +0000)]
* unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
code here. Take _Unwind_{W,Sw}ord*.
(read_encoded_value_with_base): Use them.
* unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
words.
(extract_cie_info): Simplify read_?leb128 handling.
(execute_stack_op, execute_cfa_program): Likewise.
* unwind-dw2-fde.c (get_cie_encoding): Likewise.
* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
leb128 handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45315
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 31 Aug 2001 07:57:54 +0000 (07:57 +0000)]
* config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
the frame pointer to pop the stack if convenient.
* config/stormy16/stormy16.c (stormy16_initialize_trampoline):
Don't use post-increment before combine.
* config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
a call-saved register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45314
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 31 Aug 2001 07:16:42 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45313
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 31 Aug 2001 06:44:22 +0000 (06:44 +0000)]
Temporaily change error to wanring to hopefully allow boostrap.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45311
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Fri, 31 Aug 2001 06:35:37 +0000 (06:35 +0000)]
2001-08-30 Eric Christopher <echristo@redhat.com>
Jason Eckhardt <jle@redhat.com>
* config.guess: Merge from master sources.
* config.sub: Merge from master sources, add support for mipsisa32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45310
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 31 Aug 2001 05:58:46 +0000 (05:58 +0000)]
* java/io/ByteArrayInputStream.java: Merged with Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45309
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Fri, 31 Aug 2001 05:55:56 +0000 (05:55 +0000)]
* jump.c (mark_jump_label): Revert patch from 2001-08-28, the
code was correct.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45308
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 31 Aug 2001 05:00:12 +0000 (05:00 +0000)]
* java/io/BufferedReader.java: Re-merged with Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45307
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 31 Aug 2001 04:14:44 +0000 (04:14 +0000)]
* jcf-write.c (generate_classfile): Check that field is primitive
or string before emitting ConstantValue attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45306
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 31 Aug 2001 03:07:12 +0000 (03:07 +0000)]
* parse.y (resolve_qualified_expression_name): If creating a
COMPOUND_EXPR, set it's type correctly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45305
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 31 Aug 2001 02:02:42 +0000 (02:02 +0000)]
* gcc.c-torture/execute/longlong.c (alpha_ep_extbl_i_eq_0): Allow
for 16-bit 'unsigned int'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45304
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 31 Aug 2001 01:56:43 +0000 (01:56 +0000)]
* config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
not DIV/MOD, of course.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45303
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 30 Aug 2001 21:28:20 +0000 (21:28 +0000)]
* jcf-io.c (open_class): Set filename field.
* jcf-parse,c (parse_class_file): Set current_function_decl
for better error message when Code attribute is missing.
* lang.c (put_decl_node, lang_print_error): Re-arrange for
better diagnostics, especially for constructors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45299
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 30 Aug 2001 21:08:32 +0000 (21:08 +0000)]
* jcf-write.c (generate_classfile): Don't write ConstantValue
attribute if field is not final, for compatibility with jdk.
* jcf-write.c (generate_classfile): Convert ConstantValue values
to correct type. Work-around for front-end bug.
* class.c (set_constant_value): Error if constant has wrong type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45298
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Thu, 30 Aug 2001 20:44:51 +0000 (20:44 +0000)]
2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
* rtl.def: Undo my patch commited 2001-08-27.
* genattrtab.c: Ditto.
* rtl.h: Ditto.
* sched-int.h: Ditto.
* target-def.h: Ditto.
* target.h: Ditto.
* haifa-sched.c: Ditto.
* sched-rgn.c: Ditto.
* sched-vis.c: Ditto.
* Makefile.in: Ditto.
* doc/md.texi: Ditto.
* doc/tm.texi: Ditto.
* doc/contrib.texi: Ditto.
* doc/gcc.texi: Ditto.
* genattrtab.h: Remove it.
* genautomata.c: Remove it.
* genattr.c: Undo my patch and Richard Henderson's patch commited
2001-08-27.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45297
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 30 Aug 2001 19:42:36 +0000 (19:42 +0000)]
* jcf-dump.c (print_constant): Fix fencepost error so "Float" and
"Double" are printed at verbosity 1.
* jcf-dump.c (main): Disable flag_print_attributes if --javap.
* jcf-dump.c (SPECIAL_IINC): Remove unneeded casts to long.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45296
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 30 Aug 2001 18:22:55 +0000 (18:22 +0000)]
* config.gcc (h8300-*-elf*): New case.
* h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
(SUBTARGET_CPP_SPEC): Define.
(EXTRA_SPECS): Define.
(SUBTARGET_EXTRA_SPECS): Define.
* config/h8300/crti.asm, config/h8300/crtn.asm: New files.
* config/h8300/elf.h, config/h8300/t-elf: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45294
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 30 Aug 2001 18:20:33 +0000 (18:20 +0000)]
* config.gcc (h8300-*-elf*): New case.
* h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
(SUBTARGET_CPP_SPEC): Define.
(EXTRA_SPECS): Define.
(SUBTARGET_EXTRA_SPECS): Define.
* config/h8300/crti.asm, config/h8300/crtn.asm: New files.
* config/h8300/elf.h, config/h8300/t-elf: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45293
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 30 Aug 2001 17:51:04 +0000 (17:51 +0000)]
* t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
(LIB2FUNCS_EXTRA): Define.
config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
config/h8300/fixunssfsi.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45291
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 30 Aug 2001 17:17:17 +0000 (17:17 +0000)]
* config/h8300/h8300.md (zero_extendqihi2): Changes to
define_expand to accomodate target-specific attributes.
(anonymous zero_extendqihi2 patterns): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45290
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 30 Aug 2001 17:11:39 +0000 (17:11 +0000)]
* h8300.md (*andorhi3): New pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45289
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 30 Aug 2001 15:13:27 +0000 (15:13 +0000)]
* h8300.c (dosize): Fix test for "sub".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45288
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Thu, 30 Aug 2001 13:55:17 +0000 (13:55 +0000)]
* optimize.c (inlinable_function_p): Allow only smaller single
functions. Halve inline limit after reaching recursive limit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45286
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 30 Aug 2001 12:46:52 +0000 (12:46 +0000)]
* c-typeck.c (pointer_diff): Try to eliminate common term before
doing conversions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45285
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 30 Aug 2001 12:44:22 +0000 (12:44 +0000)]
* class.c (build_vtable_entry_ref): Subtract in char*, not
ptrdiff_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45284
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 30 Aug 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45282
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 29 Aug 2001 23:18:51 +0000 (23:18 +0000)]
* reload1.c (move2add_note_store): Correct typo checking for
argument pushes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45279
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 29 Aug 2001 22:36:26 +0000 (22:36 +0000)]
make x a long
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45278
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 29 Aug 2001 22:35:39 +0000 (22:35 +0000)]
make BaseFunc virtual, too
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45277
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Wed, 29 Aug 2001 21:43:41 +0000 (21:43 +0000)]
2001-08-29 Andrew MacLeod <amacleod@redhat.com>
* gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
note should not be considered outside the libcall block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45276
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 29 Aug 2001 19:44:39 +0000 (19:44 +0000)]
* ansidecl.h: Update comments reflecting previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45275
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 29 Aug 2001 18:26:31 +0000 (18:26 +0000)]
* genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45274
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 29 Aug 2001 18:21:07 +0000 (18:21 +0000)]
* config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45273
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 29 Aug 2001 18:18:15 +0000 (18:18 +0000)]
* config/h8300/h8300-protos.h: Add a prototype for
emit_logical_op.
* config/h8300/h8300.c (emit_logical_op): New.
* config/h8300/h8300.md (andhi3): Use emit_logical_op.
(andsi3): Likewise.
(iorhi3): Likewise.
(iorsi3): Likewise.
(xorhi3): Likewise.
(xorsi3): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45272
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Wed, 29 Aug 2001 17:57:47 +0000 (17:57 +0000)]
* pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
comparison with rtx INTVAL.
(pa_output_function_prologue): Don't mix signed and unsigned in `?'
expression.
* pa.h (FUNCTION_ARG_SIZE): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45271
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 29 Aug 2001 16:37:13 +0000 (16:37 +0000)]
* config/h8300/lib1funcs.asm: Update the copyright. Fix
comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45269
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 29 Aug 2001 16:23:53 +0000 (16:23 +0000)]
Fix typos in ChangeLog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45268
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 29 Aug 2001 16:17:25 +0000 (16:17 +0000)]
* h8300.md (anonymous movhi pattern): Don't move (reg n) to
(mem (pre_dec (reg n))
(anonymous movsi pattern): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45266
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 29 Aug 2001 16:10:41 +0000 (16:10 +0000)]
* gcc.c-torture/compile/981006-1.x: Do not use -fpic on h8300.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45264
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 29 Aug 2001 16:04:13 +0000 (16:04 +0000)]
* h8300.h (RETURN_ADDR_RTX): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45262
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 29 Aug 2001 16:01:59 +0000 (16:01 +0000)]
* h8300.md (movsi_h8300hs): Optimize loading of several
special constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45261
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 29 Aug 2001 14:45:35 +0000 (14:45 +0000)]
* config/h8300/lib1funcs.asm: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45259
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 29 Aug 2001 11:45:14 +0000 (11:45 +0000)]
* iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
Fix format specifier warnings.
* irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
inet_makeaddr, semctl): Prototype.
* mips.c (compute_frame_size): Fix signed/unsigned warnings.
(save_restore_insns): Use base_offset, not gp_offset.
* mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
(ASM_OUTPUT_BYTE): Fix format specifier warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45258
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 29 Aug 2001 09:32:43 +0000 (09:32 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45257
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 29 Aug 2001 09:31:44 +0000 (09:31 +0000)]
* bb-reorder.c (function_tail_eff_head): New.
(record_effective_endpoints): Set it.
(fixup_reorder_chain): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45255
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 29 Aug 2001 03:16:12 +0000 (03:16 +0000)]
* dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45254
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Wed, 29 Aug 2001 02:43:26 +0000 (02:43 +0000)]
2001-08-28 Dale Johannesen <dalej@apple.com>
* config/darwin.c (machopic_function_base_name): Add const
qualifier to a string.
(darwin_encode_section_info): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45253
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Wed, 29 Aug 2001 02:31:55 +0000 (02:31 +0000)]
Removing conflict indicators. Oops.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45252
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Wed, 29 Aug 2001 02:22:52 +0000 (02:22 +0000)]
2001-08-27 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (resolve_qualified_expression_name): Handle unresolved
qualified expressions, prevent numerical qualifiers, fixed typo.
Fixes PR java/4141
(http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01644.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45251
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Wed, 29 Aug 2001 01:35:32 +0000 (01:35 +0000)]
2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
* jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
Fixes PR java/3949.
(http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01641.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45250
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Wed, 29 Aug 2001 00:32:49 +0000 (00:32 +0000)]
* include/Makefile.am: Use toplevel_srcdir to refer to src files
outside this component.
* include/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45248
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 28 Aug 2001 23:44:42 +0000 (23:44 +0000)]
* tree.c (default_valid_attribute_p): Don't use PARAMS on a
function definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45247
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Tue, 28 Aug 2001 23:43:23 +0000 (23:43 +0000)]
2001-08-28 Daniel Berlin <dan@cgsoftware.com>
* df.h (struct df): Add rts_order variable.
* df.c (df_visit_next_rts): New function.
(df_visit_next): Renamed to df_visit_next_rc
(df_analyse_1): Allocate/compute/free rts_order as well.
(df_rd_global_compute): Use df_visit_next_rc instead of
df_visit_next.
(df_ru_global_compute): Use df_visit_next_rts instead of
df_visit_next.
* flow.c (flow_reverse_top_sort_order_compute): New function.
* basic-block.h: Add prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45246
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Tue, 28 Aug 2001 23:38:12 +0000 (23:38 +0000)]
2001-08-28 Daniel Berlin <dan@cgsoftware.com>
* ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
blocks, the BB_REACHABLE is now set, rather than aux being
non-NULL. Update the test to reflect this.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45245
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Tue, 28 Aug 2001 23:23:37 +0000 (23:23 +0000)]
2001-08-28 Eric Christopher <echristo@redhat.com>
* config/mips/crtn.asm: Add comment explaining 16 byte alignment.
config/mips/crti.asm: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45244
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Tue, 28 Aug 2001 23:03:52 +0000 (23:03 +0000)]
2001-08-28 Eric Christopher <echristo@redhat.com>
Richard Henderson <rth@redhat.com>
* c-pragma.h (add_weak): Move prototype from here...
* output.h (add_weak): ... to here.
* varasm.c (add_weak): Fix typo.
* config/mips/crti.asm: New file.
* config/mips/crtn.asm: Ditto.
* config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
(CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
(INVOKE__main): Ditto.
(INIT_SECTION_ASM_OP): New.
(FINI_SECTION_ASM_OP): Ditto.
(STARTFILE_SPEC): Add crti.
(ENDFILE_SPEC): Add crtn.
* config/mips/elf64.h: Same.
* config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
Remove.
* config/mips/vxworks.h: Ditto.
* config/mips/t-elf: Support crti and crtn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45243
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Tue, 28 Aug 2001 22:20:40 +0000 (22:20 +0000)]
* jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
INSN_LIST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45242
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Tue, 28 Aug 2001 22:18:57 +0000 (22:18 +0000)]
* jcf-write.c (generate_bytecode_insns): For increments and
decrements just recurse to push constant. Improvement on Mark's patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45241
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Tue, 28 Aug 2001 22:16:11 +0000 (22:16 +0000)]
* java/math/BigInteger.java (init(int,Random)): New method.
Move body of constructor <init>(int,Random)) here.
Re-write it to avoid constructing unneeded temporaries.
(<init>(int,int,Random)): Use new init method to avoid constructing
extra temporary BigIntegers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45240
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 Aug 2001 21:48:24 +0000 (21:48 +0000)]
* config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
(one_cmplbi2 splitter): Remove redundant test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45238
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 28 Aug 2001 21:11:02 +0000 (21:11 +0000)]
* update_web_docs: Also check out texinfo.tex from
gcc/doc/include.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45236
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Tue, 28 Aug 2001 19:51:50 +0000 (19:51 +0000)]
2001-08-28 Dale Johannesen <dalej@apple.com>
* config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45235
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Tue, 28 Aug 2001 18:53:19 +0000 (18:53 +0000)]
* config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45234
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Tue, 28 Aug 2001 18:37:38 +0000 (18:37 +0000)]
* config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
(UNALIGNED_SHORT_ASM_OP): Define.
(UNALIGNED_INT_ASM_OP): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45232
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 28 Aug 2001 17:55:10 +0000 (17:55 +0000)]
* jcf-write.c (generate_bytecode_insns): Generate an integer to
real conversion for increments and decrements of reals.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45230
138bc75d-0d04-0410-961f-
82ee72b054a4
wcohen [Tue, 28 Aug 2001 17:26:14 +0000 (17:26 +0000)]
2001-08-28 Will Cohen <wcohen@redhat.com>
* config/rs6000/rs6000.md (store_multiple): Correct RTL
generation for first set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45229
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 28 Aug 2001 07:17:02 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45227
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 28 Aug 2001 06:19:35 +0000 (06:19 +0000)]
2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_gnu.cc: Move facet info to separate files...
* config/locale/c_locale_generic.cc: Same.
* config/locale/moneypunct_members_gnu.cc: New file.
* config/locale/moneypunct_members_generic.cc: New file.
* config/locale/numpunct_members_gnu.cc: New file.
* config/locale/numpunct_members_generic.cc: New file.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
options.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (sources): And here.
* src/Makefile.in: Regenerate.
Rename for consistency with rest of testsuite.
* testsuite/22_locale/codecvt.cc: New file.
* testsuite/22_locale/money_put.cc: New file.
* testsuite/22_locale/money_put_members_char.cc: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45224
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Tue, 28 Aug 2001 04:55:48 +0000 (04:55 +0000)]
(forgot in last checkin)
Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45223
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 Aug 2001 01:32:10 +0000 (01:32 +0000)]
* flow.c (redirect_edge_succ_nodup): Return new edge.
(try_simplify_condjump): Use new edge.
* basic-block.h (redirect_edge_succ_nodup): Update prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45222
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 Aug 2001 01:29:48 +0000 (01:29 +0000)]
* cse.c (cse_basic_block): Skip note instructions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45221
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 Aug 2001 00:59:33 +0000 (00:59 +0000)]
* combine.c (combine_simplify_rtx): Don't reverse condition
if there is no reverse for the condition.
(simplify_comparison): Don't simplify subregs from INT to FP.
* gcc.c-torture/execute/ieee/fp-cmp-4.c (main): Make "data" static.
* gcc.c-torture/execute/ieee/fp-cmp-5.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45220
138bc75d-0d04-0410-961f-
82ee72b054a4