]> gcc.gnu.org Git - gcc.git/log
gcc.git
26 years ago* warn_summary, test_summary: Moved into the contrib directory.
Jeffrey A Law [Sat, 23 May 1998 22:36:37 +0000 (22:36 +0000)]
* warn_summary, test_summary: Moved into the contrib directory.

From-SVN: r19991

26 years agoMoved here from the gcc subdir.
Jeff Law [Sat, 23 May 1998 22:35:33 +0000 (16:35 -0600)]
Moved here from the gcc subdir.

From-SVN: r19990

26 years ago* Makefile.in (distclean): Don't remove alloca-conf.h
Andreas Schwab [Sat, 23 May 1998 22:32:53 +0000 (22:32 +0000)]
* Makefile.in (distclean): Don't remove alloca-conf.h

From-SVN: r19987

26 years agotoplev.h (tree_node): Provide global declaration to avoid `limited scope' warnings.
Manfred Hollstein [Sat, 23 May 1998 22:29:52 +0000 (22:29 +0000)]
toplev.h (tree_node): Provide global declaration to avoid `limited scope' warnings.

        * toplev.h (tree_node): Provide global declaration to avoid
        `limited scope' warnings.

From-SVN: r19986

26 years ago* gcc.dg/980523-1.c: New test.
Jeffrey A Law [Sat, 23 May 1998 22:28:21 +0000 (22:28 +0000)]
* gcc.dg/980523-1.c: New test.

From-SVN: r19985

26 years agotest_summary: Display section breaks for each entry in a multilibbed target's output.
Robert Lipe [Sat, 23 May 1998 22:24:55 +0000 (22:24 +0000)]
test_summary: Display section breaks for each entry in a multilibbed target's output.

        * test_summary: Display section breaks for each entry
        in a multilibbed target's output.

From-SVN: r19980

26 years ago970915-0.f: New test.
Dave Love [Sat, 23 May 1998 09:58:17 +0000 (09:58 +0000)]
970915-0.f: New test.

1998-05-23  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/compile/970915-0.f: New test.

From-SVN: r19973

26 years agoNew test.
Dave Love [Sat, 23 May 1998 09:54:41 +0000 (09:54 +0000)]
New test.

From-SVN: r19972

26 years agoMore commentary.
Dave Love [Sat, 23 May 1998 09:51:54 +0000 (09:51 +0000)]
More commentary.

From-SVN: r19971

26 years agocom.c (ffecom_finish_symbol_transform_): Don't transform statement (nested) functions...
Craig Burley [Sat, 23 May 1998 09:45:45 +0000 (05:45 -0400)]
com.c (ffecom_finish_symbol_transform_): Don't transform statement (nested) functions...

Sat May 23 06:32:52 1998  Craig Burley  <burley@gnu.org>
* com.c (ffecom_finish_symbol_transform_): Don't transform
statement (nested) functions, to avoid gcc compiling them
and thus producing linker errors if they refer to undefined
exteral functions.  But warn if they're unused and -Wunused.

From-SVN: r19970

26 years agotweak
Jason Merrill [Sat, 23 May 1998 02:20:21 +0000 (22:20 -0400)]
tweak

From-SVN: r19969

26 years ago* lib/old-dejagnu.exp: Ignore C++ "instantiated from" mesages.
Jason Merrill [Sat, 23 May 1998 02:20:08 +0000 (02:20 +0000)]
* lib/old-dejagnu.exp: Ignore C++ "instantiated from" mesages.

From-SVN: r19968

26 years agocp-tree.def: Add SRCLOC.
Jason Merrill [Sat, 23 May 1998 02:18:33 +0000 (02:18 +0000)]
cp-tree.def: Add SRCLOC.

* cp-tree.def: Add SRCLOC.
* cp-tree.h: Add struct tree_srcloc and accessor macros.
* tree.c (build_srcloc, build_srcloc_here): New fns.
* pt.c (add_pending_template): Use build_srcloc_here.
(push_tinst_level): Update last_template_error_tick before erroring.
(instantiate_decl): Restore lineno and input_filename before
calling add_pending_template.
* decl2.c (finish_file): Set up lineno and input_filename for
pending templates.

From-SVN: r19967

26 years agodecl.c (lang_print_error_function): New fn.
Jason Merrill [Fri, 22 May 1998 23:13:28 +0000 (23:13 +0000)]
decl.c (lang_print_error_function): New fn.

* decl.c (lang_print_error_function): New fn.
(init_decl_processing): Set print_error_function to use it.
* errfn.c (cp_thing): Don't call maybe_print_template_context here.
* call.c (maybe_handle_ref_bind): Propagate ICS_USER_FLAG and
ICS_BAD_FLAG.
* cvt.c (ocp_convert): Don't set LOOKUP_NO_CONVERSION for
copy-initialization.

From-SVN: r19966

26 years agoexpr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF...
Richard Henderson [Fri, 22 May 1998 23:03:25 +0000 (16:03 -0700)]
expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF...

* expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
offset's mode is not ptr_mode, convert it.

From-SVN: r19965

26 years agoclass.c (build_vtable_entry): Use int_fits_type_p.
Jason Merrill [Fri, 22 May 1998 21:05:09 +0000 (21:05 +0000)]
class.c (build_vtable_entry): Use int_fits_type_p.

* class.c (build_vtable_entry): Use int_fits_type_p.
(build_vtable): Pass a signed offset to build_vtable_entry.
(prepare_fresh_vtable, modify_one_vtable, fixup_vtable_deltas1,
set_rtti_entry): Likewise.

From-SVN: r19964

26 years agofold-const.c (ssize_binop): New fn.
Jason Merrill [Fri, 22 May 1998 20:58:14 +0000 (20:58 +0000)]
fold-const.c (ssize_binop): New fn.

* fold-const.c (ssize_binop): New fn.
* tree.h: Declare it.

From-SVN: r19963

26 years agoUpdate.
Ulrich Drepper [Fri, 22 May 1998 20:40:16 +0000 (20:40 +0000)]
Update.

From-SVN: r19962

26 years ago(_IO_str_underflow): Read newly available character from buffer as unsigned.
Ulrich Drepper [Fri, 22 May 1998 20:40:02 +0000 (20:40 +0000)]
(_IO_str_underflow): Read newly available character from buffer as unsigned.

From-SVN: r19961

26 years agocp-tree.h: Add comments documenting which LANG_FLAGS are used.
Per Bothner [Fri, 22 May 1998 12:22:54 +0000 (12:22 +0000)]
cp-tree.h: Add comments documenting which LANG_FLAGS are used.


* cp-tree.h:  Add comments documenting which LANG_FLAGS are used.
(C_TYPE_VARIABLE_SIZE, C_DECL_VARIABLE_SIZE):  Removed, not used.

From-SVN: r19960

26 years ago[multiple changes]
Craig Burley [Fri, 22 May 1998 10:55:52 +0000 (10:55 +0000)]
[multiple changes]

Tue May 19 14:52:41 1998  Craig Burley  <burley@gnu.org>
* bad.def (FFEBAD_OPEN_UNSUPPORTED, FFEBAD_INQUIRE_UNSUPPORTED,
FFEBAD_READ_UNSUPPORTED, FFEBAD_WRITE_UNSUPPORTED,
FFEBAD_QUAD_UNSUPPORTED, FFEBAD_BLOCKDATA_STMT,
FFEBAD_TRUNCATING_CHARACTER, FFEBAD_TRUNCATING_HOLLERITH,
FFEBAD_TRUNCATING_NUMERIC, FFEBAD_TRUNCATING_TYPELESS,
FFEBAD_TYPELESS_OVERFLOW): Change these from warnings
to errors.
Tue May 19 14:51:59 1998  Craig Burley  <burley@gnu.org>
* Make-lang.in (f77.install-info, f77.uninstall):
Use install-info as appropriate.
Tue May 19 12:56:54 1998  Craig Burley  <burley@gnu.org>
* com.c (ffecom_init_0): Rename xargc to f__xargc,
in accord with same-dated change to f/runtime.

From-SVN: r19959

26 years agoJCB update.
Dave Love [Fri, 22 May 1998 10:55:21 +0000 (10:55 +0000)]
JCB update.

From-SVN: r19958

26 years agoMakefile.in ($(lib)): Use shell loop instead of unportable make variable substitution.
Dave Love [Fri, 22 May 1998 10:49:26 +0000 (10:49 +0000)]
Makefile.in ($(lib)): Use shell loop instead of unportable make variable substitution.

1998-05-20  Dave Love  <d.love@dl.ac.uk>
* Makefile.in ($(lib)): Use shell loop instead of unportable
make variable substitution.

From-SVN: r19957

26 years agoBreak up main() into separate .o's so making and linking against shared...
Craig Burley [Fri, 22 May 1998 10:32:18 +0000 (06:32 -0400)]
Break up main() into separate .o's so making and linking against shared...

Tue May 19 12:50:27 1998  Craig Burley  <burley@gnu.org>
Break up main() into separate .o's so making and
linking against shared libraries with non-Fortran
main() routines is easier:
* Makefile.in (MISC): Add setarg.o and setsig.o.
* libF77/Makefile.in (MISC): Ditto.
* libF77/setarg.c: New file, contains f_setarg().
* libF77/setsig.c: New file, contains f_setsig().
* libF77/getarg_.c: Rename xarg* to f__xarg*.
* libF77/iargc_.c: Ditto

From-SVN: r19956

26 years agoJCB patch.
Dave Love [Fri, 22 May 1998 10:27:20 +0000 (10:27 +0000)]
JCB patch.

From-SVN: r19955

26 years agobad.def (FFEBAD_OPEN_UNSUPPORTED, [...]): Change these from warnings to errors.
Craig Burley [Fri, 22 May 1998 10:26:01 +0000 (10:26 +0000)]
bad.def (FFEBAD_OPEN_UNSUPPORTED, [...]): Change these from warnings to errors.

Tue May 19 14:52:41 1998  Craig Burley  <burley@gnu.org>
* bad.def (FFEBAD_OPEN_UNSUPPORTED, FFEBAD_INQUIRE_UNSUPPORTED,
FFEBAD_READ_UNSUPPORTED, FFEBAD_WRITE_UNSUPPORTED,
FFEBAD_QUAD_UNSUPPORTED, FFEBAD_BLOCKDATA_STMT,
FFEBAD_TRUNCATING_CHARACTER, FFEBAD_TRUNCATING_HOLLERITH,
FFEBAD_TRUNCATING_NUMERIC, FFEBAD_TRUNCATING_TYPELESS,
FFEBAD_TYPELESS_OVERFLOW): Change these from warnings
to errors.

From-SVN: r19954

26 years agoMake-lang.in (f77.install-info, [...]): Use install-info as appropriate.
Craig Burley [Fri, 22 May 1998 10:25:34 +0000 (10:25 +0000)]
Make-lang.in (f77.install-info, [...]): Use install-info as appropriate.

Tue May 19 14:51:59 1998  Craig Burley  <burley@gnu.org>
* Make-lang.in (f77.install-info, f77.uninstall):
Use install-info as appropriate.

From-SVN: r19953

26 years agocom.c (ffecom_init_0): Rename xargc to f__xargc, in accord with same-dated change...
Craig Burley [Fri, 22 May 1998 10:24:50 +0000 (10:24 +0000)]
com.c (ffecom_init_0): Rename xargc to f__xargc, in accord with same-dated change to f/runtime.

Tue May 19 12:56:54 1998  Craig Burley  <burley@gnu.org>
* com.c (ffecom_init_0): Rename xargc to f__xargc,
in accord with same-dated change to f/runtime.

From-SVN: r19952

26 years agoJCB update
Dave Love [Fri, 22 May 1998 10:22:44 +0000 (10:22 +0000)]
JCB update

From-SVN: r19951

26 years ago* pt.c (print_template_context): Use fprintf instead of cp_error.
Jason Merrill [Fri, 22 May 1998 05:01:43 +0000 (05:01 +0000)]
* pt.c (print_template_context): Use fprintf instead of cp_error.

From-SVN: r19950

26 years ago(check_explicit_specialization): Don't mess with a returned
Jason Merrill [Fri, 22 May 1998 04:18:51 +0000 (04:18 +0000)]
(check_explicit_specialization): Don't mess with a returned
error_mark_node.

From-SVN: r19949

26 years agocomment
Jason Merrill [Fri, 22 May 1998 03:49:13 +0000 (23:49 -0400)]
comment

From-SVN: r19948

26 years agogenextract.c (print_path): Handle zero-length path as a special case.
Richard Earnshaw [Fri, 22 May 1998 03:44:58 +0000 (03:44 +0000)]
genextract.c (print_path): Handle zero-length path as a special case.

From-SVN: r19947

26 years agopt.c (determine_specialization): Just return an error_mark_node.
Jason Merrill [Fri, 22 May 1998 03:32:43 +0000 (03:32 +0000)]
pt.c (determine_specialization): Just return an error_mark_node.

* pt.c (determine_specialization): Just return an error_mark_node.
Also print the decl we want in error messages.  If we complain,
return error_mark_node.
(tsubst_friend_function): Set lineno and input_filename so
error messages will be useful.
(instantiate_template): Just return an error_mark_node.
* pt.c (print_template_context): Add new argument.
(maybe_print_template_context): New fn.
(push_tinst_level): Increment tinst_level_tick.
(pop_tinst_level): Likewise.
* errfn.c (cp_thing): Call maybe_print_template_context.  Use
xrealloc instead of xmalloc.
* typeck.c (build_unary_op, CONVERT_EXPR): Propagate TREE_CONSTANT.

From-SVN: r19946

26 years agocplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
Hans-Peter Nilsson [Fri, 22 May 1998 00:39:52 +0000 (02:39 +0200)]
cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.


        * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.

From-SVN: r19945

26 years agocplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
Hans-Peter Nilsson [Fri, 22 May 1998 00:39:51 +0000 (18:39 -0600)]
cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.


        * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.

From-SVN: r19944

26 years agocplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
Hans-Peter Nilsson [Fri, 22 May 1998 00:39:44 +0000 (18:39 -0600)]
cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.

8
        * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.

From-SVN: r19943

26 years agoMakefile.in: Add a dependency on stamp-picdir for the objects...
Mike Stump [Fri, 22 May 1998 00:20:51 +0000 (00:20 +0000)]
Makefile.in: Add a dependency on stamp-picdir for the objects...

        * Makefile.in: Add a dependency on stamp-picdir for the
        objects, so that we can do a parallel build.

From-SVN: r19942

26 years agoFix minor ChangeLog typo.
Jeff Law [Fri, 22 May 1998 00:02:20 +0000 (18:02 -0600)]
Fix minor ChangeLog typo.

From-SVN: r19941

26 years agofinal.c (JUMP_TABLES_IN_TEXT_SECTION): Provide a default value.
Bernd Schmidt [Fri, 22 May 1998 00:01:23 +0000 (00:01 +0000)]
final.c (JUMP_TABLES_IN_TEXT_SECTION): Provide a default value.

        * final.c (JUMP_TABLES_IN_TEXT_SECTION): Provide a default value.
        (shorten_branches, final_scan_insn): Test value of
        JUMP_TABLES_IN_TEXT_SECTION instead of just testing whether it
        is defined.
        * tm.texi (JUMP_TABLES_IN_TEXT_SECTION): Corresponding changes.
        * arm/coff.h: Define JUMP_TABLES_IN_TEXT_SECTION to 1.
        coff.h: Likewise.
        * i386/386bsd.h: Likewise.
        * i386/freebsd-elf.h: Likewise.
        * i386/freebsd.h: Likewise.
        * i386/netbsd.h: Likewise.
        * i386/ptx4-i.h: Likewise.
        * i386/sysv4.h: Likewise.
        * pa/pa.h: Likewise.
        * rs6000/linux.h: Likewise.
        * rs6000/rs6000.h: Likewise.
        * sh/sh.h: Likewise.
        * sparc/sp64-elf.h: Likewise.
        * v850/v850.h: Likewise.
        * rs6000/sysv4.h: Define JUMP_TABLES_IN_TEXT_SECTION to 0.
        * i386/linux.h: Define JUMP_TABLES_IN_TEXT_SECTION to (flag_pic).

From-SVN: r19940

26 years ago* Makefile.in (gencheck): Depend on HOST_LIBDEPS.
Jeffrey A Law [Thu, 21 May 1998 22:54:10 +0000 (22:54 +0000)]
* Makefile.in (gencheck): Depend on HOST_LIBDEPS.

From-SVN: r19939

26 years agoregmove.c (gen_add3_insn): New function.
J"orn Rennecke [Thu, 21 May 1998 22:34:06 +0000 (22:34 +0000)]
regmove.c (gen_add3_insn): New function.

        * regmove.c (gen_add3_insn): New function.
        (fixup_match_2): Use it instead of calling gen_addsi3.

From-SVN: r19938

26 years ago* gcc.dg/980520-1.c: New test.
Jeffrey A Law [Thu, 21 May 1998 22:21:28 +0000 (22:21 +0000)]
* gcc.dg/980520-1.c: New test.

From-SVN: r19937

26 years agoalias.c (rtx_equal_for_memref_p): Handle SCRATCH as a memory address.
Jeffrey A Law [Thu, 21 May 1998 22:12:04 +0000 (22:12 +0000)]
alias.c (rtx_equal_for_memref_p): Handle SCRATCH as a memory address.

        * alias.c (rtx_equal_for_memref_p): Handle SCRATCH as a memory
        address.

From-SVN: r19936

26 years agopt.c (tsubst_friend_class): Don't call redeclare_class_template if the template we...
Jason Merrill [Thu, 21 May 1998 20:57:52 +0000 (20:57 +0000)]
pt.c (tsubst_friend_class): Don't call redeclare_class_template if the template we looked up is the same as...

* pt.c (tsubst_friend_class): Don't call redeclare_class_template
if the template we looked up is the same as the one we already
have.

From-SVN: r19935

26 years agoMakefile.in (TREE_H): Add tree-check.h.
Martin v. Löwis [Thu, 21 May 1998 19:20:37 +0000 (13:20 -0600)]
Makefile.in (TREE_H): Add tree-check.h.

* Makefile.in (TREE_H): Add tree-check.h.
(tree-check.h, gencheck): New targets.
* gencheck.c: New file.
* tree.c (tree_check, tree_class_check): New functions.
* tree.h (TREE_CHECK, TREE_CLASS_CHECK): Define.
(TYPE_CHECK, DECL_CHECK): Define.
Modify all access macros to use generated checking macros.

From-SVN: r19934

26 years agoacconfig.h (HAVE_GAS_MAX_SKIP_P2ALIGN): New tag.
John Wehle [Thu, 21 May 1998 19:12:20 +0000 (19:12 +0000)]
acconfig.h (HAVE_GAS_MAX_SKIP_P2ALIGN): New tag.

* acconfig.h (HAVE_GAS_MAX_SKIP_P2ALIGN): New tag.
* configure.in: Check for it.
* i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Use it.
* final.c (uid_align, uid_shuid, label_align): Make static.
(label_align): Change type to struct label_alignment pointer.
(LABEL_TO_ALIGNMENT, shorten_branches): Update due to type change.
(LABEL_TO_MAX_SKIP): Define.
(LABEL_ALIGN_MAX_SKIP, LOOP_ALIGN_MAX_SKIP,
LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Provide defaults.
(shorten_branches): Record the maximum bytes to skip when
aligning a label.
(final_scan_insn): Use the maximum bytes to skip when aligning a label
if ASM_OUTPUT_MAX_SKIP_ALIGN is available.
* i386.h (LOOP_ALIGN_MAX_SKIP,
LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define.
* i386.c (override_options): i386_align_jumps and i386_align_loops
default to 4 if ASM_OUTPUT_MAX_SKIP_ALIGN is available.
* invoke.texi: Document new i386 align-loops and align-jumps behavior.

From-SVN: r19933

26 years ago* cplus-dem.c (do_type): Handle volatile qualification.
Mark Mitchell [Thu, 21 May 1998 15:22:54 +0000 (15:22 +0000)]
* cplus-dem.c (do_type): Handle volatile qualification.

From-SVN: r19932

26 years agofunction.c (init_function_start): Don't call emit_line_note if lineno is 0.
Per Bothner [Thu, 21 May 1998 12:24:01 +0000 (05:24 -0700)]
function.c (init_function_start): Don't call emit_line_note if lineno is 0.


* function.c (init_function_start):  Don't call emit_line_note if
lineno is 0.  (Can happen when compiling Java .class files.)

From-SVN: r19931

26 years agofunction.c (init_function_start): Don't call emit_line_note if lineno is 0.
Per Bothner [Thu, 21 May 1998 12:23:59 +0000 (05:23 -0700)]
function.c (init_function_start): Don't call emit_line_note if lineno is 0.

8
* function.c (init_function_start):  Don't call emit_line_note if
lineno is 0.  (Can happen when compiling Java .class files.)

From-SVN: r19930

26 years agoreload1.c (reload_reg_free_for_value_p): Fix RELOAD_FOR_INPUT end of lifetime and...
J"orn Rennecke [Thu, 21 May 1998 11:52:31 +0000 (11:52 +0000)]
reload1.c (reload_reg_free_for_value_p): Fix RELOAD_FOR_INPUT end of lifetime and RELOAD_FOR_OUTPUT start of lifetime.

* reload1.c (reload_reg_free_for_value_p): Fix RELOAD_FOR_INPUT
end of lifetime and RELOAD_FOR_OUTPUT start of lifetime.

From-SVN: r19929

26 years agocombine.c (nonzero_bits): For paradoxical subregs, take LOAD_EXTENDED_OP into account.
J"orn Rennecke [Thu, 21 May 1998 11:35:10 +0000 (11:35 +0000)]
combine.c (nonzero_bits): For paradoxical subregs, take LOAD_EXTENDED_OP into account.

* combine.c (nonzero_bits): For paradoxical subregs, take
LOAD_EXTENDED_OP into account.

From-SVN: r19928

26 years agolex.c: (handle_sysv_pragma): FILE* parameter not used.
Dave Brolley [Thu, 21 May 1998 08:56:16 +0000 (08:56 +0000)]
lex.c: (handle_sysv_pragma): FILE* parameter not used.

Thu May 21 11:54:44 1998  Dave Brolley  <brolley@cygnus.com>
* lex.c: (handle_sysv_pragma): FILE* parameter not used.
(cpp_reader,parse_in): Add for cpplib.
(check_newline): Call handle_sysv_pragma with new interface.
(check_newline): Call GET_DIRECTIVE_LINE, not get_directive_line.
* input.c: (yy_cur,yy_lim,yy_get_token,GETC): Add for cpplib.
(sub_getch): Call GETC for cpplib.
* cp-tree.h: (get_directive_line): Different prototype for cpplib.
(GET_DIRECTIVE_LINE): Macro wrapper for get_directive_line.
* Makefile.in (CXX_OBJS): add @extra_cxx_objs@ for cpplib.

From-SVN: r19927

26 years agoconfigure.in (extra_c_objs): add prefix.o.
Dave Brolley [Thu, 21 May 1998 08:54:04 +0000 (08:54 +0000)]
configure.in (extra_c_objs): add prefix.o.

Thu May 21 11:51:15 1998  Dave Brolley  <brolley@cygnus.com>
* configure.in (extra_c_objs): add prefix.o.
(extra_cxx_objs): extra objects for C++ with cpplib.
* configure: Regenerate.
* c-tree.h: (get_directive_line): Different prototype for cpplib.
(GET_DIRECTIVE_LINE): Macro wrapper for get_directive_line.
* c-lex.h: (get_directive_line): Not needed here for cpplib.
* c-lex.c: (yy_cur,yy_lim,yy_get_token): Move to c-common.c.
(GET_DIRECTIVE_LINE): Move to c-common.c and rename to get_directive_line.
* c-common.c (parse_in,parse_options,cpp_token): Declare for cpplib.
(yy_cur,yy_lim,yy_get_token,get_directive,line): Moved here from c-lex.c

From-SVN: r19926

26 years agoconfigure.in: Check for unistd.h as well.
Manfred Hollstein [Thu, 21 May 1998 07:52:43 +0000 (07:52 +0000)]
configure.in: Check for unistd.h as well.


* configure.in: Check for unistd.h as well.
* configure: Rebuild.
* config.in: Rebuild.
* getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
is defined in unistd.h. Reformat conditional block for easier reading.
* config.table (shared): Default to no if ${enable_shared}
is unset or empty; this logic is used by the toplevel
configure scripts, too.

From-SVN: r19925

26 years agoconfigure.in: Check for unistd.h as well.
Manfred Hollstein [Thu, 21 May 1998 07:52:41 +0000 (07:52 +0000)]
configure.in: Check for unistd.h as well.

0
* configure.in: Check for unistd.h as well.
* configure: Rebuild.
* config.in: Rebuild.
* getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
is defined in unistd.h. Reformat conditional block for easier reading.
* config.table (shared): Default to no if ${enable_shared}
is unset or empty; this logic is used by the toplevel
configure scripts, too.

From-SVN: r19924

26 years agoconfigure.in: Check for unistd.h as well.
Manfred Hollstein [Thu, 21 May 1998 07:52:38 +0000 (07:52 +0000)]
configure.in: Check for unistd.h as well.


* configure.in: Check for unistd.h as well.
* configure: Rebuild.
* config.in: Rebuild.
* getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
is defined in unistd.h. Reformat conditional block for easier reading.
* config.table (shared): Default to no if ${enable_shared}
is unset or empty; this logic is used by the toplevel
configure scripts, too.

From-SVN: r19923

26 years agoANSI does not allow a prototype to specify an item smaller than an int if the functio...
Kaveh R. Ghazi [Thu, 21 May 1998 06:29:55 +0000 (06:29 +0000)]
ANSI does not allow a prototype to specify an item smaller than an int if the function uses an old-style definition.

ANSI does not allow a prototype to specify an item smaller than an int
if the function uses an old-style definition.  This only worked as a
GNUC extension, so stop doing it.
       * gengenrtl.c (type_from_format, accessor_from_format): Change
       type of parameter `c' from `char' to `int'.

From-SVN: r19922

26 years agodecl2.c (maybe_make_one_only): New fn.
Jason Merrill [Thu, 21 May 1998 05:42:51 +0000 (05:42 +0000)]
decl2.c (maybe_make_one_only): New fn.

* decl2.c (maybe_make_one_only): New fn.
(import_export_vtable): Use it.
(import_export_decl): Likewise.
* pt.c (mark_decl_instantiated): Likewise.

From-SVN: r19921

26 years agodecl2.c (find_representative_member): Rename to ...
Mark Mitchell [Thu, 21 May 1998 00:48:49 +0000 (00:48 +0000)]
decl2.c (find_representative_member): Rename to ...

* decl2.c (find_representative_member): Rename to ...
(build_anon_union_vars): New function.
(finish_anon_union): Fix stupidity of previous change.

From-SVN: r19920

26 years agodecl.c (grokfndecl): Handle definition of specialization in friend declaration.
Jason Merrill [Wed, 20 May 1998 23:53:04 +0000 (23:53 +0000)]
decl.c (grokfndecl): Handle definition of specialization in friend declaration.

* decl.c (grokfndecl): Handle definition of specialization in
friend declaration.
* error.c (dump_decl): Fix LOOKUP_EXPR handling.

From-SVN: r19919

26 years agoclass.c (delete_duplicate_fields_1): Use DECL_DECLARES_TYPE_P to look for type declar...
Mark Mitchell [Wed, 20 May 1998 23:28:21 +0000 (23:28 +0000)]
class.c (delete_duplicate_fields_1): Use DECL_DECLARES_TYPE_P to look for type declarations.

* class.c (delete_duplicate_fields_1): Use DECL_DECLARES_TYPE_P
to look for type declarations.
(finish_struct): Deal with templates on the CLASSTYPE_TAGS list.
* cp-tree.h (DECL_DECLARES_TYPE_P): New macro.
(finish_member_class_template): Declare.
* decl.c (pushtag): Put member class templates on the
CLASSTYPE_TAGS list, just as for ordinary member classes.
(pushdecl_class_level): Use DECL_DECLARES_TYPE_P.
(lookup_tag): Look for IDENTIFIER_CLASS_VALUEs, just as with
IDENTIFIER_NAMESPACE_VALUEs.
* parse.y (component_decl): Move code to ...
* semantics.c (finish_member_class_template): New function.
Don't put member class templates on the list of components for a
class.
* pt.c (classtype_mangled_name): Don't try DECL_CONTEXT on types.
In fact, don't use DECL_CONTEXT at all here.

From-SVN: r19918

26 years agowarn_summary, [...]: New scripts from Kaveh Ghazi and Alexandre Oliva respectively.
Jeffrey A Law [Wed, 20 May 1998 22:44:58 +0000 (22:44 +0000)]
warn_summary, [...]: New scripts from Kaveh Ghazi and Alexandre Oliva respectively.

        * warn_summary, test_summary: New scripts from
        Kaveh Ghazi and Alexandre Oliva respectively.

From-SVN: r19917

26 years ago* gcc.dg/980502-1.c: Fix return type.
Manfred Hollstein [Wed, 20 May 1998 21:48:45 +0000 (21:48 +0000)]
* gcc.dg/980502-1.c: Fix return type.

From-SVN: r19916

26 years agogcse.c (current_function_calls_longjmp): Declare.
Jeffrey A Law [Wed, 20 May 1998 21:30:13 +0000 (21:30 +0000)]
gcse.c (current_function_calls_longjmp): Declare.

        * gcse.c (current_function_calls_longjmp): Declare.
For sco5.

From-SVN: r19915

26 years agodecl.c (record_unknown_type): New function.
Martin v. Löwis [Wed, 20 May 1998 19:08:59 +0000 (15:08 -0400)]
decl.c (record_unknown_type): New function.

* decl.c (record_unknown_type): New function.
(init_decl_processing): Call it for the unknown and global type
nodes.

From-SVN: r19912

26 years ago* dwarf2out.c (base_type_die): Use int_size_in_bytes.
Jason Merrill [Wed, 20 May 1998 18:51:13 +0000 (18:51 +0000)]
* dwarf2out.c (base_type_die): Use int_size_in_bytes.

From-SVN: r19911

26 years agodecl2.c (find_representative_member): New function.
Mark Mitchell [Wed, 20 May 1998 11:03:18 +0000 (11:03 +0000)]
decl2.c (find_representative_member): New function.

* decl2.c (find_representative_member): New function.
(finish_anon_union): Use it.

From-SVN: r19910

26 years ago{980502-1.c, [...]: New tests.
Jeff Law [Wed, 20 May 1998 10:30:42 +0000 (04:30 -0600)]
{980502-1.c, [...]: New tests.

        * gcc.dg/{980502-1.c, clobbers.c}: New tests.
        * gcc.c-torture/compile/{980504-1.c, 980506-1.c}: Likewise.
        * gcc.c-torture/compile/{980506-2.c, 980611-1.c}: Likewise.
        * gcc.c-torture/execute/{980505-1.c, 980505-2.c, 980506-1.c}: Likewise.
        * gcc.c-torture/execute/{980506-2.c, 980506-3.c}: Likewise.
Missing ChangeLog entry.

From-SVN: r19909

26 years agonew test
Mark Mitchell [Wed, 20 May 1998 10:04:35 +0000 (10:04 +0000)]
new test

From-SVN: r19908

26 years agocp-tree.h (MAIN_NAME_P): New macro.
Mark Mitchell [Wed, 20 May 1998 10:04:25 +0000 (10:04 +0000)]
cp-tree.h (MAIN_NAME_P): New macro.

* cp-tree.h (MAIN_NAME_P): New macro.
(DECL_MAIN_P): Likwise.
* decl.c (pushdecl): Avoid crashing on redefinitions of `main'.
(grokfndecl): Use the new macros.
(grokdeclarator): Likewise.
(start_function): Likewise.
(store_parm_decls): Likewise.
(finsh_function): Likewise.
* friend.c (do_friend): Likewise.
* typeck.c (build_function_call_real): Likewise.
(build_unary_op): Likewise.

