- 05 Feb, 2003 8 commits
-
-
From-SVN: r62447
Roger Sayle committed -
PR optimization/8555 * config/i386/i386.md (sse_mov?fcc split): Handle op2 == op3 case instead of aborting. * gcc.dg/20030204-1.c: New test. From-SVN: r62438
Jakub Jelinek committed -
* config/i386/i386.md (UNSPEC_BSF): Remove. (ffssi2): Split into cmove and no_cmove insns and splitters; lose pentium float trick for now. (ffssi_1): Add * to name; use CTZ instead of UNSPEC. (ctzsi2, clzsi2, bsr): New. From-SVN: r62434
Richard Henderson committed -
* config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT, UNSPEC_GETF_EXP; remove UNSPEC_POPCNT. * config/ia64/ia64.md (UNSPEC_POPCNT): Remove. (ffsdi2): Use popcount instead of unspec. (popcountdi2): Rename from *popcnt. (ctzdi2, clzdi2, getf_exp_tf): New. From-SVN: r62428
Richard Henderson committed -
* genconfig.c (main): Generate CC0_P. * rtl.h (CC0_P): Remove. From-SVN: r62423
Kazu Hirata committed -
* libgcc2.h, libgcc2.c (__ffsSI2): New. (__ffsDI2): Rename from __ffsdi2. * mklibgcc.in (lib2funcs): Add _ffssi2. From-SVN: r62422
Richard Henderson committed -
* libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction rounds with a "bit table" lookup. From-SVN: r62421
Richard Henderson committed -
From-SVN: r62420
GCC Administrator committed
-
- 04 Feb, 2003 24 commits
-
-
2003-02-04 Nathan Myers <ncm@cantrip.org> * testsuite/25_algorithms/min_max.cc (test02): Add. From-SVN: r62412
Nathan Myers committed -
reload.c (find_reloads): Do not use the mode specified in the insn pattern as reload mode for address... * reload.c (find_reloads): Do not use the mode specified in the insn pattern as reload mode for address operands. Do not generate optional reloads for operands where a mandatory reload was already pushed. From-SVN: r62410
Ulrich Weigand committed -
PR c++/38 * g++.dg/parse/array-size1.C: New test. PR c++/5657 * g++.dg/parse/undefined3.C: New test. PR c++/5665 * g++.dg/parse/undefined4.C: New test. PR c++/5975 * g++.dg/parse/undefined5.C: New test. PR c++/7259 * g++.dg/parse/tmpl-tmpl-param1.C: New test. PR c++/8578 * g++.dg/parse/casting-operator1.C: New test. PR c++/8596 * g++.dg/parse/undefined6.C: New test. PR c++/8736 * g++.dg/parse/missing-template1.C: New test. From-SVN: r62409
Volker Reichelt committed -
2003-02-04 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/9439, PR libstdc++/9425 * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff, seekpos): Return -1L if fseek fails. * include/bits/fstream.tcc (basic_filebuf::seekoff): Check _M_file.seekoff return value; always return pos_type(off_type(-1)) in case of failure. (basic_filebuf::pbackfail): Check this->seekoff return value and return traits_type::eof() in case of failure. * testsuite/27_io/filebuf_virtuals.cc (test09): Add. From-SVN: r62408
Paolo Carlini committed -
* longlong.h [alpha] (count_leading_zeros, count_trailing_zeros): Use builtins instead of inline assembly. From-SVN: r62407
Richard Henderson committed -
From-SVN: r62406
Falk Hueffner committed -
* be.po, de.po: New files. * da.po, el.po, es.po, fr.po, ja.po, nl.po, sv.po, tr.po: Update. From-SVN: r62403
Joseph Myers committed -
* java/io/PipedOutputStream.java (flush): Declare as throwing IOException. (close): Likewise. * java/io/PipedWriter.java (close): Declare as throwing IOException. * java/io/StringWriter.java (close): Declare as throwing IOException. From-SVN: r62401
Tom Tromey committed -
2003-02-04 Jerry Quinn <jlquinn@optonline.net> * include/std/std_ostream.h (ostream::_M_write): Declare. * ostream.tcc (ostream::_M_write): Define. (basic_ostream::write): Use it. (operator<<(basic_ostream, _CharT)): Ditto. (operator<<(basic_ostream, char)): Ditto. (operator<<(basic_ostream, _CharT*)): Ditto. (operator<<(basic_ostream, char*)): Ditto. (operator<<(basic_ostream, basic_string)): Ditto. From-SVN: r62399
Jerry Quinn committed -
2003-02-04 Benjamin Kosnik <bkoz@redhat.com> * testsuite/26_numerics/valarray_name_lookup.cc: Fix. From-SVN: r62398
Benjamin Kosnik committed -
From-SVN: r62396
Jan Hubicka committed -
* gcc.dg/i386-cadd.c: Compile using -march=k8. * gcc.dg/i386-cmov?.c: Likewise. * gcc.dg/i386-fpcvt-?.c: Likewise. * gcc.dg/i386-ssefp-1.c: Likewise. * gcc.dg/i386-ssetype-?.c: Likewise; fix for register passing convetions. From-SVN: r62395
Jan Hubicka committed -
* gcc.dg/i386-cadd.c: Compile using -march=k8. * gcc.dg/i386-cmov?.c: Likewise. * gcc.dg/i386-fpcvt-?.c: Likewise. * gcc.dg/i386-ssefp-1.c: Likewise. * gcc.dg/i386-ssetype-?.c: Likewise; fix for register passing convetions. From-SVN: r62394
Jan Hubicka committed -
2002-02-04 Jonathan Wakely <redi@gcc.gnu.org> * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page, add HTML comment about updating links if numbering changes. From-SVN: r62390
Jonathan Wakely committed -
2003-02-04 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/9538 * include/bits/streambuf.tcc (sputbackc): Access this->gptr()[-1] only if _M_in_beg < _M_in_cur. * testsuite/27_io/filebuf_virtuals.cc (test08): Add. 2003-02-04 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/9507 * include/bits/fstream.tcc (open): If the 'ate' repositioning operation fails, calls close _and_ returns a null pointer to indicate failure (27.8.1.3,4). * testsuite/27_io/filebuf_members.cc (test_06): Add. 2003-02-04 Petur Runolfsson <peturr02@ru.is> * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0). From-SVN: r62388
Paolo Carlini committed -
From-SVN: r62387
Jan Hubicka committed -
2003-02-04 Rodney Brown <rbrown64@csc.com.au> * config/i386/i386.c (x86_function_profiler): Fix typo in format. From-SVN: r62384
Rodney Brown committed -
2002-02-04 Jonathan Wakely <redi@gcc.gnu.org> * docs/html/27_io/howto.html: New section on stdio_filebuf. * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io. * docs/html/documentation.html: Regenerate. From-SVN: r62383
Jonathan Wakely committed -
2003-02-04 Phil Edwards <pme@gcc.gnu.org> * doc/install.texi (*-*-linux-gnu): Mention glibc requirements for recent libstdc++. Remove formatting cruft. From-SVN: r62379
Phil Edwards committed -
* dwarf2out.c (dwarf2out_finish): Add AT_comp_dir attribute even if input file name is absolute, but one of the includes is relative. From-SVN: r62377
Jakub Jelinek committed -
* libU77/configure.in (AC_PROG_CC_WORKS): Define _GNU_SOURCE. * libU77/config.hin: Regenerated. * libU77/configure: Regenerated. From-SVN: r62373
Andreas Jaeger committed -
PR c++/7129 * call.c (z_candidate): Add args. (convert_class_to_reference): Set it. (implicit_conversion): Tidy. (add_candidate): Add args parameter. (add_function_candidate): Adjust call to add_candidate. (add_conv_candidate): Likewise. (build_builtin_candidate): Likewise. (build_user_type_conversion_1): Eliminate wasteful tree_cons usage. (build_new_function_call): Likewise. (build_object_call): Likewise. (add_candidates): New function. (build_new_op): Use it. (covert_like_real): Adjust call to build_over_call. (build_over_call): Remove args parameter. * operators.def: Add <?= and >?=. PR c++/7129 * testsuite/g++.dg/ext/max.C: New test. From-SVN: r62370
Mark Mitchell committed -
fastjar: * fastjar.texi: Update to GFDL 1.2. gcc: * doc/gcc.texi, doc/gccint.texi, doc/gcov.texi, doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2. * doc/install.texi: Update copyright dates. Update to GFDL 1.2. gcc/ada: * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2. * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, gnat_ug_wnt.texi: Regenerate. gcc/f: * g77.texi, invoke.texi: Update to GFDL 1.2. gcc/java: * gcj.texi: Update to GFDL 1.2. gcc/treelang: * treelang.texi: Update to GFDL 1.2. libiberty: * libiberty.texi: Update to GFDL 1.2. libstdc++-v3: * docs/html/17_intro/porting.texi: Update to GFDL 1.2. * docs/html/17_intro/porting.html: Regenerate. From-SVN: r62365
Joseph Myers committed -
From-SVN: r62364
GCC Administrator committed
-
- 03 Feb, 2003 8 commits
-
-
* libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2, __popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change return type to "int". Shuffle declarations and undef int trap. * libgcc2.h: Remove their declarations. * optabs.c (expand_unop): Force outmode to int for bitops. From-SVN: r62353
Richard Henderson committed -
2003-02-03 Ranjit Mathew <rmathew@hotmail.com> * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care of the fact that on Win32, JNI_OnLoad is an "stdcall" function and could also have been exported as "JNI_OnLoad@8" (MinGW) or "_JNI_OnLoad@8" (MSVC). From-SVN: r62348
Ranjit Mathew committed -
resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling convention on Win32 to invoke native JNI methods. 2003-02-03 Ranjit Mathew <rmathew@hotmail.com> * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling convention on Win32 to invoke native JNI methods. From-SVN: r62345
Ranjit Mathew committed -
xtensa.c (order_regs_for_local_alloc): Order the coprocessor registers before floating-point registers. * config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the coprocessor registers before floating-point registers. * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers to account for a previously removed register. (SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM): Delete unused macros. From-SVN: r62340
Bob Wilson committed -
* i386.c (ix86_expand_store_builtin): Always force op1 to register. (mov*_internal): Fix predicates; require one of operands to not be memory. (SSE?MMX move expanders): Fix predicates; force one of operands to register. (SSE/MMX push patterns): Reorganize; fix x86-64 code generation. (movups/movupd/movdqu patterns): Force one of operands to not be memory. From-SVN: r62339
Jan Hubicka committed -
hooks.c (hook_rtx_rtx_identity): Generic hook function that takes a single rtx and returns it unmodified. * hooks.c (hook_rtx_rtx_identity): Generic hook function that takes a single rtx and returns it unmodified. * hooks.h (hook_rtx_rtx_identity): Prototype here. * target.h (struct gcc_target): Add "delegitimize_address" field to target structure. * target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Provide default for delegitimize_address target using hook_rtx_rtx_identity. (TARGET_INITIALIZER): Initialize delegitimize_address field using TARGET_DELEGITIMIZE_ADDRESS macro. * simplify-rtx.c (avoid_constant_pool_reference): Handle float extensions of constant pool references. Use delegitimize_address to undo the obfuscation of "-fpic". * Makefile.in (simplify-rtx.o): Add dependency on target.h. * config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as i386_simplify_dwarf_addr. (ix86_find_base_term): Simplify using i386_simplify_dwarf_addr. (maybe_get_pool_constant): Likewise. From-SVN: r62336
Roger Sayle committed -
2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> Phil Edwards <pme@gcc.gnu.org> * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use numeric_limits for bits-per-word values. (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count): Use __builtin_popcountl instead. (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next, _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next): Use __builtin_ctzl instead. (_S_bit_count, _S_first_one): Remove. * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count. * src/Makefile.am (sources): Remove bitset.cc. * src/bitset.cc: Delete file. * src/Makefile.in: Regenerate. Co-Authored-By: Phil Edwards <pme@gcc.gnu.org> From-SVN: r62335
Falk Hueffner committed -
parse.y (java_expand_classes): Scan the whole class list looking for access methods that haven't yet been expanded. 2003-01-31 Andrew Haley <aph@redhat.com> * parse.y (java_expand_classes): Scan the whole class list looking for access methods that haven't yet been expanded. From-SVN: r62329
Andrew Haley committed
-