1. 04 Mar, 2009 1 commit
  2. 21 Feb, 2009 1 commit
  3. 15 Feb, 2009 1 commit
  4. 13 Feb, 2009 2 commits
  5. 06 Feb, 2009 1 commit
  6. 05 Jan, 2009 1 commit
  7. 10 Dec, 2008 1 commit
  8. 06 Dec, 2008 1 commit
  9. 29 Nov, 2008 2 commits
  10. 18 Nov, 2008 1 commit
  11. 13 Nov, 2008 1 commit
  12. 31 Oct, 2008 1 commit
    • expr.c (struct op): Add location. · 47960aaf
      2008-10-31  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      libcpp/
      	* expr.c (struct op): Add location.
      	(_cpp_parse_expr): Propagate locations throught the stack
      	of expressions.
      	(reduce): Likewise.
      	(check_promotion): Use explicit location in errors.
      	
      testsuite/
      	* gcc.dg/cpp/Wsignprom.c: Add column numbers.
      	* gcc.dg/cpp/if-mpar.c: Likewise.
      
      From-SVN: r141503
      Manuel López-Ibáñez committed
  13. 05 Oct, 2008 1 commit
    • cpplib.h (cpp_comments, [...]): New structs. · 631d0d36
      2008-10-05  Matthew Gingell  <gingell@adacore.com>
      	    Arnaud Charlet  <charlet@adacore.com>
      
      	* include/cpplib.h (cpp_comments, cpp_comment_table): New structs.
      	(cpp_get_comments): New function.
      	* internal.h (struct cpp_reader): Add comments field.
      	* init.c (cpp_destroy): Free comments.
      	* lex.c (store_comment, cpp_get_comments): New functions.
      	(comments): New struct.
      	(save_comment): Store comments in comments struct.
      
      Co-Authored-By: Arnaud Charlet <charlet@adacore.com>
      
      From-SVN: r140883
      Matthew Gingell committed
  14. 18 Sep, 2008 1 commit
    • cpplib.h (struct cpp_options): Add new boolean flag warn_builtin_macro_redefined. · c047ce93
      	* include/cpplib.h (struct cpp_options): Add new boolean flag
      	warn_builtin_macro_redefined.
      	* init.c (cpp_create_reader): Initialize warn_builtin_macro_redefined.
      	* (struct builtin_operator): Split out from previous struct builtin,
      	enhance extra const correctness.
      	* (struct builtin_macro): Split out from previous struct builtin, add
      	new always_warn_if_redefined flag, enhance const correctness.
      	* (mark_named_operators): Use struct builtin_operator.
      	* (cpp_init_special_builtins): Use struct builtin_macro, add NODE_WARN
      	to builtins selectively.
      	* macro.c (warn_of_redefinition): Return false if a builtin macro
      	is not flagged with NODE_WARN.
      
      	* c-opts.c (c_common_handle_option): Add handling for
      	-Wbuiltin-macro-redefined command line option.
      	* c.opt: Added builtin-macro-redefined option.
      	* doc/invoke.texi (Warning Options): Add -Wbuiltin-macro-redefined
      	documentation.
      
      	* gcc.dg/builtin-redefine.c: New.
      
      From-SVN: r140461
      Simon Baldwin committed
  15. 27 Aug, 2008 1 commit
  16. 31 Jul, 2008 1 commit
    • re PR preprocessor/36649 (-H option doesn't work as expected) · affa55c6
      	PR preprocessor/36649
      	* files.c (struct report_missing_guard_data): New type.
      	(report_missing_guard): Put paths into an array instead of printing
      	them right away.  Return 1 rather than 0.
      	(report_missing_guard_cmp): New function.
      	(_cpp_report_missing_guards): Sort and print paths gathered by
      	report_missing_guard callback.
      
      	* gcc.dg/pch/cpp-3.hs: Add include guards.
      	* gcc.dg/pch/cpp-3a.h: Likewise.
      	* gcc.dg/pch/cpp-3b.h: Likewise.
      	* gcc.dg/cpp/mi8.c: New test.
      	* gcc.dg/cpp/mi8a.h: New file.
      	* gcc.dg/cpp/mi8b.h: New file.
      	* gcc.dg/cpp/mi8c.h: New file.
      	* gcc.dg/cpp/mi8d.h: New file.
      
      From-SVN: r138432
      Jakub Jelinek committed
  17. 22 Jul, 2008 1 commit
  18. 21 Jul, 2008 1 commit
    • line-map.h (linenum_type): New typedef. · 1bb64668
      2008-07-21  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	* include/line-map.h (linenum_type): New typedef.
      	(struct line_map): Use it.
      	(SOURCE_LINE): Second arguments is a LOCATION not a LINE.
      	(SOURCE_COLUMN): Likewise.
      	* macro.c (_cpp_builtin_macro_text): Use linenum_type. Don't store
      	source_location values in a variable of type linenum_type.
      	* directives.c (struct if_stack): Use linenum_type.
      	(strtoul_for_line): Rename as strtolinenum.
      	(do_line): Use linenum_type.
      	(do_linemarker): Use linenum_type and strtolinenum.
      	(_cpp_do_file_change): Use linenum_t.
      	* line-map.c (linemap_add): Likewise.
      	(linemap_line_start): Likewise.
      	* traditional.c (struct fun_macro): 'line' is a source_location.
      	* errors.c (print_location): Use linenum_type.
      	* directives-only.c (_cpp_preprocess_dir_only): Likewise.
      	* internal.h (CPP_INCREMENT_LINE): Likewise.
      	* lex.c (_cpp_skip_block_comment): Use source_location.
      
      From-SVN: r138026
      Manuel López-Ibáñez committed
  19. 14 Jul, 2008 1 commit
    • cpplib.h (NODE_CONDITIONAL): New. · 5950c3c9
      libcpp/
      	* include/cpplib.h (NODE_CONDITIONAL): New.
      	(struct cpp_callbacks): New macro_to_expand field.
      	(struct cpp_hashnode): Adjust size of flags and type fields.
      	(cpp_peek_token): Prototype.
      	* lex.c (cpp_peek_token): New function.
      	(_cpp_temp_token): Protect pre-existing lookaheads.
      	* macro.c (cpp_get_token): Expand any conditional macros.
      	(_cpp_backup_tokens_direct): New.
      	(_cpp_backup_tokens): Call _cpp_backup_tokens_direct.
      	(warn_of_redefinition): Silently allow redefined conditional
      	macros.
      	(_cpp_create_definition): Remove the conditional flag when a user
      	defines one of the conditional macros.
      	* internal.h (_cpp_backup_tokens_direct): New prototype.
      
      gcc/
      	* c-common.h (C_CPP_HASHNODE): New macro.
      	* coretypes.h (struct cpp_token): Forward declare.
      	* doc/extend.texi (PowerPC AltiVec Built-in Functions): Document
      	the context-sensitive keyword method.
      	* config/rs6000/rs6000-c.c (__vector_keyword, vector_keyword,
      	__pixel_keyword, pixel_keyword, __bool_keyword, bool_keyword,
      	expand_bool_pixel): New.
      	(altivec_categorize_keyword): New function.
      	(init_vector_keywords): New function.
      	(rs6000_macro_to_expand): Likewise.
      	(rs6000_cpu_cpp_builtins): Enable context-sensitive macros if not
      	compiling an ISO C dialect.
      
      gcc/testsuite/
      	* gcc.target/powerpc/altivec-macros.c: New test.
      	* gcc.target/powerpc/altviec-26.c: Likewise.
      	* gcc.dg/vmx/1b-06.c: Remove bool variable.
      	* gcc.dg/vmx/1b-07.c: Likewise.
      	* gcc.dg/vmx/1b-06-ansi.c: New test for the pre-define method.
      	* gcc.dg/vmx/1b-07-ansi.c: Likewise.
      
      From-SVN: r137775
      Ben Elliston committed
  20. 03 Jul, 2008 1 commit
  21. 17 Jun, 2008 1 commit
    • Makefile.tpl ($(srcdir)/configure): Update dependencies. · 18c04407
      	* Makefile.tpl ($(srcdir)/configure): Update dependencies.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      
      config/
      	* override.m4: Use m4_version_prereq throughout.
      	(_AC_ARG_VAR_VALIDATE, AC_MSG_FAILURE): Backport from git
      	Autoconf: output pwd along with fatal errors, so the right
      	config.log file is hinted at more prominently.
      	(PARSE_ARGS): Push setting of ac_pwd in this diversion.
      	(_GCC_AUTOCONF_VERSION): New, define to 2.59 if not defined.
      	(_GCC_AUTOCONF_VERSION_CHECK): New macro, require use of Autoconf
      	version _GCC_AUTOCONF_VERSION throughout the tree.
      	(m4_wrap): New override, fix for Posix semantics of m4wrap.
      
      libgcc/
      	* configure.ac: sinclude override.m4.
      	* configure: Regenerate.
      
      gnattools/
      	* configure.ac: move sinclude of acx.m4 before AC_INIT,
      	also sinclude override.m4.
      	* Makefile.in ($(srcdir)/configure): Update dependencies.
      	* configure: Regenerate.
      
      libada/
      	* configure.ac: move sinclude of acx.m4 before AC_INIT,
      	also sinclude override.m4.
      	* Makefile.in ($(srcdir)/configure): Update dependencies.
      	* configure: Regenerate.
      
      intl/
      	* configure: Regenerate.
      
      libiberty/
      	* configure: Regenerate.
      
      boehm-gc/
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* include/gc_config.h.in: Regenerate.
      
      fixincludes/
      	* configure: Regenerate.
      
      gcc/
      	* configure: Regenerate.
      
      libcpp/
      	* Makefile.in ($(srcdir)/aclocal.m4): Update dependencies.
      	* configure: Regenerate.
      
      libdecnumber/
      	* Makefile.in ($(srcdir)/aclocal.m4): Update dependencies.
      	* configure: Regenerate.
      
      libffi/
      	* configure: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libgfortran/
      	* configure: Regenerate.
      
      libgomp/
      	* configure: Regenerate.
      
      libjava/classpath/
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* doc/Makefile.in: Regenerate.
      	* doc/api/Makefile.in: Regenerate.
      	* examples/Makefile.in: Regenerate.
      	* external/Makefile.in: Regenerate.
      	* external/jsr166/Makefile.in: Regenerate.
      	* external/relaxngDatatype/Makefile.in: Regenerate.
      	* external/sax/Makefile.in: Regenerate.
      	* external/w3c_dom/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* lib/Makefile.in: Regenerate.
      	* native/Makefile.in: Regenerate.
      	* native/fdlibm/Makefile.in: Regenerate.
      	* native/jawt/Makefile.in: Regenerate.
      	* native/jni/Makefile.in: Regenerate.
      	* native/jni/classpath/Makefile.in: Regenerate.
      	* native/jni/gconf-peer/Makefile.in: Regenerate.
      	* native/jni/gstreamer-peer/Makefile.in: Regenerate.
      	* native/jni/gtk-peer/Makefile.in: Regenerate.
      	* native/jni/java-io/Makefile.in: Regenerate.
      	* native/jni/java-lang/Makefile.in: Regenerate.
      	* native/jni/java-net/Makefile.in: Regenerate.
      	* native/jni/java-nio/Makefile.in: Regenerate.
      	* native/jni/java-util/Makefile.in: Regenerate.
      	* native/jni/midi-alsa/Makefile.in: Regenerate.
      	* native/jni/midi-dssi/Makefile.in: Regenerate.
      	* native/jni/native-lib/Makefile.in: Regenerate.
      	* native/jni/qt-peer/Makefile.in: Regenerate.
      	* native/jni/xmlj/Makefile.in: Regenerate.
      	* native/plugin/Makefile.in: Regenerate.
      	* resource/Makefile.in: Regenerate.
      	* scripts/Makefile.in: Regenerate.
      	* tools/Makefile.in: Regenerate.
      
      libjava/
      	* configure: Regenerate.
      	* gcj/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libjava/libltdl/
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      
      libmudflap/
      	* Makefile.in: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libobjc/
      	* configure: Regenerate.
      
      libssp/
      	* Makefile.in: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      
      libstdc++-v3/
      	* configure: Regenerate.
      
      zlib/
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r136876
      Ralf Wildenhues committed
  22. 16 Jun, 2008 1 commit
  23. 12 Jun, 2008 1 commit
  24. 07 Jun, 2008 1 commit
    • MAINTAINERS (mt port): Remove. · cd985f66
      	* MAINTAINERS (mt port): Remove.
      	(sco5, unixware, sco udk): Remove.
      	(Kean Johnston): Add to Write After Approval.
      
      fixincludes:
      	* inclhack.def (AAB_svr4_replace_byteorder,
      	AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
      	libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
      	ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
      	solaris_mutex_init_1, solaris_socket, solaris_unistd,
      	solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
      	ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
      	ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
      	ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
      	ultrix_strings2, ultrix_sys_time, ultrix_unistd,
      	unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
      	windiss_math2, windiss_valist): Remove.
      	* fixincl.x: Regenerate.
      	* mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
      	i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
      	powerpc-*-eabiaix*): Remove.
      	* tests/base/math.h: Update.
      	* tests/base/pthread.h: Update.
      	* tests/base/stdio.h: Update.
      	* tests/base/stdlib.h: Update.
      	* tests/base/string.h: Update.
      	* tests/base/strings.h: Update.
      	* tests/base/sys/file.h: Update.
      	* tests/base/sys/limits.h: Update.
      	* tests/base/sys/socket.h: Update.
      	* tests/base/sys/stat.h: Update.
      	* tests/base/sys/time.h: Update.
      	* tests/base/testing.h: Update.
      	* tests/base/unistd.h: Update.
      	* tests/base/_G_config.h: Remove.
      	* tests/base/arpa: Remove directory.
      	* tests/base/fs: Remove directory.
      	* tests/base/locale.h: Remove.
      	* tests/base/machine: Remove directory.
      	* tests/base/rpc/svc.h: Remove.
      	* tests/base/sys/ioctl.h: Remove.
      	* tests/base/sys/regset.h: Remove.
      	* tests/base/sys/times.h: Remove.
      	* tests/base/sys/utsname.h: Remove.
      	* tests/base/widec.h: Remove.
      
      gcc:
      	* config.gcc (Obsolete configurations): Remove list of
      	configurations.
      	(Unsupported targets list): Add *-*-linux*aout*, *-*-linux*libc1*,
      	*-*-solaris2.[0-6], *-*-solaris2.[0-6].*, *-*-sysv*.  Remove other
      	targets matched by those patterns.
      	(strongarm*-*-*, ep9312*-*-*, xscale-*-*, parisc*-*-*,
      	m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
      	alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
      	arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
      	hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
      	i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
      	i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
      	i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
      	i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
      	mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
      	powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
      	powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
      	strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
      	vax-*-ultrix*, xscale-*-elf, xscale-*-coff,
      	i[34567]86-*-linux*aout*, i[34567]86-*-linux*libc1): Remove.
      	Make code for Solaris 7 and greater unconditional for Solaris.
      	(ep9312-*-*, parisc1*, m680[012]0-*-*, parisc*-*-*, mt-*-*):
      	Remove --with-* handling.
      	* config/rs6000/sysv4.h (-mwindiss): Remove from all specs.
      	(LIB_WINDISS_SPEC, CPP_OS_WINDISS_SPEC, STARTFILE_WINDISS_SPEC,
      	ENDFILE_WINDISS_SPEC, LINK_START_WINDISS_SPEC,
      	LINK_OS_WINDISS_SPEC): Remove.
      	* config/rs6000/sysv4.opt (mwindiss): Remove.
      	* configure.ac (strongarm*-*-*, xscale*-*-*): Remove.
      	* configure: Regenerate.
      	* doc/cpp.texi: Don't mention BeOS.
      	* doc/extend.texi (interrupt): Don't mention MS1.
      	* doc/install.texi: (i386-@var{any}-sysv, m68k-bull-sysv,
      	m68k-hp-hpux, m68000-hp-hpux, m68000-att-sysv,
      	alphaev5-cray-unicosmk*, xscale-*-*, i?86-*-linux*aout,
      	i?86-*-sco3.2v5*, i?86-*-udk, m68k-hp-hpux, powerpc-*-sysv4,
      	powerpc-*-sysv4, powerpcle-*-sysv4, *-*-sysv*, vax-dec-ultrix):
      	Remove.
      	* doc/invoke.texi (MT Options): Remove.
      	(-mwindiss): Remove.
      	(CRIS Options): Remove cris-axis-aout references.
      	(HPPA Options): Don't mention hppa1.1-*-pro.
      	* doc/md.texi: (MorphoTech family): Remove.
      	* libgcc2.c: Don't handle UWIN.
      	* config/alpha/t-unicosmk: Remove.
      	* config/alpha/unicosmk.h: Remove.
      	* config/arm/kaos-arm.h: Remove.
      	* config/arm/kaos-strongarm.h: Remove.
      	* config/arm/strongarm-coff.h: Remove.
      	* config/arm/strongarm-elf.h: Remove.
      	* config/arm/strongarm-pe.h: Remove.
      	* config/arm/t-strongarm-pe: Remove.
      	* config/arm/t-xscale-coff: Remove.
      	* config/arm/t-xscale-elf: Remove.
      	* config/arm/xscale-coff.h: Remove.
      	* config/arm/xscale-elf.h: Remove.
      	* config/chorus.h: Remove.
      	* config/cris/aout.h: Remove.
      	* config/cris/aout.opt: Remove.
      	* config/cris/t-aout: Remove.
      	* config/i386/beos-elf.h: Remove.
      	* config/i386/kaos-i386.h: Remove.
      	* config/i386/ptx4-i.h: Remove.
      	* config/i386/sco5.h: Remove.
      	* config/i386/sco5.opt: Remove.
      	* config/i386/sysv4-cpp.h: Remove.
      	* config/i386/sysv5.h: Remove.
      	* config/i386/t-beos: Remove.
      	* config/i386/t-sco5: Remove.
      	* config/i386/t-uwin: Remove.
      	* config/i386/uwin.asm: Remove.
      	* config/i386/uwin.h: Remove.
      	* config/kaos.h: Remove.
      	* config/mips/windiss.h: Remove.
      	* config/mt: Remove directory.
      	* config/pa/pa-osf.h: Remove.
      	* config/pa/pa-pro-end.h: Remove.
      	* config/pa/t-pro: Remove.
      	* config/ptx4.h: Remove.
      	* config/rs6000/beos.h: Remove.
      	* config/rs6000/kaos-ppc.h: Remove.
      	* config/rs6000/t-beos: Remove.
      	* config/rs6000/windiss.h: Remove.
      	* config/sh/kaos-sh.h: Remove.
      	* config/sol2-6.h: Remove.
      	* config/sparc/sol26-sld.h: Remove.
      	* config/sparc/sysv4-only.h: Remove.
      	* config/vax/bsd.h: Remove.
      	* config/vax/t-memfuncs: Remove.
      	* config/vax/ultrix.h: Remove.
      	* config/vax/vaxv.h: Remove.
      	* config/windiss.h: Remove.
      
      gcc/testsuite:
      	* g++.dg/abi/arm_cxa_vec1.C: Don't handle xscale*-*-*.
      	* g++.dg/eh/spbp.C: Don't handle *-*-solaris2.[56]*.
      	* g++.dg/warn/miss-format-1.C: Don't handle Solaris before Solaris
      	7.
      	* gcc.c-torture/compile/981006-1.c: Don't handle xscale*-*-*,
      	strongarm*-*-* and cris-*-aout*.
      	* gcc.c-torture/execute/941014-1.x: Don't handle xscale*-*-* and
      	strongarm*-*-*.
      	* gcc.dg/20030909-1.c: Don't handle xscale*-*-* and
      	strongarm*-*-*.
      	* gcc.dg/20031108-1.c: Don't handle xscale*-*-* and
      	strongarm*-*-*.
      	* gcc.dg/20040813-1.c: Don't handle *-*-sysv5*.
      	* gcc.dg/arm-asm.c: Don't handle strongarm*-*-* and xscale*-*-*.
      	* gcc.dg/arm-scd42-1.c: Use target arm*-*-*.
      	* gcc.dg/arm-scd42-3.c: Use target arm*-*-*.
      	* gcc.dg/cpp/assert4.c: Don't handle BeOS.
      	* gcc.dg/debug/pr35154.c: Don't handle *-*-sysv5*.
      	* gcc.dg/intmax_t-1.c: Don't handle *-*-solaris2.5.1 and
      	xscale*-*-elf*.
      	* gcc.dg/pragma-align.c: Don't handle i?86-*-sco3.2v5*.
      	* gcc.dg/pthread-init-2.c: Don't handle *-*-solaris2.5.1.
      	* gcc.misc-tests/arm-isr.exp: Use target arm*-*-*.
      	* gcc.target/powerpc/ppc-sdata-1.c: Don't handle powerpc-*-sysv*.
      	* gcc.target/powerpc/ppc-sdata-2.c: Don't handle powerpc-*-sysv*.
      	* gcc.target/powerpc/ppc-stackalign-1.c: Don't handle
      	powerpc-*-sysv*.
      	* gfortran.dg/debug/pr35154-stabs.f: Don't handle *-*-sysv5*.
      	* lib/target-supports.exp: Don't handle strongarm*-*-elf,
      	xscale*-*-elf and *-*-windiss.
      	* obj-c++.dg/dwarf-2.mm: Don't handle *-*-solaris2.[56]*.
      	* objc.dg/dwarf-1.m: Don't handle *-*-solaris2.[56]*.
      	* objc.dg/dwarf-2.m: Don't handle *-*-solaris2.[56]*.
      	* gcc.dg/mt-loopi1.c: Remove.
      
      gnattools:
      	* configure.ac (xscale*-wrs-vx*, xscale*-wrs-coff): Remove.
      	* configure: Regenerate.
      
      libcpp:
      	* configure.ac (parisc*64*-*-*): Remove.
      	* configure: Regenerate.
      
      libffi:
      	* configure.ac (parisc*-*-linux*, powerpc-*-sysv*,
      	powerpc-*-beos*): Remove.
      	* configure: Regenerate.
      
      libgcc:
      	* config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
      	parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
      	alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
      	arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
      	hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
      	i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
      	i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
      	i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
      	i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
      	mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
      	powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
      	powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
      	strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
      	vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
      
      libjava:
      	* configure.host (strongarm*-elf, xscale*-elf): Remove.
      
      libstdc++-v3:
      	* configure.host (xscale, ep9312, m680[246]0, solaris2.5,
      	solaris2.5.[0-9], solaris2.6, windiss*): Remove.
      	* crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
      	* configure: Regenerate.
      	* config/os/solaris/solaris2.5: Remove directory.
      	* config/os/solaris/solaris2.6: Remove directory.
      	* config/os/windiss: Remove directory.
      
      From-SVN: r136534
      Joseph Myers committed
  25. 30 May, 2008 2 commits
  26. 21 May, 2008 2 commits
    • re PR preprocessor/27777 (Bad diagnostic emission when #error contains a trigraph) · 5d6342eb
      gcc/testsuite
      	PR preprocessor/27777:
      	* gcc.dg/cpp/pr27777.c: New file.
      libcpp
      	PR preprocessor/27777:
      	* lex.c (cpp_output_line_to_string): New function.
      	* internal.h (_cpp_begin_message): Don't declare.
      	* errors.c (_cpp_begin_message): Now static.
      	* include/cpplib.h (cpp_output_line_to_string): Declare.
      	* directives.c (do_diagnostic): Rewrote.  Use
      	cpp_output_line_to_string.  Don't use _cpp_begin_message.
      
      From-SVN: r135740
      Tom Tromey committed
    • symtab.h (HT_ALLOCED): Remove. · dae4174e
      libcpp
      	* include/symtab.h (HT_ALLOCED): Remove.
      	(ht_purge): Declare.
      	* symtab.c (DELETED): New define.
      	(ht_lookup): Update comment.
      	(ht_lookup_with_hash): Handle deleted entries.  Remove HT_ALLOCED
      	code.  Use subobject allocator for strings, if it exists.
      	(ht_expand): Handle deleted entries.
      	(ht_forall): Likewise.
      	(ht_purge): New function.
      	(ht_dump_statistics): Print deletion statistics.
      gcc
      	* ggc-zone.c (lookup_page_table_if_allocated): New function.
      	(zone_find_object_offset): Likewise.
      	(gt_ggc_m_S): Likewise.
      	(highest_bit): Likewise.
      	* ggc-page.c (gt_ggc_m_S): New function.
      	* stringpool.c (string_stack): Remove.
      	(init_stringpool): Update.
      	(ggc_alloc_string): Use ggc_alloc.
      	(maybe_delete_ident): New function.
      	(ggc_purge_stringpool): Likewise.
      	(gt_ggc_m_S): Remove.
      	* ggc-common.c (ggc_protect_identifiers): New global.
      	(ggc_mark_roots): Call ggc_purge_stringpool.  Use
      	ggc_protect_identifiers.
      	* ggc.h (ggc_protect_identifiers): Declare.
      	(gt_ggc_m_S): Update.
      	(ggc_purge_stringpool): Declare.
      	* toplev.c (compile_file): Set and reset ggc_protect_identifiers.
      	* gengtype.c (write_types_process_field) <TYPE_STRING>: Remove
      	special case.
      	(write_root): Cast gt_ggc_m_S to gt_pointer_walker.
      gcc/cp
      	* mangle.c (save_partially_mangled_name): Remove.
      	(restore_partially_mangled_name): Likewise.
      	(write_encoding): Update.
      	(write_unqualified_name): Likewise.
      	(start_mangling): Always use name_obstack.  Remove 'ident_p'
      	argument.
      	(get_identifier_nocopy): Remove.
      	(finish_mangling_internal): Rename from finish_mangling.
      	(finish_mangling): New function.
      	(finish_mangling_get_identifier): Likewise.
      	(partially_mangled_name, partially_mangled_name_len): Remove.
      	(mangle_decl_string): Change return type.  Update.
      	(mangle_decl, mangle_type_string, mangle_special_for_type,
      	mangle_ctor_vtbl_for_type, mangle_thunk, mangle_guard_variable,
      	mangle_ref_init_variable): Update.
      
      From-SVN: r135720
      Tom Tromey committed
  27. 13 May, 2008 1 commit
    • re PR preprocessor/22168 (#if #A == #B should have a diagnostic in ISO C mode) · 899015a0
      libcpp
      	PR preprocessor/22168:
      	* include/cpplib.h (struct cpp_options) <objc>: Update
      	documentation.
      	* expr.c (eval_token): Warn for use of assertions.
      	* directives.c (directive_diagnostics): Warn about extensions.
      	(DEPRECATED): New define.
      	(DIRECTIVE_TABLE): Use it.
      gcc
      	PR preprocessor/22168:
      	* doc/cpp.texi (Top): Update menu.
      	(Alternatives to Wrapper #ifndef): New node.
      	(Other Directives): Document deprecation.
      	(Obsolete Features): Remove menu.
      	(Assertions): Merge node into Obsolete Features.
      	(Obsolete once-only headers): Move earlier; rename to Alternatives
      	to Wrapper #ifndef.
      	* doc/cppopts.texi: Update.
      	* c.opt (Wdeprecated): Enable for C and ObjC.
      	* doc/invoke.texi (Option Summary): Move -Wno-deprecated.
      	(C++ Dialect Options): Move -Wno-deprecated from here to...
      	(Warning Options): ... here.
      gcc/testsuite
      	PR preprocessor/22168:
      	* gcc.dg/pch/import-2.hs: Add -Wno-deprecated.
      	* gcc.dg/pch/import-1.hs: Add -Wno-deprecated.
      	* gcc.dg/pch/import-2.c: Add -Wno-deprecated.
      	* gcc.dg/pch/import-1.c: Add -Wno-deprecated.
      	* gcc.dg/cpp/import2.c: Add -Wno-deprecated.
      	* gcc.dg/cpp/import1.c: Add -Wno-deprecated.
      	* gcc.dg/cpp/trad/assert3.c: Add -Wno-deprecated.
      	* gcc.dg/cpp/trad/assert2.c: Add -Wno-deprecated.
      	* gcc.dg/cpp/trad/assert1.c: Add -Wno-deprecated.
      	* gcc.dg/cpp/ident.c: Add -Wno-deprecated.
      	* gcc.dg/cpp/ident-1.c: Add -Wno-deprecated.
      	* gcc.dg/cpp/extratokens.c: Add -Wno-deprecated.
      	* gcc.dg/cpp/assert3.c: Add -Wno-deprecated.
      	* gcc.dg/cpp/assert2.c: Add -Wno-deprecated.
      	* gcc.dg/cpp/assert1.c: Add -Wno-deprecated.
      	* gcc.dg/cpp/assert4.c: Compile with -ansi and not -pedantic.  Add
      	-Wno-deprecated.
      	* gcc.dg/cpp/pr22168.c: New file.
      	* gcc.dg/cpp/pr22168-2.c: New file.
      
      From-SVN: r135264
      Tom Tromey committed
  28. 06 May, 2008 1 commit
    • PR preprocessor/35313, PR preprocessor/36088: · 71c10038
      gcc/testsuite
      	PR preprocessor/35313, PR preprocessor/36088:
      	* gcc.dg/cpp/pr35313.c: New file.
      	* gcc.dg/cpp/if-oppr.c: Remove test for ',' in a conditional
      	expression.
      	* gcc.dg/cpp/if-oppr2.c: New file.
      libcpp
      	PR preprocessor/35313, PR preprocessor/36088:
      	* expr.c (optab) <QUERY, COMMA>: Set precedence to 4.
      	(reduce) <case CPP_QUERY>: Special case CPP_COMMA and CPP_COLON.
      
      From-SVN: r134989
      Tom Tromey committed
  29. 04 May, 2008 2 commits
    • Sorry, forgot this in previous commit. · 2bd0fe3d
      From-SVN: r134930
      David S. Miller committed
    • config.gcc (sparc*-*-*): Always set need_64bit_hwint to yes. · 5f7ca34b
      gcc/
      
      	* config.gcc (sparc*-*-*): Always set need_64bit_hwint to yes.
      	(sparc*-*-linux*): Use linux.h in tm_file.
      	(sparc-*-linux*): If 'enabled_targets' is 'all', build a bi-arch
      	compiler defaulting to 32-bit.
      	(sparc*-*-*): Remove explicit target settings of need_64bit_hwint,
      	no longer needed.
      	* config/sparc/linux.h: Remove definitions now obtained
      	properly from linux.h
      	* config/sparc/linux64.h: Likewise.
      	(ASM_CPU_DEFAULT_SPEC): Change this to ASM_CPU64_DEFAULT_SPEC, we
      	don't want this setting for 32-bit builds in a biarch compiler.
      	* doc/install.texi: Add sparc-linux to list of targets
      	supporting --enable-targets=all.
      
      libcpp/
      
      	* configure.ac (sparc*-*-*): Always set need_64bit_hwint to yes.
      	* configure: Regenerate.
      
      From-SVN: r134929
      David S. Miller committed
  30. 22 Apr, 2008 1 commit
  31. 21 Apr, 2008 1 commit
    • re PR preprocessor/33415 (Can't compile .cpp file with UTF-8 BOM.) · 688e7a53
      libcpp
      	PR libcpp/33415:
      	* charset.c (_cpp_convert_input): Add buffer_start argument.
      	Ignore UTF-8 BOM if seen.
      	* internal.h (_cpp_convert_input): Add argument.
      	* files.c (struct _cpp_file) <buffer_start>: New field.
      	(destroy_cpp_file): Free buffer_start, not buffer.
      	(_cpp_pop_file_buffer): Likewise.
      	(read_file_guts): Update.
      gcc/testsuite
      	PR libcpp/33415:
      	* gcc.dg/cpp/pr33415.c: New file.
      
      From-SVN: r134507
      Tom Tromey committed
  32. 18 Apr, 2008 3 commits
    • cpp-id-data.h (UC): Was U, conflicts with U... · b6baa67d
      libcpp/ChangeLog:
      2008-04-14  Kris Van Hees <kris.van.hees@oracle.com>
      
      * include/cpp-id-data.h (UC): Was U, conflicts with U... literal.
      * include/cpplib.h (CHAR16, CHAR32, STRING16, STRING32): New tokens.
      (struct cpp_options): Added uliterals.
      (cpp_interpret_string): Update prototype.
      (cpp_interpret_string_notranslate): Idem.
      * charset.c (init_iconv_desc): New width member in cset_converter.
      (cpp_init_iconv): Add support for char{16,32}_cset_desc.
      (convert_ucn): Idem.
      (emit_numeric_escape): Idem.
      (convert_hex): Idem.
      (convert_oct): Idem.
      (convert_escape): Idem.
      (converter_for_type): New function.
      (cpp_interpret_string): Use converter_for_type, support u and U prefix.
      (cpp_interpret_string_notranslate): Match changed prototype.
      (wide_str_to_charconst): Use converter_for_type.
      (cpp_interpret_charconst): Add support for CPP_CHAR{16,32}.
      * directives.c (linemarker_dir): Macro U changed to UC.
      (parse_include): Idem.
      (register_pragma_1): Idem.
      (restore_registered_pragmas): Idem.
      (get__Pragma_string): Support CPP_STRING{16,32}.
      * expr.c (eval_token): Support CPP_CHAR{16,32}.
      * init.c (struct lang_flags): Added uliterals.
      (lang_defaults): Idem.
      * internal.h (struct cset_converter) <width>: New field.
      (struct cpp_reader) <char16_cset_desc>: Idem.
      (struct cpp_reader) <char32_cset_desc>: Idem.
      * lex.c (digraph_spellings): Macro U changed to UC.
      (OP, TK): Idem.
      (lex_string): Add support for u'...', U'...', u... and U....
      (_cpp_lex_direct): Idem.
      * macro.c (_cpp_builtin_macro_text): Macro U changed to UC.
      (stringify_arg): Support CPP_CHAR{16,32} and CPP_STRING{16,32}.
      
      gcc/ChangeLog:
      2008-04-14  Kris Van Hees <kris.van.hees@oracle.com>
        
      * c-common.c (CHAR16_TYPE, CHAR32_TYPE): New macros.
      (fname_as_string): Match updated cpp_interpret_string prototype.
      (fix_string_type): Support char16_t* and char32_t*.
      (c_common_nodes_and_builtins): Add char16_t and char32_t (and
      derivative) nodes.  Register as builtin if C++0x.
      (c_parse_error): Support CPP_CHAR{16,32}.
      * c-common.h (RID_CHAR16, RID_CHAR32): New elements. 
      (enum c_tree_index) <CTI_CHAR16_TYPE, CTI_SIGNED_CHAR16_TYPE,
      CTI_UNSIGNED_CHAR16_TYPE, CTI_CHAR32_TYPE, CTI_SIGNED_CHAR32_TYPE,
      CTI_UNSIGNED_CHAR32_TYPE, CTI_CHAR16_ARRAY_TYPE,
      CTI_CHAR32_ARRAY_TYPE>: New elements.
      (char16_type_node, signed_char16_type_node, unsigned_char16_type_node,
      char32_type_node, signed_char32_type_node, char16_array_type_node,
      char32_array_type_node): New defines.
      * c-lex.c (cb_ident): Match updated cpp_interpret_string prototype.
      (c_lex_with_flags): Support CPP_CHAR{16,32} and CPP_STRING{16,32}.
      (lex_string): Support CPP_STRING{16,32}, match updated
      cpp_interpret_string and cpp_interpret_string_notranslate prototypes.
      (lex_charconst): Support CPP_CHAR{16,32}.
      * c-parser.c (c_parser_postfix_expression): Support CPP_CHAR{16,32}
      and CPP_STRING{16,32}.
      
      gcc/cp/ChangeLog:
      2008-04-14  Kris Van Hees <kris.van.hees@oracle.com>
      
      * cvt.c (type_promotes_to): Support char16_t and char32_t.
      * decl.c (grokdeclarator): Disallow signed/unsigned/short/long on
      char16_t and char32_t.
      * lex.c (reswords): Add char16_t and char32_t (for c++0x).
      * mangle.c (write_builtin_type): Mangle char16_t/char32_t as vendor
      extended builtin type u8char32_t.
      * parser.c (cp_lexer_next_token_is_decl_specifier_keyword): Support
      RID_CHAR{16,32}.
      (cp_lexer_print_token): Support CPP_STRING{16,32}.
      (cp_parser_is_string_literal): Idem.
      (cp_parser_string_literal): Idem.
      (cp_parser_primary_expression): Support CPP_CHAR{16,32} and
      CPP_STRING{16,32}.
      (cp_parser_simple_type_specifier): Support RID_CHAR{16,32}. 
      * tree.c (char_type_p): Support char16_t and char32_t as char types.
      * typeck.c (string_conv_p): Support char16_t and char32_t.
      
      gcc/testsuite/ChangeLog:
      2008-04-14  Kris Van Hees <kris.van.hees@oracle.com>
      
      Tests for char16_t and char32_t support.
      * g++.dg/ext/utf-cvt.C: New
      * g++.dg/ext/utf-cxx0x.C: New
      * g++.dg/ext/utf-cxx98.C: New
      * g++.dg/ext/utf-dflt.C: New
      * g++.dg/ext/utf-gnuxx0x.C: New
      * g++.dg/ext/utf-gnuxx98.C: New
      * g++.dg/ext/utf-mangle.C: New
      * g++.dg/ext/utf-typedef-cxx0x.C: New
      * g++.dg/ext/utf-typedef-
      * g++.dg/ext/utf-typespec.C: New
      * g++.dg/ext/utf16-1.C: New
      * g++.dg/ext/utf16-2.C: New
      * g++.dg/ext/utf16-3.C: New
      * g++.dg/ext/utf16-4.C: New
      * g++.dg/ext/utf32-1.C: New
      * g++.dg/ext/utf32-2.C: New
      * g++.dg/ext/utf32-3.C: New
      * g++.dg/ext/utf32-4.C: New
      * gcc.dg/utf-cvt.c: New
      * gcc.dg/utf-dflt.c: New
      * gcc.dg/utf16-1.c: New
      * gcc.dg/utf16-2.c: New
      * gcc.dg/utf16-3.c: New
      * gcc.dg/utf16-4.c: New
      * gcc.dg/utf32-1.c: New
      * gcc.dg/utf32-2.c: New
      * gcc.dg/utf32-3.c: New
      * gcc.dg/utf32-4.c: New
      
      libiberty/ChangeLog:
      2008-04-14  Kris Van Hees <kris.van.hees@oracle.com>
      
      * testsuite/demangle-expected: Added tests for char16_t and char32_t.
      
      From-SVN: r134438
      Kris Van Hees committed
    • re PR other/35457 (Error building GCC trunk on CELL SPU) · deb984e6
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* configure.ac: Include override.m4.
      	* configure: Regenerate.
      
      libgomp:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      libdecnumber:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      gcc:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      libstdc++-v3:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      libobjc:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      intl:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      libgfortran:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      libmudflap:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      boehm-gc:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      libiberty:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Add override.m4.
      	* configure: Regenerate.
      
      libffi:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      libssp:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      config:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      
      	* confsubdir.m4: Rename to...
      	* override.m4: ... this.  Make sure aclocal always picks it.
      	Add more lenient precious variable check, backported from
      	autoconf trunk.
      
      libjava/libltdl:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      libjava/classpath:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      libjava:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      libcpp:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      fixincludes:
      2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/35457
      	* Makefile.in: Rewrite aclocal.m4 rule.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r134434
      Paolo Bonzini committed
    • re PR preprocessor/34866 (valgrind error indication in testsuite from… · bf048bea
      re PR preprocessor/34866 (valgrind error indication in testsuite from errors.c:156:cpp_error with gcc.dg/cpp/Wmissingdirs.c)
      
      	PR libcpp/34866:
      	* errors.c (cpp_error): Don't reference a token before the start
      	of the current run.
      
      From-SVN: r134421
      Tom Tromey committed
  33. 16 Apr, 2008 1 commit