aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-05-21Daily bump.GCC Administrator5-5/+5
From-SVN: r42378
2001-05-21dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.Richard Henderson2-4/+9
* dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION. Update all users. From-SVN: r42376
2001-05-21This commit was generated by cvs2svn to compensate for changes in r42373,Bryce McKinlay11-1130/+1852
which included commits to RCS files with non-trunk default branches. From-SVN: r42374
2001-05-21Initial revisionBryce McKinlay41-0/+7939
From-SVN: r42370
2001-05-20dwarf2out.c (DEBUG_ABBREV_SECTION, [...]): Rename from s/DEBUG_//.Richard Henderson5-63/+87
* dwarf2out.c (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION, DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_STR_SECTION): Rename from s/DEBUG_//. Update all users. * dwarfout.c (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION, DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION): Likewise. * config/mips/iris6.h (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION, DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION, DEBUG_FRAME_SECTION, DEBUG_ABBREV_SECTION): Rename as above. (DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New. * config/ia64/ia64.h (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION, DEBUG_PUBNAMES_SECTION): Rename as above. (DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New. From-SVN: r42368
2001-05-20New test.Richard Henderson2-0/+16
From-SVN: r42367
2001-05-20optabs.c (emit_cmp_and_jump_insns): Don't swap commutative operands unless ↵Richard Henderson2-3/+11
the operation is commutative. * optabs.c (emit_cmp_and_jump_insns): Don't swap commutative operands unless the operation is commutative. From-SVN: r42366
2001-05-21fold-const.c (tree_expr_nonnegative_p): Detect more non-negative cases.Kaveh R. Ghazi5-0/+107
* fold-const.c (tree_expr_nonnegative_p): Detect more non-negative cases. testsuite: * g++.old-deja/g++.warn/compare1.C: New test. * gcc.dg/compare4.c: New test. From-SVN: r42365
2001-05-21re PR other/930 (Out of date docs for C99 features as extensions)Joseph Myers2-51/+131
* extend.texi: Clarify documentation of extensions included in ISO C99. Prefer C99 terminology and syntax to old GNU terminology and syntax. Add more index entries. Document mixed declarations and code as an extension in C89 mode. Warn about future changes to semantics of inline functions. Fixes PR other/930. From-SVN: r42363
2001-05-20configure.host: Build with -fexceptions.Hans Boehm3-1/+14
* configure.host: Build with -fexceptions. * linux_threads.c: Remember which thread stopped world for From-SVN: r42362
2001-05-20expr.c (expand_expr, [...]): Don't fold constant access if ↵Richard Kenner2-28/+31
EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER. * expr.c (expand_expr, case ARRAY_REF): Don't fold constant access if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER. (expand_expr, case COMPONENT_REF): Do copy if misaligned even if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER. From-SVN: r42361
2001-05-20* stmt.c (expand_decl): Set mode, alignment, and sizes for CONST_DECL.Richard Kenner2-5/+19
From-SVN: r42360
2001-05-20sched-deps.c (sched_analyze_insn): Force volatile memory reads to be output ↵Richard Henderson2-0/+18
before a branch. * sched-deps.c (sched_analyze_insn): Force volatile memory reads to be output before a branch. From-SVN: r42358
2001-05-20* Makefile.in (dwarf2asm.o): Depend on $(TREE_H).Richard Henderson2-2/+6
From-SVN: r42357
2001-05-20att.h (ASM_SHORT, ASM_LONG): Add trailing \t.Richard Henderson20-103/+100
* config/i386/att.h (ASM_SHORT, ASM_LONG): Add trailing \t. (ASM_DOUBLE): Remove. * config/i386/bsd.h, config/i386/sco5.h: Likewise. * config/i386/sun386.h: Likewise. * config/i386/i386.h (UNALIGNED_SHORT_ASM_OP): New. (UNALIGNED_INT_ASM_OP, INT_ASM_OP): New. * config/i386/cygwin.h (INT_ASM_OP): Remove. * config/i386/freebsd-aout.h, config/i386/i386-aout.h: Likewise. * config/i386/i386-coff.h, config/i386/i386-interix.h: Likewise. * config/i386/netbsd.h, config/i386/openbsd.h: Likewise. * config/i386/cygwin.h: Adjust uses of ASM_LONG for trailing \t. * config/i386/djgpp.h, config/i386/i386.h: Likewise. * config/i386/i386elf.h, config/i386/ptx4-i.h: Likewise. * config/i386/sco5.h, config/i386/svr3gas.h: Likewise. * config/i386/sysv4.h, config/i386/vsta.h: Likewise. * config/i386/win32.h: Likewise. From-SVN: r42355
2001-05-20ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254.Alexandre Oliva13-1740/+1837
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh, ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number of subdir/configure scripts to use the new libtool.m4. From-SVN: r42351
2001-05-20* invoke.texi: Add more options to summary list.Joseph Myers2-4/+9
From-SVN: r42349
2001-05-20re PR other/567 ("make dvi" fails)Joseph Myers4-8/+16
ch: * Make-lang.in (chill.dvi): Remove bogus dependencies. Don't cd to ch; include both $(srcdir)/ch and $(srcdir) in TEXINPUTS. Don't move chill.dvi after creating it. Fixes PR other/567 and PR other/1018. f: * Make-lang.in (f/g77.dvi): Include $(srcdir) in TEXINPUTS. From-SVN: r42345
2001-05-20re PR c++/2781 (bad code generated for reference call with -O2 (regression ↵Nathan Sidwell4-1/+88
from 2.95)) cp: PR c++/2781 * optimize.c (update_cloned_parm): Copy addressability and other flags. testsuite: * g++.old-deja/g++.other/optimize1.C: New test. From-SVN: r42344
2001-05-20pt.c (determine_specialization): Ignore artificial functions.Kriang Lerdsuwanakij4-0/+21
2001-05-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> * pt.c (determine_specialization): Ignore artificial functions. 2001-05-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> * g++.old-deja/g++.pt/spec41.C: New test. From-SVN: r42342
2001-05-20re PR c/2291 (Pedantic may be too pedantic)Joseph Myers3-101/+207
* invoke.texi: Document meaning of -pedantic when -std=gnu* is used. Fixes PR c/2291. * gcc.1: Regenerate. From-SVN: r42340
2001-05-20m68hc11.c (m68hc11_override_options): Ignore the -fpic and -fPIC options, ↵Stephane Carrez2-8/+27
clear flag_pic. * config/m68hc11/m68hc11.c (m68hc11_override_options): Ignore the -fpic and -fPIC options, clear flag_pic. From-SVN: r42339
2001-05-20hashtable.c (calc_hash): Fix HASHSTEP definition.Neil Booth4-10/+8
* hashtable.c (calc_hash): Fix HASHSTEP definition. * stringpool.c (make_identifier): No statistics here anymore. * objc-act.c (steup_string_decl): Remove redundant check. From-SVN: r42337
2001-05-20Daily bump.GCC Administrator5-5/+5
From-SVN: r42336
2001-05-20Makefile.in (OBJS, [...]): Update.Neil Booth29-669/+799
* Makefile.in (OBJS, LIBCPP_OBJS, LIBCPP_DEPS, cpplib.o, cpphash.o, fix-header): Update. (hashtable.o): New target. * c-common.h: Include cpplib.h. Define C_RID_CODE and struct c_common_identifier here. * c-lang.c (c_init_options): Update. Call set_identifier_size. * c-lex.c (c_lex): Update. * c-pragma.h: Update. * c-tree.h (struct lang_identifier): Contain c_common_identifier. Delete rid_code. (C_RID_CODE): Delete. * cpphash.c: Rewrite to use hashtable.c. * cpphash.h: Update include guards. (struct cpp_reader): Remove hashtab. hash_ob and buffer_ob are no longer pointers. Add hash_table and our_hashtable. (HASHSTEP, _cpp_init_hashtable, _cpp_lookup_with_hash): Delete. (_cpp_cleanup_hashtable): Rename _cpp_destroy_hashtable. (_cpp_cleanup_stacks): Rename _cpp_init_directives. * cppinit.c (cpp_create_reader): Update. * cpplex.c (cpp_ideq, parse_identifier, cpp_output_token): Update. (cpp_interpret_charconst): Eliminate warning. * cpplib.c (do_pragma, do_endif, push_conditional, cpp_push_buffer, cpp_pop_buffer): Update. (_cpp_init_stacks): Rename cpp_init_directives. (_cpp_cleanup_stacks): Remove. * cpplib.h: Update include guards. Include tree-core.h and c-rid.h. (cpp_hashnode, cpp_token, NODE_LEN, NODE_NAME, cpp_forall_identifiers, cpp_create_reader): Update. (C_RID_CODE, cpp_make_node): New. (c_common_identifier): New identifier node for C front ends. * cppmain.c (main): Update. * fix-header.c (read_scan_file): Update. * flags.h (id_clash_len): Make unsigned. * ggc.h (ggc_mark_nonnull_tree): New. * hashtable.c: New. * hashtable.h: New. * stringpool.c: Update comments and copyright. Update to use hashtable.c. * toplev.c (approx_sqrt): Move to hashtable.c. (id_clash_len): Make unsigned. * toplev.h (ident_hash): New. * tree.c (gcc_obstack_init): Move to hashtable.c. * tree.h: Include hashtable.h. (IDENTIFIER_POINTER, IDENTIFIER_LENGTH): Update. (GCC_IDENT_TO_HT_IDENT, HT_IDENT_TO_GCC_IDENT): New. (struct tree_identifier): Update. (make_identifier): New. cp: * cp-tree.h (struct lang_identifier, C_RID_YYCODE): Update. (C_RID_CODE): Remove. * lex.c (cxx_init_options): Call set_identifier_size. Update. (init_parse): Don't do it here. objc: * objc-act.c (objc_init_options): Call set_identifier_size. Update. From-SVN: r42334
2001-05-20except.c (dw2_build_landing_pads): Use word_mode, not Pmode, as ncessary.Richard Henderson7-63/+221
* except.c (dw2_build_landing_pads): Use word_mode, not Pmode, as ncessary. (expand_eh_return): Convert between word_mode and Pmode. * unwind-dw2.c (extract_cie_info): Do not assume words and pointers are the same size. (execute_stack_op): Likewise. (execute_cfa_program): Likewise. (uw_frame_state_for): Likewise. (uw_update_context_1): Likewise. * unwind.inc (_Unwind_Reason_Code): Likewise. * config/mips/mips.h (EH_RETURN_DATA_REGNO): Define. (EH_RETURN_STACKADJ_RTX): Likewise. * config/mips/mips.c (compute_frame_size): Make space for saving EH return registers. (mips_expand_epilogue): Handle EH stack adjustments. * config/mips/mips.md (eh_return): New pattern. (eh_set_lr_si): Likewise. (eh_set_lr_di): Likewise. Add splitter to perform EH return after reload. From-SVN: r42332
2001-05-19* jump.c (mark_jump_label): Tidy previous change.Mark Mitchell2-14/+10
From-SVN: r42327
2001-05-19open stdin for those building with a closed one.Bruce Korb2-1/+2
From-SVN: r42326
2001-05-19Do not use two warnings when one will doBruce Korb2-13/+9
From-SVN: r42323
2001-05-19jump.c (jump_optimize_1): Tidy.Mark Mitchell3-9/+1362
* jump.c (jump_optimize_1): Tidy. (mark_jump_label): When changing the label in a LABEL_REF, change update any REG_EQUAL notes as well. From-SVN: r42318
2001-05-19acinclude.m4: Fix --help spacing, correct comments.Phil Edwards6-874/+911
2001-05-19 Phil Edwards <pme@sources.redhat.com> * acinclude.m4: Fix --help spacing, correct comments. * aclocal.m4: Regenerate. * configure: Regenerate. * mkcheck.in: Add usage comments. * docs/html/documentation.html: Point to doxygen'd tarball. From-SVN: r42316
2001-05-19re PR c/166 (C syntax problem in gcc)Joseph Myers4-10/+48
* c-parse.in (parm_declarator): Split into parm_declarator_starttypename and parm_declarator_nostarttypename. (parm_declarator_starttypename, parm_declarator_nostarttypename): New. Allow parenthesised sub-declarators which don't begin with a TYPENAME. Fixes PR c/166. testsuite: * gcc.c-torture/compile/20010114-1.x: Remove. From-SVN: r42315
2001-05-19* MAINTAINERS (Write After Approval): Add myself.Matt Kraai2-0/+5
From-SVN: r42314
2001-05-19Make-lang.in: Have $(MAKEINFO) look into the parent directory for includes.Toon Moene3-48/+48
2001-05-19 Toon Moene <toon@moene.indiv.nluug.nl> * Make-lang.in: Have $(MAKEINFO) look into the parent directory for includes. * g77.texi: Use the GFDL. From-SVN: r42313
2001-05-19defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New macro.Mark Mitchell5-0/+62
* defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New macro. * tm.texi (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Document it. * toplev.c (main): If the target does not allow profiling without a frame pointer, issue an error message. * config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Define it to false. From-SVN: r42312
2001-05-19recog.c (general_operand): Modify last change to allow it if reload has ↵Richard Kenner2-2/+11
completed. * recog.c (general_operand): Modify last change to allow it if reload has completed. From-SVN: r42309
2001-05-19recog.c (general_operand): Prohibit nonzero subreg bytes on subregs ↵Jan Hubicka2-150/+90
containing mem. * recog.c (general_operand): Prohibit nonzero subreg bytes on subregs containing mem. From-SVN: r42308
2001-05-19Daily bump.GCC Administrator5-5/+5
From-SVN: r42306
2001-05-19regrename.c (regrename_optimize): frame pointer register can use a few hardregs.Denis Chertykov2-3/+13
* regrename.c (regrename_optimize): frame pointer register can use a few hardregs. From-SVN: r42305
2001-05-18posix-threads.h (_Jv_CondInit): `0' used in place of `NULL.'Alexandre Petit-Bianco2-2/+7
2001-05-18 Alexandre Petit-Bianco <apbianco@redhat.com> * include/posix-threads.h (_Jv_CondInit): `0' used in place of `NULL.' (_Jv_MutexInit): Likewise. (http://gcc.gnu.org/ml/java-patches/2001-q2/msg00245.html ) From-SVN: r42303
2001-05-19configure.in (libstdcxx_flags): Remove reference to libstdc++.INC.Benjamin Kosnik2-1/+5
2001-05-18 Benjamin Kosnik <bkoz@redhat.com> * configure.in (libstdcxx_flags): Remove reference to libstdc++.INC. From-SVN: r42299
2001-05-19README: Add notes.Benjamin Kosnik5-48/+88
2001-05-18 Benjamin Kosnik <bkoz@redhat.com> * testsuite/README: Add notes. * src/Makefile.am (libstdc++.INC): Remove. * src/Makefile.in: Regenerate. Phil Edwards <pedwards@disaster.jaj.com> * mkcheck.in: Add missing '#'. From-SVN: r42298
2001-05-18decl2.c (finish_objects): Use the original SYMBOL_REF from the function ↵Diego Novillo2-1/+6
declaration to avoid stripping... 2001-05-18 Diego Novillo <dnovillo@redhat.com> * decl2.c (finish_objects): Use the original SYMBOL_REF from the function declaration to avoid stripping the symbol's attributes. From-SVN: r42297
2001-05-18add emacs magic commentJason Merrill1-1/+1
From-SVN: r42294
2001-05-18fixJason Merrill1-1/+1
From-SVN: r42292
2001-05-18* README.DWARF: Move into dwarfout.c.Jason Merrill3-575/+547
From-SVN: r42290
2001-05-18* gcc.c-torture/compile/20010518-1.c: New test.Stan Shebs2-0/+209
From-SVN: r42289
2001-05-18rs6000.c (secondary_reload_class): Fix Darwin specific misuse of r0 as a ↵Dale Johannesen2-11/+21
reload address. 2001-05-18 Dale Johannesen <dalej@apple.com> * config/rs6000/rs6000.c (secondary_reload_class): Fix Darwin specific misuse of r0 as a reload address. From-SVN: r42287
2001-05-18combine.c (combine_simplify_rtx): Clear op0_mode if simplification suceeded.Jan Hubicka2-1/+6
* combine.c (combine_simplify_rtx): Clear op0_mode if simplification suceeded. From-SVN: r42286
2001-05-18genrecog.c (enum decision_type): Add DT_elt_zero-wide_safe.Richard Kenner2-14/+30
* genrecog.c (enum decision_type): Add DT_elt_zero-wide_safe. (add_to_sequence): Make that decision type. (maybe_both_true_2, nodes_identical_1, factor_tests): Use it. (write_switch, write_cond, debug_decision_2): Likewise. From-SVN: r42285