]> gcc.gnu.org Git - gcc.git/log
gcc.git
24 years agocse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL note for REG1.
Richard Kenner [Fri, 21 Apr 2000 18:46:01 +0000 (18:46 +0000)]
cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL note for REG1.

* cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
note for REG1.

From-SVN: r33310

24 years agocpphash.c (struct arg, [...]): Const-ify strings.
Zack Weinberg [Fri, 21 Apr 2000 17:18:50 +0000 (17:18 +0000)]
cpphash.c (struct arg, [...]): Const-ify strings.

* cpphash.c (struct arg, struct arglist): Const-ify strings.
(warn_trad_stringify, duplicate_arg_p): New helper functions.
(collect_expansion): Rewrite to scan over a token list.
Remove -traditional support.
(collect_formal_parameters): Rename to collect_params; rewrite
to scan over a token list.
(_cpp_create_definition): Adjust to scan a token list.
(_cpp_macroexpand): Remove -traditional support.
(_cpp_compare_defs): Whitespace is now canonicalized.
(comp_def_part): Delete function.

* cpphash.h: Update prototypes.
* cpplex.c (init_token_list): Don't set lineno if there is no
buffer.
(pedantic_whitespace): New function.
(_cpp_scan_line): Mark tokens that had hspace before.  Don't
consume a newline.  Use pedantic_whitespace.
(_cpp_lex_token): Remove support for -traditional macros.
(_cpp_get_define_token): Delete.
(_cpp_get_directive_token): Do the real work here.  Use
pedantic_whitespace.
(_cpp_init_input_buffer): Initialize pfile->directbuf.

* cpplib.c (get_macro_name): Delete.
(do_define): Read the entire line into pfile->directbuf, then
feed the token list to _cpp_create_definition.
* cpplib.h (HSPACE_BEFORE): new define.
(struct cpp_reader): Add a toklist member, "directbuf".

From-SVN: r33309

24 years agopredict.c (estimate_probability): New heuristic...
Zack Weinberg [Fri, 21 Apr 2000 16:19:20 +0000 (16:19 +0000)]
predict.c (estimate_probability): New heuristic...

* predict.c (estimate_probability): New heuristic: if a jump
branches around a block with no successors, predict it taken.
Disentangle control flow.

From-SVN: r33308

24 years agore GNATS libgcj/213 (Another parallel build error)
Tom Tromey [Fri, 21 Apr 2000 14:23:44 +0000 (14:23 +0000)]
re GNATS libgcj/213 (Another parallel build error)

Fix for PR libgcj/213:
* Makefile.in: Rebuilt.
* Makefile.am (gij_SOURCES): Added gij.cc.
(EXTRA_gij_SOURCES): Removed.
(gij_LDADD): Removed gij.lo.
(gij_DEPENDENCIES): Likewise.
($(gij_OBJECTS)): Depend on nat_headers.

From-SVN: r33307

24 years agoHandler.java (openConnection): Use `setURL', not `url.set'.
Tom Tromey [Fri, 21 Apr 2000 14:18:49 +0000 (14:18 +0000)]
Handler.java (openConnection): Use `setURL', not `url.set'.

* gnu/gcj/protocol/file/Handler.java (openConnection): Use
`setURL', not `url.set'.

From-SVN: r33306

24 years agotypo
Alexandre Oliva [Fri, 21 Apr 2000 13:10:46 +0000 (13:10 +0000)]
typo

From-SVN: r33305

