aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
AgeCommit message (Collapse)Author
2006-10-202006-10-20 Richard Sandiford <richard@codesourcery.com>Richard Sandiford
Joseph Myers <joseph@codesourcery.com> gcc/ * gcc.c (license_me_flag): New variable. (feature_proxy_flag): New variable. (no_license): New variable. (process_command): Handle -flicense-me, -ffeature-proxy and -fno-feature-proxy. Initialize no_license. (main): Check licenses. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@117901 138bc75d-0d04-0410-961f-82ee72b054a4
2006-09-132006-09-13 Carlos O'Donell <carlos@codesourcery.com>Carlos O'Donell
* gcc/gcc.c (process_command): Use standard_libexec_prefix as a fallback for gcc_libexec_prefix. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@116924 138bc75d-0d04-0410-961f-82ee72b054a4
2006-09-12 gcc/Nathan Sidwell
* configure.ac: Replace --with-versuffix with --with-pkgversion. * version.c (version_string): Remove VERSUFFIX. (pkgversion_string): New. * version.h (pkgversion_string): Declare. * Makefile.in (VERSUFFIX_s): Replace with ... (PKGVERSION_s): ... this. (version.o): Adjust. * configure: Rebuilt. * gcc.c (process_command, main): Check for pkgversion_string. * gcov.c (print_version): Likewise. * gcov-dump.c (print_version): Likewise. * mips-tdump.c (main): Likewise. * mips-tfile.c (main): Likewise. * toplev.c (compile_file, print_version): Likewise. * protoize.c (main): Likewise. gcc/java/ * jv-scan.c (version): Check pkgversion_string. * jcf-dump.c (version): Likewise. * gjavah.c (version): Likewise. gcc/fortran/ (lang_specific_driver): Check pkgversion_string. gcc/treelang/ * tree1.c (treelanf_handle_option): Check pkgversion_string. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@116887 138bc75d-0d04-0410-961f-82ee72b054a4
2006-07-282006-07-27 Carlos O'Donell <carlos@codesourcery.com>csl/sourcerygxx/4.1-17csl/renesas/4.1-6Carlos O'Donell
gcc/ * gcc.c: Organize search path variables into $prefix relative, and well-known native. Add comments. (add_sysrooted_prefix): Add comment. (process_command): If !gcc_exec_prefix add $prefix based paths. If *cross_compile == '0', add native well-known paths. Assert tooldir_base_prefix is always relative. (main): If print_search_dirs, and if gcc_exec_prefix is set, use this value for 'install:' path. 2006-07-27 Carlos O'Donell <carlos@codesourcery.com> gcc/ * config/arm/linux-elf.h (NEED_INDICATE_EXEC_STACK): Define as 1. * arm.c (arm_file_end): If NEED_INDICATE_EXEC_STACK call file_end_indicate_exec_stack. * arm.h [!NEED_INDICATE_EXEC_STACK] (NEED_INIDCATE_EXEC_STACK): Define as 0. * lib1funcs.asm [__ELF__ && __linux__]: Emit .note.GNU-stack section for a non-executable stack. * crti.asm: Likewise. * crtn.asm: Likewise. * libunwind.S: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@115788 138bc75d-0d04-0410-961f-82ee72b054a4
2006-06-21Merge from csl/coldfire-4_1 branch, revision 114848Richard Sandiford
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@114850 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-28 * gcc/gcc.c (process_command): Add program name to GCC_EXEC_PREFIXcsl/morpho/4.1-4Joseph Myers
value before passing to make_relative_prefix. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@113346 138bc75d-0d04-0410-961f-82ee72b054a4
2006-01-20 PR libstdc++/25524Joseph Myers
* gcc/cppdefault.h (struct default_include): Add multilib flag. * gcc/cppdefault.c (cpp_include_defaults): Set it. * gcc/c.opt (-imultilib): New option. * gcc/c-opts.c (imultilib): New. (c_common_handle_option): Handle -imultilib. (c_common_post_options): Likewise. * gcc/c-incpath.c (add_standard_paths, register_include_chains): Likewise. * gcc/c-incpath.h (register_include_chains): Add extra parameter. * gcc/gcc.c (do_spec_1): Generate -imultilib option. (The Specs Language): Update %I description. (process_command): Update copyright notice. * gcc/doc/cppopts.texi (-imultilib): Document. * gcc/doc/invoke.texi (-imultilib): Include in option summary. (%I): Update specs documentation. * libstdc++-v3/include/Makefile.am: Install host-specific headers in multilib subdirectory. * libstdc++-v3/include/Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@110038 138bc75d-0d04-0410-961f-82ee72b054a4
2006-01-20 Backport from mainline.Julian Brown
2005-11-23 Mark Mitchell <mark@codesourcery.com> * gcc/doc/invoke.texi: For man pages, include gcc-vers.texi. List @file in the option summary. Include the libiberty documentation for @file. * gcc/gcc.c (main): Call expandargv. * gcc/Makefile.in (gcc-vers.texi): Define srcdir. 2005-11-23 Mark Mitchell <mark@codesourcery.com> * maintainer-scripts/update_web_docs_svn: Set @srcdir in gcc-vers.texi. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@110032 138bc75d-0d04-0410-961f-82ee72b054a4
2005-11-19 * gcc.c (version_compare_spec_function): Use '%s' rather than %qs inJakub Jelinek
fatal format string. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_1-branch@107227 138bc75d-0d04-0410-961f-82ee72b054a4
2005-11-16 PR 24357Tobias Schl"uter
* doc/invoke.texi: Distinguish between free and fixed form instead of Fortran and Fortran 90/95. Remove ratfor from the list of supported languages. * gcc.c (default_compilers): Remove double entries, add entries for suffixes '.F90' and '.F95'. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@107078 138bc75d-0d04-0410-961f-82ee72b054a4
2005-11-15 * gcc.c (version_compare_spec_function): Use fatal() rather thanGeoffrey Keating
abort(). * config/rs6000/darwin.h (DARWIN_CRT2_SPEC): New. (SUBTARGET_EXTRA_SPECS): Define %(darwin_crt2). * config/i386/darwin.h (SUBTARGET_EXTRA_SPECS): Define %(darwin_crt2) as empty. * config/darwin.h (STARTFILE_SPEC): Use %(darwin_crt2) to possibly link in crt2.o. * config/darwin.h (REAL_LIBGCC_SPEC): Link in shared libgcc depending on -mmacosx-version-min setting. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106935 138bc75d-0d04-0410-961f-82ee72b054a4
2005-10-212005-10-21 Andrew Pinski <pinskia@physics.uc.edu>Andrew Pinski
PR driver/24473 * gcc.c (main): Use the correct counter for erroring out about mulitple files. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105732 138bc75d-0d04-0410-961f-82ee72b054a4
2005-10-172005-10-16 Andrew Pinski <pinskia@physics.uc.edu>Andrew Pinski
PR driver/22544 * gcc.c (have_c): New static variable. (have_o): Likewise. (process_command): Remove declation of have_c. Set have_o to 1 when handling -o. (main): Add a fatel error if there are multiple files specified and -o and -c/-S is passed witout -combine or multiple languages. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105487 138bc75d-0d04-0410-961f-82ee72b054a4
2005-10-10* gcc.c (do_spec_1): Accept numeric characters in file nameMaciej W. Rozycki
suffixes. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105178 138bc75d-0d04-0410-961f-82ee72b054a4
2005-08-12 * gcc.c (LINK_SSP_SPEC): Remove space before a trailing }.Kaz Kojima
(LINK_COMMAND_SPEC): Add space after %(link_ssp). git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@103020 138bc75d-0d04-0410-961f-82ee72b054a4
2005-08-07Make Darwin -bundle option work. Patch from Peter O'Gorman.Peter O'Gorman
PR 21366 * gcc.c (process_command): Check the argument to -b has a dash. * doc/invoke.texi: Update -b and -V docs. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@102829 138bc75d-0d04-0410-961f-82ee72b054a4
2005-08-032005-08-03 Eric Christopher <echristo@apple.com>Eric Christopher
* gcc.c (LINK_SSP_SPEC): Add fstack-protector-all. * config/darwin.h (LINK_COMMAND_SPEC): Add link_ssp spec. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@102719 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-25 * gcc.c (option_map): Add --sysroot.Mark Mitchell
(process_command): Handle --sysroot. (display_help): Document it. * doc/cppopts.tex (-isysroot): Document. * doc/invoke.texi (--sysroot): Document. * doc/install.texi (--with-build-sysroot): Document. * Makefile.in (inhibit_libc): New variable. (INHIBIT_LIBC_CFLAGS): Likewise. (LIBGCC2_CFLAGS): Include $(INHIBIT_LIBC_CFLAGS). (CRTSTUFF_CFLAGS): Include $(INHIBIT_LIBC_CFLAGS). ($(T)crtbegin.o): Do not use @inhibit_libc@. ($(T)crtend.o): Likewise. ($(T)crtbeginS.o): Do not use @inhibit_libc@. ($(T)crtendS.o): Likewise. ($(T)crtbeginT.o): Do not use @inhibit_libc@. ($(T)crtendT.o): Likewise. (stmp-fixinc): Do not complain about missing headers if inhibit_libc. * configure.ac (inhibit_libc): Set it to true/false. (--with-build-sysroot): New option. Use it to set SYSTEM_HEADER_DIR. * configure: Regenerated. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@102367 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-17 * gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit.Richard Henderson
* acinclude.m4: New file. * configure.ac: Invoke LIBMUDFLAP_CHECK_TLS. * configure, config.h.in, Makefile.in, testsuite/Makefile.in: Rebuild. * mf-hooks1.c (__mf_0fn_malloc): Move body from ... (__mf_0fn_calloc): ... here. * mf-hooks3.c (struct pthread_info): Remove. (__mf_pthread_info, __mf_pthread_info_idx): Remove. (LIBMUDFLAPTH_THREADS_MAX): Set to 1021. (struct mf_thread_data): New. (mf_thread_data, mf_thread_data_lock): New. (__mf_allocate_blank_threadinfo): Remove. (__mf_find_threadinfo): Rewrite and simplify. Only use if TLS is not available. (__mf_state_perthread): Remove. (__mf_get_state, __mf_set_state): New. (__mf_pthread_cleanup): Use &errno, rather than saved pointer. Update mf_thread_data killing procedure. (__mf_pthread_spawner): Similarly. (__mf_0fn_pthread_create): Only use wrapper if necessary. Remove code to allocate thread stack space. (__mf_0fn_pthread_join, pthread_join): Remove. (__mf_0fn_pthread_exit, pthread_exit): Remove. * mf-impl.h (dyn_pthread_join, dyn_pthread_exit): Remove. (__mf_state_1): Rename from __mf_state; use TLS when available. (__mf_get_state, __mf_set_state): New. Update all users. * mf-runtime.c (begin_recursion_protect1): New. (BEGIN_RECURSION_PROTECT): Use it. (__mf_state_1): Rename from __mf_state; use TLS when available. (threads_active_p): Remove. (__mf_usage): Compute it directly. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@102108 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-13 * gcc.c (main): Compare language[0] with '*' when iterating overBen Elliston
the infiles. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101993 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-122005-07-12 Eric Christopher <echristo@redhat.com>Eric Christopher
* gcc.c (struct infile): Update comment for language. (main): Rewrite input file resetting code. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101934 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-08Index: ChangeLogGeoffrey Keating
2005-07-07 Geoffrey Keating <geoffk@apple.com> * config.gcc (*-*-darwin*): Only one target-specific header file for generic darwin. (powerpc-*-darwin*): Add version-specific header files. * configure.in (gcc_AC_CHECK_DECLS): Add strverscmp. * config.in: Regenerate. * configure: Regenerate. * gcc.c: Include xregex.h. (version_compare_spec_function): New. (spec_function): Add version-compare. (replace_outfile_spec_function): Reformat comment. (compare_version_strings): New. * config/darwin-c.c (version_as_macro): New. (builtin_define): New. (darwin_cpp_builtins): New. * config/darwin-protos.h (darwin_cpp_builtins): New. * config/darwin.h (CPP_SPEC): Don't define APPLE_CC here. (LIB_SPEC): Make unconditional, update comment. (TARGET_C99_FUNCTIONS): Define. * config/darwin.opt: Sort. (mmacosx-version-min=): New. * config/darwin7.h: Delete. * config/darwin8.h: Delete. * config/i386/darwin.h (): Call darwin_cpp_builtins. * config/rs6000/darwin.h (): Call darwin_cpp_builtins. (TARGET_C99_FUNCTIONS): Define. * config/rs6000/darwin7.h: New. * config/rs6000/darwin8.h: New. * doc/invoke.texi (Darwin Options): Add -mmacosx-version-min= (-mmacosx-version-min): Document. Index: testsuite/ChangeLog 2005-07-07 Geoffrey Keating <geoffk@apple.com> * gcc.dg/darwin-version-1.c: New. * gcc.dg/builtins-18.c: On Darwin, needs -mmacosx-version-min=10.3. * gcc.dg/builtins-20.c: Likewise. * gcc.dg/builtins-53.c: Likewise. * gcc.dg/torture/builtins-convert-1.c: Likewise. * gcc.dg/torture/builtins-convert-2.c: Likewise. * gcc.dg/torture/builtins-convert-3.c: Likewise. * gcc.dg/torture/builtins-power-1.c: Likewise. * gcc.dg/builtins-config.h: Complain if macosx-version-min not set on Darwin. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101753 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-03 * bb-reorder.c, c-pch.c, c-pragma.c, c.opt, cfghooks.c, cfgloop.c,Joseph Myers
cfgrtl.c, cgraphunit.c, config/c4x/c4x.c, config/cris/cris.c, config/frv/frv.c, config/host-darwin.c, config/iq2000/iq2000.c, config/lynx.h, config/m68k/m68k.c, config/pa/pa.c, config/sh/sh.h, config/stormy16/stormy16.c, config/v850/v850.c, config/vax/netbsd-elf.h, coverage.c, dwarf2out.c, emit-rtl.c, except.c, gcc.c, tree-cfg.c, tree-eh.c, tree-ssa.c, xcoffout.c: Avoid "." or "\n" at end of diagnostics and capital letters at start of diagnostics. * combine.c, cse.c: Don't translate dump file output. * toplev.c (print_version): Only translate output if going to stderr. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101561 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-02 * Makefile.def (target_modules): Add libssp.Jakub Jelinek
* configure.in (target_libraries): Add target-libssp. * configure: Rebuilt. * Makefile.in: Rebuilt. gcc/ * gcc.c (LINK_SSP_SPEC): Define. (link_ssp_spec): New variable. (LINK_COMMAND_SPEC): Add %(link_ssp). (static_specs): Add link_ssp_spec. * configure.ac (TARGET_LIBC_PROVIDES_SSP): New test. * configure: Rebuilt. * config.in: Rebuilt. * config/rs6000/linux.h (TARGET_THREAD_SSP_OFFSET): Define. * config/rs6000/linux64.h (TARGET_THREAD_SSP_OFFSET): Likewise. * config/i386/linux.h (TARGET_THREAD_SSP_OFFSET): Likewise. * config/i386/linux64.h (TARGET_THREAD_SSP_OFFSET): Likewise. * config/rs6000/rs6000.md (stack_protect_set, stack_protect_test): If TARGET_THREAD_SSP_OFFSET is defined, use -0x7010(13) resp. -0x7008(2) instead of reading __stack_chk_guard variable. * config/i386/i386.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): Change number. (UNSPEC_SP_TLS_SET, UNSPEC_SP_TLS_TEST): New constants. (stack_protect_set, stack_protect_test): Use *_tls* patterns if TARGET_THREAD_SSP_OFFSET is defined. (stack_tls_protect_set_si, stack_tls_protect_set_di, stack_tls_protect_test_si, stack_tls_protect_test_di): New insns. Revert: 2005-06-27 Richard Henderson <rth@redhat.com> * libgcc-std.ver (GCC_4.1.0): New. * libgcc.h (__stack_chk_guard): Declare. (__stack_chk_fail, __stack_chk_fail_local): Declare. * libgcc2.c (L_stack_chk, L_stack_chk_local): New. * mklibgcc.in (lib2funcs): Add them. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101531 138bc75d-0d04-0410-961f-82ee72b054a4
2005-06-25Update FSF address.Kelley Cook
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101317 138bc75d-0d04-0410-961f-82ee72b054a4
2005-06-06libiberty/Gabriel Dos Reis
2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net> * libiberty.h (XOBFINISH): New. gcc/ 2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net> * c-lex.c (lex_string): Use XOBFINISH. * collect2.c (extract_string, dump_file): Likewise. * dbxout.c (dbxout_finish_complex_stabs): Likewise. * gcc.c (init_spec, build_search_list, convert_filename, set_collect_gcc_options, do_spec_2, do_spec_1, main): * Likewise. * genpreds.c (write_predicate_subfunction): Likewise. * genflags.c (main): Likewise. * read-rtl.c (mode_attr_index, apply_macro_to_string, join_c_conditions, read_quoted_string, read_braced_string, read_rtx_1): Likewise. * stringpool.c (ggc_alloc_string): Likewise. * tlink.c (obstack_fgets, recompile_files): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100678 138bc75d-0d04-0410-961f-82ee72b054a4
2005-06-06gcc/po/Jakub Jelinek
* exgettext: Handle gmsgid and cmsgid arguments specially, as gcc-internal-format and c-format. Because of xgettext bug, invoke xgettext once with --language=c, once with --language=GCC-source and then merge together. Fail if xgettext is not 0.14.5 or later. gcc/ * intl.h (G_): New macro. * rtl-error.c (error_for_asm, warning_for_asm): Use gmsgid instead of msgid for argument name. * tree-ssa.c (warn_uninit): Likewise. * c-parser.c (c_parser_error): Likewise. * config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise. * config/darwin-c.c (BAD): Likewise. * config/c4x/c4x-c.c (BAD): Likewise. * c-pragma.c (GCC_BAD, GCC_BAD2): Likewise. * c-errors.c (pedwarn_c99, pedwarn_c90): Likewise. * c-common.c (c_parse_error): Likewise. * diagnostic.c (diagnostic_set_info, verbatim, inform, warning, warning0, pedwarn, error, sorry, fatal_error, internal_error): Likewise. (fnotice): Use cmsgid instead of msgid for argument name. * gcov.c (fnotice): Likewise. * protoize.c (notice): Likewise. * final.c (output_operand_lossage): Likewise. * gcc.c (fatal, notice): Likewise. (error): Use gmsgid instead of msgid for argument name. * collect2.c (notice, fatal_perror, fatal): Use cmsgid instead of msgid for argument name. (error): Use gmsgid instead of msgid for argument name. * c-decl.c (locate_old_decl, implicit_decl_warning): Use G_() instead of N_(). * c-typeck.c (readonly_error, convert_for_assignment): Likewise. * tree-inline.c (inline_forbidden_p_1): Likewise. * ABOUT-GCC-NLS: Require gettext 0.14.5 or later. Mention the new conventions for marking translations. * doc/install.texi: Mention gettext 0.14.5 or later requirement. gcc/cp/ * error.c (locate_error): Use gmsgid instead of msgid for argument name. (cp_error_at, cp_warning_at, cp_pedwarn_at): Likewise. gcc/java/ * jv-scan.c (fatal_error, warning, warning0): Use gmsgid instead of msgid for argument name. * gjavah.c (error): Likewise. * java-tree.h (parse_error_context): Likewise. * parse.y (parse_error_context, parse_warning_context, issue_warning_error_from_context): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100676 138bc75d-0d04-0410-961f-82ee72b054a4
2005-05-15 * gcc.c (pfatal_pexecute): Remove unused local function.Andreas Jaeger
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@99732 138bc75d-0d04-0410-961f-82ee72b054a4
2005-05-04Fix the Xassembler and Xpreprocessor options, which have never worked right.James E. Wilson
PR driver/21112 * gcc.c (process_command): In the second argv scan loop, ignore Xassembler and Xpreprocessor, along with their argument. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@99221 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-27 * configure.ac: Check for ld --sysroot support.Mark Mitchell
* gcc.c: Document %R specifier for specs. (SYSROOT_SPEC): New macro. (sysroot_spec): New variable. (static_specs): Add sysroot_spec. (main): Pass the sysroot spec to the linker if appropriate. * configure: Regenerated. * config.in: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@98880 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-26 * collect2.c, gcc.c, gcov-dump.c, gcov.c, gen-protos.c,Kaveh Ghazi
gensupport.c, protoize.c, toplev.c: Replace calls to `unlock_stream' with `unlock_std_streams'. java: * gjavah.c, jcf-dump.c, jv-scan.c, jvgenmain.c: Replace calls to `unlock_stream' with `unlock_std_streams'. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@98753 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-24 * collect2.c (main): Unlock the stdio streams.Kaveh Ghazi
* gcc.c (main): Likewise. * gcov-dump.c (main): Likewise. * gcov.c (main): Likewise. * gen-protos.c (main): Likewise. * gensupport.c (init_md_reader_args_cb): Likewise. * protoize.c (main): Likewise. * toplev.c (general_init): Likewise. java: * gjavah.c (main): Unlock the stdio streams. * jcf-dump.c (main): Likewise. * jv-scan.c (main): Likewise. * jvgenmain.c (main): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@98676 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-15 * gcc.c (default_compilers): Clarify obscure error message whenDave Korn
reading from standard input. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@98196 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-06 * gcc.c: Correct comment about DEFAULT_SWITCH_TAKES_ARG andBen Elliston
DEFAULT_WORD_SWITCH_TAKES_ARG which incorrectly reported these macros as living in "this file" and not gcc.h. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97678 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-01 * gcc.c: Don't include <sys/resource.h> or declare getrusage.Ian Lance Taylor
(rus, prus): Remove static variables. (execute): Use pex_run/pex_get_status rather than pexecute/pwait. (process_command): Permit report_times and use_pipes together. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97406 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-232005-03-23 Mark Mitchell <mark@codesourcery.com>Mark Mitchell
* gcc.c (do_spec_1): Do not add a -L path for a directory in the prefix list if we have already added a multilib directory based on that path. (main): Do not add MD_EXEC_PREFIX to the list of directories to search with -L. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@96915 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-04 * gcc.c (option_map): Add --coverage.Ben Elliston
(LINK_COMMAND_SPEC): Pass -lgcov for `coverage'. (cc1_options): Pass -fprofile-arcs -ftest-coverage for `coverage'. * config/darwin.h: Pass -lgcov for `coverage'. * doc/invoke.texi (Debugging Options): Document --coverage. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@95878 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-23 * doc/tm.texi (LINK_LIBGCC_SPECIAL): Remove.Daniel Jacobowitz
(LINK_LIBGCC_SPECIAL_1): Don't mention it. * gcc.c: Don't check for LINK_LIBGCC_SPECIAL. * system.h: Poison LINK_LIBGCC_SPECIAL. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@95476 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-19 PR other/19525Richard Sandiford
* doc/invoke.texi: Remove documentation of %M spec. * gcc.c: Likewise. (init_spec): Remove %M suffix from -lgcc_s. (do_spec_1): Remove 'M' case. * mklibgcc.in: Remove SHLIB_MULTILIB handling. Expect SHLIB_LINK to put shared libraries in the multilib directory. Remove the shlib_so_soname substitution variable. Don't add a multilib encoding to shlib_base_name. Set shlib_slibdir_qual to the full pathname reported by -print-multi-os-directory. Pass @multilib_dir@ to SHLIB_INSTALL as well as SHLIB_LINK. * config/t-slibgcc-elf-ver (SHLIB_SONAME): Use @shlib_base_name@. (SHLIB_NAME): Delete. (SHLIB_DIR): New macro. (SHLIB_LINK): Put $(SHLIB_SONAME) and $(SHLIB_SOLINK) in $(SHLIB_DIR). (SHLIB_INSTALL): Adjust accordingly. * config/t-slibgcc-darwin: As for t-slibgcc-elf-ver. * config/t-slibgcc-sld: Likewise. * config/t-libunwind-elf (SHLIBUNWIND_NAME): Delete. (SHLIBUNWIND_SONAME): Use @shlib_base_name@. (SHLIBUNWIND_LINK): Put $(SHLIBUNWIND_SONAME) and $(SHLIB_SOLINK) in $(SHLIB_DIR). (SHLIBUNWIND_INSTALL): Adjust accordingly. * config/i386/t-nwld (SHLIB_SONAME): Delete. (SHLIB_LINK, SHLIB_INSTALL): Use SHLIB_NAME instead of SHLIB_SONAME. Use @shlib_base_name@ instead of @shlib_so_name@. * config/ia64/t-hpux (SHLIB_LINK): Put @shlib_base_name@.so.0 and @shlib_base_name@.so in @multilib_dir@. (SHLIB_INSTALL): Adjust accordingly. Add @shlib_slibdir_qual@ to the install path. * config/mips/t-slibgcc-irix: As for t-slibgcc-elf-ver. (SHLIB_LINK): Remove previous workaround. * config/pa/t-hpux-shlib (SHLIB_DIR, SHLIB_SLIBDIR_QUAL): New macros. (SHLIB_LINK): Put $(SHLIB_SONAME) and $(SHLIB_NAME) in $(SHLIB_DIR). (SHLIB_INSTALL): Adjust accordingly. Add $(SHLIB_SLIBDIR_QUAL) to the install path. * config/rs6000/t-aix43 (SHLIB_LINK): Put @shlib_base_name@.a in @multilib_dir@. Use @multilib_dir@ to check for threading libraries. (SHLIB_INSTALL): Adjust accordingly. (SHLIB_LIBS): Use @multilib_dir@ to check for threading libraries. * config/rs6000/t-aix52: As for config/rs6000/t-aix43. * config/sh/t-linux (SHLIB_LINK, SHLIB_INSTALL): As for config/t-slibgcc-elf-ver. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@95277 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-03 PR driver/19117Joseph Myers
* gcc.c (main): Include the target in -v output. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94657 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-02 PR c/18502Joseph Myers
* gcc.c (cpp_unique_options): Remove %{trigraphs}. (cpp_options, cc1_options): Change %{std*&ansi} to %{std*&ansi&trigraphs}. testsuite: * gcc.dg/pr18502-1.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94632 138bc75d-0d04-0410-961f-82ee72b054a4
2005-01-07 PR target/6077Roger Sayle
* gcc.c (input_suffix_matches): Tweak the semantics of %{.s:...} and %{.S:...} (and their negative variants) to test whether the input file is assembler or pre-processed-assembler independent of the actual filename extension. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@93023 138bc75d-0d04-0410-961f-82ee72b054a4
2005-01-06* gcc.c (process_command): Change year in 'gcc --version' to 2005.Tobias Schlueter
fortran/ * gfortranspec.c (lang_specific_driver): Change year to 2005 in output of 'gfortran --version'. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@92995 138bc75d-0d04-0410-961f-82ee72b054a4
2004-12-152004-12-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu
PR target/18153 * configure.ac: Define HAVE_LD_STATIC_DYNAMIC if linker supports -Bstatic/-Bdynamic option. * config.in: Regenerated. * configure: Likewise. * gcc.c (init_spec): Pass -Bstatic/-Bdynamic to ld for static -lunwind if possible. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@92229 138bc75d-0d04-0410-961f-82ee72b054a4
2004-12-11 PR 18732Devang Patel
* gcc.c (main): Do not break out of loop when error is reported while processing one source file. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@92018 138bc75d-0d04-0410-961f-82ee72b054a4
2004-12-01 * gcc.c (struct option_map): Add entry for "--pass-exit-codes".Andreas Schwab
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@91590 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-252004-11-25 Andrew Haley <aph@redhat.com>Andrew Haley
* gcc.c (process_command): Don't supply -v to linker. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@91283 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-24 * gcc.c (process_command): Supply -v to linker.Devang Patel
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@91177 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-09 * builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h,Joseph Myers
c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c, gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c, tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c, config/avr/avr.c, config/c4x/c4x.c, config/darwin.c, config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c, config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c, config/iq2000/iq2000.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h, config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.c, config/rs6000/host-darwin.c, config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c, config/sh/symbian.c, config/stormy16/stormy16.c, config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate. Use %' as apostrophe in diagnostics where applicable. Use %< and %> in place of '' quotes where applicable. Use %qs in place of %<%s%>. Consistently quote __builtin function names. ada: * misc.c (gnat_handle_option): Use %< and %> for quoting in warning message. cp: * call.c, class.c, decl.c, decl2.c, error.c, mangle.c, parser.c, pt.c, search.c, semantics.c, typeck.c: Use %q, %< and %> for quoting in diagnostics. * parser.c (cp_parser_sizeof_operand): Use '' instead of `' for quoting in printf format. * decl.c (duplicate_decls, start_decl): Use %qD instead of unquoted %D. objc: * objc-act.c: Use %q, %< and %> for quoting in diagnostics. testsuite: * gcc.dg/builtin-prefetch-1.c: Adjust expected messages. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@90337 138bc75d-0d04-0410-961f-82ee72b054a4
2004-10-13 PR java/15578:Tom Tromey
* gcc.c (option_map): Added --extdirs and --encoding. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@88990 138bc75d-0d04-0410-961f-82ee72b054a4