Michael Hayes
ef120fc049
flow.c (flow_loop_pre_header_scan): Punt if loop enters from entry block.
...
* flow.c (flow_loop_pre_header_scan): Punt if loop enters
from entry block.
From-SVN: r36644
2000-09-26 10:03:47 +00:00
Jeff Law
368d0da864
Daily bump.
...
From-SVN: r36643
2000-09-26 01:45:07 -06:00
Jim Wilson
cf606f453b
Fix bad use of FP reg in post-modify address.
...
* config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS.
(REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P.
(LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG.
(REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P.
From-SVN: r36640
2000-09-25 17:40:42 -07:00
Neil Booth
a94c119922
cpplex.c (parse_args): Don't set VOID_REST flag.
...
* cpplex.c (parse_args): Don't set VOID_REST flag.
(Fix diagnostic merge problem).
(CONTEXT_VARARGS): New flag.
(maybe_paste_with_next): Set context earlier in loop. Use
it. Do varargs test with CONTEXT_VARARGS flag.
(push_arg_context): Set CONTEXT_VARARGS flag if we're
pushing an argument context for a varargs argument.
* cpplib.h (VOID_REST): Delete.
* gcc.dg/cpp/vararg1.c: Add test case.
From-SVN: r36638
2000-09-25 23:35:10 +00:00
Philipp Thomas
15e2ab712e
Makefile.in.in: Remove stamp-check-pot from list of default targets as checks are only possible...
...
2000-09-26 Philipp Thomas <pthomas@suse.de>
* Makefile.in.in: Remove stamp-check-pot from list
of default targets as checks are only possible in a
complete source tree and all languages configured.
From-SVN: r36637
2000-09-25 23:29:38 +00:00
Branko Cibej
317639a81c
flags.h: Declare warning flag warn_system_headers.
...
2000-09-25 Branko Cibej <branko.cibej@hermes.si>
* flags.h: Declare warning flag warn_system_headers.
* toplev.c: Define it.
(W_options): Add option -Wsystem-headers.
* diagnostic.c (count_error): Test warn_system_headers.
* invoke.texi: Add description for -Wsystem-headers.
* cpplib.h (cpp_options): New member warn_system_headers.
* cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test
CPP_IN_SYSTEM_HEADER.
* cpplib.c (do_import, do_pragma_once): Likewise.
* cpperror.c (_cpp_begin_message): Test warn_system_headers
and CPP_IN_SYSTEM_HEADER.
* cppinit.c (handle_option): Recognize -Wsystem_headers.
(print_help): Describe -Wsystem_headers.
* cpplex.c (lex_line): Reorganize condition so that warnings
about C++ comments in system headers can be enabled. Remove
label do_line_comment.
From-SVN: r36636
2000-09-25 22:54:04 +00:00
Neil Booth
1c6d33efb4
cpplex.c (save_comment): Only store the initial '/' now.
...
* cpplex.c (save_comment): Only store the initial '/'
now.
(lex_token): Combine handling of the two comment types.
Pass everything but the initial '/' to save_comment.
From-SVN: r36635
2000-09-25 22:39:51 +00:00
Neil Booth
7de4d00450
cpphash.h (_cpp_digraph_spellings, [...]): New library-internal prototypes.
...
* cpphash.h (_cpp_digraph_spellings, _cpp_process_directive,
_cpp_can_paste): New library-internal prototypes.
* cpplex.c (dump_param_spelling, output_line_command,
output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput,
cpp_printf, cpp_output_list): Move to cppoutput.c.
(process_directive, can_paste, digraph_spellings): Add _cpp_ prefix.
* cppmacro.c (dump_macro_args, cpp_dump_definition) Move to
cppoutput.c.
* cppoutput.c (dump_macro_args, cpp_dump_definition, output_token,
dump_param_spelling, output_line_command, cpp_scan_buffer,
cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved
from elsewhere.
* Makefile.in: Add cppoutput.c.
* po/POTFILES.in: Add cppoutput.c.
From-SVN: r36634
2000-09-25 22:34:53 +00:00
Theodore Papadopoulo
dcbd43e030
crash20.C: Make ready for libstdc++-v3.
...
2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
* g++.old-deja/g++.other/crash20.C: Make ready for libstdc++-v3.
* g++.old-deja/g++.pt/ttp62.C: Same.
* g++.old-deja/g++.other/inline14.C: Same.
From-SVN: r36633
2000-09-25 22:06:30 +00:00
Richard Henderson
66db6b4514
ia64.c (ia64_print_operand): Define 'e' as 64-n.
...
* config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n.
* config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't
split until after reload.
(rotlsi3, rotldi3): New.
From-SVN: r36632
2000-09-25 15:06:29 -07:00
Phil Edwards
a5e3fe86a2
documentation.html: Add link to...
...
2000-09-25 Phil Edwards <pme@sources.redhat.com>
* docs/documentation.html: Add link to...
* docs/ext/howto.html: ...this. New dir/file, describing library
extensions (both ours and SGI's).
* docs/faq/index.html: Small updates.
* docs/faq/index.txt: Regenerate.
From-SVN: r36631
2000-09-25 21:42:14 +00:00
Phil Edwards
fd00bb8d3a
New-date checkin of footer.html to force yadda yadda yadda.
...
From-SVN: r36630
2000-09-25 21:34:45 +00:00
Gabriel Dos Reis
4b40f7588e
diagnostic.c (output_last_position): Define.
...
* diagnostic.c (output_last_position): Define.
(set_real_maximum_length): Tweek.
* diagnostic.h (output_last_position): Declare.
From-SVN: r36629
2000-09-25 21:20:19 +00:00
Kazu Hirata
0f2907682e
i386.c: Fix formatting.
...
2000-09-25 Kazu Hirata <kazu@hxi.com>
* config/i386/i386.c: Fix formatting.
From-SVN: r36628
2000-09-25 19:17:24 +00:00
Neil Booth
e592386fbb
* MAINTAINERS: Add self as cpplib co-maintainer.
...
From-SVN: r36627
2000-09-25 18:48:45 +00:00
Theodore Papadopoulo
fbf191fee4
basic_file.h (_M_open_mode): Remove extra qualifier.
...
2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
* bits/basic_file.h (_M_open_mode): Remove extra qualifier.
From-SVN: r36626
2000-09-25 18:00:16 +00:00
Alan Lehotsky
90e9ee6cc7
emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when UNITS_PER_WORD is small.
...
* emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
UNITS_PER_WORD is small.
From-SVN: r36625
2000-09-25 10:44:09 -07:00
Levente Farkas
be54495730
stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
...
2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
* ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
From-SVN: r36624
2000-09-25 17:33:35 +00:00
Joseph Myers
0e00b68b77
c-common.c (format_char_info): Add flags2; update comments.
...
* c-common.c (format_char_info): Add flags2; update comments.
(print_char_table, scan_char_table, time_char_table): Split some
flags out into flags2.
(check_format_info): Use flags2 for those flags, for identifying
the initial character of a scanf scanset, and for identifying
printf formats where the '0' flag is ignored with precision.
From-SVN: r36623
2000-09-25 18:04:45 +01:00
Hans-Peter Nilsson
047c1c922b
tm.texi: Make documented *_ASM.*_OP:s include spacing.
...
* tm.texi: Make documented *_ASM.*_OP:s include spacing.
Fix typos in description for LONG_LONG_TYPE_SIZE and
FINI_SECTION_ASM_OP.
From-SVN: r36622
2000-09-25 13:50:51 +00:00
Hans-Peter Nilsson
b9f7d63e77
Change callers in config/[n-z]*/ (the rest) to match:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36621
2000-09-25 13:39:45 +00:00
Hans-Peter Nilsson
016c844017
Change callers in config/m*/ to match:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36620
2000-09-25 13:22:47 +00:00
Hans-Peter Nilsson
f0ca81d2b0
Change callers in config/[h-l]*/ to match:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36619
2000-09-25 13:03:20 +00:00
Hans-Peter Nilsson
614cd6b03f
Fix BSS_SECTION_ASM_OP typo introduced and covered by todays ASM.*_OP changelog entry.
...
From-SVN: r36618
2000-09-25 13:00:22 +00:00
Hans-Peter Nilsson
8802136f1d
Change callers in config/[b-g]*/ to match:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36617
2000-09-25 12:36:01 +00:00
Hans-Peter Nilsson
8202cda00e
Change callers in config/a*/ to match:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36616
2000-09-25 12:08:02 +00:00
Hans-Peter Nilsson
ca13100a6c
Change callers in config/* to match:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36615
2000-09-25 11:45:51 +00:00
Hans-Peter Nilsson
e8638df010
Callers gcc-toplev:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36614
2000-09-25 11:23:45 +00:00
Hans-Peter Nilsson
93de6f51fd
definitions in config/alpha/alpha.h config/arm/aout.h (oops, missed):
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36613
2000-09-25 10:33:57 +00:00
Hans-Peter Nilsson
471b6f1be0
definitions in config/[s-w]* (rest):
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36612
2000-09-25 10:24:23 +00:00
Hans-Peter Nilsson
76bbee8160
definitions in config/[npr]*:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36611
2000-09-25 10:11:22 +00:00
Hans-Peter Nilsson
78d057d889
definitions in config/m[ci]*:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36610
2000-09-25 10:01:10 +00:00
Hans-Peter Nilsson
6e7b07a750
definitions in config/m[368]*:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36609
2000-09-25 09:49:20 +00:00
Hans-Peter Nilsson
de323aa157
definitions in config/i[89a]*:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36608
2000-09-25 09:32:58 +00:00
Hans-Peter Nilsson
71d48a011e
definitions in config/i3*:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36607
2000-09-25 09:16:37 +00:00
Hans-Peter Nilsson
4e8aa65c64
definitions in config/[c-h]*:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36606
2000-09-25 08:54:42 +00:00
Hans-Peter Nilsson
8c13c7b384
definitions in config/a*:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36605
2000-09-25 08:42:10 +00:00
Hans-Peter Nilsson
e662a12925
config:
...
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36604
2000-09-25 08:23:05 +00:00
Hans-Peter Nilsson
0a3e1f45d8
Changes add TABs on either or both sides, covering start of line,
...
up to any operand for all .*ASM.*_OP definitions.
From-SVN: r36603
2000-09-25 08:08:58 +00:00
Jeff Law
afb2ca3dd7
Daily bump.
...
From-SVN: r36602
2000-09-25 01:45:08 -06:00
Richard Henderson
ea9ea00856
expmed.c (store_bit_field): Adjust last change to not consider any word-sized field naturally aligned.
...
* expmed.c (store_bit_field): Adjust last change to not consider
any word-sized field naturally aligned.
From-SVN: r36601
2000-09-25 00:07:33 -07:00
Richard Henderson
07035c0fc6
New test.
...
From-SVN: r36600
2000-09-25 00:04:55 -07:00
Richard Henderson
5a864cbf17
* gcc.c-torture/execute/20000914-1.c: Declare malloc.
...
From-SVN: r36599
2000-09-24 21:05:37 -07:00
Richard Henderson
9e49570050
alpha.c (alpha_emit_conditional_branch): Handle TFmode unordered compares properly.
...
* config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
TFmode unordered compares properly. Revalidate integer compare
operands.
(alpha_emit_setcc): New.
(alpha_emit_conditional_move): Revalidate integer compare operands.
* config/alpha/alpha-protos.h: Update.
* config/alpha/alpha.md (cmpdi): Allow general operands.
(sne): Use alpha_emit_setcc.
(seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise.
(sunordered, sordered): New.
From-SVN: r36598
2000-09-24 21:02:20 -07:00
Richard Henderson
2ed4af6f2d
ia64-protos.h: Update.
...
* config/ia64/ia64-protos.h: Update.
* config/ia64/ia64.c (call_multiple_values_operation): Remove.
(ia64_expand_call): New.
(ia64_expand_prologue): Emit an alloc if we need extra input
registers.
(ia64_expand_epilogue): New arg sibcall_p; don't emit the return
instruction if true.
(struct reg_flags): Add is_sibcall.
(rtx_needs_barrier): A sibcall does not use CFM et al. Ignore USEs.
(emit_insn_group_barriers): Set flags.is_sibcall. Remove hacks
for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal.
* config/ia64/ia64.h (PREDICATE_CODES): Update.
* config/ia64/ia64.md (call): Use ia64_expand_call.
(call_value): Likewise.
(sibcall, sibcall_value): New.
(call patterns): Remove extra expanders; tidy.
(sibcall_epilogue): New.
(set_bsp): Remove the extra USE. Put the operand inside the UNSPEC.
From-SVN: r36597
2000-09-24 16:58:24 -07:00
Richard Henderson
fd442cef30
sibcall.c (skip_pic_restore): New.
...
* sibcall.c (skip_pic_restore): New.
(identify_call_return_value): Use it.
From-SVN: r36596
2000-09-24 16:49:22 -07:00
Richard Henderson
e1389cac8d
* emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode.
...
From-SVN: r36595
2000-09-24 16:46:46 -07:00
Mark Mitchell
c06aa51eb9
c-tree.texi: Moved here from cp/ir.texi.
...
* c-tree.texi: Moved here from cp/ir.texi. Documented nested
functions. Generalize to handle both C and C++.
* Makefile.in (c-tree.info): New target.
(info): Add c-tree.info.
* ir.texi: Move to ../c-tree.texi.
From-SVN: r36592
2000-09-24 21:47:45 +00:00
Aldy Hernandez
fba549396d
add self to maintainers list
...
From-SVN: r36589
2000-09-24 20:52:25 +00:00
Richard Kenner
bd5dab534b
expr.c (store_field): If BITSIZE is negative, use size of type.
...
* expr.c (store_field): If BITSIZE is negative, use size of type.
(expand_expr, case COMPONENT_EXPR): Likewise.
From-SVN: r36588
2000-09-24 11:35:44 -04:00