From-SVN: r19907

26 years ago980520-1.f: New test.
Dave Love [Wed, 20 May 1998 09:34:26 +0000 (09:34 +0000)]
980520-1.f: New test.

1998-05-20  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/980520-1.f: New test.

From-SVN: r19906

26 years agoNew test.
Dave Love [Wed, 20 May 1998 09:28:28 +0000 (09:28 +0000)]
New test.

From-SVN: r19905

26 years agodecl2.c (start_objects, [...]): Split out from...
Jason Merrill [Wed, 20 May 1998 02:46:16 +0000 (02:46 +0000)]
decl2.c (start_objects, [...]): Split out from...

* decl2.c (start_objects, finish_objects, do_dtors,
do_ctors): Split out from...
(finish_file): ...here.

From-SVN: r19904

26 years agoremove CYGNUS LOCAL
Jason Merrill [Wed, 20 May 1998 01:57:33 +0000 (21:57 -0400)]
remove CYGNUS LOCAL

From-SVN: r19903

26 years agoVarious minor updates.
Jeff Law [Wed, 20 May 1998 00:36:31 +0000 (18:36 -0600)]
Various minor updates.

From-SVN: r19902

26 years ago* Global CSE and constant/copy propagation.
Doug Evans [Wed, 20 May 1998 00:24:32 +0000 (00:24 +0000)]
* Global CSE and constant/copy propagation.

        * Makefile.in (OBJS): Add gcse.o
        (STAGESTUFF): Add *.gcse.
        (gcse.o): Add dependencies.
        (mostlyclean): Remove *.gcse and */*.gcse.
        * gcse.c: New file.
        * loop.c (loop_optimize): Move call to init_alias_analysis.
        * recog.c (validate_replace_src): New function.
        * toplev.c (gcse_dump): New global variable.
        (flag_gcse, gcse_time): Likewise.
        (compile_file): Initialize gcse_time and clean out the gcse dump
        file if necessary.
        (rest_of_compilation): Call gcse_main as requested.  Dump RTL
        after gcse if requested.
        (main): Enable gcse for -O2 and above.  Handle -dG.  Enable gcse
        dumps for -da.
        * gcc.texi: Add gcse related internal documentation.
        * invoke.texi: Note new command line options for gcse.
        * tm.texi: Document AVOID_CCMODE_COPIES.
        * mips.h (AVOID_CCMODE_COPIES): Define.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r19901

26 years agoVarious updates.
Jeff Law [Wed, 20 May 1998 00:01:58 +0000 (18:01 -0600)]
Various updates.

From-SVN: r19900

26 years agoMakefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR) exists.
Jeffrey A Law [Tue, 19 May 1998 21:45:41 +0000 (21:45 +0000)]
Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR) exists.

        * Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR)
        exists.
        (stmp-fixproto): Simlarly for running fixproto.
        * cross-make (SYSTEM_HEADER_DIR): Now $(tooldir)/sys-include.

From-SVN: r19899

26 years agoMakefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR) exists.
Jeffrey A Law [Tue, 19 May 1998 21:41:03 +0000 (21:41 +0000)]
Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR) exists.

        * Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR)
        exists.
        * cross-make (SYSTEM_HEADER_DIR): Now $(tooldir)/sys-include.
Bring over from Cygnus sources.

From-SVN: r19898

26 years agotree.c (is_overloaded_fn): Don't abort on placeholders from push_class_decls.
Jason Merrill [Tue, 19 May 1998 20:38:04 +0000 (20:38 +0000)]
tree.c (is_overloaded_fn): Don't abort on placeholders from push_class_decls.

* tree.c (is_overloaded_fn): Don't abort on placeholders from
push_class_decls.

From-SVN: r19888

26 years agoFix Irix6 Mesa compile failure reported by Andy Tai.
Jim Wilson [Tue, 19 May 1998 19:23:09 +0000 (19:23 +0000)]
Fix Irix6 Mesa compile failure reported by Andy Tai.

* config/mips/mips.c (double_memory_operand): Accept any MEM during
reload when TARGET_64BIT.

From-SVN: r19887

26 years agoFinish incomplete change started by Kenner.
Jim Wilson [Tue, 19 May 1998 18:24:07 +0000 (18:24 +0000)]
Finish incomplete change started by Kenner.

* configure.in (*-*-linux-gnu*): Delete NO_STAB_H from xm_defines.
(powerpcle-*-cygwin32): Delete xm_defines.
* final.c, mips-tfile.c, xcoffout.c, config/mips/mips.c: Use
HAVE_STAB_H instead of NO_STAB_H.
* config/xm-linux.h (NO_STAB_H): Delete.
(HAVE_STAB_H): Undefine.
* config/i386/xm-go32.h (NO_STAB_H): Delete.

From-SVN: r19886

26 years agoclass.c (is_empty_class): Return 0 if TYPE is an error_mark_node.
Brendan Kehoe [Tue, 19 May 1998 18:16:49 +0000 (18:16 +0000)]
class.c (is_empty_class): Return 0 if TYPE is an error_mark_node.

* class.c (is_empty_class): Return 0 if TYPE is an error_mark_node.
* error.c (dump_expr): Handle an ARROW_EXPR.

From-SVN: r19885

26 years agoAdd test
Mark Mitchell [Tue, 19 May 1998 15:43:24 +0000 (15:43 +0000)]
Add test

From-SVN: r19884

26 years agoFix SCO5 namespace/dwarf interaction bug.
Jim Wilson [Tue, 19 May 1998 15:31:53 +0000 (15:31 +0000)]
Fix SCO5 namespace/dwarf interaction bug.

* dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Ignore
LANG_TYPE trees with DECL_SOURCE_LINE of 0.

From-SVN: r19883

26 years agodecl.c (saveable_obstack): Declare.
Mark Mitchell [Tue, 19 May 1998 15:15:22 +0000 (15:15 +0000)]
decl.c (saveable_obstack): Declare.

* decl.c (saveable_obstack): Declare.
(pushdecl): Copy TYPE_DECLs to the same obstack as the type they
declare, if necessary.

From-SVN: r19882

26 years ago* arm/netbsd.h: Ensure DWARF2_UNWIND_INFO is undefined.
Todd Vierling [Tue, 19 May 1998 15:13:23 +0000 (15:13 +0000)]
* arm/netbsd.h: Ensure DWARF2_UNWIND_INFO is undefined.

From-SVN: r19881

26 years agocall.c (compare_qual): Remove.
Mark Mitchell [Tue, 19 May 1998 14:51:38 +0000 (14:51 +0000)]
call.c (compare_qual): Remove.

* call.c (compare_qual): Remove.
(is_subseq): Tweak.
(is_properly_derived_from): New function.
(maybe_handle_ref_bind): Likewise.
(maybe_handle_implicit_object): Likewise.
(compare_ics): Modify substantially to bring into conformance with
the standard.
* cp-tree.h (TYPE_PTRMEMFUNC_OBJECT_TYPE): New macro.
(comp_cv_qualification): Declare.
(comp_cv_qual_signature): Likewise.
* typeck.c (comp_cv_qualification): Likewise.
(comp_cv_qual_signature): Likewise.

From-SVN: r19880

26 years agosignal_.c, [...]: Tweaks to eliminate unnecessary differences vs.
Craig Burley [Tue, 19 May 1998 11:02:16 +0000 (11:02 +0000)]
signal_.c, [...]: Tweaks to eliminate unnecessary differences vs.

Sat May  2 16:44:46 1998  Craig Burley  <burley@gnu.org>
* libF77/signal_.c, libI77/dfe.c, libI77/due.c,
libI77/wsfe.c: Tweaks to eliminate unnecessary
differences vs. netlib libf2c.

From-SVN: r19879

26 years agoTweaks to eliminate unnecessary differences vs.
Craig Burley [Tue, 19 May 1998 11:01:52 +0000 (11:01 +0000)]
Tweaks to eliminate unnecessary differences vs.

Tweaks to eliminate unnecessary
differences vs. netlib libf2c.

From-SVN: r19878

26 years agoUpdate to Netlib version of 1998-04-20
Craig Burley [Tue, 19 May 1998 10:52:03 +0000 (06:52 -0400)]
Update to Netlib version of 1998-04-20

From-SVN: r19877

26 years agoJCB: update email in header.
Dave Love [Tue, 19 May 1998 10:50:55 +0000 (10:50 +0000)]
JCB: update email in header.

From-SVN: r19876

26 years agoUpdate to Netlib version of 1998-04-20
Dave Love [Tue, 19 May 1998 10:45:44 +0000 (10:45 +0000)]
Update to Netlib version of 1998-04-20

From-SVN: r19875

26 years agoJCB updates.
Dave Love [Tue, 19 May 1998 10:29:42 +0000 (10:29 +0000)]
JCB updates.

From-SVN: r19874

26 years agoversion.h: Get rid of the overly large headers here too, as done in version.c.
Craig Burley [Tue, 19 May 1998 10:26:25 +0000 (10:26 +0000)]
version.h: Get rid of the overly large headers here too, as done in version.c.

Fri Apr 17 17:18:04 1998  Craig Burley  <burley@gnu.org>
* version.h: Get rid of the overly large headers
here too, as done in version.c.

From-SVN: r19873

26 years agoGet rid of the overly large headers
Craig Burley [Tue, 19 May 1998 10:25:05 +0000 (10:25 +0000)]
Get rid of the overly large headers
here too, as done in version.c.

From-SVN: r19872

26 years agoon Mar 23 21:20:35 1998 Craig Burley <burley@gnu.org>
Craig Burley [Tue, 19 May 1998 10:23:53 +0000 (10:23 +0000)]
on Mar 23 21:20:35 1998 Craig Burley <burley@gnu.org>

on Mar 23 21:20:35 1998  Craig Burley  <burley@gnu.org>
* version.c: Reduce to a one-line file, like
gcc's version.c, since there's really no content
there.

From-SVN: r19871

26 years agoReduce to a one-line file, like
Craig Burley [Tue, 19 May 1998 10:21:47 +0000 (10:21 +0000)]
Reduce to a one-line file, like
gcc's version.c, since there's really no content
there.

From-SVN: r19870

26 years agoreload1.c (reload_reg_free_for_value_p): New function.
J"orn Rennecke [Tue, 19 May 1998 09:23:21 +0000 (09:23 +0000)]
reload1.c (reload_reg_free_for_value_p): New function.

* reload1.c (reload_reg_free_for_value_p): New function.
(allocate_reload_reg, choose_reload_regs): Use it.

From-SVN: r19869

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