- 28 Oct, 2000 1 commit
-
-
2000-10-21 Mike Coleman <mcoleman2@kc.rr.com> * c-pragma.c (handle_pragma_pack): Initialize align to -1. Improve error messages. Correct parsing of #pragma pack(pop [,id]). Do not check the user-supplied alignment if we're popping. * gcc.dg/pack-test-1.c: New test case. * gcc.dg/pack-test-2.c: New test case. * gcc.dg/pack-test-1.h: New file. From-SVN: r37095
Mike Coleman committed
-
- 27 Oct, 2000 15 commits
-
-
From-SVN: r37094
Neil Booth committed -
From-SVN: r37093
Kelley Cook committed -
* invoke.texi: Document -frename-registers. Add it to -O3. * toplev.c (rest_of_compilation): Run regrename before ifcvt2. (enum dump_file_index, dump_file): Update order. (main): Set flag_rename_registers at -O3. From-SVN: r37092
Richard Henderson committed -
* config/alpha/alpha.h (enum reg_class): Add PV_REG. (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update. (REG_CLASS_FROM_LETTER): Assign it to 'c'. * config/alpha/alpha.md (call_osf_1): Use it. (call_value_osf_1): Likewise. From-SVN: r37091
Richard Henderson committed -
* config/ia64/ia64.c: Revert 10-23 patch. (ia64_hard_regno_rename_ok): New. * config/ia64/ia64-protos.h: Declare it. * config/ia64/ia64.h (HARD_REGNO_RENAME_OK): Use it. From-SVN: r37090
Richard Henderson committed -
* regrename.c: Rewrite to handle multi-register modes and cond_exec instructions. * Makefile.in (regrename.o): Update dependancies. * recog.h (struct operand_alternative): Add is_address. * recog.c (preprocess_constraints) [case 'p']: Set it. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r37089
Bernd Schmidt committed -
* configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to top level. Kill oldstyle_subdirs. Do not include $srcdir/$s/Makefile.in in all_lang_makefiles, but do include $outputs. Do not run configure.lang from config.status. Rearrange warning-flag logic to correspond to what the makefile wants. Put special vax stage1 options in @stage1_flags@ not @stage1_warn_cflags@. Don't do anything with extra_c_objs, extra_cxx_objs, or extra_cpp_objs. (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if switch is given, nothing otherwise. * configure.lang: Delete. * Makefile.in: Expunge all traces of extra_c_objs, extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set warning options via a three level scheme so that -pedantic and -Wtraditional are not used for non-C front ends: LOOSE_WARN, STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS -> WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS. Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES. Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P, LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file generation rules. Wrap all rules that change the current directory in parentheses; pmake doesn't spawn a new shell for each command. Expunge all references to $(P). When one command depends on another and they're run all at once, use && to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2 and beyond. * cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Wrap all rules that change the current directory in parentheses. Expunge all references to $(P). When one command depends on another and they're run all at once, use && to separate them, not ;. Add OUTPUT_OPTION to all object-file generation rules. Delete obsolete variables. Move all build rules here from the corresponding Makefile.in and adapt to the new environment. * cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in: Delete. * cp/config-lang.in, f/config-lang.in, java/config-lang.in: Delete outputs= line. From-SVN: r37088
Zack Weinberg committed -
* calls.c (expand_call): If sibcall_failure is set during pass 1, clear tail_call_insns as well. * g++.old-deja/g++.other/eh2.C: New test. From-SVN: r37087
Jakub Jelinek committed -
From-SVN: r37086
Nick Clifton committed -
From-SVN: r37084
Bernd Schmidt committed -
2000-10-26 Benjamin Kosnik <bkoz@redhat.com> * include/c/bits/std_cmath.h: Fix double declarations in namespace std. Clean up naming, consistency in "C" library autoconf testing. * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to GLIBCPP_CHECK_CTYPE_SUPPORT. (GLIBCPP_CHECK_STDLIB_SUPPORT): Add. * aclocal.m4: Regenerate. * configure.in: And here. Add call to GLIBCPP_CHECK_STDLIB_SUPPORT. * configure: Regenerate. 2000-10-26 David Edelsohn <edelsohn@gnu.org> * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro. (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold. From-SVN: r37083
Benjamin Kosnik committed -
acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out --gc-sections stuff entirely to avoid misleading people. 2000-10-26 Phil Edwards <pme@sources.redhat.com> David Edelsohn <dje@watson.ibm.com> * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out --gc-sections stuff entirely to avoid misleading people. (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio. * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS): Rearrange and merge. * libio/libio.h: Simplify, make fewer assumptions. Define those macros which must be defined. * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a result. From-SVN: r37082
Phil Edwards committed -
* java/util/natGregorianCalendar.cc (computeFields): Set the isSet__ array elements to true. From-SVN: r37081
Warren Levy committed -
* Makefile.am: Added locale files from Classpath. * Makefile.in: Rebuilt. * gnu/java/locale/Calendar.java: New file. * gnu/java/locale/Calendar_de.java: New file. * gnu/java/locale/Calendar_en.java: New file. * gnu/java/locale/Calendar_nl.java: New file. * java/lang/ClassNotFoundException.java: Replaced with Classpath file. * java/math/BigDecimal.java (intVal): Renamed from 'num' for serialization compatibility. (scale): Made private. (serialVersionUID): New field. * java/math/BigInteger.java (ival): Made transient. (words): Made transient. (bitCount): New serialization field. (bitLength): Ditto. (firstNonzeroByteNum): Ditto. (lowestSetBit): Ditto. (magnitude): Ditto. (signum): Ditto. (serialVersionUID): New field. (readObject): New method. (writeObject): New method. * java/util/BitSet.java (serialVersionUID): New field. * java/util/Calendar.java: Replaced with Classpath file. * java/util/GregorianCalendar.java (GregorianCalendar): Pass result of getDefault() for TimeZone or Locale instead of passing nulls. * java/util/Locale.java (serialVersionUID): New field. (writeObject): New method. (readObject): New method. * java/util/SimpleTimeZone.java: Replaced with Classpath file. Serialization mods. From-SVN: r37080
Warren Levy committed -
From-SVN: r37079
Jeff Law committed
-
- 26 Oct, 2000 16 commits
-
-
From-SVN: r37078
Richard Henderson committed -
* g++.old-deja/g++.brendan/label2.C: Tweak to work with V3. * g++.old-deja/g++.law/builtin1.C: Likewise. * g++.old-deja/g++.law/ctors10.C: Likewise. * g++.old-deja/g++.law/virtual3.C: Likewise. * g++.old-deja/g++.mike/p658.C: Likewise. * g++.old-deja/g++.other/sibcall1.C: Likewise. * g++.old-deja/g++.other/vaarg2.C: Likewise. * g++.old-deja/g++.robertl/eb124.C: Likewise. * g++.old-deja/g++.robertl/eb44.C: Likewise. * g++.old-deja/g++.robertl/eb77.C: Likewise. * include/backward/streambuf.h: New file. From-SVN: r37077
Mark Mitchell committed -
* calls.c (expand_call): Supress sibcall if we have a BLKmode return in registers. From-SVN: r37076
Richard Henderson committed -
* ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants into memory. From-SVN: r37075
Bernd Schmidt committed -
2000-10-26 David Edelsohn <dje@watson.ibm.com> * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly. * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo. * config/os/aix/bits/os_defines.h: Add AIX defines. From-SVN: r37074
David Edelsohn committed -
2000-10-26 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove. * aclocal.m4: Regenerate. * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE. * configure: Regenerate. * docs/configopts.html: Remove. * src/complexl.cc: Revert. * config.h.in: Remove. * include/c_std/bits/std_cmath.h: Remove guards based on _GLIBCPP_USE_LONG_DOUBLE. * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior with respect to long double signatures. * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw specification. * config/os/newlib/bits/ctype_noninline.h (ctype): And here. * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same. * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same. * config/os/generic/bits/ctype_noninline.h (ctype): Same. * config/os/bsd/bits/ctype_noninline.h (ctype): Same. From-SVN: r37073
Benjamin Kosnik committed -
From-SVN: r37072
Nathan Sidwell committed -
* tree.c (make_node, case 't'): Set alignment to that of char_type_node. * expr.c (move_by_pieces_ninsns): Abort if some length remains. From-SVN: r37071
Nathan Sidwell committed -
* include/bits/std_valarray.h (valarray::valarray): Fix thinko. Use __valarray_copy_construct only where appropriate. From-SVN: r37070
Gabriel Dos Reis committed -
From-SVN: r37069
Jeff Law committed -
* Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3. * configure.in (enable-libstdcxx-v3): Arrange to have HAVE_LIBSTDCXX_V3 substituted into the output files. * lib/g++.exp (g++_include_flags): Trust HAVE_LIBSTDCXX_V3 to tell us whether or not we are using V3. * Makefile.in (check): Don't make mkcheck executable. (check-install): Likewise. * configure.in (AC_OUTPUT): Make mkcheck executable. * mkcheck.in (top_srcdir): New variable. (INC_PATH): Set the path to the backward and ext directories correctly. From-SVN: r37068
Mark Mitchell committed -
error.c (dump_function_decl): Print no space between `ptr-operator' the `type-specifier' of the return type. cp/ * error.c (dump_function_decl): Print no space between `ptr-operator' the `type-specifier' of the return type. (dump_type_prefix): Make sure we put space at the appropriate place. testuite/g++.old-deja/g++.pt/ * g++.old-deja/g++.pt/memtemp77.C (main): Adjust comparaison operands. From-SVN: r37067
Gabriel Dos Reis committed -
From-SVN: r37066
Mark Mitchell committed -
* recog.c (constrain_operands): Initialize which_alternative before no alternatives early exit. From-SVN: r37065
Richard Henderson committed -
cse.c (find_comparison_args): Check that we can reverse a comparison if needed before accepting the substitution. * cse.c (find_comparison_args): Check that we can reverse a comparison if needed before accepting the substitution. From-SVN: r37064
Richard Henderson committed -
* lex.c (java_new_lexer): Initialize new fields. Work around broken iconv() implementations. (java_read_char): Swap bytes if required. Use fallback decoder if required. (byteswap_init, need_byteswap): New globals. (java_destroy_lexer): Only close iconv handle if it is in use. * lex.h (java_lexer): New fields read_anything, byte_swap, use_fallback. Made out_buffer unsigned. From-SVN: r37063
Tom Tromey committed
-
- 25 Oct, 2000 8 commits
-
-
From-SVN: r37062
Richard Henderson committed -
simplify-rtx.c (simplify_relational_operation): Sign extend low words before sign extending to high words. * simplify-rtx.c (simplify_relational_operation): Sign extend low words before sign extending to high words. From-SVN: r37061
Richard Henderson committed -
2000-10-25 Bryce McKinlay <bryce@albatross.co.nz> * Makefile.am (GCJCOMPILE): Pass --tag=GCJ to libtool. (core_java_source_files): Put java.lang, java.io, and java.util here. (ordinary_java_source_files): Order so that core_java_source_files are built first. (java_source_files): Reorder so that special_java_source_files are built first. * configure.in: Don't pass -I flag to gcj. * Makefile.in: Rebuilt. * configure: Rebuilt. From-SVN: r37060
Bryce McKinlay committed -
Force function epilogue to always be generated to work around epilogue suppression bug in M*Core backend. From-SVN: r37059
Nick Clifton committed -
2000-10-24 Chris Demetriou <cgd@sibyte.com> * configure.in: Invoke AC_PROG_CPP unconditionally before conditional feature tests. From-SVN: r37058
Chris Demetriou committed -
* Makefile.in: Rebuilt. * Makefile.am (install-exec-hook): New target. From-SVN: r37057
Tom Tromey committed -
* c-decl.c (grokdeclarator): Move warning for qualified void return types with -pedantic to when the function type is constructed. At -W, warn in general for qualified function return types, except for volatile void. * invoke.texi: Document this new warning at -W. testsuite: * gcc.dg/qual-return-1.c, gcc.dg/qual-return-2.c: New tests. From-SVN: r37056
Joseph Myers committed -
2000-10-23 Diego Novillo <dnovillo@cygnus.com> * i386.c (print_operand): Handle new 'A' formatting code. 387 opcodes need suffixes even with -mintel-syntax. Check for explicit size override (codes 'b', 'w' and 'k'). (print_operand_address): Check if register prefix is needed when emitting `ds' segment override. * i386.h: Add comment about new 'A' formatting code. * i386.md (jump and call patterns): Emit absolute references using %A. From-SVN: r37055
Diego Novillo committed
-