Jason Merrill [Wed, 21 Jul 1999 08:52:14 +0000 (08:52 +0000)]
decl.c (warn_extern_redeclared_static): Check DECL_ARTIFICIAL...
* decl.c (warn_extern_redeclared_static): Check DECL_ARTIFICIAL,
not DECL_BUILT_IN, to determine if a function is internally declared.
(duplicate_decls): Likewise. Improve handling of builtins.
(push_overloaded_decl): Remove special handling of builtins.
* cp-tree.h (ANON_AGGR_TYPE_P): Use CLASS_TYPE_P.
* decl.c (grokdeclarator): Pull out decl_constant_value in
templates, too.
* class.c (finish_struct, finish_struct_1): Remove 'warn_anon' parm.
* cp-tree.h, pt.c, semantics.c: Adjust.
* method.c (largest_union_member): Remove.
From-SVN: r28204
Jeff Law [Wed, 21 Jul 1999 07:45:38 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r28203
Richard Henderson [Wed, 21 Jul 1999 01:15:47 +0000 (18:15 -0700)]
haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
* haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
(adjust_priority): Always call ADJUST_PRIORITY.
(schedule_insn): Only put insns into the ready at cost 0.
(schedule_block): Remove redundant initial sort. Give clock_var
and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
is not 0.
* tm.texi (MD_SCHED_REORDER): Update docs.
* sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
* sparc.c (ultra_reorder_called_this_block): Delete.
(ultrasparc_sched_init): Don't set it.
(ultrasparc_sched_reorder): Don't check it.
From-SVN: r28201
Richard Henderson [Wed, 21 Jul 1999 00:29:54 +0000 (17:29 -0700)]
Update
From-SVN: r28200
Richard Henderson [Wed, 21 Jul 1999 00:26:00 +0000 (17:26 -0700)]
rs6000.h (struct rs6000_args): Add sysv_gregno.
* rs6000.h (struct rs6000_args): Add sysv_gregno.
* rs6000.c (init_cumulative_args): Init sysv_gregno.
(function_arg_boundary): Align DFmode.
(function_arg_advance): Restructure for ABI_V4; use sysv_gregno
to get fp reg and stack overflow correct.
(function_arg): Likewise.
(function_arg_pass_by_reference): True for TFmode for ABI_V4.
(setup_incoming_varargs): Restructure for ABI_V4; use
function_arg_advance to skip final named argument.
(expand_builtin_saveregs): Properly unskip the last integer arg
when doing varargs. Adjust overflow location calculation.
* ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
explicitly unsigned.
(__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
(__VA_GP_REGSAVE): Similarly.
(__va_longlong_p): Delete.
(__va_arg_type_violation): New declaration.
(va_arg): Restructure. Flag promotion errors. Align double.
TFmode passed by reference.
* rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
in the HOST_BITS_PER_WIDE_INT > 32 case.
From-SVN: r28199
Alexandre Petit-Bianco [Tue, 20 Jul 1999 20:56:10 +0000 (20:56 +0000)]
re GNATS gcj/12 (gcj accepts invalid code where an exception must be caught/thrown)
Tue Jul 20 13:20:05 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (resolve_and_layout): Check methods only once.
(resolve_qualified_expression_name): Verify thrown exceptions
compatibility.
(check_thrown_exceptions): Reject exceptions thrown in
initializer. Error message tuned.
(This fixes PR #12. Libgcj's java/net must be updated in order to compiles
with a patch at this URL:
http://sourceware.cygnus.com/ml/java-patches/1999-q3/msg00048.html)
From-SVN: r28196
Warren Levy [Tue, 20 Jul 1999 20:30:42 +0000 (20:30 +0000)]
DatagramSocket.java (DatagramSocket(int, InetAddress)): Default to using PlainDatagramSocketImpl.
* java/net/DatagramSocket.java (DatagramSocket(int, InetAddress)):
Default to using PlainDatagramSocketImpl.
* java/net/PlainDatagramSocketImpl.java (close): Catch IOException.
From-SVN: r28195
Jason Merrill [Tue, 20 Jul 1999 20:01:00 +0000 (16:01 -0400)]
remove whitespace
From-SVN: r28194
Jason Merrill [Tue, 20 Jul 1999 19:53:38 +0000 (15:53 -0400)]
lang-specs.h (c++-cpp-output): Pass -fpreprocessed.
* lang-specs.h (c++-cpp-output): Pass -fpreprocessed.
* lex.c (token_getch, token_put_back): New fns.
(real_yylex): Use them.
* lex.c (lang_init): Generalize.
(lang_init_options): Tell cpplib this is C++.
(nextchar): Remove. Replace uses with put_back.
(skip_white_space): Handle linemode here. Optimize for cpplib.
(extend_token_buffer_to): New fn.
(extend_token_buffer): Use it.
(read_line_number, check_newline): Just deal with tokens.
(real_yylex): More cpplib optimizations. Simplify. Don't produce
EXTERN_LANG_STRING, LEFT_RIGHT or PAREN_STAR_PAREN here.
* spew.c (yylex): Produce LEFT_RIGHT and EXTERN_LANG_STRING.
* parse.y (PAREN_STAR_PAREN): Remove.
* input.c: Don't use the putback machinery with cpplib.
(sub_getch): Fold back into getch.
(getch): Don't handle linemode here.
(feed_input): Unget any text in the token buffer.
* lex.c (set_typedecl_interface_info, set_vardecl_interface_info,
nextyychar, nextyylval): Remove.
* lex.c (indent_level): New variable.
(init_parse): Set cpp_token to CPP_DIRECTIVE.
(consume_string): Make this smart about USE_CPPLIB.
(yyungetc): Use put_back function.
(pragma_getc, pragma_ungetc): Functions deleted.
(check_newline): Rewrite to be intelligent about USE_CPPLIB.
Also, call HANDLE_PRAGMA with getch, yyungetc, not pragma_getc and
pragma_ungetc.
(real_yylex): Rewrite to be intelligent about USE_CPPLIB.
Also, clean up cases where we redundantly set token_buffer[0].
(read_line_number): New fn.
* input.c (feed_input): Use integrated cpplib if USE_CPPLIB.
(end_input): Call cpp_pop_buffer if USE_CPPLIB.
(sub_getch): Conditionalize out code that's not appropriate if
USE_CPPLIB.
(put_back): Rewrite in case USE_CPPLIB is defined.
(input_redirected): Ditto.
From-SVN: r28193
Hans-Peter Nilsson [Tue, 20 Jul 1999 19:39:27 +0000 (19:39 +0000)]
* dwarf2out.c (output_abbrev_section): Terminate with a zero.
From-SVN: r28192
Jason Merrill [Tue, 20 Jul 1999 19:14:01 +0000 (15:14 -0400)]
oops
From-SVN: r28191
Jason Merrill [Tue, 20 Jul 1999 19:13:01 +0000 (15:13 -0400)]
gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
* gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
* toplev.c (documented_lang_options): Add -fpreprocessed.
* cpplib.h (struct cpp_buffer): Add preprocessed.
* cppinit.c (cpp_handle_option): Handle -fpreprocessed.
(cpp_start_read): Don't expand macros or emit an initial #line
directive if -fpreprocessed.
* cpplib.h (struct cpp_buffer): Added manual_pop for
better C++ tokenization.
* cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
Also, support C++ tokenization for ->*, .*, <?, and >? operators.
* c-common.c (cpp_token): Make non-static.
From-SVN: r28190
Alexandre Oliva [Tue, 20 Jul 1999 12:24:37 +0000 (12:24 +0000)]
* template8.C, typeof1.C: New test.
From-SVN: r28189
Bernd Schmidt [Tue, 20 Jul 1999 10:41:10 +0000 (10:41 +0000)]
c-common.h: New file.
* c-common.h: New file.
* c-common.c (permanent_obstack): Delete unused declaration.
(c_global_trees): New array.
(c_common_nodes_and_builtins): New function; split off common code
from init_decl_processing in both c-decl.c and cp/decl.c.
* c-tree.h: Delete lots of declarations of tree nodes; replaced by
c_global_trees and accessor macros defined in c-common.h.
Include c-common.h.
* c-decl.c: Delete definitions for tree nodes that were replaced by
c_global_trees.
(init_decl_processing): Build void_list_node.
Call c_common_nodes_and_builtins; delete code to generate the common
builtins here.
* objc/objc-act.c (build_module_descriptor): Rename variable
void_list_node to avoid clash with c-common.h.
* cp/cp-tree.h: Delete lots of declarations of tree nodes; replaced by
c_global_trees and accessor macros defined in c-common.h.
(cp_tree_index): New enumeration.
(cp_global_trees): Declare new array. Add accessor macros for it, and
delete declarations of tree nodes replaced by it.
(builtin_function): Delete macro, add declaration for new function.
Include c-common.h.
* cp/decl.c: Delete definitions for tree nodes that were replaced by
cp_global_trees and c_global_trees.
(init_decl_processing): Call c_common_nodes_and_builtins; delete code
to generate the common builtins here.
(builtin_function): New function.
* cp/decl2.c (abort_fndecl): Delete declaration.
* cp/except.c (expand_builtin_return_address): Delete declaration.
(builtin_return_address_fndecl): Delete variable.
(const_ptr_type_node): Delete declaration.
* cp/lex.c (cons_up_default_function): Delete declaration of
void_list_node.
* cp/parse.y (void_list_node): Delete declaration.
* cp/rtti.c (type_info_type_node, tinfo_fn_id, tinfo_fn_type):
Delete variables.
(const_string_type_node): Delete declaration.
* cp/search.c (abort_fndecl): Delete declaration.
* Makefile.in: Update dependencies.
* objc/Make-lang.in: Likewise.
* cp/Makefile.in: Likewise.
From-SVN: r28188
Jeff Law [Tue, 20 Jul 1999 07:45:38 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r28187
Mark Mitchell [Tue, 20 Jul 1999 00:41:56 +0000 (00:41 +0000)]
iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
* config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
(UNIQUE_SECTION_P): Likewise.
(UNIQUE_SECTION): Likewise.
From-SVN: r28182
Mark Mitchell [Mon, 19 Jul 1999 19:28:19 +0000 (19:28 +0000)]
pt.c (check_default_tmpl_args): Move test for missing default arguments here, from ...
* pt.c (check_default_tmpl_args): Move test for missing default
arguments here, from ...
(end_template_parm_list): Here.
From-SVN: r28180
Tom Tromey [Mon, 19 Jul 1999 19:27:56 +0000 (19:27 +0000)]
* config.h (MPROTECT_VDB): Don't define on Linux.
From-SVN: r28179
Linas Vepstas [Mon, 19 Jul 1999 19:26:30 +0000 (19:26 +0000)]
Bulk patch from Linas.
From-SVN: r28178
Alexandre Oliva [Mon, 19 Jul 1999 19:17:22 +0000 (19:17 +0000)]
Makefile.am (.s.lo): Avoid `#line' directives.
1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
* Makefile.am (.s.lo): Avoid `#line' directives.
* Makefile.in: Rebuilt.
From-SVN: r28175
Alexandre Oliva [Mon, 19 Jul 1999 19:11:54 +0000 (19:11 +0000)]
Makefile.am (*-recursive, [...]): Automake does not generate *-recursive for this Makefile, use *-am instead.
1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
* Makefile.am (*-recursive, *-am, *-multi): Automake does not
generate *-recursive for this Makefile, use *-am instead.
* Makefile.in: Rebuilt.
From-SVN: r28173
David Edelsohn [Mon, 19 Jul 1999 19:11:29 +0000 (19:11 +0000)]
rs6000.md (arithmetic, [...]): Disable patterns performing SImode comparisons with SImode values if...
* rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
Disable patterns performing SImode comparisons with SImode values
if TARGET_POWERPC64 and instruction does not sign-extend or does
not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
differ for signed quantities.
(indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
(tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
(decrement_and_branch_on_count): Add 64-bit variant.
From-SVN: r28172
Tom Tromey [Mon, 19 Jul 1999 18:03:31 +0000 (18:03 +0000)]
* include/stamp-h.in: New file.
From-SVN: r28171
Bernd Schmidt [Mon, 19 Jul 1999 08:43:33 +0000 (08:43 +0000)]
Fix INTEL_SYNTAX output for i386 backend
From-SVN: r28170
Jeff Law [Mon, 19 Jul 1999 07:45:11 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r28167
Mark Mitchell [Sun, 18 Jul 1999 15:32:21 +0000 (15:32 +0000)]
decl.c (lookup_nested_type): Remove.
* decl.c (lookup_nested_type): Remove.
(pushtag): Don't call it.
From-SVN: r28166
Jeff Law [Sun, 18 Jul 1999 07:45:08 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r28163
Jeffrey A Law [Sun, 18 Jul 1999 05:52:37 +0000 (05:52 +0000)]
* Makefile.in (INTERFACE): Bump to 3.
From-SVN: r28161
Jeffrey A Law [Sun, 18 Jul 1999 05:52:32 +0000 (05:52 +0000)]
* Makefile.in (INTERFACE): Bump to 2.
From-SVN: r28160
Mark Mitchell [Sun, 18 Jul 1999 04:25:39 +0000 (04:25 +0000)]
New test
From-SVN: r28157
Alexandre Oliva [Sun, 18 Jul 1999 03:51:22 +0000 (03:51 +0000)]
root.texi: Update e-mail addresses to gcc.gnu.org.
* root.texi: Update e-mail addresses to gcc.gnu.org.
* g77spec.c (lang_specific_driver): Updated URL with bug reporting
instructions to gcc.gnu.org. Removed e-mail address.
From-SVN: r28155
Alexandre Oliva [Sun, 18 Jul 1999 03:50:30 +0000 (03:50 +0000)]
typeck2.c (my_friendly_abort): Updated URL with bug reporting instructions to gcc.gnu.org.
* typeck2.c (my_friendly_abort): Updated URL with bug reporting
instructions to gcc.gnu.org. Removed e-mail address.
From-SVN: r28153
Alexandre Oliva [Sun, 18 Jul 1999 03:48:02 +0000 (03:48 +0000)]
gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
* gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
Removed paragraph about compression of files and size limitation,
duplicated in the FAQ. Use gcc-patches for posting patches.
* gcc.c (main): Updated URL with bug reporting instructions to
gcc.gnu.org. Removed e-mail address.
* system.h (abort): Likewise.
From-SVN: r28151
Alexandre Oliva [Sun, 18 Jul 1999 03:45:48 +0000 (03:45 +0000)]
* test_summary: Replace egcs with gcc. Update e-mail address.
From-SVN: r28148
Mark Mitchell [Sun, 18 Jul 1999 03:28:32 +0000 (03:28 +0000)]
pt.c (determine_specialization): Tighten error-checking.
* pt.c (determine_specialization): Tighten error-checking.
(end_template_parm_list): Likewise.
From-SVN: r28147
Kaveh R. Ghazi [Sun, 18 Jul 1999 01:19:40 +0000 (01:19 +0000)]
Makefile.in (stmp-multilib-sub): Make the files extracted from $(LIBGCC1) writable.
* Makefile.in (stmp-multilib-sub): Make the files extracted
from $(LIBGCC1) writable.
From-SVN: r28145
Craig Burley [Sat, 17 Jul 1999 15:52:32 +0000 (11:52 -0400)]
update derived files
From-SVN: r28144
Craig Burley [Sat, 17 Jul 1999 15:48:39 +0000 (15:48 +0000)]
root.texi, [...]: Switchover to GCC terminology.
Sat Jul 17 11:28:43 1999 Craig Burley <craig@jcb-sc.com>
* root.texi, g77install.texi: Switchover to GCC terminology.
Also, FSF-G77 had been mistakenly set at some point.
From-SVN: r28143
Alexandre Oliva [Sat, 17 Jul 1999 14:26:13 +0000 (14:26 +0000)]
* template6.C, delete1.C, template7.C: New test.
From-SVN: r28140
Nick Clifton [Sat, 17 Jul 1999 13:47:08 +0000 (13:47 +0000)]
remove spurous blank lines
From-SVN: r28139
Nick Clifton [Sat, 17 Jul 1999 13:44:35 +0000 (13:44 +0000)]
General tidyup of header files.
From-SVN: r28138
Jeff Law [Sat, 17 Jul 1999 07:45:11 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r28134
Jeffrey A Law [Fri, 16 Jul 1999 22:40:39 +0000 (22:40 +0000)]
pa.c (compute_frame_size): Round frame according to STACK_BOUNDARY rather than a hardwired value.
* pa.c (compute_frame_size): Round frame according to
STACK_BOUNDARY rather than a hardwired value.
From-SVN: r28132
Jeffrey A Law [Fri, 16 Jul 1999 22:12:33 +0000 (22:12 +0000)]
* pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
From-SVN: r28131
Jeffrey A Law [Fri, 16 Jul 1999 21:47:29 +0000 (21:47 +0000)]
configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead of "1".
* configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
of "1".
* configure: Rebuilt.
From-SVN: r28130
Jeffrey A Law [Fri, 16 Jul 1999 21:39:59 +0000 (21:39 +0000)]
configure.in (hppa*-*-linux*): New configuration.
* configure.in (hppa*-*-linux*): New configuration.
* configure: Rebuilt.
* pa.h (MAX_OFILE_ALIGNMENT): Delete.
* pa/som.h (MAX_OFILE_ALIGNMENT): Define.
* pa/pa-linux.h: New file.
* pa/t-linux: New file.
* pa/xm-linux.h: New file.
From-SVN: r28129
Jeffrey A Law [Fri, 16 Jul 1999 20:58:13 +0000 (20:58 +0000)]
pa.c (hppa_legitimize_address): Change references from SImode to either Pmode or word_mode as appropriate.
* pa.c (hppa_legitimize_address): Change references from SImode to
either Pmode or word_mode as appropriate.
(emit_move_sequence, store_reg, load_reg): Likewise.
(set_reg_plus_d, hppa_expand_prologue): Likewise.
(output_mul_insn): Likewise.
* pa.h (PROMOTE_MODE): Likewise.
(INITIALZE_TRAMPOLINE): Likewise.
(Pmode): Define to word_mode.
From-SVN: r28128
Jeffrey A Law [Fri, 16 Jul 1999 20:35:08 +0000 (20:35 +0000)]
pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired value of 4.
* pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
value of 4. Allocate 8 bytes for each FP register save.
(hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
value of 4.
(hppa_expand_prologue): Likewise.
* pa.h (PROMOTE_MODE): Likewise.
(HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
(FUNCTION_ARG_BOUNDARY): Likewise.
From-SVN: r28127
Jeffrey A Law [Fri, 16 Jul 1999 20:14:19 +0000 (20:14 +0000)]
* invoke.texi (HPPA Options): Remove -mspace/-mno-space.
From-SVN: r28126
Jeffrey A Law [Fri, 16 Jul 1999 20:07:55 +0000 (20:07 +0000)]
pa.c (out_of_line_prologue_epilogue): Delete.
* pa.c (out_of_line_prologue_epilogue): Delete.
(override_options): Remove -mspace related code.
(hppa_expand_prologue, hppa_expand_epilogue): Likewise.
(compute_frame_size): Only allocate space for register that
actually need to be saved.
* pa.h (MASK_SPACE, TARGET_SPACE): Delete.
(TARGET_SWITCHES): Remove -mspace, -mno-space
* pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
* pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
* pa/ee.asm, pa/ee_fp.asm: Delete.
From-SVN: r28125
Jeffrey A Law [Fri, 16 Jul 1999 19:54:32 +0000 (19:54 +0000)]
* pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
From-SVN: r28124
Jeffrey A Law [Fri, 16 Jul 1999 19:50:13 +0000 (19:50 +0000)]
svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler directive in column zero.
* config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
directive in column zero.
From-SVN: r28123
Jeff Law [Fri, 16 Jul 1999 07:45:38 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r28122
Jeffrey A Law [Fri, 16 Jul 1999 07:41:49 +0000 (07:41 +0000)]
m68k.c (output_function_prologue): Fix computation of save mask when generating PIC code.
* m68k.c (output_function_prologue): Fix computation of save mask
when generating PIC code.
From-SVN: r28119
Markus Gyger [Fri, 16 Jul 1999 07:07:45 +0000 (07:07 +0000)]
stdexcepti.cc (__out_of_range): Use std:: qualifier for names in std.
* stdexcepti.cc (__out_of_range): Use std:: qualifier for names
in std.
(__length_error): Likewise.
From-SVN: r28117
Jim Wilson [Thu, 15 Jul 1999 15:40:59 +0000 (15:40 +0000)]
Fix winsup build failure reported by Chris Faylor.
* tree.c (build_type_attribute_variant): Move current_obstack restore
after build_qualified_type call.
From-SVN: r28116
Mark Mitchell [Thu, 15 Jul 1999 13:59:04 +0000 (13:59 +0000)]
configure.in: Use t-iris6, even with GNU LD.
* configure.in: Use t-iris6, even with GNU LD.
* config/mips/iris6gld.h: Fix typo in linker spec.
* config/mips/t-iris6gld: Remove.
From-SVN: r28115
David Edelsohn [Thu, 15 Jul 1999 12:39:30 +0000 (12:39 +0000)]
rs6000.md (insv, extzv): Remove SImode dependence in named patterns.
* rs6000.md (insv, extzv): Remove SImode dependence in named
patterns. Explicitly generate DImode RTL if PowerPC64 and
operand is DImode.
(insvdi): Reverse start and size in instruction template.
From-SVN: r28114
Tom Tromey [Thu, 15 Jul 1999 09:15:26 +0000 (09:15 +0000)]
G19990217_02.no-link: New file.
* libjava.compile/G19990217_02.no-link: New file.
* libjava.compile/test.exp: Look for `.no-link' file.
* lib/libjava.exp (test_libjava_from_source): Added `no-link'
option.
(test_libjava_from_javac): Likewise. Also, handle package
information from class name when creating class file name.
From-SVN: r28113
Andrew Haley [Thu, 15 Jul 1999 05:17:08 +0000 (05:17 +0000)]
expr.c (expand_expr): Do not return the last statement in a block as the block's value.
1999-07-14 Andrew Haley <aph@cygnus.com>
* expr.c (expand_expr): Do not return the last statement in a
block as the block's value.
From-SVN: r28112
Jeff Law [Thu, 15 Jul 1999 00:45:13 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r28109
Joseph Myers [Wed, 14 Jul 1999 23:27:35 +0000 (17:27 -0600)]
invoke.texi: Typo fixes.
�
* invoke.texi: Typo fixes.
From-SVN: r28107
Jeffrey A Law [Wed, 14 Jul 1999 23:04:45 +0000 (23:04 +0000)]
emit-rtl.c (gen_realpart): Issue an error for cases GCC can not handle at this time instead of silently...
* emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
handle at this time instead of silently generating incorrect code.
(gen_imagpart): Likewise.
From-SVN: r28105
Jeff Law [Wed, 14 Jul 1999 22:30:24 +0000 (16:30 -0600)]
reload.c (find_reloads): Emit a USE for a pseudo register without a hard register if...
�
* reload.c (find_reloads): Emit a USE for a pseudo register without
a hard register if we could not create an optional reload for the
pseudo.
From-SVN: r28103
Jeff Law [Wed, 14 Jul 1999 22:30:21 +0000 (16:30 -0600)]
reload.c (find_reloads): Emit a USE for a pseudo register without a hard register if...
�
* reload.c (find_reloads): Emit a USE for a pseudo register without
a hard register if we could not create an optional reload for the
pseudo.
From-SVN: r28102
Richard Henderson [Wed, 14 Jul 1999 17:29:38 +0000 (10:29 -0700)]
argv.c: Include stdlib.h and string.h instead of prototyping directly.
* argv.c: Include stdlib.h and string.h instead of
prototyping directly.
* choose-temp.c: Conditionally include string.h.
From-SVN: r28099
J"orn Rennecke [Wed, 14 Jul 1999 15:47:26 +0000 (15:47 +0000)]
c-typeck.c (output_init_element, [...]): When advancing constructor_unfilled_fields for a RECORD_TYPE...
* c-typeck.c (output_init_element, process_init_element):
When advancing constructor_unfilled_fields for a RECORD_TYPE,
check for nameless bit fields.
From-SVN: r28098
Mark Mitchell [Wed, 14 Jul 1999 10:57:21 +0000 (10:57 +0000)]
pt.c (check_default_tmpl_args): Handle friends defined in the class just like member functions defined in the class.
* pt.c (check_default_tmpl_args): Handle friends defined in the
class just like member functions defined in the class.
From-SVN: r28097
Richard Henderson [Wed, 14 Jul 1999 01:00:10 +0000 (19:00 -0600)]
regclass.c (scan_one_insn): Notice subregs that change the size of their operand.
�
* regclass.c (scan_one_insn): Notice subregs that change the
size of their operand.
(record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
From-SVN: r28096
Richard Henderson [Wed, 14 Jul 1999 01:00:02 +0000 (19:00 -0600)]
regclass.c (scan_one_insn): Notice subregs that change the size of their operand.
�
* regclass.c (scan_one_insn): Notice subregs that change the
size of their operand.
(record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
[[Split portion of a mixed commit.]]
From-SVN: r28094.2
Jeff Law [Wed, 14 Jul 1999 00:45:46 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r28092
Jeffrey A Law [Wed, 14 Jul 1999 00:43:06 +0000 (00:43 +0000)]
configure.in (alpha*-*-*): Include alpha/t-ieee.
* configure.in (alpha*-*-*): Include alpha/t-ieee.
* configure: Rebuilt.
* alpha/t-ieee: New file.
From-SVN: r28090
Tom Tromey [Tue, 13 Jul 1999 16:20:44 +0000 (16:20 +0000)]
test.exp: New file.
* libjava.lang/test.exp: New file.
* libjava.lang/err9.out: New file.
* libjava.lang/err9.java: New file.
* libjava.lang/err8.out: New file.
* libjava.lang/err8.java: New file.
* libjava.lang/err7.out: New file.
* libjava.lang/err7.java: New file.
* libjava.lang/err6.out: New file.
* libjava.lang/err6.java: New file.
* libjava.lang/err5.out: New file.
* libjava.lang/err5.java: New file.
* libjava.lang/err4.out: New file.
* libjava.lang/err4.java: New file.
* libjava.lang/err3.out: New file.
* libjava.lang/err3.java: New file.
* libjava.lang/err2.out: New file.
* libjava.lang/err2.java: New file.
* libjava.lang/err13.out: New file.
* libjava.lang/err13.java: New file.
* libjava.lang/err12.out: New file.
* libjava.lang/err12.java: New file.
* libjava.lang/err11.out: New file.
* libjava.lang/err11.java: New file.
* libjava.lang/err10.out: New file.
* libjava.lang/err10.java: New file.
* libjava.lang/err1.out: New file.
* libjava.lang/err1.java: New file.
* libjava.lang/N19990310_5.out: New file.
* libjava.lang/N19990310_5.java: New file.
* libjava.lang/N19990310_4.out: New file.
* libjava.lang/N19990310_4.java: New file.
* libjava.lang/N19990310_3.out: New file.
* libjava.lang/N19990310_3.java: New file.
* libjava.lang/N19990310_02.out: New file.
* libjava.lang/N19990310_02.java: New file.
* libjava.lang/G19990303_02.out: New file.
* libjava.lang/G19990303_02.java: New file.
* libjava.lang/G19990303_01.out: New file.
* libjava.lang/G19990303_01.java: New file.
* libjava.lang/G19990302_02.out: New file.
* libjava.lang/G19990302_02.java: New file.
* libjava.lang/G19990301_01.out: New file.
* libjava.lang/G19990301_01.java: New file.
* libjava.compile/N19990317.java: New file.
* libjava.compile/N19990310_01.java: New file.
* libjava.compile/G19990225_01.java: New file.
* libjava.compile/G19990217_02.java: New file.
* libjava.compile/G19990217_01.java: New file.
* libjava.compile/G19990210_3.java: New file.
* libjava.compile/G19990210_2.java: New file.
* libjava.compile/G19990210_1.java: New file.
From-SVN: r28087
Alexandre Oliva [Tue, 13 Jul 1999 10:53:00 +0000 (10:53 +0000)]
* template5.C: New test.
From-SVN: r28086
Alexandre Oliva [Tue, 13 Jul 1999 10:39:58 +0000 (10:39 +0000)]
* template4.C: New test.
From-SVN: r28085
Jeffrey A Law [Tue, 13 Jul 1999 09:48:04 +0000 (09:48 +0000)]
rs6000.c (find_addr_reg): Do not select r0 as an address register.
* rs6000.c (find_addr_reg): Do not select r0 as an address
register.
From-SVN: r28084
Alexandre Oliva [Tue, 13 Jul 1999 02:42:39 +0000 (02:42 +0000)]
* expr1.C: New test.
From-SVN: r28082
Alexandre Oliva [Tue, 13 Jul 1999 02:37:16 +0000 (02:37 +0000)]
* partspec1.C: New test.
From-SVN: r28081
Jeff Law [Tue, 13 Jul 1999 00:45:14 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r28079
Philippe De Muyter [Mon, 12 Jul 1999 23:49:33 +0000 (17:49 -0600)]
x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
�
* m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
From-SVN: r28078
Philippe De Muyter [Mon, 12 Jul 1999 23:49:28 +0000 (17:49 -0600)]
x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
8
* m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
[[Split portion of a mixed commit.]]
From-SVN: r28077.2
Jeffrey A Law [Mon, 12 Jul 1999 22:44:28 +0000 (22:44 +0000)]
* rs6000.md (movsf): Do not force easy FP constants into memory.
From-SVN: r28075
Jeff Law [Mon, 12 Jul 1999 20:20:10 +0000 (14:20 -0600)]
Duh. INTVAL only wants the rtx, not an operand #.
From-SVN: r28072
Jason Merrill [Mon, 12 Jul 1999 18:20:41 +0000 (18:20 +0000)]
* Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
From-SVN: r28071
Jeff Law [Mon, 12 Jul 1999 17:25:20 +0000 (11:25 -0600)]
* expr.c (expand_expr): Fix thinko in last change.
From-SVN: r28069
Jeff Law [Mon, 12 Jul 1999 13:35:07 +0000 (07:35 -0600)]
Remove redundant definition of constant_part that slipped through.
From-SVN: r28067
Jeffrey A Law [Mon, 12 Jul 1999 13:30:40 +0000 (13:30 +0000)]
expr.c (expand_expr, [...]): Pass constants through immed_double_const to ensure they are properly truncated...
* expr.c (expand_expr, case PLUS_EXPR): Pass constants through
immed_double_const to ensure they are properly truncated then
sign extended.
From-SVN: r28066
Tom Tromey [Mon, 12 Jul 1999 09:40:07 +0000 (09:40 +0000)]
mprec.h: Protect definition of uint32_t with #ifndef _UINT32_T.
* java/lang/mprec.h: Protect definition of uint32_t with #ifndef
_UINT32_T.
From-SVN: r28065
Vladimir Makarov [Mon, 12 Jul 1999 07:50:05 +0000 (07:50 +0000)]
thumb.c (thumb_reorg): Call replace_symbols_in_block always unless NO_DEBUG is used.
Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
* config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
always unless NO_DEBUG is used. Compile this code
unconditionally.
(replace_symbols_in_block): Compile it unconditionally.
From-SVN: r28063
Jeff Law [Mon, 12 Jul 1999 00:45:12 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r28060
Jeff Law [Sun, 11 Jul 1999 11:35:43 +0000 (05:35 -0600)]
Opps. -Di386 slipped through. Convert to -D__i386__.
From-SVN: r28058
Jeffrey A Law [Sun, 11 Jul 1999 11:33:32 +0000 (11:33 +0000)]
configure.in (i?86-*-elf*): New target.
* configure.in (i?86-*-elf*): New target.
* configure: Rebuilt.
* i386/i386elf.h, i386/t-i386elf: New files.
From-SVN: r28057
Jeff Law [Sun, 11 Jul 1999 00:46:16 +0000 (18:46 -0600)]
Daily bump.
From-SVN: r28055
Manfred Hollstein [Sat, 10 Jul 1999 07:39:14 +0000 (07:39 +0000)]
POTFILES.in: Track files recently added/deleted.
H
* POTFILES.in: Track files recently added/deleted.
From-SVN: r28053
Manfred Hollstein [Sat, 10 Jul 1999 07:39:12 +0000 (07:39 +0000)]
POTFILES.in: Track files recently added/deleted.
�
* POTFILES.in: Track files recently added/deleted.
From-SVN: r28052
Jeff Law [Sat, 10 Jul 1999 00:45:42 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r28051
Jason Merrill [Fri, 9 Jul 1999 22:48:57 +0000 (22:48 +0000)]
toplev.c (main): Don't complain about saying -gdwarf.
* toplev.c (main): Don't complain about saying -gdwarf.
(rest_of_compilation): Remove redundant code.
From-SVN: r28049
Jim Wilson [Fri, 9 Jul 1999 19:12:30 +0000 (19:12 +0000)]
Fix -g -O3 -funroll-all-loops irix6 bootstrap failure reported by Kaveh Ghazi.
* unroll.c (unroll_loops): Don't delete named CODE_LABELs.
From-SVN: r28048
Felix Lee [Fri, 9 Jul 1999 18:57:11 +0000 (18:57 +0000)]
Patch for i960 build failure with unsubmitted live-range-splitting patches.
* config/i960/i960.c (ret_label): Change asm label from "LR:" to
"Li960R:", to avoid name clash.
From-SVN: r28047
Michael Tiemann [Fri, 9 Jul 1999 16:15:04 +0000 (16:15 +0000)]
cp-tree.h (struct lang_decl): Added field for storing sorted FIELD_DECLs (used in TYPE_DECLs).
* cp-tree.h (struct lang_decl): Added field for storing sorted
FIELD_DECLs (used in TYPE_DECLs).
(DECL_PENDING_INLINE_INFO): Adjusted to use 'u' union.
(DECL_SORTED_FIELDS): New macro.
* class.c (method_name_cmp): New function.
(finish_struct_methods): Modified to support sorting and searching
methods.
(finish_struct_anon): Changed code in inner loop to use ELT rather
than UELT (which required an extra indirection for every reference).
(field_decl_cmp): New function to support sorting FIELD_DECLs.
(finish_struct_1): Sort fields.
* search.c (lookup_field_1): Use DECL_SORTED_FIELDS if we have them.
(lookup_fnfields_1): Search sorted methods in METHOD_VEC.
Also, switch to using array indexing rather than a changing pointer.
* ptree.c (print_lang_decl): Handle TYPE_DECLs that have
DECL_SORTED_FIELDS.
Co-Authored-By: Jason Merrill <jason@yorick.cygnus.com>
From-SVN: r28046