Jason Merrill
d96a6d1a1c
function.c (assign_parms): If TREE_ADDRESSABLE is set...
...
* function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
give the parm a register and then call put_var_into_stack.
* stmt.c (expand_decl): Likewise.
cp/
* typeck.c (mark_addressable): Don't call put_var_into_stack.
From-SVN: r37396
2000-11-11 19:11:47 -05:00
Mark Mitchell
5696467825
err-msg8.C: Avoid capricious line-number issues with error messages.
...
* g++.brendan/err-msg8.C: Avoid capricious line-number issues with
error messages.
From-SVN: r37395
2000-11-11 23:59:50 +00:00
Jason Merrill
492cca2489
decl.c (maybe_commonize_var): Set DECL_UNINLINABLE for statics in inlines.
...
* decl.c (maybe_commonize_var): Set DECL_UNINLINABLE for statics
in inlines.
From-SVN: r37394
2000-11-11 18:50:20 -05:00
Joseph Myers
8ee322c993
* gcc.texi: Adjust wording.
...
From-SVN: r37393
2000-11-11 23:44:24 +00:00
Mark Mitchell
b72bd9c21a
p700.C: Don't typedef wchar_t.
...
* g++.mike/p700.C: Don't typedef wchar_t.
* g++.mike/p784.C: Likewise.
* g++.mike/eb101.C: Don't use __wchar_t.
From-SVN: r37392
2000-11-11 23:23:06 +00:00
Mark Mitchell
8b4c8a8695
inclhack.def (avoid_wchar_t_type): New fix.
...
* fixinc/inclhack.def (avoid_wchar_t_type): New fix.
* fininc/fixincl.x: Regenerated.
From-SVN: r37391
2000-11-11 21:40:27 +00:00
Anthony Green
ac51395dc0
jcf-parse.c (process_zip_dir): Add finput parameter.
...
2000-11-11 Anthony Green <green@redhat.com>
* jcf-parse.c (process_zip_dir): Add finput parameter.
(jcf_figure_file_type): Call process_zip_dir with appropriate
argument.
From-SVN: r37390
2000-11-11 20:19:42 +00:00
Toon Moene
da909756e6
20001111.[fx]: Test premature exit from DO loop.
...
2000-11-11 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/20001111.[fx]: Test premature exit
from DO loop.
From-SVN: r37389
2000-11-11 20:05:48 +00:00
Philip Blundell
0bbd37ed8c
Add self to MAINTAINERS file.
...
From-SVN: r37388
2000-11-11 17:12:33 +00:00
Bernd Schmidt
3e5c33c0b7
New execution test.
...
From-SVN: r37387
2000-11-11 14:09:42 +00:00
Joseph Myers
639726baa5
* invoke.texi: Correct spelling of -foptimize-register-move.
...
From-SVN: r37386
2000-11-11 14:00:12 +00:00
Neil Booth
4c2b647d42
Remove CPP_PLACEMARKERs
...
* cppexp.c (lex): Don't handle CPP_PLACEMARKER.
* cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol
* cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer):
Similarly.
* cpplib.h: Remove CPP_PLACEMARKER.
(struct lexer_state): Rename skip_newlines to next_bol.
* cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER.
Simplify prev_white handling as a result.
(paste_all_tokens): Don't worry about CPP_PLACEMARKERs.
(parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs.
(parse_args): Similarly. Update argument count tests.
(enter_macro_context): Return 2 to indicate an empty macro.
(replace_args): Don't bother pre-expanding an empty argument.
Handle placemarkers and ## extension during pre-expansion.
(cpp_get_token): Handle empty macro expansions. Don't worry
about CPP_PLACEMARKERs.
(_cpp_create_definition): Empty macros are now empty.
(cpp_macro_defintion): Don't special case empty macros.
* scan-decls.c: Don't bother with CPP_PLACEMARKERs.
* c-lex.c: Similarly.
From-SVN: r37385
2000-11-11 13:19:01 +00:00
Jeff Law
1e8ba2a38c
* release: New file.
...
From-SVN: r37384
2000-11-11 12:30:16 +00:00
Joseph Myers
c1030c7c86
gcc.texi, [...]: Add new section discussing language standards...
...
* gcc.texi, invoke.texi: Add new section discussing language
standards; link to it where appropriate; refer to ISO C instead of
ANSI C.
From-SVN: r37383
2000-11-11 10:06:22 +00:00
Jeff Law
0babc59ad8
Daily bump.
...
From-SVN: r37382
2000-11-11 01:45:08 -07:00
Alexandre Oliva
3650b6953d
builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY into account.
...
* builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY
into account.
From-SVN: r37381
2000-11-11 06:04:59 +00:00
Alexandre Oliva
93a7784807
sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP modes.
...
* config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP
modes.
From-SVN: r37380
2000-11-11 05:54:02 +00:00
Phil Edwards
585ddf9c47
codecvt.h (__iconv_adaptor): New adaptor function...
...
2000-11-10 Phil Edwards <pme@sources.redhat.com>
* include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
courtesy of Alexandre Oliva, to handle const/non-const signatures.
(codecvt::do_out): Use.
(codecvt::do_in): And here.
From-SVN: r37379
2000-11-11 00:37:45 +00:00
Rodney Brown
d2ea6600c8
* Make-lang.in: Remove OUTPUT_OPTION from g77version.o target.
...
From-SVN: r37378
2000-11-10 13:29:53 -08:00
Toon Moene
edf9f6c7a4
root.texi: Remove non-historical EGCS reference.
...
2000-11-10 Toon Moene <toon@moene.indiv.nluug.nl>
* root.texi: Remove non-historical EGCS reference.
Set current g77 version to 0.5.26.
From-SVN: r37377
2000-11-10 20:38:05 +00:00
Toon Moene
a8d0a42e36
com.c (ffecom_stabilize_aggregate_) [case RTL_EXPR]: Abort.
...
2000-11-10 Toon Moene <toon@moene.indiv.nluug.nl>
* com.c (ffecom_stabilize_aggregate_) case RTL_EXPR:
Abort.
From-SVN: r37376
2000-11-10 20:36:15 +00:00
Nick Clifton
93ae2b3e06
Add test of unsigned long long multuiple and accumulate.
...
From-SVN: r37375
2000-11-10 19:27:35 +00:00
Joseph Myers
9a5a13c9bd
* gcc.texi, gcov.texi: Update dates and version numbers.
...
From-SVN: r37374
2000-11-10 19:01:31 +00:00
Gabriel Dos Reis
ca6c441841
* include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
...
From-SVN: r37373
2000-11-10 17:48:15 +00:00
Gabriel Dos Reis
982b8443e8
localefwd.h (_Count_ones<>::_S_halfcount, [...]): Turn into enumerators.
...
* include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
_Count_ones<>::_S_count): Turn into enumerators.
From-SVN: r37372
2000-11-10 17:34:49 +00:00
Zack Weinberg
1e60838877
configure.in: Remove AC_PROG_LEX and AC_PROG_YACC.
...
* configure.in: Remove AC_PROG_LEX and AC_PROG_YACC. Look for
flex and bison, specifically, first in a unified build and
then installed on the system.
* Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@. Rename
LEXFLAGS to FLEXFLAGS. Adjust ORDINARY_FLAGS_TO_PASS to
match.
(collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
cppdefault.o): Remove pointless sed munging of source file
name.
f:
* Make-lang.in (f/fini.o, f/proj-h.o): Remove pointless sed
munging of source file name.
($(srcdir)/f/intdoc.texi): Break up into several rules each of
which builds just one thing. Don't mess with $(LANGUAGES).
(f/ansify.o, f/intdoc.o): Remove unnecessary rules.
From-SVN: r37371
2000-11-10 17:23:09 +00:00
Bernd Schmidt
9532e31f94
Several fixes to make reload handle POST_MODIFY correctly.
...
From-SVN: r37370
2000-11-10 17:10:29 +00:00
Jeff Law
29e9c0c4f1
libgcc2.c (__shtab): Remove __shtab variable.
...
* libgcc2.c (__shtab): Remove __shtab variable.
* libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list.
* Makefile.in (LIB2FUNCS): Remove _shtab from list of library
members.
Forgot to commit with above change.
From-SVN: r37369
2000-11-10 09:38:26 -07:00
Mark Mitchell
721de8363b
* c-dump.h: New file.
...
From-SVN: r37368
2000-11-10 16:29:34 +00:00
Kaveh R. Ghazi
4e135bdd14
alpha.c (check_float_value): Use memcpy, not bcopy.
...
* alpha.c (check_float_value): Use memcpy, not bcopy.
* arm.c (output_move_double): Likewise.
* arm.md: Likewise.
* m88k.c (legitimize_operand): Likewise.
* m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
* m88k.md: Likewise.
* mips.c (override_options): Likewise.
* mips.md: Likewise.
* romp.c (output_fpops): Likewise.
* rs6000.c (rs6000_override_options): Likewise.
* sh.md: Likewise.
* vax.c (check_float_value): Likewise.
* emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
* expmed.c (synth_mult): Likewise.
* final.c (add_bb_string): Likewise.
* genattr.c (main): Likewise.
* genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
Likewise.
* jump.c (thread_jumps): Likewise.
* prefix.c (save_string): Likewise.
* real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
* regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
* reload1.c (reload, eliminate_regs): Likewise.
cp:
* decl.c (grokdeclarator, save_function_data): Use memcpy, not bcopy.
* lex.c (copy_lang_decl): Likewise.
java:
* decl.c (copy_lang_decl): Use memcpy, not bcopy.
* jcf-parse.c (jcf_figure_file_type): Likewise.
From-SVN: r37367
2000-11-10 16:01:28 +00:00
Joseph Myers
c8abeb44a5
gcc.texi (Service): Update to reflect current practice and location of the GNU service directory.
...
* gcc.texi (Service): Update to reflect current practice and
location of the GNU service directory.
From-SVN: r37366
2000-11-10 12:58:07 +00:00
Bernd Schmidt
0c478921bd
Fix ia64 float extend splitter crash.
...
From-SVN: r37365
2000-11-10 11:43:43 +00:00
Bernd Schmidt
6fb8541812
Fix REG_INC note handling in register renamer.
...
From-SVN: r37364
2000-11-10 10:44:42 +00:00
Jeff Law
108d96a7f1
Daily bump.
...
From-SVN: r37363
2000-11-10 01:45:07 -07:00
Jan van Male
3b7a2e5888
c-tree.texi: Fix typos.
...
2000-11-08 Jan van Male <jan.vanmale@fenk.wau.nl>
* c-tree.texi: Fix typos.
* extend.texi: Likewise
* gcov.texi: Likewise
* rtl.texi: Likewise
* tm.texi: Likewise
From-SVN: r37362
2000-11-09 22:56:47 -07:00
Hans-Peter Nilsson
5925798060
* c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check
...
in_system_header and flags[1] before dereferencing flags[2].
From-SVN: r37361
2000-11-09 22:26:10 -07:00
Matthew Hiller
881a89697e
reload1.c (reload_combine): Fixed calculation of first_index_reg, last_index_reg.
...
* reload1.c (reload_combine): Fixed calculation of
first_index_reg, last_index_reg.
From-SVN: r37360
2000-11-09 22:22:48 -07:00
Mark Mitchell
13507bd80d
c-dump.c (dequeue_and_dump): Dump function bodies.
...
* c-dump.c (dequeue_and_dump): Dump function bodies.
* dump.c (cp_dump_tree): Don't dump function bodies here.
From-SVN: r37359
2000-11-10 04:50:53 +00:00
Mark Mitchell
0a7394bc1a
Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
...
* Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
(c-dump.o): New target.
* c-common.h (flag_dump_translation_unit): New variable.
(C_TYPE_QUALS): New macro.
(strip_array_types): New function.
(DECL_C_BIT_FIELD): New macro.
(SET_DECL_C_BIT_FIELD): Likewise.
(CLEAR_DECL_C_BIT_FIELD): Likewise.
(dump_info_p): New typedef.
(dump_tree_fn): Likewise.
(lang_dump_tree): New variable.
(dump_node_to_file): New function.
* c-common.c (flag_dump_translation_unit): Define it.
(strip_array_types): New function.
* c-decl.c (c_decode_option): Handle -fdump-translation-unit.
* c-lang.c (finish_file): Call dump_node_to_file if
flag_dump_translation_unit.
* c-semantics.c (mark_rtl_for_local_static): Fix typo in comment.
* c-tree.h (DECL_C_BIT_FIELD): Remove declaration.
* c-dump.c: New file.
* Make-lang.in (CXX_C_OBJS): Add c-dump.o.
(dump.o): Update dependency list.
* cp-tree.h (DECL_MAYBE_TEMPLATE): Remove.
(flag_dump_translation_unit): Likewise.
(CP_TYPE_QUALS): Adjust definition.
(DECL_C_BIT_FIELD): Remove.
(SET_DECL_C_BIT_FIELD): Likewise.
(CLEAR_DECL_C_BIT_FIELD): Likewise.
(add_maybe_template): Likewise.
(strip_array_types): Likewise.
(dump_node_to_file): Likewise.
(cp_dump_tree): New function.
* decl.c (init_decl_processing): Set lang_dump_tree.
* decl2.c (flag_dump_translation_unit): Remove.
* dump.c: Move most of it to ../c-dump.c.
(cp_dump_tree): New function.
* pt.c (add_maybe_template): Remove.
* typeck.c (strip_array_types): Likewise.
From-SVN: r37358
2000-11-10 04:29:45 +00:00
Christopher Faylor
abffe289db
* config/i386/cygwin.h: Add mingw startfile prefix.
...
From-SVN: r37357
2000-11-10 04:10:04 +00:00
Richard Henderson
1288c070ab
flow.c (invalidate_mems_from_set): Split out from ...
...
* flow.c (invalidate_mems_from_set): Split out from ...
(mark_set_1): ... here.
(try_pre_increment_1): Use it. Use propagate_block_delete_insn
instead of turning insn into a NOTE_INSN_DELETED.
From-SVN: r37356
2000-11-09 18:03:28 -08:00
Joseph Myers
0170245936
extend.texi, [...]: Move documentation of builtin versions of C library functions to one place and...
...
* extend.texi, invoke.texi: Move documentation of builtin versions
of C library functions to one place and update.
From-SVN: r37355
2000-11-10 01:46:00 +00:00
Richard Henderson
30355eaac8
fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than the types themselves to discover type...
...
* fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than
the types themselves to discover type equivalence.
From-SVN: r37354
2000-11-09 16:12:01 -08:00
Mike Stump
5fcee6f34e
* Makefile.in (distclean): Remove a few extra leftovers.
...
From-SVN: r37353
2000-11-10 00:09:02 +00:00
Richard Henderson
c0e3f87d49
recog.c (validate_replace_rtx_1): Consider subregs when replacing a register with a constant inside a...
...
* recog.c (validate_replace_rtx_1): Consider subregs when
replacing a register with a constant inside a sign/zero_extend.
From-SVN: r37352
2000-11-09 16:07:52 -08:00
Richard Henderson
662f340b81
sequence-pt-1.c: Cast from pointer to integer via size_t instead of int.
...
* gcc.dg/sequence-pt-1.c: Cast from pointer to integer
via size_t instead of int.
From-SVN: r37351
2000-11-09 16:01:29 -08:00
Richard Henderson
377b6fce5d
* config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
...
From-SVN: r37350
2000-11-09 15:57:41 -08:00
Richard Henderson
338bcbd5ca
string-opt-1.c: Make stub functions static.
...
* gcc.c-torture/execute/string-opt-1.c: Make stub functions static.
* gcc.c-torture/execute/string-opt-2.c: Likewise.
* gcc.c-torture/execute/string-opt-3.c: Likewise.
* gcc.c-torture/execute/string-opt-4.c: Likewise.
From-SVN: r37349
2000-11-09 15:21:39 -08:00
Eric Christopher
5362b0866b
decl.c (init_decl_processing): Change definition of __wchar_t to wchar_t.
...
2000-11-07 Eric Christopher <echristo@redhat.com>
* decl.c (init_decl_processing): Change definition of
__wchar_t to wchar_t. Remove artificial declaration of
wchar_t.
* lex.c: Change instances of __wchar_t to wchar_t.
From-SVN: r37348
2000-11-09 23:15:27 +00:00
David Edelsohn
7ca0e6d96e
ltcf-c.sh (aix4): Improve shared library configuration; require exporting symbols.
...
* ltcf-c.sh (aix4): Improve shared library configuration; require
exporting symbols.
* ltcf-cxx.sh (aix4): Define.
* ltconfig (aix4): Define library and soname specs appropriate for
AIX. Define command to create export symbols list.
From-SVN: r37347
2000-11-09 16:41:11 -05:00