aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-03-08HTML typos and avoid standards.h breakageRainer Orth3-137/+200
From-SVN: r40327
2001-03-08configure.in (HAVE_AS_LEB128): New assembler check.Richard Henderson4-243/+297
* configure.in (HAVE_AS_LEB128): New assembler check. * configure, config.in: Rebuilt. From-SVN: r40326
2001-03-08reg-stack.c (move_for_stack_reg): Avoid non-poping fst for TFmode too.Jan Hubicka2-1/+7
* reg-stack.c (move_for_stack_reg): Avoid non-poping fst for TFmode too. From-SVN: r40325
2001-03-08xm-pc532-min.h, xm-we32k.h: Delete references to the MAXPATHLEN macro.Kaveh R. Ghazi18-254/+33
* config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete references to the MAXPATHLEN macro. * config/alpha/xm-alpha.h, config/arm/xm-arm.h, config/i386/xm-cygwin.h, config/xm-linux.h: Delete references to the POSIX macro. * config/i386/xm-gnu.h, config/xm-gnu.h, config/alpha/xm-openbsd.h, config/i386/xm-openbsd.h, config/m68k/xm-openbsd.h, config/mips/xm-openbsd.h, config/sparc/xm-openbsd.h, config/xm-openbsd.h: Delete empty and/or unused files. * config.gcc: Define POSIX in xm_defines as appropriate in lieu of doing so in various xm-*.h files. f: * com.c: Don't rely on the POSIX macro to define autoconf stuff. From-SVN: r40323
2001-03-08* config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.Richard Kenner2-3/+20
From-SVN: r40319
2001-03-08Daily bump.GCC Administrator2-2/+2
From-SVN: r40317
2001-03-08configure.in (enable_shared): Support per-package shared-library enabling.Alexandre Oliva3-226/+260
* configure.in (enable_shared): Support per-package shared-library enabling. * configure: Rebuilt. From-SVN: r40315
2001-03-08rs6000.md (cr logic): Add original POWER mnemonic alternative for crnot.David Edelsohn2-2/+14
* rs6000.md (cr logic): Add original POWER mnemonic alternative for crnot. Set operands[5] in splitter. From-SVN: r40313
2001-03-08xm-mvs.h, [...]: Delete references to the USG macro.Kaveh R. Ghazi38-343/+93
* config/i370/xm-mvs.h, config/i370/xm-oe.h, config/i386/xm-beos.h, config/i386/xm-mingw32.h, config/m88k/xm-m88k.h, config/mips/xm-iris6.h, config/mips/xm-openbsd.h, config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h, config/rs6000/xm-beos.h, config/rs6000/xm-darwin.h, config/rs6000/xm-mach.h, config/rs6000/xm-rs6000.h, config/xm-interix.h: Delete references to the USG macro. * config/vax/xm-vaxv.h, config/a29k/xm-unix.h, config/i370/xm-i370.h, config/i386/xm-dgux.h, config/i386/xm-sun.h, config/i386/xm-sysv3.h, config/m68k/xm-tower.h, config/m68k/xm-aux.h, config/m68k/xm-hp320.h, config/m68k/xm-amix.h, config/m68k/xm-altos3068.h, config/m68k/xm-mot3300.h, config/m68k/xm-m68kv.h, config/m88k/xm-openbsd.h, config/mips/xm-nws3250v4.h, config/mips/xm-sysv.h, config/mips/xm-iris3.h, config/mips/xm-iris4.h, config/xm-svr3.h, config/xm-svr4.h, config/sparc/xm-pbd.h, config/clipper/xm-clix.h: Delete unused and/or empty files. * config.gcc: Define USG in xm_defines as appropriate. Define POSIX in lieu of xm-svr4.h. Delete all references to the SVR3 macro. Remove deleted xm-* files from $xm_files variable. From-SVN: r40310
2001-03-07configure: Rebuilt.Tom Tromey3-231/+314
* configure: Rebuilt. * configure.in: Allow config-lang.in to set `lang_requires' to list of other required languages. From-SVN: r40308
2001-03-07* config-lang.in (lang_requires): Define.Tom Tromey2-0/+5
From-SVN: r40307
2001-03-07crash31.C: XFAIL.Neil Booth7-4/+28
* g++.old-deja/g++.other/crash31.C: XFAIL. * g77.f-torture/execute/20010116.x: Conditional XFAIL. * g77.f-torture/execute/short.x: XFAIL -Os on x86. * gcc.c-torture/execute/20010123-1.x: XFAIL. * gcc.c-torture/execute/20010124-1.x: XFAIL. * gcc.dg/sequence-pt-1.c: XFAIL one test. From-SVN: r40302
2001-03-07a29k.c (print_operand): Free a29k_last_prologue_insn after its emitted.Andrew MacLeod3-3/+17
2001-03-07 Andrew MacLeod <amacleod@redhat.com> * config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn after its emitted. (output_prologue): Use xmalloc not oballoc. (output_epilog): Free a29k_first_epilogue_insn when finished. * confif/a29k/a29k.h (PREDICATE_CODES): Remove shift_constant_operand. From-SVN: r40301
2001-03-07Brad's -ffast-math breakup.Brad Lucier25-114/+280
From-SVN: r40300
2001-03-07Makefile.in: Remove RANLIB definition.Laurynas Biveinis4-107/+174
* Makefile.in: Remove RANLIB definition. Use RANLIB in RANLIB_FOR_TARGET, EXTRA_HOST_FLAGS, EXTRA_TARGET_FLAGS, EXTRA_GCC_FLAGS, $(DO_X) targets only when the RANLIB is set. * Makefile.in: Set RANLIB to @RANLIB@. Remove RANLIB_TEST. * fixinc/inclhack.def (djgpp_wchar_h): New test. * fixinc/fixincl.x: Regenerated. From-SVN: r40299
2001-03-07* config/alpha/alpha.md (call_osf_1_noreturn): New pattern.Richard Henderson2-0/+18
From-SVN: r40297
2001-03-07lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.Richard Henderson3-8/+6
* lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized. * toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ... (compile_file): ... here. From-SVN: r40296
2001-03-07emit-rtl.c (remove_unnecessary_notes): Verify proper nesting of block notes ↵Richard Henderson2-25/+60
and exception handling notes. * emit-rtl.c (remove_unnecessary_notes): Verify proper nesting of block notes and exception handling notes. From-SVN: r40295
2001-03-07Whitespace changeRichard Kenner1-2/+2
From-SVN: r40292
2001-03-07Daily bump.GCC Administrator2-2/+2
From-SVN: r40290
2001-03-07Added. Contributed by Nicola Pero.Ovidiu Predescu1-0/+17
From-SVN: r40289
2001-03-07Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.Kaveh R. Ghazi3-5/+13
* fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H. * fixinc/gnu-regex.c: Don't include auto-host.h since we get config.h now. Include libiberty.h to handle alloca. From-SVN: r40283
2001-03-07c-parse.in (yylexname): New function, split out of _yylex.Zack Weinberg8-106/+123
* c-parse.in (yylexname): New function, split out of _yylex. (objc_rid_sans_at): New table. (init_reswords): Initialize it. (_yylex): Give labels clearer names. Handle CPP_ATSIGN by retrieving the next token and checking it for significance as an ObjC keyword or string constant. * cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'. * cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING. * c-lex.c, c-parse.in, cppmacro.c, cpplex.c, cp/spew.c: Remove references to CPP_OSTRING. From-SVN: r40279
2001-03-0720000724-1.c: Don't use multiline strings.Zack Weinberg2-10/+22
2001-03-06 Zack Weinberg <zackw@stanford.edu> * gcc.dg/20000724-1.c: Don't use multiline strings. From-SVN: r40278
2001-03-06m68k.c (const_uint32_operand): Accept any const_int on a 32-bit host.Stephen L Moshier2-1/+6
* config/m68k/m68k.c (const_uint32_operand): Accept any const_int on a 32-bit host. From-SVN: r40276
2001-03-06objc-act.c (init_objc): Set save_lang_status, restore_lang_status, and ↵Nicola Pero2-0/+8
mark_lang_status. * objc/objc-act.c (init_objc): Set save_lang_status, restore_lang_status, and mark_lang_status. From-SVN: r40271
2001-03-06* dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.Krister Walfridsson2-1/+5
From-SVN: r40269
2001-03-06* cppinternals.texi: Update.Neil Booth2-16/+85
From-SVN: r40267
2001-03-06typeck.c (convert_arguments): Check that we have an fndecl.Andrew Haley2-1/+5
2001-03-06 Andrew Haley <aph@redhat.com> * typeck.c (convert_arguments): Check that we have an fndecl. From-SVN: r40265
2001-03-06typeck.c (convert_arguments): Don't do ellipsis conversion for ↵Andrew Haley2-3/+15
__built_in_constant_p. 2001-03-05 Andrew Haley <aph@redhat.com> * typeck.c (convert_arguments): Don't do ellipsis conversion for __built_in_constant_p. From-SVN: r40263
2001-03-06xm-a29k.h, [...]: Delete HOST_BITS_PER_* definitions which match the ↵Kaveh R. Ghazi53-388/+52
defaults provided in hwint.h. * config/a29k/xm-a29k.h, config/a29k/xm-unix.h, config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h, config/clipper/xm-clix.h, config/convex/xm-convex.h, config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h, config/h8300/xm-h8300.h, config/i370/xm-i370.h, config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h, config/i386/xm-i386.h, config/i860/xm-i860.h, config/i960/xm-i960.h, config/ia64/xm-ia64.h, config/m32r/xm-m32r.h, config/m68k/xm-m68k.h, config/m88k/xm-m88k.h, config/mcore/xm-mcore.h, config/mips/xm-mips.h, config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h, config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h, config/romp/xm-romp.h, config/rs6000/xm-beos.h, config/rs6000/xm-lynx.h, config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h, config/sh/xm-sh.h, config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h, config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h, config/we32k/xm-we32k.h: Delete HOST_BITS_PER_* definitions which match the defaults provided in hwint.h. * config/i386/xm-lynx.h, config/m68k/xm-lynx.h, config/sparc/xm-lynx.h, config/xm-std32.h: Delete files. * config.gcc (xm_file): Don't set to files which are deleted. * hwint.h: Provide default values for HOST_BITS_PER_*. No longer guard this file against these macros being undefined. From-SVN: r40262
2001-03-06objc-act.c (objc_add_static_instance): Set DECL_INITIAL and ↵Zack Weinberg7-10/+61
DECL_DEFER_OUTPUT on the decl we create... * objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL and DECL_DEFER_OUTPUT on the decl we create, before calling rest_of_decl_compilation. testsuite: * objc/execute/string1.m, objc/execute/string2.m: Compare the result of -cString against what we expect it to be; don't just print it out for no one to read. * objc/execute/string3.m, objc/execute/string4.m: New tests. Based on testcases provided by Nicola Pero. From-SVN: r40261
2001-03-06oops, edited changelogs in wrong treeZack Weinberg1-2/+55
this is the log for the big alloca configuration patch From-SVN: r40260
2001-03-06aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.Zack Weinberg88-885/+203
libiberty: * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New. * configure.in: Replace all alloca logic with a simple use of the above new macro. * config.table: Kill *-*-beos* entry. * config/mh-beos: Delete. * configure, config.in: Regenerate. * Makefile.in (ALLOCA, HFILES): Kill. (REQUIRED_OFILES): Add alloca.o. (alloca.o): Depend on libiberty.h. (argv.o): Don't depend on alloca-conf.h. * alloca-conf.h: Delete. * alloca.c: Include libiberty.h. Kill all #ifdef emacs blocks. Provide the C alloca unconditionally. Use PTR where appropriate. Make i00afunc static. * argv.c: Don't include alloca-conf.h. include: * libiberty.h: Prototype C_alloca; define alloca to either __builtin_alloca or C_alloca as appropriate. gcc: * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE AC_FUNC_ALLOCA. * configure, config.in: Regenerate. * config.gcc: Remove references to deleted files. * genattr.c, genattrtab.c, genextract.c, genoutput.c, genrecog.c, rtl.c: Do not use alloca anywhere. * Makefile.in, build-make, system.h, config/x-interix, config/x-svr4, config/xm-interix.h, config/xm-openbsd.h, config/alpha/xm-alpha.h, config/alpha/xm-vms.h, config/arc/xm-arc.h, config/arm/xm-arm.h, config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h, config/h8300/xm-h8300.h, config/i370/x-oe, config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos, config/i386/x-ncr3000, config/i386/x-sco5, config/i386/xm-dgux.h, config/i860/x-sysv4, config/i960/xm-i960.h, config/m32r/xm-m32r.h, config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320, config/m68k/x-hp320g, config/m69k/x-mot3300, config/m68k/x-mot3300-gas, config/m68k/xm-amix.h, config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h, config/m68k/xm-mot3300.h, config/m88k/x-dolph, config/m88k/x-sysv4, config/m88k/x-tekXD88, config/m88k/xm-m88k.h, config/mcore/xm-mcore.h, config/mips/x-iris, config/mips/x-iris3, config/mips/x-sni-svr4, config/mips/x-sysv, config/mips/xm-iris6.h, config/mips/xm-mips.h, config/mips/xm-nws3250v4.h, config/pa/x-hpux, config/pa/x-pa-mpeix, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/romp/xm-romp.h, config/rs6000/x-aix31, config/rs6000/x-aix41, config/rs6000/x-beos, config/rs6000/x-lynx, config/rs6000/x-mach, config/rs6000/x-rs6000, config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h, config/sh/xm-sh.h, config/sparc/x-sysv4, config/sparc/xm-linux.h, config/sparc/xm-pbd.h, config/sparc/xm-sparc.h, config/vax/xm-vms.h: Eradicate all references to alloca and related stuff. * config/xm-alloca.h, config/clipper/x-clix, config/i386/xm-sysv4.h, config/i860/x-fx2800, config/i860/x-sysv3, config/m88k/x-sysv3, config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete (contained only alloca related hacks). * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define USE_C_ALLOCA. From-SVN: r40259
2001-03-06Daily bump.GCC Administrator2-2/+2
From-SVN: r40258
2001-03-05Fix a problem where rest_of_decl_compilation applied to class_dtable_decl ↵Per Bothner4-12/+24
causes problems because it was done too early... Fix a problem where rest_of_decl_compilation applied to class_dtable_decl causes problems because it was done too early, before output file was opened. * decl.c (init_decl_processing): Remove init of class_dtable_decl. * class.c (class_dtable_decl): Add macro - element of class_roots. (make_class_data): Define class_dtable_decl. * java-tree.h (JTI_CLASS_DTABLE_DECL, class_dtable_decl): Removed. From-SVN: r40256
2001-03-05* invoke.texi: Document __FAST_MATH__.Brad Lucier2-0/+6
From-SVN: r40249
2001-03-05* crtstuff.c: Restore include of auto-host.h.Kaveh R. Ghazi2-0/+7
From-SVN: r40248
2001-03-05Put main() in a separate file, so that the languageFergus Henderson5-10/+59
front-end can use a different main(). * main.c: New. * toplev.c: (main): Rename as toplev_main. * toplev.h: Declare toplev_main. * Makefile.in (OBJS): add toplev.o. (BACKEND): remove toplev.o, add main.o. From-SVN: r40247
2001-03-05Daily bump.GCC Administrator2-2/+2
From-SVN: r40246
2001-03-04* cppfiles.c (search_from): Special case the empty string.Neil Booth2-1/+9
From-SVN: r40236
2001-03-04cppfiles.c (_cpp_execute_include): Don't make a null-terminated copy of the ↵Neil Booth8-78/+53
filename. * cppfiles.c (_cpp_execute_include): Don't make a null-terminated copy of the filename. Don't use CPP_PREV_BUFFER. Don't call strlen or strcpy; we already know the length. (_cpp_compare_file_date): Similarly. * cpphash.h (struct cpp_reader): Delete done_initialising. (CPP_PREV_BUFFER): Delete. * cppinit.c (cpp_start_read): Don't set done_initialising. * cpplex.c (parse_string): Guarantee null-termination. (_cpp_equiv_toklists): Remove. * cpplib.c (glue_header_name): Null-terminate. (do_line): Don't leak memory. * cpplib.h (BT_WEAK): Delete. * cppmain.c (cb_ident): Strings are now null-terminated. From-SVN: r40233
2001-03-04gcc.c (convert_filename): Append executable suffix if NO_AUTO_EXE_SUFFIX is ↵Laurynas Biveinis4-1/+19
not defined. * gcc.c (convert_filename): Append executable suffix if NO_AUTO_EXE_SUFFIX is not defined. * gcc.texi: Document NO_AUTO_EXE_SUFFIX. * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX. From-SVN: r40229
2001-03-04Daily bump.GCC Administrator2-2/+2
From-SVN: r40226
2001-03-04Re-remove c-gperf.h.David O'Brien2-252/+7
Approved by: Jeffrey A Law <law@redhat.com> <6253.979532098@upchuck.cygnus.com> Tom Tromey <tromey@redhat.com> <87d7ce8gcz.fsf@creche.redhat.com> From-SVN: r40225
2001-03-03cpplex.c (_cpp_lex_token): Don't warn about directives in macro arguments ↵Neil Booth5-34/+56
when looking for the '('. * cpplex.c (_cpp_lex_token): Don't warn about directives in macro arguments when looking for the '('. * cppmacro.c (funlike_invocation_p): Set parsing_args to 2 when really parsing arguments; 1 when looking for '('. Always restore the lexer position. * gcc.dg/cpp/cppmacro7.c: New test. From-SVN: r40223
2001-03-03Under the "obviously correct" rule, fix the formatting breakage of people ↵David O'Brien5-393/+393
using 8-space indents vs. Under the "obviously correct" rule, fix the formatting breakage of people using 8-space indents vs. a single <tab> character. From-SVN: r40221
2001-03-03* longlong.h (umul_ppmm): Don't use a multiline string.Neil Booth2-2/+5
From-SVN: r40219
2001-03-03fixlib.h (t_bool): Add identifier `t_bool' in typedef.John David Anglin3-4/+11
* fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef. * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of t_bool in declaration because pcc can't combine volatile with typedef types. From-SVN: r40217
2001-03-03i386.c (ix86_expand_fp_compare): Delay creating of scratch register until ↵Jan Hubicka4-6/+24
when it is really needed. * i386.c (ix86_expand_fp_compare): Delay creating of scratch register until when it is really needed. (ix86_expand_compare): Update call of ix86_expand_fp_compare. * i386.h (PREDICATE_CODES): Add all codes for sse_comparison_operator * i386.md (float?i?f splitter): Don't force source operand to memory for SSE. (sse_movdfcc): Fix constraint. (sse_movdfcc splitter): Handle properly the second alternative. From-SVN: r40216