24 years agoDaily bump.
Jeff Law [Fri, 21 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33304

24 years ago* loop.c (emit_iv_add_mult): Revert last change.
Richard Henderson [Fri, 21 Apr 2000 02:56:58 +0000 (19:56 -0700)]
* loop.c (emit_iv_add_mult): Revert last change.

From-SVN: r33302

24 years agojcf-dump.c (SPECIAL_IINC): Fixed typo printing iinc instruction.
Jason Schroeder [Fri, 21 Apr 2000 01:24:17 +0000 (01:24 +0000)]
jcf-dump.c (SPECIAL_IINC): Fixed typo printing iinc instruction.

Thu Apr 20 18:20:58 2000  Jason Schroeder  <shrode@subnature.com>

* jcf-dump.c (SPECIAL_IINC): Fixed typo printing iinc instruction.

From-SVN: r33301

24 years agoFix for PR java.io/204:
Tom Tromey [Fri, 21 Apr 2000 01:18:16 +0000 (01:18 +0000)]
Fix for PR java.io/204:

* java/io/PipedInputStream.java, java/io/PipedReader.java,
java/io/PipedOutputStream.java, java/io/PipedWriter.java: Imported
from Classpath.

From-SVN: r33300

24 years ago20000420-2.c: New test for stack misalignment when optimizing...
Greg McGary [Fri, 21 Apr 2000 01:02:57 +0000 (01:02 +0000)]
20000420-2.c: New test for stack misalignment when optimizing...

* compile/20000420-2.c: New test for stack misalignment
when optimizing, but without sibling-call optimizations (-O1).

From-SVN: r33299

24 years agoblock.java: New file.
Alexandre Petit-Bianco [Fri, 21 Apr 2000 00:53:14 +0000 (00:53 +0000)]
block.java: New file.

* libjava.compile/block.java: New file.
* libjava.compile/block.out: New file.

From-SVN: r33298

24 years agore GNATS libgcj/212 (build is broken on Linux/Alpha)
Tom Tromey [Thu, 20 Apr 2000 22:24:33 +0000 (22:24 +0000)]
re GNATS libgcj/212 (build is broken on Linux/Alpha)

Fix for PR libgcj/212:
* gcj/javaprims.h (_Jv_word, _Jv_word2): Removed definitions.
* include/jvm.h (_Jv_word, _Jv_word2): Define.
* java/lang/Class.h (_Jv_word): Declare.

From-SVN: r33292

24 years agothrowit.out: Fixed output to be correct.
Tom Tromey [Thu, 20 Apr 2000 19:49:14 +0000 (19:49 +0000)]
throwit.out: Fixed output to be correct.

* libjava.jni/throwit.out: Fixed output to be correct.

* libjava.jni/noclass.java (main): `find_it' throws an exception.

From-SVN: r33291

24 years agocpplib.h (enum cpp_ttype): Add token types for all punctuators.
Zack Weinberg [Thu, 20 Apr 2000 19:33:11 +0000 (19:33 +0000)]
cpplib.h (enum cpp_ttype): Add token types for all punctuators.

* cpplib.h (enum cpp_ttype): Add token types for all
punctuators.  Distinguish pp-numbers from valid C numbers.
Give some tokens better names.  Initialize from macro.
(struct cpp_name, cpp_token, cpp_toklist): New data
structures.
Update prototypes.
* cpplex.c (bump_column, expand_name_space,
expand_token_space, init_token_list, cpp_output_list,
_cpp_scan_line):  New functions.
(output_line_command): Add third argument, new line number.
* cpphash.h: Update prototypes.
* cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
token names.

From-SVN: r33289

24 years ago* config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
Richard Henderson [Thu, 20 Apr 2000 19:10:40 +0000 (12:10 -0700)]
* config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.

From-SVN: r33288

24 years ago* gcc.dg/20000420-1.c: New test.
Jeffrey A Law [Thu, 20 Apr 2000 17:57:19 +0000 (17:57 +0000)]
* gcc.dg/20000420-1.c: New test.

From-SVN: r33286

24 years ago* jni.cc (_Jv_JNI_PopSystemFrame): Clear `env->ex'.
Tom Tromey [Thu, 20 Apr 2000 17:39:30 +0000 (17:39 +0000)]
* jni.cc (_Jv_JNI_PopSystemFrame): Clear `env->ex'.

From-SVN: r33285

24 years agoc-common.c (decl_attributes): Set TREE_USED on the object pointed to.
Zack Weinberg [Thu, 20 Apr 2000 16:09:27 +0000 (16:09 +0000)]
c-common.c (decl_attributes): Set TREE_USED on the object pointed to.

* c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
object pointed to.

From-SVN: r33284

24 years agoloop.c (emit_iv_add_mult): Simplify it's input and emit REG_EQUAL note explaining...
Jan Hubicka [Thu, 20 Apr 2000 14:40:09 +0000 (14:40 +0000)]
loop.c (emit_iv_add_mult): Simplify it's input and emit REG_EQUAL note explaining the calculated value.

* loop.c (emit_iv_add_mult):  Simplify it's input and emit
REG_EQUAL note explaining the calculated value.

From-SVN: r33283

24 years agoptrflags.C: New test.
Nathan Sidwell [Thu, 20 Apr 2000 14:27:59 +0000 (14:27 +0000)]
ptrflags.C: New test.

* g++.abi/ptrflags.C: New test.
* g++.eh/catchptr1.C: Test incomplete pointer chains.

From-SVN: r33282

24 years agortti.c (init_rtti_processing): Set tinfo_var_id in new-abi.
Nathan Sidwell [Thu, 20 Apr 2000 14:25:33 +0000 (14:25 +0000)]
rtti.c (init_rtti_processing): Set tinfo_var_id in new-abi.

* rtti.c (init_rtti_processing): Set tinfo_var_id in new-abi.
(target_incomplete_p): New function.
(tinfo_base_init): Create comdat NTBS name variable.
(ptr_initializer): Add non_public parameter. Calculate it.
(ptmd_initializer): Likewise.
(synthesize_tinfo_var): Adjust. Emit incomplete class tinfo.
(create_real_tinfo_var): Add non_public parameter. Use it.
Push proxy into global namespace.
* inc/cxxabi.h (__pointer_type_info::incomplete_class_mask):
New enumeration.
* inc/typeinfo (type_info::before, type_info::operator==):
Compare __name addresses.

* tinfo2.cc: Remove new-abi builtins comment.

From-SVN: r33281

24 years agocalls.c (expand_call): Avoid unnecesary precalculation and outgoing parameters space...
Jan Hubicka [Thu, 20 Apr 2000 12:20:38 +0000 (12:20 +0000)]
calls.c (expand_call): Avoid unnecesary precalculation and outgoing parameters space guarding for...

* calls.c (expand_call): Avoid unnecesary precalculation
and outgoing parameters space guarding for sibling calls.
(store_one_arg): Likewise.

From-SVN: r33280

24 years agotoplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
Richard Kenner [Thu, 20 Apr 2000 12:06:58 +0000 (12:06 +0000)]
toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.

* toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
(rest_of_compilation): Write sibling dump file and account
for time as jump time.
* invoke.texi: Update documentation on dump flags.

From-SVN: r33279

24 years agoFix copuyright notice
Richard Kenner [Thu, 20 Apr 2000 10:55:19 +0000 (06:55 -0400)]
Fix copuyright notice

From-SVN: r33278

24 years agoFix whitespace in one place
Richard Kenner [Thu, 20 Apr 2000 10:54:51 +0000 (06:54 -0400)]
Fix whitespace in one place

From-SVN: r33277

24 years agoDaily bump.
Jeff Law [Thu, 20 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33276

24 years agoupdate
Jason Merrill [Thu, 20 Apr 2000 06:54:02 +0000 (02:54 -0400)]
update

From-SVN: r33275

24 years agofix last change
Jason Merrill [Thu, 20 Apr 2000 06:50:57 +0000 (02:50 -0400)]
fix last change

From-SVN: r33274

24 years agotypeck.c (build_x_function_call): Resolve an OFFSET_REF.
Jason Merrill [Thu, 20 Apr 2000 05:53:58 +0000 (05:53 +0000)]
typeck.c (build_x_function_call): Resolve an OFFSET_REF.

        * typeck.c (build_x_function_call): Resolve an OFFSET_REF.

        * call.c (joust): Exit early if we get the same function, too.

        * decl2.c (key_method): Return NULL_TREE for template classes.
        (import_export_class): Don't need to check for template classes.

From-SVN: r33273

24 years agojni.cc (_Jv_JNI_FindClass): Use system class loader if class doesn't have a loader.
Tom Tromey [Thu, 20 Apr 2000 05:49:48 +0000 (05:49 +0000)]
jni.cc (_Jv_JNI_FindClass): Use system class loader if class doesn't have a loader.

* jni.cc (_Jv_JNI_FindClass): Use system class loader if class
doesn't have a loader.

From-SVN: r33272

24 years agoparse.y (yyerror): `msg' can be null, don't use it in that case.
Alexandre Petit-Bianco [Thu, 20 Apr 2000 02:52:26 +0000 (02:52 +0000)]
parse.y (yyerror): `msg' can be null, don't use it in that case.

2000-04-19  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (yyerror): `msg' can be null, don't use it in that case.

From-SVN: r33270

24 years agotypo
Jason Merrill [Thu, 20 Apr 2000 01:19:58 +0000 (21:19 -0400)]
typo

From-SVN: r33269

24 years ago* avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
Marek Michalkiewicz [Wed, 19 Apr 2000 23:23:42 +0000 (01:23 +0200)]
* avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.

From-SVN: r33268

24 years agocpphash.c (special_symbol): Represent an empty macro with "\r \r " not just "\r ".
Zack Weinberg [Wed, 19 Apr 2000 20:53:06 +0000 (20:53 +0000)]
cpphash.c (special_symbol): Represent an empty macro with "\r \r " not just "\r ".

* cpphash.c (special_symbol): Represent an empty macro with
"\r \r " not just "\r ".
(_cpp_macroexpand): Correct condition for the foo ( ) special
case.
(unsafe_chars): Handle EOF as second argument.
(push_macro_expansion): Simplify test for removing escape at
end.  Do not trim both escapes if there is no text in between.

* gcc.dg/20000419-1.c: New test.

From-SVN: r33267

24 years agoDoc fix.
Jim Blandy [Wed, 19 Apr 2000 19:26:17 +0000 (19:26 +0000)]
Doc fix.

From-SVN: r33266

24 years ago*** empty log message ***
Jim Blandy [Wed, 19 Apr 2000 19:24:27 +0000 (19:24 +0000)]
*** empty log message ***

From-SVN: r33265

24 years agodwarf2out.c (DWARF2_ADDR_SIZE): New macro.
Jim Blandy [Wed, 19 Apr 2000 19:22:34 +0000 (19:22 +0000)]
dwarf2out.c (DWARF2_ADDR_SIZE): New macro.

* dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
of PTR_SIZE, when appropriate.

From-SVN: r33264

24 years agosystem.h (ONLY_INT_FIELDS): Make sure it is defined.
Mark Mitchell [Wed, 19 Apr 2000 16:43:44 +0000 (16:43 +0000)]
system.h (ONLY_INT_FIELDS): Make sure it is defined.

* system.h (ONLY_INT_FIELDS): Make sure it is defined.
(USE_ENUM_BITFIELDS): Fix typo.

From-SVN: r33263

24 years ago* stor-layout.c (place_field): Set rli->offset_align properly.
Richard Kenner [Wed, 19 Apr 2000 16:07:51 +0000 (16:07 +0000)]
* stor-layout.c (place_field): Set rli->offset_align properly.

From-SVN: r33262

24 years ago* gjavah.c (cxx_keyword_subst): Avoid potential infinite loop.
Tom Tromey [Wed, 19 Apr 2000 16:05:03 +0000 (16:05 +0000)]
* gjavah.c (cxx_keyword_subst): Avoid potential infinite loop.

From-SVN: r33261

24 years agoconflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
Richard Kenner [Wed, 19 Apr 2000 16:04:14 +0000 (12:04 -0400)]
conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.

* gcc/conflict.c (conflict_graph_add): Pass enum type to
htab_find_slot.
* gcc/cpperror.c (hashtab.h): Now include.
* gcc/cppexp.c (hashtab.h): Likewise.
* gcc/cpplex.c (hashtab.h): Likewise.
* gcc/cppfiles.c (hashtab.h): Likewise.
(find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
to htab_find_slot_with_hash.
* gcc/cpphash.c (hashtab.h): Now include.
(_cpp_lookup_slot): INSERT is now enum insert_option.
* gcc/cpphash.h (_cpp_lookup_slot): Likewise.
* gcc/cppinit.c (hashtab.h): Include earlier.
(initialize_builtins): Pass enum to htab_find_slot.
* gcc/cpplib.c (hashtab.h): Now include.
(do_define, do_undef): Pass enum type to _cpp_lookup_slot.
(do_pragma_poison, do_assert): Likewise.
* gcc/emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
htab_find_slot_with_hash.
* gcc/simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
* gcc/tree.c (type_hash_add): Likewise.
(build1): Minor cleanup.
* include/hashtab.h (enum insert_option): New type.
(htab_find_slot, htab_find_slot_with_hash): Use it.
* libiberty/hashtab.c: Various minor cleanups.
(htab_find_slot_with_hash): INSERT is now enum insert_option.
(htab_find_slot): Likewise.

From-SVN: r33260

24 years agomips.h (BITS_PER_WORD, [...]): Remove unnecessary casts.
Kaveh R. Ghazi [Wed, 19 Apr 2000 15:39:16 +0000 (15:39 +0000)]
mips.h (BITS_PER_WORD, [...]): Remove unnecessary casts.

* mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
PARM_BOUNDARY): Remove unnecessary casts.

From-SVN: r33259

24 years agocalls.c (precompute_arguments): Remove must_preallocate and args_size calls.
Jan Hubicka [Wed, 19 Apr 2000 14:41:03 +0000 (14:41 +0000)]
calls.c (precompute_arguments): Remove must_preallocate and args_size calls.

* calls.c (precompute_arguments): Remove must_preallocate and
args_size calls.
(expand_call): Update call of precompute_arguments.

From-SVN: r33258

24 years agocheck for NO_TRAMPOLINES.
Catherine Moore [Wed, 19 Apr 2000 14:23:08 +0000 (14:23 +0000)]
check for NO_TRAMPOLINES.

From-SVN: r33257

24 years agoEven more lossage, sorry.
Jan Hubicka [Wed, 19 Apr 2000 12:51:42 +0000 (12:51 +0000)]
Even more lossage, sorry.

From-SVN: r33256

24 years agoMakefile.am, [...]: irix_threads.c is now hpux_irix_threads.c.
Bryce McKinlay [Wed, 19 Apr 2000 12:47:53 +0000 (12:47 +0000)]
Makefile.am, [...]: irix_threads.c is now hpux_irix_threads.c.

        * Makefile.am, Makefile.in: irix_threads.c is now
        hpux_irix_threads.c.
        * Makefile.orig: Updated from gc distribution Makefile.

From-SVN: r33255

24 years agoFix lossage caused by applying old version of my previous patch.
Jan Hubicka [Wed, 19 Apr 2000 12:45:50 +0000 (12:45 +0000)]
Fix lossage caused by applying old version of my previous patch.

From-SVN: r33254

24 years ago* stkalign.C: New test.
Alexandre Oliva [Wed, 19 Apr 2000 11:17:39 +0000 (11:17 +0000)]
* stkalign.C: New test.

From-SVN: r33253

24 years agoboehm.cc: (_Jv_MarkObj...
Bryce McKinlay [Wed, 19 Apr 2000 10:10:39 +0000 (10:10 +0000)]
boehm.cc: (_Jv_MarkObj...

2000-04-19  Bryce McKinlay  <bryce@albatross.co.nz>

* boehm.cc: (_Jv_MarkObj, _Jv_MarkArray): Cast pointers for
MAYBE_MARK to ptr_t, for compatibility with new GC version.

From-SVN: r33252

24 years agoImported version version 5.0alpha6.
Bryce McKinlay [Wed, 19 Apr 2000 10:10:01 +0000 (11:10 +0100)]
Imported version version 5.0alpha6.

* acinclude.m4: Bump version to 5.0a6.
* configure.in: Don't use alpha_mach_dep.s.
* include/private/config.h, irix_threads.c gc_watcom.asm: Delete
obsolete files.

From-SVN: r33251

24 years agoloop.c (check_insn_for_bivs, [...]): Break out from ...
Jan Hubicka [Wed, 19 Apr 2000 10:08:22 +0000 (10:08 +0000)]
loop.c (check_insn_for_bivs, [...]): Break out from ...

* loop.c (check_insn_for_bivs, for_every_insn_in_loop,
check_insn_for_givs): Break out from ...
(strength_reduce) ... here; use for_every_insn_in_loop to call
check_insn_for_givs.
* loop.h (for_every_insn_in_loop): Declare.
(loop_insn_callback): New type.

From-SVN: r33250

24 years ago20000419-1.c: New test for arg clobbering with sibling-call optimizations.
Greg McGary [Wed, 19 Apr 2000 08:32:43 +0000 (08:32 +0000)]
20000419-1.c: New test for arg clobbering with sibling-call optimizations.

* execute/20000419-1.c: New test for arg clobbering with
sibling-call optimizations.

From-SVN: r33249

24 years agoDaily bump.
Jeff Law [Wed, 19 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33248

24 years agocpplib.c (do_pragma_poison): Strings in the token buffer are not nul-terminated.
Zack Weinberg [Wed, 19 Apr 2000 05:37:03 +0000 (05:37 +0000)]
cpplib.c (do_pragma_poison): Strings in the token buffer are not nul-terminated.

* cpplib.c (do_pragma_poison):  Strings in the token buffer are
not nul-terminated.

From-SVN: r33247

24 years agoThis commit was generated by cvs2svn to compensate for changes in r33244,
Bryce McKinlay [Wed, 19 Apr 2000 02:29:16 +0000 (03:29 +0100)]
This commit was generated by cvs2svn to compensate for changes in r33244,

which included commits to RCS files with non-trunk default branches.

From-SVN: r33245

24 years agoInitial revision
Bryce McKinlay [Wed, 19 Apr 2000 02:29:14 +0000 (03:29 +0100)]
Initial revision

From-SVN: r33241

24 years ago[multiple changes]
Alexandre Petit-Bianco [Wed, 19 Apr 2000 01:53:47 +0000 (01:53 +0000)]
[multiple changes]

2000-04-18  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (maybe_make_nested_class_name): Use `obstack_grow0'.

2000-04-14  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (java_expand_classes): Reverse the package list once.
(java_complete_lhs): PLUS_EXPR: don't try rhs and lhs at string
reduction.
(patch_binop): New temp `cn'. Call patch_string on LHS/RHS of
the `==' and `!=' operators.

From-SVN: r33240

24 years agoFix problem with relocs in read-only sections for C++ code.
Jim Wilson [Tue, 18 Apr 2000 23:05:34 +0000 (23:05 +0000)]
Fix problem with relocs in read-only sections for C++ code.

* config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
flag_pic and RELOC.

From-SVN: r33239

24 years agocccp.c, [...]: Removed.
Zack Weinberg [Tue, 18 Apr 2000 22:34:13 +0000 (22:34 +0000)]
cccp.c, [...]: Removed.

* cccp.c, cexp.y, cexp.c, cccp.1: Removed.

* configure.in: Delete --disable-cpplib option and all
references to cpp_main.
* configure: Regenerate.
* Makefile.in: Remove all references to CCCP, CCCP_OBJS,
@cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
cccp.o, cccp, or cppmain.  Link cppmain.o straight to
cpp$(exeext).  Add --no-headers to makeinfo command line when
generating INSTALL.  Install and uninstall cpp.1 manpage, not
cccp.1.
* install.texi: Delete all references to cexp.y/cexp.c.
Delete ancient instructions for compiling GCC on 3b1.
* INSTALL: Regenerate.

* cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c,
ch/decl.c, ch/lex.c, cp/lex.c, f/lex.c, mips/t-ecoff,
mips/t-elf, mips/t-r3900: Remove references to cccp.c.
* convex.h, fx80.h, m68k.h, pdp11.h, contrib/gcc_update,
f/g77install.texi: Remove references to cexp.c/cexp.y.
* xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
which is no longer tested anywhere.

* po/POTFILES.in: Remove cccp.c and cexp.c.  Comment out
alpha/vms-tramp.asm.

From-SVN: r33238

24 years agocppinit.c (handle_option): Don't run error message through gettext twice.
Zack Weinberg [Tue, 18 Apr 2000 21:49:16 +0000 (21:49 +0000)]
cppinit.c (handle_option): Don't run error message through gettext twice.

* cppinit.c (handle_option): Don't run error message through
gettext twice.

From-SVN: r33237

24 years agoconflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
Richard Kenner [Tue, 18 Apr 2000 20:42:00 +0000 (20:42 +0000)]
conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.

* gcc/conflict.c (conflict_graph_add): Pass enum type to
htab_find_slot.
* gcc/cpperror.c (hashtab.h): Now include.
* gcc/cppexp.c (hashtab.h): Likewise.
* gcc/cpplex.c (hashtab.h): Likewise.
* gcc/cppfiles.c (hashtab.h): Likewise.
(find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
to htab_find_slot_with_hash.
* gcc/cpphash.c (hashtab.h): Now include.
(_cpp_lookup_slot): INSERT is now enum insert_option.
* gcc/cpphash.h (_cpp_lookup_slot): Likewise.
* gcc/cppinit.c (hashtab.h): Include earlier.
(initialize_builtins): Pass enum to htab_find_slot.
* gcc/cpplib.c (hashtab.h): Now include.
(do_define, do_undef): Pass enum type to _cpp_lookup_slot.
(do_pragma_poison, do_assert): Likewise.
* gcc/emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
htab_find_slot_with_hash.
* gcc/simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
* gcc/tree.c (type_hash_add): Likewise.
(build1): Minor cleanup.
* include/hashtab.h (enum insert_option): New type.
(htab_find_slot, htab_find_slot_with_hash): Use it.
* libiberty/hashtab.c: Various minor cleanups.
(htab_find_slot_with_hash): INSERT is now enum insert_option.
(htab_find_slot): Likewise.

From-SVN: r33236

24 years agocp-tree.h (lang_decl_flags): Remove const_memfunc and volatile_memfunc.
Mark Mitchell [Tue, 18 Apr 2000 20:21:39 +0000 (20:21 +0000)]
cp-tree.h (lang_decl_flags): Remove const_memfunc and volatile_memfunc.

* cp-tree.h (lang_decl_flags): Remove const_memfunc and
volatile_memfunc.  Add destructor_attr.  Adjust dummy.
(DECL_DESTRUCTOR_P): Use destructor_attr.
(DECL_CONST_MEMFUNC_P): Reimplement.
(DECL_VOLATILE_MEMFUNC_P): Remove.
* class.c (finish_struct_methods): Use CLASSTYPE_DESTRUCTORS.
(overrides): Use DECL_DESTRUCTOR_P.
(check_for_override): Likewise.
* decl.c (start_function): Likewise.
* decl2.c (grokfclassfn): Likewise.
(check_classfn): Likewise.
(grok_function_init): Likewise.

From-SVN: r33235

24 years ago* gengenrtl.c (genlegend): Fix misspelling.
Stan Cox [Tue, 18 Apr 2000 20:04:26 +0000 (20:04 +0000)]
* gengenrtl.c (genlegend): Fix misspelling.

From-SVN: r33234

24 years agoconfigure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.
Robert Lipe [Tue, 18 Apr 2000 19:42:30 +0000 (19:42 +0000)]
configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.

        * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
        bitfields of the host compiler are not signed quantities.
        * config.in: Regenerate.
        * configure: Regenerate.
        * system.h (USE_ENUM_BITFIELDS): Added.
        (ENUM_BITFIELDS): Added.
        * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
        (SHORT_ENUM_BUG): Deleted.
        * tree.h (tree_common): Members `code', `mode', `built_in_class',
        now ENUM_BITFIELD.
        * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
        (CODE_FIELD_BUG): Likewise.
        * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
        (OLD_CC): Likewise.
        * config/m68k/x-ccur (X_CFLAGS): Likewise.

From-SVN: r33233

24 years agoggc-common.c: Add missing blanks.
Richard Kenner [Tue, 18 Apr 2000 19:35:09 +0000 (19:35 +0000)]
ggc-common.c: Add missing blanks.

* ggc-common.c: Add missing blanks.
* print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
* tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.

From-SVN: r33232

24 years agostmt.c (mark_case_node): New function.
Richard Kenner [Tue, 18 Apr 2000 19:23:53 +0000 (19:23 +0000)]
stmt.c (mark_case_node): New function.

* stmt.c (mark_case_node): New function.
(mark_case_nesting): Call it.

From-SVN: r33231

24 years agoexpmed.c (emit_store_flag): If comparing two-word integer with zero, can optimize...
Richard Kenner [Tue, 18 Apr 2000 19:14:58 +0000 (15:14 -0400)]
expmed.c (emit_store_flag): If comparing two-word integer with zero, can optimize NE, EQ, GE, and LT.

* expmed.c (emit_store_flag): If comparing two-word integer
with zero, can optimize NE, EQ, GE, and LT.

From-SVN: r33230

24 years agoFix typo.
Richard Henderson [Tue, 18 Apr 2000 18:59:10 +0000 (11:59 -0700)]
Fix typo.

From-SVN: r33229

24 years agocpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the mark is active.
Mark Mitchell [Tue, 18 Apr 2000 18:52:16 +0000 (18:52 +0000)]
cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the mark is active.

* cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
mark is active.

From-SVN: r33228

24 years agoAdd expected error
Mark Mitchell [Tue, 18 Apr 2000 18:46:18 +0000 (18:46 +0000)]
Add expected error

From-SVN: r33227

24 years agoc-decl.c (mark_binding_level): Use 'for' instead of `while'.
Richard Kenner [Tue, 18 Apr 2000 18:14:10 +0000 (18:14 +0000)]
c-decl.c (mark_binding_level): Use 'for' instead of `while'.

* c-decl.c (mark_binding_level): Use 'for' instead of `while'.
* conflict.c: Minor cleanups.
* optabs.c: Add blank line
* simplify-rtx.c:

From-SVN: r33226

24 years agore GNATS gcj/211 (gcjh doesn't handle method names that are reserved C++ keywords)
Tom Tromey [Tue, 18 Apr 2000 16:13:16 +0000 (16:13 +0000)]
re GNATS gcj/211 (gcjh doesn't handle method names that are reserved C++ keywords)

PR gcj/211:
* gjavah.c (utf8_cmp): Changed return value.
(cxx_keyword_subst): Handle all C++ keywords.  Allocate new return
result.
(cxx_keywords): New global.
(get_field_name): Handle new result of cxx_keyword_subst.
(print_method_info): Likewise.

From-SVN: r33225

24 years agoDaily bump.
Jeff Law [Tue, 18 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33224

24 years agocppexp.c (lex): Don't assume tokens are NUL terminated.
Zack Weinberg [Tue, 18 Apr 2000 06:43:41 +0000 (06:43 +0000)]
cppexp.c (lex): Don't assume tokens are NUL terminated.

* cppexp.c (lex): Don't assume tokens are NUL terminated.
* cpplib.c (do_include, do_import, do_include_next,
read_line_number, detect_if_not_defined): Likewise.
* cpphash.c (collect_expansion): Likewise.
(special_symbol, _cpp_macroexpand): Check return from
cpp_file_buffer.
* cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
macros.  Delete all uses.

* gcc.dg/cpp-mi.c: Add two more test cases.
* gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.

From-SVN: r33223

24 years agobb-reorder.c (fixup_reorder_chain): Don't look up new block again.
Richard Henderson [Tue, 18 Apr 2000 01:32:43 +0000 (18:32 -0700)]
bb-reorder.c (fixup_reorder_chain): Don't look up new block again.

        * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
        (reorder_basic_blocks): If no epilogue in rtl, force last block last.

From-SVN: r33221

24 years agodecl2.c (grokfield): Issue error on illegal data member declaration.
Mark Mitchell [Tue, 18 Apr 2000 01:30:21 +0000 (01:30 +0000)]
decl2.c (grokfield): Issue error on illegal data member declaration.

* decl2.c (grokfield): Issue error on illegal data member
declaration.

From-SVN: r33220

24 years agofunction.c (expand_function_start): Use hard_function_value to compute the RTL to...
Mark Mitchell [Tue, 18 Apr 2000 00:23:33 +0000 (00:23 +0000)]
function.c (expand_function_start): Use hard_function_value to compute the RTL to use for DECL_RESULT.

* function.c (expand_function_start): Use hard_function_value to
compute the RTL to use for DECL_RESULT.

From-SVN: r33219

24 years agoRegen after last change
Zack Weinberg [Mon, 17 Apr 2000 23:59:58 +0000 (23:59 +0000)]
Regen after last change

From-SVN: r33218

24 years ago* method.c (make_thunk): Set DECL_CONTEXT for a THUNK_DECL.
Mark Mitchell [Mon, 17 Apr 2000 23:12:07 +0000 (23:12 +0000)]
* method.c (make_thunk): Set DECL_CONTEXT for a THUNK_DECL.

From-SVN: r33216

24 years agoi386.c (athlon_cost): Fix lea, divide and XFmode move costs.
Jan Hubicka [Mon, 17 Apr 2000 21:39:30 +0000 (21:39 +0000)]
i386.c (athlon_cost): Fix lea, divide and XFmode move costs.

* i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
(x86_integer_DFmode_moves, x86_partial_reg_dependency,
 x86_memory_mismatch_stall): New global variables.
(ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
alloved; fix load penalties for Athlon.
* i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
x86_memory_mismatch_stall): Declare.
(TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
 TARGET_MEMORY_MISMATCH_STALL): New.
* i386.md (athlon scheduling parameters): Fix latencies according to
Athlon Optimization Manual.
(sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
vector.
(fsqrt instruction patterns): Set athlon_decode to direct.
(movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
(movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
and TARGET_PARTIAL_REGISTER_STALL machines.
(pushdf_nointeger): New pattern.
(pushdf_integer): Rename from pushdf.
(movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
(movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.

From-SVN: r33215

24 years agoloop.c (canonicalize_condition): Add WANT_REG argument.
Richard Henderson [Mon, 17 Apr 2000 19:21:09 +0000 (12:21 -0700)]
loop.c (canonicalize_condition): Add WANT_REG argument.

        * loop.c (canonicalize_condition): Add WANT_REG argument.
        Stop the search if we match it.
        * expr.h (canonicalize_condition): Update decl.
        * predict.c (expected_value_to_br_prob): Use it.  Track last
        expected value note.
        (find_expected_value): Remove.

        * reorg.c (mostly_true_jump): Always use BR_PROB if present.

From-SVN: r33214

24 years agogjavah.c (print_name_for_stub_or_jni): Don't prefix method names with a newline,...
Bryce McKinlay [Mon, 17 Apr 2000 17:27:45 +0000 (17:27 +0000)]
gjavah.c (print_name_for_stub_or_jni): Don't prefix method names with a newline, for CNI.

2000-04-17  Bryce McKinlay  <bryce@albatross.co.nz>

* gjavah.c (print_name_for_stub_or_jni): Don't prefix method names
with a newline, for CNI.
(print_stub_or_jni): Print a space or newline before method name for
CNI as well as JNI.
(print_cxx_classname): Don't write leading "::" in CNI stub method.
(process_file): Include gcj/cni.h if generating CNI stubs.

From-SVN: r33213

24 years agoaclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
Zack Weinberg [Mon, 17 Apr 2000 17:25:57 +0000 (17:25 +0000)]
aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).

* aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
(AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
a plain file.
* configure.in: Call AC_FUNC_MMAP_FILE.
* configure: Regenerate.
* config.in: Regenerate.

* intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
* fixinc/fixincl.c: Likewise.

From-SVN: r33212

24 years agobuiltins.c (expand_builtin_expect): New.
Richard Henderson [Mon, 17 Apr 2000 16:49:00 +0000 (09:49 -0700)]
builtins.c (expand_builtin_expect): New.

        * builtins.c (expand_builtin_expect): New.
        (expand_builtin): Call it.
        * builtins.def (BUILT_IN_EXPECT): New.
        * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
        * extend.texi: Document it.

        * predict.c (expected_value_to_br_prob): New.
        (find_expected_value): New.
        * basic-block.h (expected_value_to_br_prob): Declare.
        * toplev.c (rest_of_compilation): Invoke it.

        * rtl.h (NOTE_EXPECTED_VALUE): New.
        (NOTE_INSN_EXPECTED_VALUE): New.
        * rtl.c (note_insn_name): Update.
        * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
        cases; handle NOTE_INSN_EXPECTED_VALUE.

From-SVN: r33211

24 years agosparc.c (eligible_for_sibcall_delay): Cannot use leaf sibcall delay slot if flag_pic.
Jakub Jelinek [Mon, 17 Apr 2000 14:49:41 +0000 (16:49 +0200)]
sparc.c (eligible_for_sibcall_delay): Cannot use leaf sibcall delay slot if flag_pic.

* config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
leaf sibcall delay slot if flag_pic.
(output_sibcall): Always emit call for leaf sibcall if flag_pic.

From-SVN: r33210

24 years agosymcat.h: Honor autoconf macro HAVE_STRINGIZE.
Kaveh R. Ghazi [Mon, 17 Apr 2000 14:48:13 +0000 (14:48 +0000)]
symcat.h: Honor autoconf macro HAVE_STRINGIZE.

        * symcat.h: Honor autoconf macro HAVE_STRINGIZE.  Add
        comments/caveats with regard to traditional C behavior.

From-SVN: r33209

24 years agoMakefile.in (stmp-fixproto): Acknowledge errors in fixproto.
Kaveh R. Ghazi [Mon, 17 Apr 2000 14:40:03 +0000 (14:40 +0000)]
Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.

        * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.

        * fixproto: If fix-header fails, exit with an error.

From-SVN: r33208

24 years agocse.c (struct check_depdendence_data): New.
Jan Hubicka [Mon, 17 Apr 2000 13:00:44 +0000 (13:00 +0000)]
cse.c (struct check_depdendence_data): New.

* cse.c (struct check_depdendence_data): New.
(check_dependence): New function.
(invalidate): Use check_depdenence.

From-SVN: r33207

24 years agoDaily bump.
Jeff Law [Mon, 17 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33206

24 years agoTest case for gcj/209
Anthony Green [Mon, 17 Apr 2000 06:40:38 +0000 (06:40 +0000)]
Test case for gcj/209

From-SVN: r33205

24 years agoTest case for gcj/208
Anthony Green [Mon, 17 Apr 2000 05:51:14 +0000 (05:51 +0000)]
Test case for gcj/208

From-SVN: r33204

24 years agoMore new tests.
Anthony Green [Mon, 17 Apr 2000 05:26:42 +0000 (05:26 +0000)]
More new tests.

From-SVN: r33203

24 years agoNew tests.
Anthony Green [Mon, 17 Apr 2000 05:26:20 +0000 (05:26 +0000)]
New tests.

From-SVN: r33202

24 years agoclass.c (build_vtable_entry): Don't build thunks for type-info functions.
Mark Mitchell [Mon, 17 Apr 2000 04:03:48 +0000 (04:03 +0000)]
class.c (build_vtable_entry): Don't build thunks for type-info functions.

* class.c (build_vtable_entry): Don't build thunks for type-info
functions.

From-SVN: r33201

24 years agodwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that UNITS_PER_WORD is unsigned.
Mark Mitchell [Mon, 17 Apr 2000 04:01:01 +0000 (04:01 +0000)]
dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that UNITS_PER_WORD is unsigned.

* dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
UNITS_PER_WORD is unsigned.

From-SVN: r33200

24 years ago* tree.h (struct tree_common): Remove misleading comment.
Mark Mitchell [Mon, 17 Apr 2000 03:20:48 +0000 (03:20 +0000)]
* tree.h (struct tree_common): Remove misleading comment.

From-SVN: r33199

24 years agore GNATS gcj/205 (gcjh confused about similar method and attribute names)
Tom Tromey [Mon, 17 Apr 2000 02:56:52 +0000 (02:56 +0000)]
re GNATS gcj/205 (gcjh confused about similar method and attribute names)

* gjavah.c (decompile_method): Use print_field_name.
Fixes PR gcj/205.

From-SVN: r33198

24 years agoconfigure: Rebuiltd.
Anthony Green [Mon, 17 Apr 2000 02:22:22 +0000 (02:22 +0000)]
configure: Rebuiltd.

2000-04-16  Anthony Green  <green@redhat.com>

* configure: Rebuiltd.
* configure.in: Change i*86-pc-linux* to i*86-*-linux*.

From-SVN: r33197

24 years agoPort to sparc 32 and 64 Linux.
Jakub Jelinek [Mon, 17 Apr 2000 02:15:32 +0000 (04:15 +0200)]
Port to sparc 32 and 64 Linux.

From-SVN: r33196

This page took 0.098154 seconds and 5 git commands to generate.