Jeffrey A Law
e7a587ef75
* class.c, Make sure system.h is included just after config.h.
...
Delete lingering stdio and errno references too.
* decl.c, errfn.c, parse.y, ptree.c search.c, xrefc.: Likewwise.
From-SVN: r18936
1998-04-01 10:25:12 -07:00
Nick Clifton
75d3a15b4d
Add thumb-pe support.
...
Add super interworking.
From-SVN: r18935
1998-04-01 17:19:01 +00:00
Jason Merrill
7c76b292a2
tweak
...
From-SVN: r18934
1998-04-01 12:15:54 -05:00
Jason Merrill
570221c201
friend.c (is_friend): Fix access control for local classes.
...
* friend.c (is_friend): Fix access control for local classes.
* class.c (is_empty_class): New fn.
* call.c (build_call): Don't pass empty class objects to a function.
From-SVN: r18933
1998-04-01 12:05:25 -05:00
Mark Mitchell
59581da697
call.c (build_over_call): Do name resolution for default arguments of function templates in the scope of...
...
* call.c (build_over_call): Do name resolution for default
arguments of function templates in the scope of the templates.
From-SVN: r18932
1998-04-01 16:27:24 +00:00
Jim Wilson
63959c221b
Fix irix6-x-foo cross compiler build problem where irix6 gcc invokes wrong as.
...
* config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
(MD_STARTFILE_PREFIX): Unset.
From-SVN: r18931
1998-04-01 06:40:00 -08:00
Mark Mitchell
f9c8545454
cplus-dem.c (optable): Add sizeof.
...
* cplus-dem.c (optable): Add sizeof.
(demangle_template_value_parm): New function containing code
previously found in demangle_template.
(demangle_integral_value): New function which handles complicated
integral expressions.
(demangle_template): Use them.
From-SVN: r18930
1998-04-01 13:48:48 +00:00
Mark Mitchell
c651e1e085
varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a entity in a local scope.
...
* varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
entity in a local scope.
* fold-const.c (fold): Call truthvalue_conversion for values which
are folded to boolean type.
From-SVN: r18929
1998-04-01 13:45:40 +00:00
Jeffrey A Law
3a598fbeb4
1750a.md, [...]: Use GEN_INT consistently.
...
* 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
* convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
* i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
* i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
* m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
* pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
* rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
* tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
* md.texi: Likewise.
From-SVN: r18927
1998-03-31 22:20:26 -07:00
Manfred Hollstein
a26fd1652b
fixincludes (limits.h): Fix nested comments in Motorola's limits.h and sys/limits.h.
...
8
* fixincludes (limits.h): Fix nested comments in Motorola's
limits.h and sys/limits.h.
From-SVN: r18923
1998-03-31 22:35:25 +00:00
Manfred Hollstein
b5026c5068
fixincludes (limits.h): Fix nested comments in Motorola's limits.h and sys/limits.h.
...
@
* fixincludes (limits.h): Fix nested comments in Motorola's
limits.h and sys/limits.h.
From-SVN: r18922
1998-03-31 22:35:23 +00:00
Jim Wilson
1a7cb241b3
Fix alpha-vms packed-1 failure.
...
* alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
as dest of expand_binop call.
From-SVN: r18921
1998-03-31 11:24:52 -08:00
Jim Wilson
221a9f65a1
Fix core dump while compiling gdb-4.16.
...
* alpha.md (extzv): Correct check for valid operand[2] values.
From-SVN: r18920
1998-03-31 11:20:08 -08:00
Jim Wilson
a7ebd547fb
Fix HPPA -fprofile-arcs abort on switch statements.
...
* profile.c (branch_prob): Add code to recognize HPPA tablejump entry
branch.
From-SVN: r18919
1998-03-31 10:56:59 -08:00
Jim Wilson
c8d86b9a3c
Fix problem where different code gets generated with/without -Wreturn-type.
...
* toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.
From-SVN: r18918
1998-03-31 08:59:41 -08:00
Jeffrey A Law
8d052bc70c
call.c: Include system.h.
...
* call.c: Include system.h. Remove includes, declarations and
defines provided by system.h.
* class.c, cvt.c, decl.c, decl2.c, errfn.c error.c: Likewise.
* except.c, expr.c friend.c, g++spec.c, init.c, input.c: Likewise.
* lex.c, parse.y, pt.c, ptree.c repo.c rtti.c, search.c: Likewise.
* semantics.c, sig.c, spew.c, tree.c, typeck.c: Likewise.
* typeck2.c, xref.c: Likewise.
* Makefile.in: Dependencies updated as appropriate.
* Make-lang.in: Likewise.
system.h cutover from the cp subdir
From-SVN: r18917
1998-03-31 06:25:46 -07:00
Stan Cox
97be8f06eb
gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
...
From-SVN: r18914
1998-03-30 14:35:36 +00:00
Stan Cox
216be67c6f
(__main, __do_global_dtors, __do_global_ctors): For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
...
From-SVN: r18913
1998-03-30 14:33:55 +00:00
Mark Mitchell
7cd55873dc
pt.c (fn_type_unification): Allow incomplete unification without an immediate error message.
...
* pt.c (fn_type_unification): Allow incomplete unification without
an immediate error message.
From-SVN: r18912
1998-03-30 12:17:01 +00:00
Kaveh R. Ghazi
b04cd50711
More cutover to system.h:
...
* Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
system.h.
* cpphash.c: Include config.h.
* cppalloc.c: Include system.h. Add parameters to various
function prototypes.
* cpperror.c: Likewise.
* cppexp.c: Likewise.
* cpphash.c: Likewise.
* cpplib.c: Likewise.
* cppmain.c: Likewise.
* fix-header.c: Likewise.
* gcov.c: Likewise.
* gen-protos.c: Likewise.
* gengenrtl.c: Likewise.
* halfpic.c: Likewise.
* hash.c: Likewise.
* scan-decls.c: Likewise.
* scan.c: Likewise.
From-SVN: r18911
1998-03-30 12:05:54 +00:00
Jim Wilson
1aa5d112c8
Fix problem reported by Thomas Quinot.
...
* README.gnat: Add lang_print_xnode definition.
From-SVN: r18910
1998-03-30 03:08:05 -08:00
Jason Merrill
f94ae2f5c0
tree.c (member_p): New fn.
...
* tree.c (member_p): New fn.
* decl2.c (finish_file): Only set DECL_STATIC_FUNCTION_P for
initializing class members.
* cp-tree.def (TEMPLATE_PARM_INDEX): Class 'x'.
* ptree.c (lang_print_xnode): Handle TEMPLATE_PARM_INDEX.
From-SVN: r18909
1998-03-30 05:56:25 -05:00
Jason Merrill
7bae46f4b2
call.c (build_method_call): Handle non-scoped destructors, too.
...
* call.c (build_method_call): Handle non-scoped destructors, too.
* pt.c (tsubst_copy): Likewise.
* pt.c (print_template_context): Split out...
(push_tinst_level): ...from here.
* friend.c (is_friend): Don't pass a type to decl_function_context.
* typeck.c (convert_for_initialization): Always hand off
conversions to class type.
From-SVN: r18908
1998-03-30 04:07:34 -05:00
Andreas Schwab
e18db50d1f
m68k.c (standard_68881_constant_p): Don't use fmovecr on the 68060.
...
* config/m68k/m68k.c (standard_68881_constant_p): Don't use
fmovecr on the 68060.
From-SVN: r18907
1998-03-30 01:14:16 +00:00
Jeffrey A Law
c0d4503229
genemit.c (DONE): Rework so that it works in the true arm if an if-else conditional.
...
* genemit.c (DONE): Rework so that it works in the true arm if
an if-else conditional.
(FAIL): Likewise.
From-SVN: r18906
1998-03-29 16:22:49 -07:00
Jeffrey A Law
c367041877
* rs6000.c: Do not include stdioh or ctype.h anymore.
...
From-SVN: r18905
1998-03-29 15:48:16 -07:00
Jason Merrill
d50c644310
friend.c (is_friend): Local classes have the same access as the enclosing function.
...
* friend.c (is_friend): Local classes have the same access as the
enclosing function.
From-SVN: r18904
1998-03-29 15:04:28 -05:00
Jeffrey A Law
77f484defc
* typeck.c (expand_target_expr): Delete dead function.
...
From-SVN: r18903
1998-03-29 05:45:05 -07:00
Jeffrey A Law
769467b9da
* search.c: Put various prototypes inside #ifdef MI_MATRIX.
...
From-SVN: r18902
1998-03-29 05:42:39 -07:00
Jeffrey A Law
214922f8ab
* method.c (thunk_printable_name): Delete dead function.
...
From-SVN: r18901
1998-03-29 05:38:51 -07:00
Jeffrey A Law
6d83a9775d
* lex.c (yynextch): Delete dead function.
...
From-SVN: r18900
1998-03-29 05:37:18 -07:00
Jeffrey A Law
994ac65bd0
* expr.c (tree_extract_aggr_init): #if 0 out.
...
From-SVN: r18899
1998-03-29 05:36:07 -07:00
Jeffrey A Law
942632ac1b
except.c (do_unwind): Delete dead function.
...
* except.c (do_unwind): Delete dead function.
(easy_expand_asm): Likewise.
From-SVN: r18898
1998-03-29 05:33:51 -07:00
Jeffrey A Law
228fab4ab6
* cvt.c (build_conversion_type_1): Delete dead function.
...
From-SVN: r18897
1998-03-29 05:31:34 -07:00
Jeffrey A Law
00c493f2c2
* cp-tree.h (push_expression_obstack): Declare.
...
From-SVN: r18896
1998-03-29 05:30:13 -07:00
Jeffrey A Law
3a87a9f588
i * call.c (source_type): #if 0 out.
...
From-SVN: r18895
1998-03-29 05:28:21 -07:00
Jeffrey A Law
234042f471
Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and $(RTL_H).
...
* Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
$(RTL_H).
(stor-layout.o): Likewise.
* c-typeck.c: Include rtl.h and expr.h.
* stor-layout.c: Likewise.
From-SVN: r18894
1998-03-29 04:54:09 -07:00
Jeffrey A Law
72e1947054
cpplib.c (cpp_file_line_for_message): Delete unused parameter.
...
* cpplib.c (cpp_file_line_for_message): Delete unused parameter.
All callers changed.
(do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
* fix-header.c (cpp_file_line_for_message): Delete unused paramter.
All callers changed.
From-SVN: r18893
1998-03-29 04:51:23 -07:00
Jeffrey A Law
40c3a857ac
* collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
...
From-SVN: r18892
1998-03-29 04:49:10 -07:00
Jeffrey A Law
c80150b791
* local-alloc.c (reg_classes_overlap_p): Delete dead function.
...
From-SVN: r18891
1998-03-29 04:47:52 -07:00
Jeffrey A Law
31ed227bc6
* tree.h (lang_print_xnode): Provide prototype.
...
From-SVN: r18890
1998-03-29 04:46:20 -07:00
Jeffrey A Law
fe77629698
Bump for snapshot
...
From-SVN: r18888
1998-03-28 16:50:46 -07:00
Jeffrey A Law
430bb96baa
class.c (alter_access): Remove unused label.
...
* class.c (alter_access): Remove unused label. Add braces
around empty else clause.
* lex.c (yyprint): Fix argument to printf.
From-SVN: r18887
1998-03-28 16:49:35 -07:00
Jeffrey A Law
3ac2735b19
sendmsg.c (__objc_block_forward): Add braces for return value if INVISIBLE_STRUCT_RETURN.
...
* objc/sendmsg.c (__objc_block_forward): Add braces for return
value if INVISIBLE_STRUCT_RETURN.
From-SVN: r18886
1998-03-28 16:47:41 -07:00
Jeffrey A Law
f2b147f711
* pa.c (arith_double_operand): Fix parens.
...
From-SVN: r18885
1998-03-28 16:46:19 -07:00
Jeffrey A Law
c4fa346037
* haifa-sched.c (print_pattern): Correct arg to sprintf.
...
From-SVN: r18884
1998-03-28 16:45:08 -07:00
Jeffrey A Law
f1b03ce152
* Makefile.in (libgcc1.null): Make return type for __foo void.
...
From-SVN: r18883
1998-03-28 16:43:54 -07:00
Mark Mitchell
b4c4a9ecbe
pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
...
* pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
* pt.c (instantiate_class_template): Make sure template
arguments are permanent.
* init.c (resolve_offset_ref): Don't go looking around in
template types.
* semantics.c: Add routines to handle expressions, and some
declaration processing.
* parse.y: Use them.
(current_class_depth): Move declaration to cp-tree.h.
* parse.c: Regenerated.
* cp-tree.h: Use them.
(current_class_depth): Declare.
* pt.c (tsubst_copy): Use begin_stmt_expr and finish_stmt_expr.
From-SVN: r18882
1998-03-28 17:47:07 +00:00
Jeffrey A Law
ba0b8436b0
* pa.h: Add declarations for many functions defined in pa.c.
...
From-SVN: r18881
1998-03-28 07:17:48 -07:00
Jeffrey A Law
67ac5957db
genpeep.c (main): Remove unused variable 'i' from the generated file.
...
* genpeep.c (main): Remove unused variable 'i' from the generated
file.
From-SVN: r18880
1998-03-28 07:15:37 -07:00