aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-01-27configure.in (target_makefile_frag): Use mt-alphaieee.Richard Henderson2-6/+6
* configure.in (target_makefile_frag) [alpha*-*]: Use mt-alphaieee. * mt-alphaieee: New file. * config/alpha/t-ieee: Remove multilibbing. (TARGET_LIBGCC2_CFLAGS): Add -mieee. * configure.host (alpha*-*) [libgcj_flags]: Add -mieee. From-SVN: r39309
2001-01-28configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.Kaveh R. Ghazi52-106/+127
* configure.in: Arrange to include defaults.h in [ht]config.h/tm.h. * Makefile.in: Remove all dependencies on defaults.h. * builtins.c: Don't include defaults.h. * c-common.c: Likewise. * c-decl.c: Likewise. * c-pragma.c: Likewise. * c-typeck.c: Likewise. * combine.c: Likewise. * i386.c: Likewise. * frame-ia64.c: Likewise. * cppexp.c: Likewise. * crtstuff.c: Likewise. * dbxout.c: Likewise. * dwarf2out.c: Likewise. * dwarfout.c: Likewise. * emit-rtl.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * final.c: Likewise. * frame-dwarf2.c: Likewise. * libgcc2.c: Likewise. * optabs.c: Likewise. * profile.c: Likewise. * sdbout.c: Likewise. * toplev.c: Likewise. * tradcif.y: Likewise. * tree.c: Likewise. * varasm.c: Likewise. ch: * Makefile.in: Remove all dependencies on defaults.h. * decl.c: Don't include defaults.h. * timing.c: Likewise. cp: * Make-lang.in: Remove all dependencies on defaults.h. * call.c: Don't include defaults.h. * decl.c: Likewise. * decl2.c: Likewise. * except.c: Likewise. * pt.c: Likewise. * rtti.c: Likewise. * tree.c: Likewise. * typeck.c: Likewise. f: * Make-lang.in: Remove all dependencies on defaults.h. * com.c: Don't include defaults.h. java: * Make-lang.in: Remove all dependencies on defaults.h. * decl.c: Don't include defaults.h. * expr.c: Likewise. * parse.y: Likewise. From-SVN: r39308
2001-01-28stdio-opt-2.c: Also test __builtin_puts and __builtin_putchar.Kaveh R. Ghazi2-0/+9
* gcc.c-torture/execute/stdio-opt-2.c: Also test __builtin_puts and __builtin_putchar. From-SVN: r39307
2001-01-28builtins.c (expand_builtin_fputs): Use size_one_node when transforming into ↵Kaveh R. Ghazi2-1/+6
fwrite. * builtins.c (expand_builtin_fputs): Use size_one_node when transforming into fwrite. From-SVN: r39306
2001-01-27* extend.texi (Attribute Syntax): New section.Joseph Myers2-0/+190
From-SVN: r39305
2001-01-27fixproto: Correctly install synthesised unistd.h and stdlib.h when they ↵Michael Sokolov2-1/+11
didn't need fixing. * fixproto: Correctly install synthesised unistd.h and stdlib.h when they didn't need fixing. From-SVN: r39304
2001-01-27[multiple changes]Richard Henderson5-644/+75
2001-01-27 Janis Johnson <janis@us.ibm.com> * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h if appropriate. * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and to remove macro definitions that are duplicated from elfos.h. 2001-01-27 Richard Henderson <rth@redhat.com> * config/i386/sco5gas.h: Move ... * config/usegas.h: ... here. * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update. From-SVN: r39303
2001-01-27c-typeck.c (struct constructor_stack): Add range_stack member.Jakub Jelinek4-1/+43
* c-typeck.c (struct constructor_stack): Add range_stack member. (really_start_incremental_init): Clear it. (push_init_level): Save constructor_range_stack and clear it if pushing explicit braces. (pop_init_level): abort if constructor_range_stack is non-zero at explicit closing brace. Restore saved constructor_range_stack if not implicit. * gcc.dg/gnu99-init-1.c: Add 3 more designated range initializer tests. From-SVN: r39302
2001-01-27expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded into ↵Alexandre Oliva2-2/+18
register was forced into memory. * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded into register was forced into memory. From-SVN: r39301
2001-01-27* Makefile.in: Remove uses of + before $(MAKE).Alexandre Oliva2-6/+10
From-SVN: r39295
2001-01-27Daily bump.Jeff Law2-2/+2
From-SVN: r39294
2001-01-26stmt.c (cost_table): Remove.Richard Henderson2-19/+30
* stmt.c (cost_table): Remove. (COST_TABLE, cost_table_initialized): New. (estimate_case_costs): Use the later instead of the former. (balance_case_nodes): Likewise. From-SVN: r39291
2001-01-26alias.c (objects_must_conflict_p): Read-only slots may not conflict despite ↵Richard Henderson2-9/+17
having the same type. * alias.c (objects_must_conflict_p): Read-only slots may not conflict despite having the same type. From-SVN: r39285
2001-01-26loop.c (loop_giv_reduce_benefit): Copy mode size into int variable.Michael Hayes2-10/+22
* loop.c (loop_giv_reduce_benefit): Copy mode size into int variable. (check_ext_dependant_givs): Initialise u_start_val and u_end_val. (load_mems): Make last_max_reg unsigned. (try_swap_copy_prop): Use INSN_P and initialise set. From-SVN: r39284
2001-01-26* README.AVR : Removed.Denis Chertykov1-26/+0
From-SVN: r39282
2001-01-26* README.AVR : Removed.Denis Chertykov1-0/+4
From-SVN: r39281
2001-01-26pa-64.h (text_section): Remove declaration.Jeffrey A Law3-3/+7
* pa-64.h (text_section): Remove declaration. * pa.md (return_internal): Remove mode on PIC register use. From-SVN: r39280
2001-01-26Daily bump.Jeff Law2-2/+2
From-SVN: r39278
2001-01-25ChangeLog (2001-01-21): Fixed typo.Alexandre Petit-Bianco9-123/+52
2001-01-25 Alexandre Petit-Bianco <apbianco@cygnus.com> * ChangeLog (2001-01-21): Fixed typo. * class.c (layout_class_method): Code accounting for WFLed method DECL_NAMEs deleted. * constant.c (find_methodref_index): Likewise. * decl.c (lang_mark_tree): Mark `wfl' field in struct lang_decl. * java-tree.h (DECL_FUNCTION_WFL): New macro. (struct lang_decl): New field `wfl'. (java_get_real_method_name): Prototype deleted. * mangle.c (mangle_method_decl): Code accounting for WFLed method DECL_NAMEs deleted. * parse.h (GET_METHOD_NAME): Macro deleted. * parse.y (reset_method_name): Deleted. (method_header): Set DECL_FUNCTION_WFL. (check_abstract_method_header): Code accounting for WFLed method DECL_NAMEs deleted. (java_get_real_method_name): Deleted. (check_method_redefinition): Code accounting for WFLed method DECL_NAMEs deleted. Use DECL_FUNCTION_WFL. (java_check_regular_methods): Likewise. (java_check_abstract_methods): Likewise. (java_expand_classes): Don't call `reset_method_name.' (search_applicable_method_list): Use DECL_NAMEs instead of GET_METHOD_NAME. * typeck.c (lookup_do): Code accounting for WFLed method DECL_NAMEs deleted. (http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01954.html) From-SVN: r39274
2001-01-25tm.texi (DATA_ALIGNMENT, [...]): fix typos.Lars Brinkhoff2-3/+8
* tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN, ASM_CLOSE_PAREN): fix typos. From-SVN: r39273
2001-01-25acconfig.h: Define `const' to the empty string if neither __STDC__ nor ↵Mark Mitchell3-0/+32
__cplusplus is defined. * acconfig.h: Define `const' to the empty string if neither __STDC__ nor __cplusplus is defined. * config.in: Regenerated. From-SVN: r39272
2001-01-25config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.David Edelsohn5-9/+255
* config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h. * collect2.c (main): Delete importf. Add ".obj" file extension. (GCC_CHECK_HDR): Handle AIX V5 new magic number. (aix_std_libs): Add additional AIX libraries to skip. * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number. * config/rs6000/aix51.h: New file. From-SVN: r39271
2001-01-2520000320-1.c (main): For MIPS...Jeffrey Oldham2-0/+18
2001-01-25 Jeffrey Oldham <oldham@codesourcery.com> * gcc.c-torture/execute/ieee/20000320-1.c (main): For MIPS, change floating point number rounding mode to round to the nearest representable mode. From-SVN: r39268
2001-01-25* lex.c (java_read_char): Check for EOF from getc first.Richard Earnshaw2-2/+6
From-SVN: r39261
2001-01-25loop.c (loop_call_insn_emit_before, [...]): New.Michael Hayes4-15/+58
* loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New. (loop_insn_emit_before): No longer static. (move_movables): Replace emit_insn_after with loop_insn_emit_after. (loop_givs_rescan, load_mems): Likewise. (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before. (maybe_eliminate_biv_1): (move_movables): Replace emit_call_insn_before with loop_call_insn_hoist. * loop.h (loop_insn_emit_before): Add. * unroll.c (copy_loop_body): Replace emit_insn_before with loop_insn_emit_before. From-SVN: r39260
2001-01-25Daily bump.Jeff Law2-2/+2
From-SVN: r39259
2001-01-25* diagnostic.c (fatal): Request preprocessed source.Neil Booth2-3/+6
From-SVN: r39258
2001-01-25mangle.c (write_mangled_name, [...]): Mangle overloaded operators even in ↵Jakub Jelinek6-4/+67
"C" linkage. * mangle.c (write_mangled_name, write_encoding): Mangle overloaded operators even in "C" linkage. * method.c (set_mangled_name_for_decl): Likewise. * decl.c (grokfndecl): Call set_mangled_name_for_decl even for overloaded operators in "C" linkage. * g++.old-deja/g++.other/mangle2.C: New test. From-SVN: r39257
2001-01-25c-decl.c (duplicate_decls): If different_binding_level is nonzero...J"orn Rennecke2-5/+17
* c-decl.c (duplicate_decls): If different_binding_level is nonzero, olddecl has argument types and newdecl has none, use the argument types from olddecl. From-SVN: r39254
2001-01-25dwarf2out.c (prefix_of): New function.Ulrich Drepper2-13/+85
* dwarf2out.c (prefix_of): New function. Determine longest common prefix of the two arguments. The units are whole path components. (output_file_names): When adding a new directory find the one entry with the longest common prefix already in the list. Artificially generate entry if there is none for this prefix. Fix test to check whether the zeroth directory entry is used. : ---------------------------------------------------------------------- From-SVN: r39253
2001-01-24New test.Richard Henderson1-0/+50
From-SVN: r39252
2001-01-25reload1.c (reload_reg_free_for_value_p): New parameter start_regno.J"orn Rennecke2-10/+27
* reload1.c (reload_reg_free_for_value_p): New parameter start_regno. Changed all callers. Take it into account when deciding if a previously loaded value matches. From-SVN: r39251
2001-01-24reload.c (find_reloads_subreg_address): Fail the substitution if the ↵Richard Henderson2-6/+32
resulting address is insufficiently aligned. * reload.c (find_reloads_subreg_address): Fail the substitution if the resulting address is insufficiently aligned. From-SVN: r39250
2001-01-24Fix obvious bug in previous commitDJ Delorie1-3/+3
From-SVN: r39248
2001-01-24combine.c (combine_simplify_rtx): If the modes are all VOIDmode, check the ↵DJ Delorie3-1/+13
original operand's mode also. * combine.c (combine_simplify_rtx): If the modes are all VOIDmode, check the original operand's mode also. * simplify-rtx.c (simplify_ternary_operation): Ditto. From-SVN: r39247
2001-01-24c-parse.in (cast_expr): Move compound literals from here ...Joseph Myers4-29/+48
* c-parse.in (cast_expr): Move compound literals from here ... (primary): ... to here. Use standard terminology "compound literal" instead of "constructor expression". testsuite: * gcc.c-torture/compile/20010124-1.c: New test. From-SVN: r39246
2001-01-24texi2pod.pl: Handle "\,".Joseph Myers3-10/+120
contrib: * texi2pod.pl: Handle "\,". gcc: * gcc.1, cpp.1: Regenerate. From-SVN: r39244
2001-01-24calls.c (emit_library_call_value_1): Memory slot for pass-by-reference ↵Alexandre Oliva2-1/+7
argument should have the mode of the argument... * calls.c (emit_library_call_value_1): Memory slot for pass-by-reference argument should have the mode of the argument, not of the pointer to it. From-SVN: r39242
2001-01-24gcc.texi (G++ and GCC): Mention gcj manual.Tom Tromey2-2/+11
* gcc.texi (G++ and GCC): Mention gcj manual. (Standards): Link to section of manual mentioning gcj/Java compatibility. From-SVN: r39241
2001-01-24cppfiles.c (_cpp_read_file): Add to dependencies if requested.Jakub Jelinek5-11/+24
* cppfiles.c (_cpp_read_file): Add to dependencies if requested. * cppinit.c (cpp_start_read): Remove deps_add_dep call. * tradcpp.c (main): Add -imacros or -include'd dependencies for -M*. * cpp.texi (-M, -MM): Document -M -include behaviour. From-SVN: r39240
2001-01-24* config/i386/xm-i386.h: Make __i386__ a boolean macro.Roger Collins2-1/+5
From-SVN: r39239
2001-01-24abi64.h (RETURN_IN_MEMORY): Always take into account whether registers are ↵Will Cohen2-1/+6
32 bits or 64 bits in size. 2001-01-24 Will Cohen <wcohen@redhat.com> * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account whether registers are 32 bits or 64 bits in size. From-SVN: r39237
2001-01-24m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.Ben Elliston2-1/+4
2001-01-24 Ben Elliston <bje@redhat.com> * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg. From-SVN: r39236
2001-01-24missed inNathan Sidwell1-7/+21
missed in * call.c (add_builtin_candidate): Quote std properly, from previous change. commit From-SVN: r39235
2001-01-24pt.c (tsubst_decl): Remove IN_DECL parameter.Nathan Sidwell4-6/+42
cp: * pt.c (tsubst_decl): Remove IN_DECL parameter. (tsubst_arg_types): Check parameter is not void. (tsubst): Adjust tsubst_decl call. testsuite: * g++.old-deja/g++.pt/spec38.C: New test. From-SVN: r39234
2001-01-24call.c (add_builtin_candidate): Quote std properly, from previous change.Nathan Sidwell1-0/+5
cp: * call.c (add_builtin_candidate): Quote std properly, from previous change. From-SVN: r39233
2001-01-24alpha.md (builtin_longjmp_internal): New.Richard Henderson2-2/+17
* config/alpha/alpha.md (builtin_longjmp_internal): New. (builtin_longjmp): Use it instead of emit_indirect_jump. From-SVN: r39232
2001-01-24Daily bump.Jeff Law2-2/+2
From-SVN: r39231
2001-01-24class.c (layout_class): Don't lay the superclass out if it's already being ↵Alexandre Petit-Bianco8-93/+139
laid out. 2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com> * class.c (layout_class): Don't lay the superclass out if it's already being laid out. * jcf-parse.c (handle_innerclass_attribute): New function. (HANDLE_INNERCLASSES_ATTRIBUTE): Invoke handle_innerclasses_attribute. (jcf_parse): Don't load an innerclasses if it's already being laid out. * jcf-write.c (append_innerclass_attribute_entry): Static `anonymous_name' and its initialization deleted. `ocii' and `ini' to be zero for anonymous classes. 2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com> * class.c (set_constant_value): Set DECL_FIELD_FINAL_IUD if necessary. * jcf-parse.c (set_source_filename): Use MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC if necessary. 2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com> * expr.c (build_jni_stub): Set DECL_CONTEXT on `meth_var' so it gets a unique asm name. 2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-parse.c (HANDLE_END_METHODS): Nullify current_method. (HANDLE_START_FIELD): Invoke MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC if necessary. (HANDLE_SYNTHETIC_ATTRIBUTE): New macro. * jcf-reader.c (get_attribute): Handle `Synthetic' attribute. * parse.y (lookup_package_type_and_set_next): Deleted. (resolve_package): Removed unnecessary code. (find_applicable_accessible_methods_list): `finit$' can't be inherited. * verify.c (pop_argument_types): Added missing prototype. (http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01812.html) From-SVN: r39230
2001-01-24pt.c (check_explicit_specialization): Clone constructors and destructors.Kriang Lerdsuwanakij4-1/+16
* pt.c (check_explicit_specialization): Clone constructors and destructors. * g++.old-deja/g++.pt/spec33.C: Change from "Build don't link" to "Build don't run". From-SVN: r39229