Jeff Law
fa78f41e38
Daily bump.
...
From-SVN: r22634
1998-09-28 18:45:01 -06:00
Alexandre Oliva
4a2f8460dc
bitfld1.C: expected failure
...
* g++.old-deja/g++.other/bitfld1.C: expected failure
* g++.old-deja/g++.other/nested2.C: ditto
* g++.old-deja/g++.robertl/eb132.C: no longer an expected failure
From-SVN: r22633
1998-09-28 21:24:13 +00:00
Anthony Green
a64c757e99
* semantics.c (finish_asm_stmt): Always permit volatile asms.
...
From-SVN: r22632
1998-09-28 20:23:27 +00:00
Kaveh R. Ghazi
630962bf86
toplev.c (documented_lang_options): Spelling corrections.
...
* toplev.c (documented_lang_options): Spelling corrections.
(`whoes' -> `whose')
From-SVN: r22631
1998-09-28 19:13:25 +00:00
Mark Mitchell
4f70a84653
decl.c (grokdeclarator): Tighten checks for invalid destructors.
...
* decl.c (grokdeclarator): Tighten checks for invalid
destructors. Improve error-messages and error-recovery.
* decl2.c (check_classfn): Don't assume that mangled destructor
names contain type information.
From-SVN: r22630
1998-09-28 17:34:33 +00:00
Alexandre Oliva
ab339d62c0
configure.in: new flags --with-ld and --with-as...
...
* configure.in: new flags --with-ld and --with-as, equivalent
to setting LD and AS environment variables. Test whether
specified arguments are GNU commands, and report them with
checking messages. Use the specified AS for configure
tests too.
* configure: ditto
* acconfig.h: add DEFAULT_ASSEMBLER and DEFAULT_LINKER
* config.in: ditto
* gcc.c (find_a_file): when looking for `as' and `ld', return
the DEFAULT program if it exists
* collect2.c (main): use DEFAULT_LINKER if it exists
* gcc.c (find_a_file): the test for existence of a full
pathname was reversed
From-SVN: r22629
1998-09-28 15:52:01 +00:00
Michael Meissner
42820a49dd
Make ASM_OUTPUT_MI_THUNK ELF only for now and always use jump
...
From-SVN: r22628
1998-09-28 14:40:27 +00:00
Mark Mitchell
8ff0c1af0e
* tree.h (TYPE_BINFO): Document.
...
From-SVN: r22627
1998-09-28 14:23:17 +00:00
Stan Cox
9588f31b35
i386-coff.h (dbxcoff.h): Added.
...
From-SVN: r22626
1998-09-28 11:05:13 +00:00
Catherine Moore
fd86857287
fix last patch.
...
From-SVN: r22622
1998-09-28 06:57:35 -04:00
Nick Clifton
1f2b04b361
Applied Jim's small patch to reload () for arm-elf.
...
From-SVN: r22621
1998-09-28 10:33:41 +00:00
Mark Mitchell
ece320145f
c-common.c (c_get_alias_set): Tighten slightly for FUNCTION_TYPEs and ARRAY_TYPEs.
...
* c-common.c (c_get_alias_set): Tighten slightly for FUNCTION_TYPEs
and ARRAY_TYPEs. Tidy up. Improve support for type-punning.
* expr.c (store_field): Add alias_set parameter. Set the
MEM_ALIAS_SET accordingly, if the target is a MEM.
(expand_assignment): Use it.
(store_constructor_field): Pass 0.
(expand_expr): Likewise.
From-SVN: r22620
1998-09-28 07:44:12 +00:00
Catherine Moore
7d0756fbf1
flags.h: Add flag_data_sections.
...
* flags.h: Add flag_data_sections.
* toplev.c: Add option -fdata-sections. Add flag_data_sections.
(compile_file): Error if flag_data_sections not supported.
* varasm.c (assemble_variable): Handle flag_data_sections.
* config/svr4.h: Modify prefixes for UNIQUE_SECTION_NAME.
* config/mips/elf.h: Likewise.
* config/mips/elf64.h: Likewise.
* invoke.texi: Describe -fdata-sections.
From-SVN: r22619
1998-09-28 02:24:06 -04:00
Jeff Law
52464fd6e7
Fix typos.
...
From-SVN: r22616
1998-09-27 21:24:01 -06:00
Jeffrey A Law
7542d87cee
* news.texi: Update from Craig.
...
From-SVN: r22615
1998-09-27 21:23:24 -06:00
Craig Burley
6fd7449401
invoke.texi (-ffloat-store): Clarify that this option does not affect intermediate results -- only variables.
...
* invoke.texi (-ffloat-store): Clarify that this option
does not affect intermediate results -- only variables.
From-SVN: r22614
1998-09-27 21:17:17 -06:00
Jeffrey A Law
fcce57564b
* cpp.texi: Update for Fortran usage from Craig.
...
From-SVN: r22613
1998-09-27 21:14:40 -06:00
Jeffrey A Law
494933e4cd
configure.in: Minor cleanups for building in the $(target_alias) subdir.
...
* configure.in: Minor cleanups for building in the $(target_alias)
subdir.
From-SVN: r22612
1998-09-27 21:07:27 -06:00
Jeff Law
f7c69d5640
Daily bump.
...
From-SVN: r22611
1998-09-27 18:45:32 -06:00
Jeff Law
c848b6d26e
Daily bump.
...
From-SVN: r22604
1998-09-26 18:45:02 -06:00
Jason Merrill
fe41d26a25
fix
...
From-SVN: r22601
1998-09-25 22:24:42 -04:00
Jeff Law
762d45abc8
Daily bump.
...
From-SVN: r22600
1998-09-25 18:45:01 -06:00
Alexandre Oliva
c9b6c487be
bitfld1.C: built-in operator!= should be preferred over template operator!= for enum bitfields
...
* g++.old-deja/g++.other/bitfld1.C: built-in operator!= should be
preferred over template operator!= for enum bitfields
From-SVN: r22599
1998-09-25 22:57:30 +00:00
Jason Merrill
c536a84ad8
update
...
From-SVN: r22598
1998-09-25 17:46:25 -04:00
Jason Merrill
18141e4c18
search.c (get_base_distance): Remove assert.
...
* search.c (get_base_distance): Remove assert.
* decl2.c (build_anon_union_vars): Don't process a field with no
name.
(finish_anon_union): Also complain about local anon unions with no
members.
From-SVN: r22597
1998-09-25 17:34:50 -04:00
David Edelsohn
b8d446d46e
- fixup botched commit
...
From-SVN: r22596
1998-09-25 15:19:03 -04:00
David Edelsohn
2310f99ae1
rs6000.c (function_arg_boundary): Revert accidental change on September 18.
...
* rs6000.c (function_arg_boundary): Revert accidental change on
September 18.
From-SVN: r22595
1998-09-25 15:11:55 -04:00
Michael Meissner
17167fd8b5
Add OUTPUT_ASM_MI_THUNK; use r12 as temp for System V profiling, not r11
...
From-SVN: r22594
1998-09-25 17:49:19 +00:00
David Edelsohn
ccf82a75b0
- update comment to clarify that this file is specific to AIX and 32-bit mode.
...
From-SVN: r22593
1998-09-25 10:56:26 -04:00
Jim Wilson
46fb0d7d0f
Fix nightly testing i386-coff libstdc++ build failure.
...
* sdbout.c (sdbout_one_type): Don't look at TYPE_BINFO field of enums.
From-SVN: r22592
1998-09-25 07:37:13 -07:00
J"orn Rennecke
913d8e1320
* sh.c (gen_shl_sext): Fix case 5.
...
From-SVN: r22591
1998-09-25 12:37:01 +01:00
Martin v. Löwis
a0e7ad89ab
New test case.
...
From-SVN: r22590
1998-09-25 11:17:12 +00:00
Martin v. Löwis
1231fb960d
decl.c (lookup_namespace_name): If the name is a namespace, return it immediately.
...
1998-09-24 Martin von L�wis <loewis@informatik.hu-berlin.de>
* decl.c (lookup_namespace_name): If the name is a namespace,
return it immediately.
From-SVN: r22589
1998-09-25 11:07:29 +00:00
J"orn Rennecke
2abbc1bd67
* reload1.c (reload_combine): Re-add line that got accidentally lost.
...
From-SVN: r22588
1998-09-25 10:38:08 +01:00
Kaveh R. Ghazi
b370501f72
Warning fixes:
...
* cp-tree.h (define_case_label): Remove unused parameter.
(check_java_method): Likewise.
(grokclassfn): Likewise.
(expand_aggr_init): Likewise.
(build_x_delete): Likewise.
(maybe_end_member_template_processing): Likewise.
(unshare_base_binfos): Add prototype.
(string_conv_p): Likewise.
(my_friendly_abort): Mark with ATTRIBUTE_NORETURN.
* cvt.c (build_up_reference): Remove unused parameter
`checkconst', all callers changed.
(build_type_conversion): Mark parameter `code' with
ATTRIBUTE_UNUSED.
(build_expr_type_conversion): Initialize variable `conv'.
* decl.c (push_namespace): Initialize variable `d'.
(define_case_label): Remove unused parameter `decl', all callers
changed.
* decl2.c (lang_decode_option): If !USE_CPPLIB, mark parameter
`argc' with ATTRIBUTE_UNUSED.
(grokclassfn): Remove unused parameter `cname', all callers
changed.
(check_java_method): Likewise for parameter `ctype'.
(copy_assignment_arg_p): Mark parameter `virtualp' with
ATTRIBUTE_UNUSED.
(finish_prevtable_vardecl): Likewise for parameter `prev'.
* expr.c (extract_init): Likewise for parameters `decl' and `init'.
* init.c (expand_aggr_init_1): Remove unused parameter
`alias_this', all callers changed.
(expand_aggr_init): Likewise.
(expand_default_init): Likewise.
(build_new_1): Initialize variable `susp'.
(build_x_delete): Remove unused parameter `type', all callers
changed.
* lex.c (set_typedecl_interface_info): Mark parameter `prev' with
ATTRIBUTE_UNUSED.
(readescape): Use (unsigned) value in shift.
(real_yylex): Likewise. Likewise. Also cast `sizeof' to int when
comparing to a signed quantity.
* pt.c (maybe_end_member_template_processing): Remove unused
parameter `decl', all callers changed.
(check_explicit_specialization): Add braces around empty body in
an else-statement.
(current_template_args): Initialize variable `args'.
(lookup_template_class): Likewise for variable `prev_local_enum'.
(tsubst_decl): Likewise for variable `r'.
(set_mangled_name_for_template_decl): Initialize variable
`context'.
* spew.c (scan_tokens): Change type of parameter `n' to unsigned.
Likewise for variable `i'.
(yylex): Initialize variable `trrr'.
* typeck.c (compparms): Mark variable `strict' with
ATTRIBUTE_UNUSED.
* xref.c (simplify_type): Cast argument of ctype function to
`unsigned char'.
From-SVN: r22587
1998-09-25 09:00:04 +00:00
Mark Mitchell
3ee9b638ab
Remove XFAIL
...
From-SVN: r22586
1998-09-25 08:37:45 +00:00
Kaveh R. Ghazi
36611067d5
cccp.c (pedwarn_with_file_and_line): For !__STDC__ case...
...
* cccp.c (pedwarn_with_file_and_line): For !__STDC__ case, avoid
accessing variables until they are initialized via va_arg().
From-SVN: r22585
1998-09-25 07:49:07 +00:00
Jeff Law
8d62cb85ca
Daily bump.
...
From-SVN: r22584
1998-09-24 18:45:02 -06:00
Mark Mitchell
69851283e8
cp-tree.h (language_lvalue_valid): Remove.
...
* cp-tree.h (language_lvalue_valid): Remove.
* decl.c (grokdeclarator): Don't disallow references to functions.
* tree.c (lvalue_p_1): New function, combining duplicated
code from ...
(lvalue_p): Use it.
(real_lvalue_p): Likewise.
* typeck.c (language_lvalue_valid): Remove.
(build_modify_expr): Treat FUNCTION_TYPEs as readonly, even though
they don't have TREE_READONLY set.
* typeck2.c (readonly_error): Add case for FUNCTION_DECLs.
From-SVN: r22583
1998-09-24 23:53:37 +00:00
David S. Miller
85ccbba3d7
reload1.c (reload_combine): Initialize set before using.
...
Thu Sep 24 22:12:16 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
* reload1.c (reload_combine): Initialize set before using.
From-SVN: r22582
1998-09-24 16:18:31 -07:00
Benjamin Kosnik
2b23d3b1b7
*** empty log message ***
...
From-SVN: r22581
1998-09-24 22:30:05 +00:00
Benjamin Kosnik
9a4690080e
spew.c (yylex): Give diagnostic.
...
�
1998-09-24 Benjamin Kosnik <bkoz@loony.cygnus.com>
* spew.c (yylex): Give diagnostic.
* hash.h (is_reserved_word): Add export.
* gxx.gperf: Ditto.
* lex.h (rid): Add RID_EXPORT.
* lex.c (init_parse): Ditto.
From-SVN: r22580
1998-09-24 22:29:31 +00:00
Benjamin Kosnik
4880e218b7
spew.c (yylex): Give diagnostic.
...
�
1998-09-24 Benjamin Kosnik <bkoz@loony.cygnus.com>
* spew.c (yylex): Give diagnostic.
* hash.h (is_reserved_word): Add export.
* gxx.gperf: Ditto.
* lex.h (rid): Add RID_EXPORT.
* lex.c (init_parse): Ditto.
From-SVN: r22579
1998-09-24 22:29:29 +00:00
Benjamin Kosnik
dfa90a4753
spew.c (yylex): Give diagnostic.
...
�
1998-09-24 Benjamin Kosnik <bkoz@loony.cygnus.com>
* spew.c (yylex): Give diagnostic.
* hash.h (is_reserved_word): Add export.
* gxx.gperf: Ditto.
* lex.h (rid): Add RID_EXPORT.
* lex.c (init_parse): Ditto.
From-SVN: r22578
1998-09-24 22:29:28 +00:00
Benjamin Kosnik
269d984e34
spew.c (yylex): Give diagnostic.
...
�
1998-09-24 Benjamin Kosnik <bkoz@loony.cygnus.com>
* spew.c (yylex): Give diagnostic.
* hash.h (is_reserved_word): Add export.
* gxx.gperf: Ditto.
* lex.h (rid): Add RID_EXPORT.
* lex.c (init_parse): Ditto.
From-SVN: r22577
1998-09-24 22:29:27 +00:00
Jason Merrill
0dbb7a102f
sdbout.c (sdbout_field_types): Don't emit the types of fields we won't be emitting.
...
* sdbout.c (sdbout_field_types): Don't emit the types of fields we
won't be emitting.
From-SVN: r22576
1998-09-24 14:54:38 -04:00
Jason Merrill
03d368760c
fix
...
From-SVN: r22575
1998-09-24 14:21:09 -04:00
Nick Clifton
da9599506e
Applied Jim's patch to "insv" pattern
...
From-SVN: r22574
1998-09-24 17:08:41 +00:00
Jakub Jelinek
3c6088d24f
sparc.c (function_value): Perform the equivalent of PROMOTE_MODE for ARCH64.
...
Thu Sep 24 15:08:08 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
* config/sparc/sparc.c (function_value): Perform the equivalent of
PROMOTE_MODE for ARCH64.
(eligible_for_epilogue_delay): Allow DImode operations in delay
slot of a return for ARCH64.
From-SVN: r22573
1998-09-24 09:16:58 -07:00
J"orn Rennecke
711878702f
* sh.md (sqrtsf2): Fix mode of sqrt.
...
From-SVN: r22572
1998-09-24 15:20:37 +01:00