Anthony Green
7bee4c4c0d
config.h.in: Rebuilt.
...
* include/config.h.in: Rebuilt.
* acconfig.h: Add undef for __NO_MATH_INLINES.
* configure: Rebuilt.
* configure.in: Add test for `g++ -O2 -ffloat-store' bug.
From-SVN: r31566
2000-01-22 21:15:58 +00:00
Michael Hayes
7bea4e7a3a
c4x.h (ASM_OUTPUT_BSS): Redefine.
...
2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
From-SVN: r31565
2000-01-22 21:13:59 +00:00
Zack Weinberg
ae5c839b09
fixincl.c: Move declarations of 'pz_fname' and 'pz_scan' into scope of entire function.
...
* fixinc/fixincl.c: Move declarations of 'pz_fname' and
'pz_scan' into scope of entire function. Only affects
compiles with -DDEBUG.
From-SVN: r31564
2000-01-22 20:55:18 +00:00
Alan Modra
e8c3586ab8
Fix definition of UNIQUE_SECTION so that zero initialised data is placed
...
into .data.
From-SVN: r31563
2000-01-22 19:49:21 +00:00
Bernd Schmidt
37b80d2e02
catch a SUBREG containing a constant.
...
From-SVN: r31562
2000-01-22 19:42:34 +00:00
Jim Wilson
5787d8dadf
Test for directory before trying to cd into it
...
From-SVN: r31561
2000-01-22 19:05:31 +00:00
Jeff Law
821ee7fb35
Daily bump.
...
From-SVN: r31560
2000-01-22 01:45:07 -07:00
Zack Weinberg
4571dc2729
cpphash.c (change_newlines): Delete function.
...
* cpphash.c (change_newlines): Delete function.
(struct argdata): Delete 'newlines' and 'use_count' fields.
(macroexpand): Remove code referencing those fields.
From-SVN: r31559
2000-01-22 04:18:41 +00:00
Zack Weinberg
8694a43cce
Another test for preprocessor corner cases
...
From-SVN: r31558
2000-01-22 04:12:52 +00:00
Michael Hayes
4cda35d4c9
loop.c (loops_info): New variable.
...
* loop.c (loops_info): New variable.
(loop_optimize): Allocate loops->array and free it on exit.
Allocate memory for loops_info and assign to each loop,
replacing alloca.
(find_and_verify_loops): Do not allocate loops->array.
From-SVN: r31556
2000-01-22 02:23:14 +00:00
Zack Weinberg
e8736c0002
Test for reload bug with 'long long' function parameters.
...
Found with 2.95.2 on x86; already fixed in 2.96.
Reported by D.J. Bernstein.
From-SVN: r31555
2000-01-22 01:08:14 +00:00
Zack Weinberg
84c70deca5
* fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
...
From-SVN: r31554
2000-01-22 00:40:49 +00:00
Tom Tromey
8a9220959f
natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA.
...
* java/lang/reflect/natConstructor.cc (newInstance): Use
_Jv_CallAnyMethodA.
* include/jvm.h: Declare _Jv_CallAnyMethodA.
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Renamed
from _Jv_CallNonvirtualMethodA. Changed interface; overloaded.
Include <jni.h>.
(COPY): Removed.
(invoke): Use _Jv_CallAnyMethodA.
(VAL): Redefined.
* java/lang/Class.h (Class): Declare JvGetFirstStaticField,
JvNumStaticFields, JvNumMethods, and JvGetFirstMethod as friend
functions.
(struct _Jv_Method): Added getNextMethod method.
(JvNumMethods): New function.
(JvGetFirstMethod): Likewise.
* gcj/field.h (JvGetFirstStaticField): New function.
(JvNumStaticFields): Likewise.
(getNextField): Renamed from getNextInstanceField.
(struct _Jv_Field): New method getClass.
* jni.cc: Wrote many new functions.
* include/jni.h (JNI_TRUE): Define.
(JNI_FALSE): Likewise.
(jobject, jclass, jstring, jarray, jthrowable, jobjectArray,
jbyteArray, jshortArray, jintArray, jlongArray, jbooleanArray,
jcharArray, jfloatArray, jdoubleArray): New typedefs.
(jfieldID, jmethodID): Likewise.
(JNI_COMMIT, JNI_ABORT): New defines.
(JNINativeMethod): New struct.
(struct JNINativeInterface): Correctly declared more entries.
(class _Jv_JNIEnv): Added `ex' member.
(JNI_VERSION_1_1): New define.
(JNI_VERSION_1_2): Likewise.
* boehm.cc (_Jv_MarkObj): Use getNextField, not
getNextInstanceField.
From-SVN: r31553
2000-01-21 23:50:31 +00:00
Tom Tromey
24823dcf49
* libjava.compile/BlankFinal.java: New file.
...
From-SVN: r31552
2000-01-21 21:12:47 +00:00
Kaveh Ghazi
0a06884142
Fix typo in ChangeLog
...
From-SVN: r31551
2000-01-21 20:59:01 +00:00
Kaveh R. Ghazi
df32d2ce42
buffer.h: PROTO -> PARAMS.
...
* buffer.h: PROTO -> PARAMS.
* check-init.c: Likewise.
* class.c: Likewise.
* constants.c: Likewise.
* convert.h: Likewise.
* decl.c: Likewise.
* except.c: Likewise.
* expr.c: Likewise.
* gjavah.c: Likewise.
* java-except.h: Likewise.
* java-tree.h: Likewise.
* jcf-depend.c: Likewise.
* jcf-dump.c: Likewise.
* jcf-parse.c: Likewise.
* jcf-path.c: Likewise.
* jcf-reader.c: Likewise.
* jcf-write.c: Likewise.
* jcf.h: Likewise.
* jv-scan.c: Likewise.
* jvgenmain.c: Likewise.
* jvspec.c: Likewise.
* lang.c: Likewise.
* lex.c: Likewise.
* lex.h: Likewise.
* parse-scan.y: Likewise.
* parse.h: Likewise.
* parse.y: Likewise.
* typeck.c: Likewise.
* verify.c: Likewise.
* xref.c: Likewise.
* xref.h: Likewise.
* zextract.c: Likewise.
* zipfile.h: Likewise.
From-SVN: r31550
2000-01-21 20:57:00 +00:00
Jakub Jelinek
7652adb5c6
sparc.md (movsi_pic_label_ref): Avoid creating new pseudos if expanded after first flow.
...
* config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
pseudos if expanded after first flow.
(movdi_pic_label_ref): Likewise.
From-SVN: r31549
2000-01-21 21:49:33 +01:00
Joern Rennecke
57e9826105
Typo fix.
...
From-SVN: r31548
2000-01-21 10:36:05 +00:00
Jeff Law
fb0d0f72c6
Daily bump.
...
From-SVN: r31547
2000-01-21 01:45:07 -07:00
Richard Henderson
7c22ee2b18
* jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
...
From-SVN: r31546
2000-01-20 14:08:29 -08:00
Jeffrey A Law
7e7cf28ad2
* gcc.c-torture/execute/20000120-2.c: New test.
...
From-SVN: r31545
2000-01-20 12:45:39 -07:00
Jeffrey A Law
33f6849b91
* gcc.c-torture/execute/20000120-1.c: New test.
...
From-SVN: r31544
2000-01-20 12:35:29 -07:00
Zack Weinberg
81f5ec6d50
Fix typo in last commit
...
From-SVN: r31543
2000-01-20 18:28:37 +00:00
Zack Weinberg
52c207e293
Makefile.in (fixinc.sh): Depend on specs.
...
* Makefile.in (fixinc.sh): Depend on specs.
* fixinc/Makefile.in: Add rule to create machname.h.
(fixlib.o): Depend on machname.h.
* fixinc/fixtests.c (machine_name): New test.
* fixinc/fixfixes.c (machine_name): New fix.
* fixinc/fixlib.c (mn_get_regexps): New helper function for
the machine_name test and fix.
* fixinc/fixlib.h: Prototype it.
* fixinc/inclhack.def (machine_name): Use the C test and fix.
* fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
* gcc.c (do_spec_1) [case P]: Take care not to create
identifiers with three leading or trailing underscores.
* fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
(fixincl): Don't specify libraries twice on link line.
(gnu-regex.o): Remove special rule.
* fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
defined by config.h. Do not define _REGEX_RE_COMP.
(regcomp): Allocate and initialize a fastmap.
* fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
From-SVN: r31542
2000-01-20 18:25:12 +00:00
Brad Lucier
d3de1cf7f0
* Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
...
From-SVN: r31540
2000-01-20 09:34:26 -08:00
Tom Tromey
0b9309b6e4
resolve.cc (StringClass): Removed.
...
* resolve.cc (StringClass): Removed.
* defineclass.cc (StringClass): Removed.
From-SVN: r31539
2000-01-20 17:32:26 +00:00
Nathan Sidwell
f08dda39ed
Remap dynamic cast hint values to be consistent across ABIs.
...
* search.c (dynamic_cast_base_recurse): Remap generated value.
(get_dynamic_cast_base_type): Adjust documentation.
* tinfo.h (__user_type_info::dyncast): Likewise.
(__user_type_info::find_public_subobj): Remap BOFF meaning.
* tinfo.cc (__si_type_info::do_dyncast): Remap BOFF meaning.
(__class_type_info::do_dyncast): Likewise.
(__class_type_info::do_find_public_subobj): Likewise.
* tinfo2.cc (__dynamic_cast): Remap BOFF parameter.
From-SVN: r31538
2000-01-20 11:05:19 +00:00
Gabriel Dos Reis
f621dedc05
typeck.c (build_unary_op): Use cp_pedwarn, not pedwarn.
...
2000-01-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* typeck.c (build_unary_op): Use cp_pedwarn, not pedwarn.
* typeck2.c (incomplete_type_error): Restore previous cp_error and
cp_error_at call sequence.
From-SVN: r31537
2000-01-20 09:24:01 +00:00
Jeff Law
66af917072
Daily bump.
...
From-SVN: r31536
2000-01-20 01:45:06 -07:00
Brad Lucier
2984dacf54
class.c (dump_class_hierarchy): Make format agree with argument; cast pointer to unsigned long and print with %lx.
...
* class.c (dump_class_hierarchy): Make format agree with argument;
cast pointer to unsigned long and print with %lx.
From-SVN: r31535
2000-01-20 08:12:26 +00:00
Richard Henderson
65f6fa241e
flow.c (propagate_block): Replace FIRST, LAST and BNUM arguments with BB.
...
* flow.c (propagate_block): Replace FIRST, LAST and BNUM
arguments with BB. Update all callers. Tidy line wrapping.
From-SVN: r31534
2000-01-19 19:59:57 -08:00
Clinton Popetz
ba52f355e3
emit-rtl.c (try_split): Return last_insn if we split the last_insn.
...
* emit-rtl.c (try_split): Return last_insn if we split the
last_insn.
From-SVN: r31530
2000-01-19 19:41:52 -05:00
Jan Hubicka
0903fcab88
i386-protos.h (ix86_compute_frame_size): Remove prototype.
...
* i386-protos.h (ix86_compute_frame_size): Remove prototype.
(ix86_initial_elimination_offset): Declare.
* i386.c (ix86_nsaved_regs): Break out from ...
(ix86_can_use_return_insn_p): ... here.
(ix86_emit_save_regs): Break out from ...
(ix86_expand_prologue): ... here.
(ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
out from ...
(ix86_expand_epilogue): ... here.
(ix86_compute_frame_size): Make static, add prototype.
(ix86_initial_elimination_offset): Break out from ...
* i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
From-SVN: r31529
2000-01-20 00:05:32 +00:00
Kaveh Ghazi
e774613011
more copyright nits
...
From-SVN: r31527
2000-01-19 23:47:13 +00:00
Kaveh Ghazi
857dde3994
update copyrights in config dir.
...
From-SVN: r31526
2000-01-19 23:44:14 +00:00
Kaveh R. Ghazi
0bee0290f0
recog.h (OUT_FCN): Delete.
...
* recog.h (OUT_FCN): Delete.
* vax.md: Call `get_insn_template' instead of OUT_FCN.
From-SVN: r31524
2000-01-19 23:14:17 +00:00
Bryce McKinlay
dda482c1e4
Updated NEWS file.
...
From-SVN: r31522
2000-01-19 23:08:05 +00:00
Kaveh R. Ghazi
f84c201879
cppalloc.c: PROTO -> PARAMS.
...
* cppalloc.c: PROTO -> PARAMS.
* cpperror.c: Likewise.
* cppfiles.c: Likewise.
* cpplib.c: Likewise.
* cpplib.h: Likewise.
From-SVN: r31521
2000-01-19 22:52:43 +00:00
Kaveh R. Ghazi
299d06ad4a
arm-protos.h: PROTO -> PARAMS.
...
* config/arm/arm-protos.h: PROTO -> PARAMS.
* config/arm/arm.c: Likewise.
* config/c4x/c4x.c: Likewise.
* config/fr30/fr30-protos.h: Likewise.
* config/nextstep.c: Likewise.
* config/pa/pa.c: Likewise.
* config/pj/pj.c: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/v850/v850-protos.h: Likewise.
* config/v850/v850.c: Likewise.
From-SVN: r31520
2000-01-19 22:39:31 +00:00
Kaveh R. Ghazi
f50ec635fc
i370-protos.h: New file.
...
* i370-protos.h: New file.
* i370.c: Include tm_p.h. Fix compile time warnings.
* i370.h: Move prototypes to i370-protos.h. Fix compile time
warnings.
* i370.md: Likewise.
From-SVN: r31519
2000-01-19 22:25:21 +00:00
Kaveh R. Ghazi
b42b4d2c33
real.c (enan, [...]): Wrap in NANS.
...
* real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
(target_isinf, target_isnan, eisnan): Mark parameter with
ATTRIBUTE_UNUSED.
(eiisinf): Wrap in INFINITY.
(etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
(ibmtoe): Remove unused variable `rndsav'.
From-SVN: r31518
2000-01-19 22:21:22 +00:00
J"orn Rennecke
10db12e0c6
Back out prepare_scc_operands changes from this afternoon.
...
From-SVN: r31515
2000-01-19 21:57:38 +00:00
J"orn Rennecke
21d17d9c84
* sh.c (prepare_scc_operands): Add EQ case.
...
From-SVN: r31514
2000-01-19 21:49:21 +00:00
J"orn Rennecke
229f17cff5
sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
...
* sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
(GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
From-SVN: r31513
2000-01-19 21:47:13 +00:00
Zack Weinberg
5c0d5b94d1
Makefile.in: Correct dependencies of fixincl and fixincl.o.
...
* fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
* fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
(fix_char_macro_defines, fix_char_macro_uses): New functions.
* fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
Recognize Emacs mode markers also.
* fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
C++ comments in C++ headers. Call is_cxx_header only if
necessary.
* fixinc/inclhack.def (avoid_bool): Add select for the problem and
bypass for ncurses.
(bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
(io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
... these, which use the new C fixes.
(math_exception): Escape literal '+' in bypass expression.
* fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
Regenerate.
From-SVN: r31512
2000-01-19 21:41:04 +00:00
Alexandre Petit-Bianco
5170877a05
anon.java, [...]: New files.
...
2000-01-19 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava.lang/anon.java, libjava.lang/anon2.java,
libjava.lang/anon3.java, libjava.lang/anon4.java,
libjava.lang/direct_read.java, libjava.lang/direct_write.java,
libjava.lang/indirect.java, libjava.lang/indirect_read.java,
libjava.lang/indirect_write.java, libjava.lang/inner1.java,
libjava.lang/inner2.java, libjava.lang/inner3.java,
libjava.lang/inner4.java, libjava.lang/inner_array.java,
libjava.lang/multiple_finit.java,
libjava.lang/private_direct_read.java,
libjava.lang/private_direct_write.java,
libjava.lang/private_indirect_read.java,
libjava.lang/private_indirect_write.java,
libjava.lang/search_outer.java, libjava.lang/tmi.java,
libjava.lang/tp.java, libjava.lang/update_outer.java: New files.
From-SVN: r31511
2000-01-19 21:38:43 +00:00
Tom Tromey
74436afa42
* interpret.cc (PC_REGISTER_ASM): Removed.
...
From-SVN: r31510
2000-01-19 21:08:03 +00:00
Geoff Keating
0d3ffb5ae4
rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs inside the MEM.
...
* rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
inside the MEM.
From-SVN: r31509
2000-01-19 20:21:08 +00:00
Michael Hayes
7845896296
loop.c (loop_optimize): Allocate loop_info structure for each loop prior to calling scan_loop.
...
* loop.c (loop_optimize): Allocate loop_info structure for each loop
prior to calling scan_loop.
From-SVN: r31508
2000-01-19 20:10:00 +00:00
J"orn Rennecke
eda44c7832
sh.c (prepare_scc_operands): Abort if no compare insn is available.
...
* sh.c (prepare_scc_operands): Abort if no compare insn is available.
(find_barrier, gen_block_redirect, split_branches): Fix indentation.
(calc_live_regs): Likewise.
From-SVN: r31507
2000-01-19 20:00:09 +00:00