Jeff Law
ee48472991
fileops.c: #include <unistd.h>.
...
* fileops.c: #include <unistd.h>.
* ioprims.c: Likewise.
From-SVN: r17890
1998-02-12 16:56:20 -07:00
Krister Walfridsson
82fa5cdffe
fileops.c: #include <unistd.h>.
...
(
* fileops.c: #include <unistd.h>.
* ioprims.c: Likewise.
From-SVN: r17889
1998-02-12 16:56:19 -07:00
Krister Walfridsson
f3a5aedcbd
fileops.c: #include <unistd.h>.
...
f
* fileops.c: #include <unistd.h>.
* ioprims.c: Likewise.
From-SVN: r17888
1998-02-12 16:56:18 -07:00
Jeffrey A Law
5e0e0f036a
* cccp.c (new_include_prefix): Correctly handle -I./.
...
From-SVN: r17886
1998-02-12 16:45:20 -07:00
Jeffrey A Law
2aca5b9b2d
* gcc.dg/ifelse-1.c: New test.
...
From-SVN: r17885
1998-02-12 16:34:52 -07:00
Kaveh R. Ghazi
567f3d3603
com.c (type_for_mode): Add explicit braces to avoid ambiguous `else'.
...
* com.c (type_for_mode): Add explicit braces to avoid ambiguous `else'.
* expr.c (ffeexpr_type_combine): Likewise.
(ffeexpr_reduce_): Likewise.
(ffeexpr_declare_parenthesized_): Likewise.
* src.c (ffesrc_strcmp_1ns2i): Likewise.
(ffesrc_strcmp_2c): Likewise.
(ffesrc_strncmp_2c): Likewise.
* stb.c (ffestb_halt1_): Likewise.
(ffestb_R90910_): Likewise.
(ffestb_R9109_): Likewise.
* stc.c (ffestc_R544_equiv_): Likewise.
* std.c (ffestd_subr_copy_easy_): Likewise.
(ffestd_R1001dump_): Likewise.
(ffestd_R1001dump_1005_1_): Likewise.
(ffestd_R1001dump_1005_2_): Likewise.
(ffestd_R1001dump_1005_3_): Likewise.
(ffestd_R1001dump_1005_4_): Likewise.
(ffestd_R1001dump_1005_5_): Likewise.
(ffestd_R1001dump_1010_2_): Likewise.
* ste.c (ffeste_R840): Likewise.
* sts.c (ffests_puttext): Likewise.
* symbol.c (ffesymbol_check_token_): Likewise.
* target.c (ffetarget_real1): Likewise.
(ffetarget_real2): Likewise.
From-SVN: r17884
1998-02-12 16:18:26 -07:00
Benjamin Kosnik
c4e8876e9b
�
...
testcase for g++/14837
From-SVN: r17882
1998-02-12 18:20:08 +00:00
Benjamin Kosnik
2df0603278
decl.c (shadow_tag): Give error for typedef-ing built-in types Fixes g++/14837
...
d
Thu Feb 12 12:46:51 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
* decl.c (shadow_tag): Give error for typedef-ing built-in types
Fixes g++/14837
From-SVN: r17881
1998-02-12 18:18:51 +00:00
Benjamin Kosnik
ea957dd5f4
decl.c (shadow_tag): Give error for typedef-ing built-in types Fixes g++/14837
...
a
Thu Feb 12 12:46:51 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
* decl.c (shadow_tag): Give error for typedef-ing built-in types
Fixes g++/14837
From-SVN: r17880
1998-02-12 18:18:49 +00:00
Michael Meissner
89e9f3a8a9
Replace gen_rtx (CONST_INT...) calls with GEN_INT calls
...
From-SVN: r17879
1998-02-12 17:18:51 +00:00
Robert Lipe
8bd6ecc280
expr.c (expand_assignment): Correct typo exposed by -Wall.
...
* expr.c (expand_assignment): Correct typo exposed by -Wall.
offset should have been a truth value, not an assignment.
From-SVN: r17876
1998-02-12 14:59:57 +00:00
Mark Mitchell
3317aae90b
call.c (reference_binding): Use comptypes when comparing TYPE_MAIN_VARIANTS to handle non-canonical...
...
* call.c (reference_binding): Use comptypes when comparing
TYPE_MAIN_VARIANTS to handle non-canonical array/index types.
From-SVN: r17875
1998-02-12 14:55:02 +00:00
Mark Mitchell
9ca21c0adb
typeck.c (build_ptrmemfunc): Typecheck pointer-to-member conversions.
...
* typeck.c (build_ptrmemfunc): Typecheck pointer-to-member
conversions.
From-SVN: r17874
1998-02-12 14:51:57 +00:00
Jeffrey A Law
614bb5d45d
cse.c (delete_dead_from_cse): If a libcall produces a constant result and that result can be substituted into...
...
* cse.c (delete_dead_from_cse): If a libcall produces a constant
result and that result can be substituted into SET_SRC of the
insn with the REG_RETVAL note, then perform the substitution
and delete the libcall.
From-SVN: r17871
1998-02-12 07:26:47 -07:00
Gavin Koch
00bb4b6208
mips.md (trucndihi2,truncdiqi2): Change these to support mips16.
...
* mips.md (trucndihi2,truncdiqi2): Change these to support
mips16.
From-SVN: r17868
1998-02-12 11:06:08 +00:00
Gavin Koch
3871c60927
mips.c (movdi_operand): Direct referances to symbols that arn't mips16 consts in mips16 mode arn't...
...
* mips/mips.c (movdi_operand): Direct referances to symbols
that arn't mips16 consts in mips16 mode arn't valid operands.
* mips/mips.c (mips_move_2words): Add gprel handling.
From-SVN: r17867
1998-02-12 08:37:06 +00:00
Gavin Koch
2e72fa6af1
mips.md (extendsidi2): Allow extension to/from a non-mips16 register.
...
* mips.md (extendsidi2): Allow extension to/from a non-mips16
register.
From-SVN: r17866
1998-02-12 08:21:38 +00:00
Robert Lipe
0f4775477e
Add documentation for OpenServer patch required for static [cd]tors
...
to work right.
From-SVN: r17865
1998-02-11 23:17:04 +00:00
Marc Lehmann
a49103407c
i386.c: Conditionally include <stdlib.h>, <string.h>, and <strings.h>.
...
* i386.c: Conditionally include <stdlib.h>, <string.h>, and
<strings.h>.
From-SVN: r17864
1998-02-11 16:03:32 -07:00
Mark Mitchell
06ab59dfa0
tree.c (is_overloaded_fn): Use really_overloaded_fn.
...
* tree.c (is_overloaded_fn): Use really_overloaded_fn.
(really_overloaded_fn): Move check here from is_overloaded_fn.
(get_first_fn): Use really_overloaded_fn and is_overloaded_fn.
From-SVN: r17863
1998-02-11 22:47:30 +00:00
Kaveh R. Ghazi
cc1e5b9ab3
Makefile.in (WARN_CFLAGS): New variable.
...
* Makefile.in (WARN_CFLAGS): New variable.
(bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
From-SVN: r17862
1998-02-11 15:26:23 -07:00
Mark Mitchell
53949fac1d
i386.c (reg_mentioned_in_mem): Don't abort when falling through default case in switch.
...
* config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
falling through default case in switch.
(i386_aligned_p): Likewise.
From-SVN: r17860
1998-02-11 15:09:17 +00:00
Lee Iverson
9504c31c84
Patch from Lee Iverson.
...
* mips/mips.h (mips_abi_string): Correct typo in comment.
From-SVN: r17858
1998-02-11 05:04:01 -08:00
Jeff Law
f3a9e4e599
More updates...
...
From-SVN: r17857
1998-02-11 05:25:38 -07:00
Gavin Koch
7e4e0956ba
* mips/mips.md (movdi): These PLUS's need to be Pmode.
...
From-SVN: r17855
1998-02-11 05:32:24 +00:00
Jeff Law
fe70ce64fd
Add more folks.
...
From-SVN: r17854
1998-02-10 18:57:57 -07:00
Jason Merrill
68ea752b16
new
...
From-SVN: r17853
1998-02-10 20:30:13 -05:00
Mark Mitchell
3ac3d9eaf1
cp-tree.h (push_template_decl): Return the decl passed in, or an equivalent duplicate.
...
* cp-tree.h (push_template_decl): Return the decl passed in, or an
equivalent duplicate.
* decl.c (pushtag): Use the return value from push_template_decl.
(duplicate_decls): When duplicating a template declaration, merge
the DECL_TEMPLATE_RESULTs as well.
(make_implicit_typename): Don't try to dive into typename types to
find a context for making a new implicit typename.
(start_decl): Use the return value from push_template_decl.
(grokdeclarator): Complain about declarations list `const operator
int'. Since we don't correctly handle in-class initializations of
non-static data members, complain about this (now illegal)
practice. Issue an error for initializations of non-const statics
since that is illegal as well, and since we don't handle that case
correctly either.
(start_function): Use the return value from push_template_decl.
(start_method): Likewise.
* decl2.c (grokfield): Likewise. Since the change to
grokdeclarator ensures that all initialized fields are in fact
static, remove a redundant test for TREE_PUBLIC.
* parse.y (initlist): Disable labeled initializers since they do
not work as per the documentation, and since they do not use the
same syntax as the C front end.
* pt.c (push_template_decl): Return the decl passed in, or an
equivalent duplicate.
(lookup_template_class): When searching in a nested context,
use the right arguments.
(uses_template_parms): Handle the DECL_INITIAL for a CONST_DECL.
* typeck.c (build_component_ref): Assign the correct type to the
result of build_vfn_ref.
From-SVN: r17852
1998-02-10 20:22:36 -05:00
Richard Henderson
8cd61d76f7
Copy comment to go with the subtraction patch.
...
From-SVN: r17850
1998-02-10 16:54:15 -08:00
Kaveh R. Ghazi
8fb3ae1537
Makefile.in (dwarf2out.o, [...]): Depend on insn-codes.h, it gets included indirectly via expr.h.
...
* Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
reorg.o, regmove.o): Depend on insn-codes.h, it gets included
indirectly via expr.h.
From-SVN: r17849
1998-02-10 17:46:41 -07:00
Manfred Hollstein
7bd52f251f
Makefile.in ($(lib)): Call $(AR) repeatedly to avoid overflowing argument size limit on ancious System V.
...
* Makefile.in ($(lib)): Call $(AR) repeatedly to avoid overflowing
argument size limit on ancious System V.
From-SVN: r17848
1998-02-10 17:44:50 -07:00
Richard Henderson
e203760cfa
com.c (ffecom_ptr_to_expr): Do upper - lower in the native type, so as to properly handle negative indices.
...
* com.c (ffecom_ptr_to_expr) [FFEBLD_opARRAYREF]: Do upper - lower
in the native type, so as to properly handle negative indices.
From-SVN: r17847
1998-02-10 17:44:03 -07:00
Richard Henderson
a2d53b285d
stor-layout.c (layout_type): Do upper - lower in the native type, so as to properly handle negative indices.
...
* stor-layout.c (layout_type): Do upper - lower in the native type,
so as to properly handle negative indices.
From-SVN: r17846
1998-02-10 17:43:32 -07:00
Robert Lipe
381127e845
except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
...
* except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
(expand_eh_region_start_tree): Remove unused variable 'note'.
(exception_optimize): Remove unused variable 'regions'.
(expand_builtin_eh_stub): Remove unused variable 'temp'.
(copy_eh_entry): Deleted. Dead function.
* expr.c (move_block_to_reg) Bracket declaration of 'pat' and
'last' with same #if HAVE_load_multiple as use of it.
(move_block_from_reg): Likewise.
(emit_move_insn_1): Remove unused variable 'insns'.
(store_constructor): Bracket declaration of startb, endb with
#if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
'target', and 'xtarget'.
(expand_builtin_setjmp): Remove unused variables 'op0',
'next_arg_reg', 'old_inhibit_defer_pop'.
(expand_builtin): Remove unused variable 'offset'.
(do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
(emit_queue): Add parens for assignment used as conditional.
(expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
From-SVN: r17843
1998-02-10 17:35:13 -07:00
Mark Mitchell
9b713d5e50
iostream.cc (ostream::operator<<(long double)): Don't use labeled initializers.
...
* iostream.cc (ostream::operator<<(long double)): Don't use
labeled initializers.
From-SVN: r17842
1998-02-10 19:35:01 -05:00
Marc Lehmann
00c79232ab
i386.c: Added include for recog.h.
...
* i386.c: Added include for recog.h.
(override_options): Removed unused variable p. Initialized regno to
avoid warning.
(order_regs_for_local_alloc): Initialized regno to avoid warning.
(legitimize_address): Likewise for 'other'.
(i386_aligned_reg_p): Added default case with abort ().
(print_operand): Likewise.
(reg_mentioned_in_mem): Likewise.
(ix86_expand_binary_operator): Removed unused variables i & insn.
(ix86_expand_unary_operator): Removed unused variable insn.
(output_fp_cc0_set): Removed unused variable unordered_label.
From-SVN: r17841
1998-02-10 17:29:57 -07:00
John F. Carr
f64cecad3e
i386.c, [...]: Change gen_rtx (X, ...) to gen_rtx_X (...).
...
* i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
and format string match.
From-SVN: r17840
1998-02-10 17:25:43 -07:00
Jeffrey A Law
0200b5ed0a
flow.c (life_analysis): Do not conside the stack pointer live at the end of a function if...
...
* flow.c (life_analysis): Do not conside the stack pointer live at
the end of a function if the fucntio ncalls alloca.
(mark_used_regs): Similarly.
From-SVN: r17839
1998-02-10 17:18:51 -07:00
Jason Merrill
c29c4e238e
* pt.c (convert_nontype_argument): Fix typo.
...
From-SVN: r17838
1998-02-10 18:58:19 -05:00
Jeff Law
3ab1919cc2
Update autoconf/autoheader generated files.
...
From-SVN: r17837
1998-02-10 16:51:52 -07:00
Jason Merrill
c6f2ed0db7
pt.c (check_explicit_specialization): Allow old-style specialization of class template members.
...
* pt.c (check_explicit_specialization): Allow old-style specialization
of class template members.
From-SVN: r17836
1998-02-10 18:42:31 -05:00
Jason Merrill
71cc65bdb7
decl.c (grokdeclarator): Use DECL_USE_TEMPLATE instead when deciding to override DECL_ASSEMBLER_NAME.
...
* decl.c (grokdeclarator): Use DECL_USE_TEMPLATE instead
when deciding to override DECL_ASSEMBLER_NAME.
Co-Authored-By: Manfred Hollstein <manfred@s-direktnet.de>
From-SVN: r17835
1998-02-10 15:37:18 -05:00
John F. Carr
74ccf2c258
For movdi_v8plus pattern, output stx on alternative 1 and fzero on alternative 8.
...
For movdi_v8plus pattern, output stx on alternative 1 and
fzero on alternative 8. Fix from John Carr (jfc@mit.edu )
From-SVN: r17834
1998-02-10 07:25:50 -08:00
Andrew Macleod
ed22c95e1a
Add support for squangling.
...
From-SVN: r17832
1998-02-10 12:32:21 +00:00
Andrew Macleod
8f5b46b422
Add -fsquangle and -fno-squangle.
...
From-SVN: r17831
1998-02-10 12:32:03 +00:00
Andrew Macleod
5bd179053b
Add declaration for flag_do_squangling.
...
From-SVN: r17830
1998-02-10 12:31:55 +00:00
Andrew Macleod
1d9ffce9c5
Add -fsquangle to option processing list.
...
From-SVN: r17829
1998-02-10 12:31:27 +00:00
Andrew Macleod
727e39c7ff
Add squangling support. (First cut at improved Name mangling)
...
From-SVN: r17828
1998-02-10 12:31:01 +00:00
John Carr
3afaa6e8c5
Patch from jfc to fix printf format problems.
...
From-SVN: r17827
1998-02-10 03:47:01 -08:00
Richard Kenner
60e2d0ca3d
rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
...
From-SVN: r17825
1998-02-10 04:05:42 -05:00