aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-07-30fold-const.c: Fix comment typos.Kazu Hirata4-3/+9
* fold-const.c: Fix comment typos. * gcse.c: Likewise. * reload1.c: Likewise. From-SVN: r55876
2002-07-30rs6000.md: Disallow CCEQ compare with crnor/crnot for TARGET_SPE.Aldy Hernandez2-1/+6
2002-07-29 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot for TARGET_SPE. From-SVN: r55875
2002-07-30c-pretty-print.h (pp_c_statement): Declare.Gabriel Dos Reis3-7/+261
* c-pretty-print.h (pp_c_statement): Declare. * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC. (pp_c_statement): Define. From-SVN: r55874
2002-07-30configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.Jeff Sturm3-259/+261
* configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP. * configure: Rebuilt. From-SVN: r55873
2002-07-30alpha.h, [...] (ASM_OUTPUT_LABEL): Delete definition.Kaveh R. Ghazi38-262/+25
* alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h, darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h, ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition. * defaults.h (ASM_OUTPUT_LABEL): Provide a default. * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs. From-SVN: r55872
2002-07-30* cp-tree.h (VF_DERIVED_VALUE): Restore from previous deletion.Gabriel Dos Reis2-0/+6
From-SVN: r55871
2002-07-30Daily bump.GCC Administrator7-7/+7
From-SVN: r55870
2002-07-30c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.Gabriel Dos Reis2-1/+38
* c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR. (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR, COMPOUND_LITERAL_EXPR, VA_ARG_EXPR. (pp_c_expression): Update. From-SVN: r55864
2002-07-30cp-tree.h (CLASSTYPE_VFIELDS, VF_*, BV_*): Add more documentation.Nathan Sidwell2-12/+22
* cp-tree.h (CLASSTYPE_VFIELDS, VF_*, BV_*): Add more documentation. From-SVN: r55863
2002-07-30adadecode.c (ada_demangle): Use xstrdup in lieu of xmalloc/strcpy.Kaveh R. Ghazi13-97/+49
ada: * adadecode.c (ada_demangle): Use xstrdup in lieu of xmalloc/strcpy. * misc.c (gnat_decode_option): Likewise. gcc: * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or concat in lieu of xmalloc/strcpy/memcpy/sprintf. * alpha/vms-ld.c (main): Likewise. * dsp16xx.c (double_reg_to_memory): Likewise. * mcore.c (mcore_expand_prolog): Likewise. * cppfiles.c (read_name_map): Likewise. * gensupport.c (process_rtx, identify_predicable_attribute, alter_test_for_insn): Likewise. * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise. f: * com.c (read_name_map): Use concat in lieu of xmalloc/strcpy. From-SVN: r55861
2002-07-30builtins.c (expand_builtin): Change the default behavior to only issue an ↵Roger Sayle2-15/+11
error if... * builtins.c (expand_builtin): Change the default behavior to only issue an error if the builtin function doesn't have a fallback library call. Remove several cases handled by the new default. From-SVN: r55860
2002-07-30real.c (ieee_24, [...]): Define only if the floating point format of the ↵John David Anglin2-0/+11
target is IEEE. * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the floating point format of the target is IEEE. * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point format of the target is DEC. From-SVN: r55859
2002-07-29unroll.c (verify_addresses): Remove.Richard Henderson2-132/+7
* unroll.c (verify_addresses): Remove. (find_splittable_givs): Never split DEST_ADDR givs. From-SVN: r55858
2002-07-29gty.texi (GGC Roots): Clarify that the list of syntaxes is exhaustive.Geoffrey Keating3-8/+62
* doc/gty.texi (GGC Roots): Clarify that the list of syntaxes is exhaustive. (Files): Improve documentation on generated source files. * doc/extend.texi (Translation implementation): Document what diagnostics look like. (Identifiers implementation): Document that there's normally no limit on identifier names. (Integers implementation): Document two's complement. (Hints implementation): Document that GCC honours 'inline', mostly. (Preprocessing directives implementation): Document that GCC requires the current time. From-SVN: r55857
2002-07-29c-pretty-print.h (struct c_pretty_print_info): Add new member.Gabriel Dos Reis3-6/+162
2002-07-30 Gabriel Dos Reis <gdr@nerim.net> * c-pretty-print.h (struct c_pretty_print_info): Add new member. (pp_initializer): New macro. (pp_c_initializer): Declare. * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR. (pp_c_initializer): Define. (pp_c_initializer_list): New function. (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST, VECTOR_CST, CONSTRUCTOR. (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR, IMAGPART_EXPR. (pp_c_cast_expression): Handle FLOAT_EXPR. (pp_c_assignment_expression): Handle INIT_EXPR. (pp_c_expression): Update. From-SVN: r55856
2002-07-30locks.h: Formatting.Alan Modra2-18/+39
* sysdep/powerpc/locks.h: Formatting. (_LARX): Define. (_STCX): Define. (compare_and_swap): Use _LARX and _STCX. (compare_and_swap_release): Likewise. From-SVN: r55855
2002-07-30cpu_limits.h (__glibcpp_long_bits): Define.Alan Modra4-43/+21
* config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define. * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64. * config/cpu/powerpc/atomicity.h (__always_swap): Remove. (__test_and_set): Remove. (_STWCX): Define and use. From-SVN: r55854
2002-07-29objc-act.c (objc_init): Return immediately if filename is NULL.Neil Booth2-0/+7
* objc/objc-act.c (objc_init): Return immediately if filename is NULL. From-SVN: r55853
2002-07-29elf.h: Remove ecoff.h and gofast includes.Eric Christopher21-370/+121
2002-07-29 Eric Christopher <echristo@redhat.com> * config/mips/elf.h: Remove ecoff.h and gofast includes. (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally. (SDB_DEBUGGING_INFO): Undefine. (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG. (PUT_SDB_SIZE): Remove. (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine. (STARTFILE_SPEC): Add isa3264 define. * config/mips/elf64.h: Ditto. Move TARGET_MEM_FUNCTIONS from here... * config/mips/ecoff.h: Remove. and here... * config/mips/iris3.h: and here... * config/mips/sni-svr4.h: and here... * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs. Add assembler -mmdebug options for non-dwarf debugging. * config/mips/r3900.h: Remove debug info defines. * config/mips/isa32-linux.h: Remove, move functionality to config.gcc. * config/mips/isa3264.h: Ditto. * config/mips/t-isa3264: Fix up for file removal and gofast configure change. * config/mips/t-elf: Ditto. * config/mips/t-ecoff: Ditto. * config/mips/t-r3900: Ditto. * config/mips/t-iris5-6: Ditto. * config/mips/t-isa3264: Ditto. * config/mips/t-linux: Remove. * config/mips/t-netbsd: Remove. * config/mips/t-mips: New file. * config/mips/t-gofast: Ditto. * config/mips/netbsd.h: Remove unnecessary undefines. * config/mips/linux.h: Remove #include of mips.h. * config.gcc: Add mips.h include for elf targets. Remove tm_file for ecoff. Add gofast configure option for mips. From-SVN: r55852
2002-07-29configure.in (mips*-*-*): Add a test to see if MIPS libgloss linker scripts ↵Chris Demetriou7-2/+93
use STARTUP directives... 2002-07-29 Chris Demetriou <cgd@broadcom.com> * configure.in (mips*-*-*): Add a test to see if MIPS libgloss linker scripts use STARTUP directives consistently. * configure: Regenerate. * config.in: Regenerate. * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined. * config/mips/elf64.h (STARTFILE_SPEC): Likewise. * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result will be the same. From-SVN: r55851
2002-07-29* config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.Aldy Hernandez2-1/+5
From-SVN: r55850
2002-07-29rs6000.h (RTX_COSTS): Add MULT case for 8540.Aldy Hernandez2-0/+5
2002-07-29 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540. From-SVN: r55849
2002-07-29rs6000.md: Move altivec patterns from here...Aldy Hernandez3-1880/+1905
2002-07-29 Aldy Hernandez <aldy@quesejoda.com> * config/rs6000/rs6000.md: Move altivec patterns from here... * config/rs6000/altivec.md: ...to here. From-SVN: r55848
2002-07-29spe.md ("spe_evmra"): Change to unspec.Aldy Hernandez2-1/+6
2002-07-29 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/spe.md ("spe_evmra"): Change to unspec. From-SVN: r55847
2002-07-29emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from set_mem_attributes ↵Richard Henderson4-14/+43
and add BITPOS argument. * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from set_mem_attributes and add BITPOS argument. Subtract it from OFFSET when same is adjusted. (set_mem_attributes): New wrapper function. * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos; remove offset adjustment hack. * expr.h (set_mem_attributes_minus_bitpos): Declare. From-SVN: r55846
2002-07-29Makefile.in (C_OBJS): Include c-pretty-print.oGabriel Dos Reis6-3/+1000
2002-07-29 Gabriel Dos Reis <gdr@nerim.net> * Makefile.in (C_OBJS): Include c-pretty-print.o (c-pretty-print.o): Add depency rule. * pretty-print.h: Add more macros. * c-pretty-print.c: New file. * c-pretty-print.h: Likewise. cp/ 2002-07-29 Gabriel Dos Reis <gdr@nerim.net> * Make-lang.in (CXX_C_OBJS): Include. From-SVN: r55845
2002-07-29spe.h (__internal_ev_mwhgumian): Cast vector constants to __ev64_s32__.Aldy Hernandez2-10/+20
2002-07-29 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector constants to __ev64_s32__. (__internal_ev_mwhgsmian): Same. (__internal_ev_mwhgsmfan): Same. (__internal_ev_mwhgssfan): Same. (__internal_ev_mwhgumiaa): Same. (__internal_ev_mwhgsmiaa): Same. (__internal_ev_mwhgsmfaa): Same. (__internal_ev_mwhgssfaa): Same. From-SVN: r55844
2002-07-29varasm.c (assemble_variable): Narrow test for uninitialized without BSS ↵David Edelsohn2-1/+8
target support. * varasm.c (assemble_variable): Narrow test for uninitialized without BSS target support. From-SVN: r55843
2002-07-29profile.c: Add file comment describing the overall algorithm and structures.Nathan Sidwell4-26/+96
* profile.c: Add file comment describing the overall algorithm and structures. (struct edge_info): Add comments. (struct bb_info): Add comments. * basic-block.h (EDGE_*): Add comments. * doc/gcov.texi (Gcov Data Files): Document bit flags. From-SVN: r55842
2002-07-29* config/xtensa/elf.h, config/xtensa/linux.hBob Wilson4-27/+41
(TARGET_OS_CPP_BUILTINS): Define. (CPP_PREDEFINES): Remove. * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define. (CPP_SPEC): Remove. From-SVN: r55840
2002-07-29gensupport.c: Include hashtab.h.Zack Weinberg9-65/+596
* gensupport.c: Include hashtab.h. (insn_elision, condition_table, hash_c_test, cmp_c_test, maybe_eval_c_test): New routines and data structures to support insn elision. (init_md_reader): Read and initialize the condition_table. (read_md_rtx): Discard insn patterns whose C test is provably always false. * gensupport.h: Declare new functions and data structures. * genconditions.c, dummy-conditions.c: New files. * Makefile.in: Build genconditions; run it to construct insn-conditions.c; build that and link it into most gen* programs. (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables. (GEN): Delete, unused. (STAGESTUFF): Update. * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to CODE_FOR_nothing for all elided patterns. (main): Tweaked to support this. * genflags.c (gen_proto): Emit a static inline generator function here for all elided patterns, which simply returns NULL_RTX. (gen_insn): Do not define HAVE_xxx for elided patterns. (main): Tweaked to support this. No need to forward-declare struct rtx_def. * genrecog.c: Do not bother emitting the C test if it's known to be true at compile time. From-SVN: r55839
2002-07-29config.gcc (target_gtfiles): Initialize...Mike Stump2-0/+6
* config.gcc (target_gtfiles): Initialize, as otherwise cross compilers hosted on powerpc-apple-darwin6.0 won't even build. From-SVN: r55838
2002-07-29* cplus-dem.c (PREPEND_BLANK): Remove.Neil Booth2-2/+4
From-SVN: r55837
2002-07-29arm.md (sibcall, [...]): Add RETURN as part of the pattern, remove clobber ↵Richard Earnshaw2-9/+15
of LR. * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern, remove clobber of LR. (sibcall_insn, sibcall_value_insn): Update accordingly. (sibcall_epilogue): Remove debugging comment from assembler stream. From-SVN: r55836
2002-07-29* cp-tree.h: Comment typo fix.Alan Modra2-1/+5
From-SVN: r55835
2002-07-29spew.c (space_for_token): Allocate zeroed memory for a new token chunk.Richard Earnshaw2-1/+6
* spew.c (space_for_token): Allocate zeroed memory for a new token chunk. From-SVN: r55834
2002-07-29pretty-print.h: Define more macros.Gabriel Dos Reis4-33/+58
* pretty-print.h: Define more macros. * diagnostic.h (output_formatted_integer): Moved from... * diagnostic.c: ... here. From-SVN: r55833
2002-07-29Daily bump.GCC Administrator6-6/+6
From-SVN: r55832
2002-07-29Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r55831.3
2002-07-29gcc_release: Update comment.Andreas Jaeger3-3/+9
* gcc_release: Update comment. * snapshot-README: Snapshots are taken from GCC 3.2 branch. From-SVN: r55825
2002-07-29* gcc_release: Use the 3.2 branch for snapshots.Mark Mitchell2-1/+5
From-SVN: r55824
2002-07-28* stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.Kaveh R. Ghazi2-5/+5
From-SVN: r55822
2002-07-28defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two arguments.Zack Weinberg15-117/+53
* defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two arguments. Always use ".-symbol" as expression argument. * doc/tm.texi: Update to match. Document requirement for ".size symbol, .-symbol" to be acceptable to assembler. * config/elfos.h, config/netbsd-aout.h, config/openbsd.h, config/arm/elf.h, config/avr/avr.h, config/cris/aout.h, config/i386/freebsd-aout.h, config/i386/sco5.h, config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h, config/xtensa/linux.h: Update uses of ASM_OUTPUT_MEASURED_SIZE. From-SVN: r55820
2002-07-28Update version numberMark Mitchell6-6/+6
From-SVN: r55818
2002-07-28* Makefile.in (gengtype-lex.c): Fix error in last change.Kaveh R. Ghazi2-1/+3
From-SVN: r55817
2002-07-28freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing backslash.Kaveh R. Ghazi2-1/+4
* alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing backslash. From-SVN: r55816
2002-07-28Makefile.in (vmsdbgout.o): Depend on function.h.Kaveh R. Ghazi3-1/+8
* Makefile.in (vmsdbgout.o): Depend on function.h. * vmsdbgout.c: Include function.h. From-SVN: r55815
2002-07-28prefix.c (update_path): Don't strip single `.' path components unless ↵Alan Modra2-33/+29
stripping a later `..' component. * prefix.c (update_path): Don't strip single `.' path components unless stripping a later `..' component. Exit loop as soon as a valid path is found. From-SVN: r55814
2002-07-28Daily bump.GCC Administrator7-7/+7
From-SVN: r55813
2002-07-28builtins.def [...]: Require an explicit ATTRS argument.Roger Sayle5-44/+86
* builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS argument. Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN, BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99 floating point unordered comparisons (e.g. __builtin_isgreater) as const, and leave the remaining GCC_BUILTINs unchanged. * c-decl.c (builtin_function): No need to explicitly mark BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn. * cp/decl.c (builtin_function_1): No need to explicitly mark BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn. From-SVN: r55805