Jason Merrill
c098677bed
update
...
From-SVN: r18964
1998-04-02 11:19:01 -05:00
Vladimir N. Makarov
c1ac292d76
Patch from vmakarov to avoid warnings with -Wall.
...
* ginclude/va-i960.h (va_end): Change void * to void.
From-SVN: r18961
1998-04-02 03:54:27 -08:00
Kaveh R. Ghazi
4cb1caaf7b
Patched in the gcc directory:
...
* Makefile.in (choose-temp.o): Depend on system.h.
Patched in both the libiberty and gcc directories:
* choose-temp.c: Include system.h when IN_GCC.
From-SVN: r18952
1998-04-02 11:07:45 +00:00
Richard Henderson
7f388fb42f
Update with automake patched for DATA=$(INSTALL_DATA) problem.
...
From-SVN: r18948
1998-04-01 19:45:22 -08:00
Joern Rennecke
a9a2595b58
reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
...
* reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
(move_replacements): New function.
* reload.h: Prototype it.
* alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r18947
1998-04-01 18:42:26 -08:00
Richard Henderson
ce4d78eb2f
final.c (alter_subreg): Allow the target to hook by-mode subreg hard register number changes.
...
* final.c (alter_subreg): Allow the target to hook by-mode subreg
hard register number changes.
From-SVN: r18946
1998-04-01 17:56:17 -08:00
Richard Henderson
4901a64393
emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
...
* emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
(gen_highpart): Likewise.
From-SVN: r18945
1998-04-01 17:33:22 -08:00
Richard Henderson
79363e2fa5
configure (alpha-*-linuxecoff, [...]): Run fixincludes.
...
* configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
Run fixincludes.
From-SVN: r18944
1998-04-01 17:13:17 -08:00
Jeffrey A Law
4e86caed7d
fold-const.c (optimze_bit_field_compare): Initialize rnbitpos, rnbitsize, rnmode and rinner.
...
* fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
rnbitsize, rnmode and rinner.
(make_range): Initialize type.
(fold): Initialize arg0, arg1 and varop.
* function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
and regnor.
(expand_function_start): Initialize last_ptr.
* stor-layout.c (layout_record): Initialize desired_align.
(get_best_mode): Initialize unit.
* tree.c (copy_node): Initialize length.
From-SVN: r18943
1998-04-01 16:35:51 -07:00
Jeffrey A Law
aefdd5abe0
c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
...
* c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
* caller-save.c (insert_save_restore): Initialize pat, code and
numregs.
* emit-rtl.c (push_to_sequence): Initialize top.
(push_topmost_sequence): Likewise.
* genattrtab.c (simplify_by_exploding): Initialize defval.
* profile.c (branch_prob): Initialize dest.
* rtl.h (note_stores): Remove duplicate prototype.
(GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
Fix some warnings.
* cplus-dem.c (gnu_special): Don't get confused by .<digits>
strings that are not actually lengths.
A change from libiberty that didn't make it into the gcc copy.
From-SVN: r18942
1998-04-01 16:18:11 -07:00
Jeffrey A Law
729da3f5a8
genattrtab.c: Make generated file use system.h, instead of including stdio.h, etc directly.
...
* genattrtab.c: Make generated file use system.h, instead of
including stdio.h, etc directly.
* genextract.c, genopinit.c, genoutput.c: Likewise.
* genpeep.c, genrecog.c: Likewise
* genoutput.c (process_template): Mark operands in the generated
function as potentially unused if compiling with GNU CC.
From-SVN: r18941
1998-04-01 15:44:48 -07:00
Jeffrey A Law
2a8034f816
* i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
...
From-SVN: r18940
1998-04-01 14:56:36 -07:00
Jeffrey A Law
715f9c994e
* pa.md (reload peepholes): Remove unused variable "mode".
...
From-SVN: r18939
1998-04-01 14:27:16 -07:00
Nick Clifton
8a01289e7b
Removed thumb-pe support.
...
From-SVN: r18938
1998-04-01 17:30:46 +00:00
Nick Clifton
ea65007e03
Removed thumb-pe target.
...
From-SVN: r18937
1998-04-01 17:26:35 +00:00
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