- 07 May, 2003 3 commits
-
-
From-SVN: r66548
Tom Tromey committed -
* libjava.lang/verify.java: New file. * libjava.lang/verify.out: New file. From-SVN: r66547
Tom Tromey committed -
From-SVN: r66544
GCC Administrator committed
-
- 06 May, 2003 19 commits
-
-
From-SVN: r66542
Phil Edwards committed -
2003-05-06 Phil Edwards <pme@gcc.gnu.org> * doc/install.texi (mips-*-*): Add note about libstdc++. From-SVN: r66541
Phil Edwards committed -
* config/stormy16/stormy16.c (xstormy16_function_profiler): New. * config/stormy16/stormy16.h (FUNCTION_PROFILER): Call it. * config/stormy16/stormy16-protos.h (xstormy16_function_profiler): New. From-SVN: r66538
DJ Delorie committed -
* gcc.dg/20021014-1.c: XFAIL for xstormy16 also. * gcc.dg/nest.c: Likewise. From-SVN: r66537
DJ Delorie committed -
2003-05-06 Phil Edwards <pme@gcc.gnu.org> * docs/html/faq/index.html (3.10): Add note about mips atomicity.h. * docs/html/faq/index.txt: Regenerated. From-SVN: r66536
Phil Edwards committed -
2003-05-06 Eric Botcazou <ebotcazou@libertysurf.fr> * config-ml.in: Propagate INSTALL variables. From-SVN: r66534
Eric Botcazou committed -
* c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes and -Wstrict-prototypes if C++. From-SVN: r66533
Neil Booth committed -
2003-05-06 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/linuxspe.h: New file. * config.gcc: Add powerpc-*-linux-gnuspe* target. From-SVN: r66531
Aldy Hernandez committed -
Co-Authored-By: Matt Kraai <kraai@alumni.cmu.edu> From-SVN: r66530
Michael Ritzert committed -
* unwind-dw2.c (uw_update_context_1): Only set cfa as sp if previous frame didn't save sp. Clear sp for next frame. (uw_install_context_1): Honor saved sp from frame. From-SVN: r66526
Richard Henderson committed -
From-SVN: r66523
Michael Ritzert committed -
* typeck.c (build_unary_op): Deal with const qualifier in invalid pointer-to-member earlier. From-SVN: r66522
Kriang Lerdsuwanakij committed -
* config/mips/mips-protos.h (mips_subword, mips_output_move): Declare. (mips_move_1word, mips_move_2words): Remove declaration. (mips_split_64bit_move_p, mips_split_64bit_move): Declare. (mips_restore_gp): Remove insn argument. * config/mips/mips.h (FP_REG_RTX_P): New macro. * config/mips/mips.c (volatile_buffer): Remove. (mips_subword, mips_split_64bit_move_p, mips_split_64bit_move): New. (mips_move_1word, mips_move_2words): Remove, replacing with... (mips_output_move): ...this new function. (mips_restore_gp): Remove insn argument. Adjust for above changes. (print_operand): Make '%h' print %hi(op) for HIGH operands. Remove handling of floating-point constants. Handle zero CONST_DOUBLE arguments. (mips_annotate_frame_insn): Replace with... (mips_set_frame_expr): ...this, which just takes one argument. (mips_frame_set): Change the register argument to an rtx. (mips_emit_frame_related_store): Use mips_split_64bit_move_p to check whether moves should be split. Use mips_split_64bit_move to split them. Use mips_subword to generate the high and low parts of a paired FPR. Adjust calls to frame_set and mips_set_frame_expr. (mips_expand_prologue): Simplify due to above changes. * config/mips/mips.md: Add splitters for 64-bit moves on 32-bit targets, replacing xisting register-only versions. (UNSPEC_STORE_DF_HIGH): New unspec. (UNSPEC_LOAD_DF_LOW, UNSPEC_LOAD_DF_HIGH): New unspecs. (mulsi3_r4000, muldi3_internal2): Avoid use of mips_move_1word. (*paradoxical_extendhidi2): Remove. (movdi_internal, movdi_internal2): Use mips_output_move. (*movdi_internal2_mips16, movsi_internal, movcc): Likewise. (movsf_internal1, movsf_internal2): Likewise. (movdf_internal1a): Likewise. Fix length and type of f <- G case. (movdf_internal1b): Use mips_output_move. Fix type of f <- G case. (movdf_internal2): Use mips_output_move. Fix lengths of FPR moves. Add m <- G alternative. (load_df_low, load_df_high, store_df_low): New patterns. (movhi_internal): Use @ template instead of calling a function. Remove unnecessary 'z' alternatives. (movqi_internal): Likewise. (exception_receiver): Update call to mips_restore_gp. From-SVN: r66521
Richard Sandiford committed -
* java/io/DataOutputStream.java (write): Renamed argument to "value", merged documentation from classpath. (writeBoolean): Likewise. (writeByte): Likewise. (writeShort): Likewise. (writeChar): Likewise. (writeInt): Likewise. (writeLong): Likewise. (writeFloat): Likewise. (writeDouble): Likewise. (writeBytes): Likewise. (writeChars): Likewise. (writeUTF): Likewise. * java/io/File.java (performDelete): Added documentation. (performList): Likewise. (performMkdir): Likewise. (performSetReadOnly): Likewise. (performRenameTo): Likewise. (performSetLastModified): Likewise. (delete): Made it sychronized. (renameTo): Made it sychronized. (equals): Reformatted. (isHidden): Likewise. (listFiles): Likewise. (setReadOnly): Likewise. (listRoots): Likewise. (setLastModified): Likewise. (checkRead): Likewise. (checkWrite): Likewise. * java/io/FileInputStream.java (skip): Made it sychronized, merged from classpath. * java/io/FileOutputStream.java (write): Merged from classpath. * java/io/InputStreamReader.java: (InputStreamReader): Merged documentation from classpath. From-SVN: r66520
Michael Koch committed -
treelang: * Make-lang.in (treelang/tree1.o): Depends on input.h (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise. * treelang.h: #include input.h. (in_fname): Remove. (struct token_part): Remove lineno, add location. * lex.l (next_tree_lineno): Remove. (update_lineno_charno): Adjust. (dump_lex_value): Adjust. * parse.y (variable_def, function_prototype, function, statement, if_statement, return, function_invocation, variable_ref): Adjust. (print_token, yyerror, ensure_not_void): Adjust. tree1.c (in_fname): Remove. (treelang_init): Setup input_location. (lookup_tree_name): Adjust. (insert_tree_name): Adjust. * treetree.c (tree_code_if_start): Replace filename and lineno parms with loc. Adjust. (tree_code_if_else, tree_code_if_end, tree_code_create_function_prototype, tree_code_create_function_initial, tree_code_create_function_wrapup, tree_code_create_variable, tree_code_output_expression_statement): Likewise. * treetree.h (tree_code_if_start): Replace filename and lineno parms with loc. (tree_code_if_else, tree_code_if_end, tree_code_create_function_prototype, tree_code_create_function_initial, tree_code_create_function_wrapup, tree_code_create_variable, tree_code_output_expression_statement): Likewise. From-SVN: r66519
Nathan Sidwell committed -
* config/mips/mips-protos.h (mips_simplify_dwarf_addr): Remove. (mips_delegitimize_address): Declare. * config/mips/mips.h (ASM_SIMPLIFY_DWARF_ADDR): Undefine. (FIND_BASE_TERM): Define. * config/mips/mips.c (TARGET_DELEGITIMIZE_ADDRESS): Define. (mips_delegitimize_address): Renamed from mips_simplify_dwarf_addr. Handle small-data addresses. From-SVN: r66518
Richard Sandiford committed -
From-SVN: r66517
Richard Sandiford committed -
* real.c (real_powi): New function to calculate the value of a real raised to an integer power, i.e. pow(x,n) for int n. (real_sqrt): Convert to using the faster do_add, do_multiply and do_divide API for consistency with the rest of real.c. * real.h (real_powi): Prototype here. * builtins.c (fold_builtin): Avoid local variable mode when evaluating sqrt at compile time. Attempt to evaluate pow at compile-time, by checking for an integral exponent. * gcc.dg/builtins-14.c: New test case. From-SVN: r66515
Roger Sayle committed -
From-SVN: r66512
GCC Administrator committed
-
- 05 May, 2003 18 commits
-
-
From-SVN: r66510
Richard Henderson committed -
2003-05-05 Janis Johnson <janis187@us.ibm.com> * gcc.dg/compat/struct-by-value-1_main.c: New test file. * gcc.dg/compat/struct-by-value-1_x.c: New test file. * gcc.dg/compat/struct-by-value-1_y.c: New test file. * gcc.dg/compat/struct-by-value-2_main.c: New test file. * gcc.dg/compat/struct-by-value-2_x.c: New test file. * gcc.dg/compat/struct-by-value-2_y.c: New test file. * gcc.dg/compat/struct-by-value-3_main.c: New test file. * gcc.dg/compat/struct-by-value-3_x.c: New test file. * gcc.dg/compat/struct-by-value-3_y.c: New test file. * gcc.dg/compat/struct-by-value-4_main.c: New test file. * gcc.dg/compat/struct-by-value-4_x.c: New test file. * gcc.dg/compat/struct-by-value-4_y.c: New test file. * gcc.dg/compat/struct-by-value-5_main.c: New test file. * gcc.dg/compat/struct-by-value-5_x.c: New test file. * gcc.dg/compat/struct-by-value-5_y.c: New test file. From-SVN: r66509
Janis Johnson committed -
2003-05-05 David O'Brien <obrien@FreeBSD.org> * config/rs6000/sysv4.h (CPP_OS_FREEBSD_SPEC): Add __ELF__ to mirror other FreeBSD ports. (LINK_OS_FREEBSD_SPEC): Mirror conventions on other FreeBSD ports. From-SVN: r66508
David O'Brien committed -
* include/bits/stl_threads.h (_Atomic_swap): Kill it... (_Swap_lock_struct<>): ...and the horse it rode in on. * src/globals.cc (_Swap_lock_struct<>): Likewise. * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New member to support... * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory visibility rules related to POSIX threads. * testsuite/thread/pthread7-rope.cc: New test. From-SVN: r66507
Loren J. Rittle committed -
2003-05-05 Janis Johnson <janis187@us.ibm.com> * Makefile.in: (site.exp): Add ALT_CC_UNDER_TEST, add quotes around expanded variables. * doc/sourcebuild.texi (C tests): Describe gcc.dg/compat tests. testsuite: * lib/compat.exp (compat-execute): New argument. * g++.dg/compat/compat.exp: Pass new argument to compat-execute. * gcc.dg/compat: New test directory. * gcc.dg/compat/compat.exp: New expect script. * gcc.dg/compat/scalar-by-value-1_main.c: New test file. * gcc.dg/compat/scalar-by-value-1_x.c: New test file. * gcc.dg/compat/scalar-by-value-1_y.c: New test file. * gcc.dg/compat/scalar-by-value-2_main.c: New test file. * gcc.dg/compat/scalar-by-value-2_x.c: New test file. * gcc.dg/compat/scalar-by-value-2_y.c: New test file. From-SVN: r66506
Janis Johnson committed -
* rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P. * varasm.c (struct varasm_status): Add deferred_constants field. (n_deferred_strings): Delete variable. (n_deferred_constants): New #define. (struct constant_descriptor_tree): Kill next and label fields. (const_hash_table, MAX_HASH_TABLE): Delete. (const_desc_htab): New static variable. (const_hash): Rename const_desc_hash, and make it fit the hashtab.h interface. (const_desc_eq): New. (const_hash_1, compare_constant): Const-ify arguments. (build_constant_desc): Set DEFERRED_CONSTANT_P on all new SYMBOL_REFs. Clarify comments. Don't set desc->label. (output_constant_def): Do the lookup/insert using the hashtab.h interface. Don't muck with n_deferred_constants or DEFERRED_CONSTANT_P here. Always call maybe_output_constant_def_contents. (maybe_output_constant_def_contents): Take a pointer to the descriptor, not the EXP and RTL separately. Return immediately if this constant is not deferred. Defer output of everything, except writable string constants. Update n_deferred_constants here. (output_constant_def_contents): Now takes just one argument, an rtx. Clear DEFERRED_CONSTANT_P here. (mark_constant_pool): Update for rename of n_deferred_strings. (mark_constant): Don't clear DEFERRED_CONSTANT_P here. (init_varasm_status): Clear p->deferred_constants. (init_varasm_once): Call htab_create_ggc for const_desc_htab. * gcc.dg/const-elim-1.c, gcc.dg/const-elim-2.c: New testcases. From-SVN: r66505
Zack Weinberg committed -
builtins.c (expand_builtin_stpcpy): Only expand when the length of the source string can be evaluated at compile-time. * builtins.c (expand_builtin_stpcpy): Only expand when the length of the source string can be evaluated at compile-time. From-SVN: r66503
Kaveh R. Ghazi committed -
PR c++/9537 * call.c (conditional_conversion): Build an RVALUE_CONV if we're just changing the cv-quals. (build_conditional_expr): Don't call convert to change cv-quals. From-SVN: r66502
Jason Merrill committed -
2003-05-05 Aldy Hernandez <aldyh@redhat.com> * testsuite/gcc.c-torture/compile/simd-6.c: New. * c-typeck.c (digest_init): Handle arrays of vector constants. From-SVN: r66501
Aldy Hernandez committed -
* java/net/NetworkInterface.java (networkInterfaces): Removed. (getByName): Use getRealNetworkInterfaces() instead of networkInterfaces. (getByInetAddress): Likewise. (getNetworkInterfaces): Likewise. (toString): Fix output of addresses of an interface. From-SVN: r66500
Michael Koch committed -
2003-05-05 Geoffrey Keating <geoffk@apple.com> * config/rs6000/rs6000.c (validate_condition_mode): Use flag_finite_math_only. (rs6000_reverse_condition): Never return UNKNOWN; use flag_finite_math_only. (rs6000_generate_compare): Use flag_finite_math_only. (rs6000_emit_cmove): Handle UNLE. Support UNEQ under -ffast-math. Use HONOR_* rather than flag_unsafe_math_optimizations. Correct UNGE and GT cases. Handle UNEQ and LTGT when ! HONOR_NANS. Index: testsuite/ChangeLog 2003-05-05 Geoffrey Keating <geoffk@apple.com> * gcc.c-torture/execute/ieee/fp-cmp-8.c: New test. * gcc.dg/ppc-fsel-2.c: New test. From-SVN: r66499
Geoffrey Keating committed -
* builtins.c (expand_builtin_mempcpy): New function. (expand_builtin_stpcpy): Optimize stpcpy whose return value is ignored into strcpy no matter what arguments it has. (expand_builtin) <case BUILT_IN_MEMPCPY>: Call expand_builtin_mempcpy. * gcc.c-torture/execute/string-opt-18.c (main): Add 3 new tests. From-SVN: r66498
Jakub Jelinek committed -
2003-05-05 Aldy Hernandez <aldyh@redhat.com> * testsuite/gcc.dg/20030505.c: New. * c-typeck.c (convert_for_assignment): Opaque pointers can interconvert. * config/rs6000/rs6000.c: New global opaque_p_V2SI_type_node. (rs6000_init_builtins): Initialize opaque_p_V2SI_type_node. (spe_init_builtins): Rename all pv2si_type_node to opaque_p_V2SI_type_node. Remove declaration of pv2si_type_node. (is_ev64_opaque_type): Accept opaque pointers. From-SVN: r66495
Aldy Hernandez committed -
From-SVN: r66494
Jason Merrill committed -
2003-05-05 Geoffrey Keating <geoffk@apple.com> * toplev.c (check_global_declarations): Suppress not-used warning for volatile variables. Index: testsuite/ChangeLog 2003-05-05 Geoffrey Keating <geoffk@apple.com> * gcc.dg/unused-5.c: New test. From-SVN: r66493
Geoffrey Keating committed -
expr.c (expand_expr, [...]): Refine the test forcing usage of bitfield instructions for mode1 != BLKmode... * expr.c (expand_expr, case BIT_FIELD_REF): Refine the test forcing usage of bitfield instructions for mode1 != BLKmode, only ignoring SLOW_UNALIGNED_ACCESS if the field is not byte aligned. (store_field): Likewise. From-SVN: r66492
Olivier Hainque committed -
rs6000.c (rs6000_expand_binop_builtin): Add evsubifw to builtins accepting 5-bit unsigned constants. 2003-05-05 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (rs6000_expand_binop_builtin): Add evsubifw to builtins accepting 5-bit unsigned constants. (easy_vector_constant): Return if V1DImode. Fix typo. [[Split portion of a mixed commit.]] From-SVN: r66490.2
Aldy Hernandez committed -
2003-05-05 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/spe.h: Revert licensing change from last patch. From-SVN: r66486
Aldy Hernandez committed
-