John Wehle [Thu, 21 May 1998 19:12:20 +0000 (19:12 +0000)]
acconfig.h (HAVE_GAS_MAX_SKIP_P2ALIGN): New tag.
* acconfig.h (HAVE_GAS_MAX_SKIP_P2ALIGN): New tag.
* configure.in: Check for it.
* i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Use it.
* final.c (uid_align, uid_shuid, label_align): Make static.
(label_align): Change type to struct label_alignment pointer.
(LABEL_TO_ALIGNMENT, shorten_branches): Update due to type change.
(LABEL_TO_MAX_SKIP): Define.
(LABEL_ALIGN_MAX_SKIP, LOOP_ALIGN_MAX_SKIP,
LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Provide defaults.
(shorten_branches): Record the maximum bytes to skip when
aligning a label.
(final_scan_insn): Use the maximum bytes to skip when aligning a label
if ASM_OUTPUT_MAX_SKIP_ALIGN is available.
* i386.h (LOOP_ALIGN_MAX_SKIP,
LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define.
* i386.c (override_options): i386_align_jumps and i386_align_loops
default to 4 if ASM_OUTPUT_MAX_SKIP_ALIGN is available.
* invoke.texi: Document new i386 align-loops and align-jumps behavior.
Dave Brolley [Thu, 21 May 1998 08:56:16 +0000 (08:56 +0000)]
lex.c: (handle_sysv_pragma): FILE* parameter not used.
Thu May 21 11:54:44 1998 Dave Brolley <brolley@cygnus.com>
* lex.c: (handle_sysv_pragma): FILE* parameter not used.
(cpp_reader,parse_in): Add for cpplib.
(check_newline): Call handle_sysv_pragma with new interface.
(check_newline): Call GET_DIRECTIVE_LINE, not get_directive_line.
* input.c: (yy_cur,yy_lim,yy_get_token,GETC): Add for cpplib.
(sub_getch): Call GETC for cpplib.
* cp-tree.h: (get_directive_line): Different prototype for cpplib.
(GET_DIRECTIVE_LINE): Macro wrapper for get_directive_line.
* Makefile.in (CXX_OBJS): add @extra_cxx_objs@ for cpplib.
Dave Brolley [Thu, 21 May 1998 08:54:04 +0000 (08:54 +0000)]
configure.in (extra_c_objs): add prefix.o.
Thu May 21 11:51:15 1998 Dave Brolley <brolley@cygnus.com>
* configure.in (extra_c_objs): add prefix.o.
(extra_cxx_objs): extra objects for C++ with cpplib.
* configure: Regenerate.
* c-tree.h: (get_directive_line): Different prototype for cpplib.
(GET_DIRECTIVE_LINE): Macro wrapper for get_directive_line.
* c-lex.h: (get_directive_line): Not needed here for cpplib.
* c-lex.c: (yy_cur,yy_lim,yy_get_token): Move to c-common.c.
(GET_DIRECTIVE_LINE): Move to c-common.c and rename to get_directive_line.
* c-common.c (parse_in,parse_options,cpp_token): Declare for cpplib.
(yy_cur,yy_lim,yy_get_token,get_directive,line): Moved here from c-lex.c
�
* configure.in: Check for unistd.h as well.
* configure: Rebuild.
* config.in: Rebuild.
* getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
is defined in unistd.h. Reformat conditional block for easier reading.
* config.table (shared): Default to no if ${enable_shared}
is unset or empty; this logic is used by the toplevel
configure scripts, too.
0
* configure.in: Check for unistd.h as well.
* configure: Rebuild.
* config.in: Rebuild.
* getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
is defined in unistd.h. Reformat conditional block for easier reading.
* config.table (shared): Default to no if ${enable_shared}
is unset or empty; this logic is used by the toplevel
configure scripts, too.
�
* configure.in: Check for unistd.h as well.
* configure: Rebuild.
* config.in: Rebuild.
* getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
is defined in unistd.h. Reformat conditional block for easier reading.
* config.table (shared): Default to no if ${enable_shared}
is unset or empty; this logic is used by the toplevel
configure scripts, too.
Kaveh R. Ghazi [Thu, 21 May 1998 06:29:55 +0000 (06:29 +0000)]
ANSI does not allow a prototype to specify an item smaller than an int if the function uses an old-style definition.
ANSI does not allow a prototype to specify an item smaller than an int
if the function uses an old-style definition. This only worked as a
GNUC extension, so stop doing it.
* gengenrtl.c (type_from_format, accessor_from_format): Change
type of parameter `c' from `char' to `int'.
Mark Mitchell [Wed, 20 May 1998 23:28:21 +0000 (23:28 +0000)]
class.c (delete_duplicate_fields_1): Use DECL_DECLARES_TYPE_P to look for type declarations.
* class.c (delete_duplicate_fields_1): Use DECL_DECLARES_TYPE_P
to look for type declarations.
(finish_struct): Deal with templates on the CLASSTYPE_TAGS list.
* cp-tree.h (DECL_DECLARES_TYPE_P): New macro.
(finish_member_class_template): Declare.
* decl.c (pushtag): Put member class templates on the
CLASSTYPE_TAGS list, just as for ordinary member classes.
(pushdecl_class_level): Use DECL_DECLARES_TYPE_P.
(lookup_tag): Look for IDENTIFIER_CLASS_VALUEs, just as with
IDENTIFIER_NAMESPACE_VALUEs.
* parse.y (component_decl): Move code to ...
* semantics.c (finish_member_class_template): New function.
Don't put member class templates on the list of components for a
class.
* pt.c (classtype_mangled_name): Don't try DECL_CONTEXT on types.
In fact, don't use DECL_CONTEXT at all here.
Jeffrey A Law [Tue, 19 May 1998 21:45:41 +0000 (21:45 +0000)]
Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR) exists.
* Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR)
exists.
(stmp-fixproto): Simlarly for running fixproto.
* cross-make (SYSTEM_HEADER_DIR): Now $(tooldir)/sys-include.
Jeffrey A Law [Tue, 19 May 1998 21:41:03 +0000 (21:41 +0000)]
Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR) exists.
* Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR)
exists.
* cross-make (SYSTEM_HEADER_DIR): Now $(tooldir)/sys-include.
Bring over from Cygnus sources.
Craig Burley [Tue, 19 May 1998 10:23:53 +0000 (10:23 +0000)]
on Mar 23 21:20:35 1998 Craig Burley <burley@gnu.org>
on Mar 23 21:20:35 1998 Craig Burley <burley@gnu.org>
* version.c: Reduce to a one-line file, like
gcc's version.c, since there's really no content
there.
Craig Burley [Mon, 18 May 1998 10:53:27 +0000 (10:53 +0000)]
com.c (ffecom_convert_narrow_, [...]): Be even more persnickety in checking for internal bugs.
1998-05-18 Craig Burley <burley@gnu.org>
* com.c (ffecom_convert_narrow_, ffecom_convert_widen_):
Be even more persnickety in checking for internal bugs.
Also, if precision isn't changing, just return the expr.
(ffecom_expr_): Add ltkt variable for clarity.
* expr.c Use ffestrOther in place of ffeexprDotdot_.
(ffeexpr_token_number_): Call
ffeexpr_make_float_const_ to make an integer.
(ffeexpr_make_float_const_): Handle making an integer.
* intrin.c (ffeintrin_init_0): Distinguish between
crashes on bad arg base and kind types.
* Makefile.in (f/expr.c): Now depends on f/stamp-str.
* str-ot.fin: Add more keywords for expr.c.
* intdoc.c (dumpimp): Trivial fix.
* stb.c (ffestb_R100110_): Fix an assertion.
Craig Burley [Mon, 18 May 1998 10:26:16 +0000 (10:26 +0000)]
(ffecom_convert_narrow_, ffecom_convert_widen_):
Be even more persnickety in checking for internal bugs.
Also, if precision isn't changing, just return the expr.
(ffecom_expr_): Add ltkt variable for clarity.
Robert Lipe [Mon, 18 May 1998 07:11:42 +0000 (07:11 +0000)]
dwarfout.h, [...]: New files.
* dwarfout.h, dwarf2out.h, dbxout.h, sdbout.h: New files.
Prototypes for externally used functions in respective C files.
* dwarfout.c, dbxout.c, dwarf2out.c, sdbout.c, toplev,c,
final.c: Include above files.
* Makefile.in (toplev.o): Add dependency for above four headers.
(final.o): Likewise.
(dwarfout.o, dbxout.o, dwarf2out.o, sdbout.o): Depend on four
respective header files.
Jeffrey A Law [Mon, 18 May 1998 01:24:26 +0000 (01:24 +0000)]
Makefile.in (TARGET_TOOLPREFIX): No longer define.
* Makefile.in (TARGET_TOOLPREFIX): No longer define.
(AR_FOR_TARGET, RANLIB_FOR_TARGET): Define to use versions in
the build tree if they exist.
(AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST): Update
appropriately.
(objdir): Let configure substitute value.
(FLOAT_H): Let configure select a pre-built version from the
config subdir.
* build-make (INSTALL_TARGET, ALL): Disable, no longer needed.
* configure.in: Substitute for objdir.
* cp/Makefile.in (program_transform_name, objdir): Define.
Jeffrey A Law [Mon, 18 May 1998 00:48:07 +0000 (00:48 +0000)]
Makefile.in (build_canonical, [...]): Let configure substitute values for these variables.
* Makefile.in (build_canonical, host_canonical): Let configure
substitute values for these variables.
* configure.in: Substitute for build_canonical, host_canonical
and target_subdir in generated Makefile.
Nick Clifton [Sun, 17 May 1998 23:08:40 +0000 (23:08 +0000)]
gcc.c (SWITCH_CURTAILS_COMPILATION): Definition.
* gcc.c (SWITCH_CURTAILS_COMPILATION): Definition.
(DEFAULT_SWITCH_CURTAILS_COMPILATION): True for options -S and -c.
(process_command): If HAVE_EXECUTABLE_SUFFIX is defined then scan
command line arguments to see if an executable is not being
created, and if so - do not append the suffix.
* tm.texi (SWITCH_CURTAILS_COMPILATION): Add description of new
driver macro.
Mark Mitchell [Sun, 17 May 1998 13:58:28 +0000 (13:58 +0000)]
init.c (build_new_1): Call suspend_momentary around the creation of values that must be saved for...
* init.c (build_new_1): Call suspend_momentary around the creation
of values that must be saved for exception handling.
* parse.y (.build_new_placement): New non-terminal.
(unary_expr, new_placement): Use it.
* parse.c: Regenerated.