Richard Henderson
7e259f255f
libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
...
* libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
(throw_helper): Iterate over DWARF_FRAME_REGISTERS.
From-SVN: r31576
2000-01-23 14:33:30 -08:00
Richard Henderson
837748497c
i386.c (dbx_register_map, [...]): New.
...
* i386.c (dbx_register_map, svr4_dbx_register_map): New.
* i386.h (DBX_REGISTER_NUMBER): Use them.
* i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
* i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
* i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
* i386/sequent.h: Kill incorrect comment.
From-SVN: r31575
2000-01-23 13:43:06 -08:00
Mark Mitchell
d416576b49
(struct globals): Likewise.
...
From-SVN: r31574
2000-01-23 20:42:53 +00:00
Mark Mitchell
ba793d6e42
cp-tree.h (__eprintf): Remove declaration.
...
* cp-tree.h (__eprintf): Remove declaration.
* tree.c (__eprintf): Remove definition.
* cp-tree.h (CLASSTYPE_MARKED_N, SET_CLASSTYPE_MARKED_N,
CLEAR_CLASSTYPE_MARKED_N): Avoid signed vs. unsigned warnings.
From-SVN: r31573
2000-01-23 19:51:01 +00:00
Mark Mitchell
ae373eda2f
ggc-page.c (struct page_entry): Make context_depth' an
unsigned short'.
...
* ggc-page.c (struct page_entry): Make `context_depth' an
`unsigned short'.
From-SVN: r31572
2000-01-23 19:18:45 +00:00
Brad Lucier
92ac3c0f75
* class.c (dump_class_hierarchy): Print HOST_WIDE_INT properly.
...
From-SVN: r31571
2000-01-23 18:58:54 +00:00
Mark Mitchell
bf419747e9
cp-tree.h (register_dtor_fn): New function.
...
* cp-tree.h (register_dtor_fn): New function.
* decl.c (destroy_local_static): Rename to ...
(register_dtor_fn): ... this. Give it external linkage.
(expand_static_init): Use it.
* decl2.c (do_static_initialization): Likewise, if using
__cxa_atexit.
(do_static_destruction): Check that __cxa_atexit is not in use.
(finish_file): Don't call do_static_destruction if using
__cxa_atexit.
* typeck.c (convert_arguments): Restore two-message error
reporting.
From-SVN: r31570
2000-01-23 18:40:20 +00:00
Clinton Popetz
5c75f60e28
loop.c (check_dbra_loop): When checking a loop for reversability...
...
* loop.c (check_dbra_loop): When checking a loop for
reversability, check the source of any stores to ensure
they don't depend on an initial value.
From-SVN: r31569
2000-01-23 11:07:00 -05:00
Robert Lipe
62bfd50d95
Improve comment on SUPPORTS_WEAK.
...
From-SVN: r31568
2000-01-23 13:46:16 +00:00
Jeff Law
2177f0c966
Daily bump.
...
From-SVN: r31567
2000-01-23 01:45:06 -07:00
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