zack [Sun, 9 May 2004 21:26:58 +0000 (21:26 +0000)]
PR 15007
* c-decl.c (current_file_decl): Rename to all_translation_units,
adjust comment.
(pop_scope): If popping file_scope, construct a
TRANSLATION_UNIT_DECL and make it the context of all the
symbols in the scope.
(push_file_scope): Don't construct a TRANSLATION_UNIT_DECL here.
(pushdecl): Clarify comment. Do not set DECL_CONTEXT of
anything to current_file_decl.
(pushdecl_top_level): Likewise.
(store_parm_decls_newstyle): Adjust check for nested function.
(c_write_global_declarations): Update for renamed variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81655
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sun, 9 May 2004 20:24:26 +0000 (20:24 +0000)]
* Makefile.in (toolexecdir): Remove trailing space.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81654
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Sun, 9 May 2004 14:32:49 +0000 (14:32 +0000)]
* config/rs6000/rs6000-protos.h
(rs6000_conditional_register_usage): Protoize.
* config/rs6000/rs6000.c (rs6000_conditional_register_usage): New.
* config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Call
function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81650
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 8 May 2004 17:36:21 +0000 (17:36 +0000)]
* fold-const.c (fold_div_compare): New function to optimize X/C1 op C2
where op is a comparison operator and C1 and C2 are integer constants
into a range check.
(fold): Call fold_div_compare.
* gcc.c-torture/execute/divcmp-1.c: New test case.
* gcc.c-torture/execute/divcmp-2.c: New test case.
* gcc.c-torture/execute/divcmp-3.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81645
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 8 May 2004 17:27:08 +0000 (17:27 +0000)]
* doc/install.texi (sparc-sun-solaris2*): Document bootstrap
problems with earlier versions of the GNU compiler.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81643
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Sat, 8 May 2004 17:08:51 +0000 (17:08 +0000)]
* config/rs6000/rs6000-protos.h (rs6000_hard_regno_mode_ok_p):
Declare.
* config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok_p): New.
(rs6000_hard_regno_mode_ok): New.
(rs6000_init_hard_regno_mode_ok): New.
(rs6000_override_options): Call rs6000_init_hard_regno_mode_ok.
* config/rs6000/rs6000.h (HARD_REGNO_NREGS): Use precomputed
result.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81642
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Sat, 8 May 2004 05:02:55 +0000 (05:02 +0000)]
2004-05-07 Ziemowit Laski <zlaski@apple.com>
* config/rs6000/altivec.h (vector, pixel, bool): Do not
define as macros #ifdef __APPLE_ALTIVEC__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81641
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 8 May 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81638
138bc75d-0d04-0410-961f-
82ee72b054a4
fjahanian [Fri, 7 May 2004 23:00:39 +0000 (23:00 +0000)]
Fixed altivec vararg problem.
Approved by Aldy Hernandez.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81635
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 7 May 2004 15:09:23 +0000 (15:09 +0000)]
* config/mips/mips.c (mips_va_arg): Fix calculation of osize for
EABI_FLOAT_VARARGS_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81625
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 7 May 2004 15:06:16 +0000 (15:06 +0000)]
* config/mips/mips.h (ISA_HAS_BRANCHLIKELY): Remove TARGET_MIPS5500.
* config/mips/mips.c (override_options): Disable branch likely
instructions if TUNE_MIPS5500.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81624
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 7 May 2004 15:03:31 +0000 (15:03 +0000)]
* config/mips/mips.c (override_options): Allow the hi and lo registers
to store any integral mode, not just MODE_INTs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81623
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 7 May 2004 14:59:43 +0000 (14:59 +0000)]
2004-05-07 Ranjit Mathew <rmathew@gmail.com>
* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
main binary against the JNI shared library.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81622
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Fri, 7 May 2004 14:40:44 +0000 (14:40 +0000)]
* config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.
* config/arm/arm.h (TARGET_AAPCS_BASED): Define.
(TARGET_DOUBLEWORD_ALIGN): Use it.
(WCHAR_TYPE): Define.
(WCHAR_SIZE_TYPE): Define.
(SIZE_TYPE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81621
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Fri, 7 May 2004 14:29:41 +0000 (14:29 +0000)]
2004-05-07 Uros Bizjak <uros@kss-loka.si>
* config/i386/i386.c (ix86_emit_fp_unordered_jump): Use
testb $4, %ah insn instead of sahf insn if !TARGET_USE_SAHF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81620
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 7 May 2004 14:17:33 +0000 (14:17 +0000)]
2004-05-07 Andrew Pinski <pinskia@physics.uc.edu>
* loop-doloop.c (doloop_valid_p): Make sure that body
gets freed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81619
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 7 May 2004 11:40:42 +0000 (11:40 +0000)]
* config/sparc/sparc-protos.h (sparc_skip_caller_unimp): New
declaration.
* config/sparc/sparc.c (SKIP_CALLERS_UNIMP_P): Delete.
(sparc_skip_caller_unimp): New global variable.
(sparc_function_epilogue): Set 'sparc_skip_caller_unimp'.
Use it instead of SKIP_CALLERS_UNIMP_P.
* config/sparc/sparc.md (call expander): Add sanity check.
(call_address_struct_value_sp32): Re-sync with expander.
(call_symbolic_struct_value_sp32): Likewise.
(return peepholes): Use 'sparc_skip_caller_unimp' instead
of custom predicate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81617
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 7 May 2004 06:58:00 +0000 (06:58 +0000)]
PR c++/14962
* c-pragma.c (handle_pragma_redefine_extname): Only change
the assembler name of FUNCTION_DECLs and VAR_DECLs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81610
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 7 May 2004 06:13:18 +0000 (06:13 +0000)]
Update ChangeLog to follow tree rules.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81608
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 7 May 2004 05:55:06 +0000 (05:55 +0000)]
* gcc.dg/i386-387-1.c: Add new test for __builtin_fmod.
* gcc.dg/i386-387-2.c: Likewise.
* gcc.dg/i386-387-5.c: Add new tests for __builtin_log1p and
__builtin_drem.
* gcc.dg/i386-387-6.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81607
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 7 May 2004 05:38:21 +0000 (05:38 +0000)]
* optabs.h (enum optab_index): Add new OTI_log1p.
(log1p_optab): Define corresponding macro.
* optabs.c (init_optabs): Initialize log1p_optab.
* genopinit.c (optabs): Implement log1p_optab using log1p?f2
patterns.
* builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOG1P{,F,L}
using log1p_optab.
(expand_builtin): Expand BUILT_IN_LOG1P{,F,L} using
expand_builtin_mathfn if flag_unsafe_math_optimizations is set.
* reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FYL2XP1.
* config/i386/i386.c (ix86_emit_i387_log1p): New function.
* config/i386/i386-protos.h (ix86_emit_i387_log1p):
Prototype here.
* config/i386/i386.md (UNSPEC_FYL2XP1): New unspec to represent
x87's fyl2xp1 instruction.
(*fyl2x_xf3): Rename insn definition to fyl2x_xf3.
(fyl2xp1_xf3): New pattern to implement fyl2xp1 x87 instruction.
(log1psf2, log1pdf2, log1pxf2): New expanders to implement log1pf,
log1p and log1pl built-ins as inline x87 intrinsics.
* testsuite/gcc.dg/builtins-33.c: Also check log1p*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81606
138bc75d-0d04-0410-961f-
82ee72b054a4
jlquinn [Fri, 7 May 2004 04:57:57 +0000 (04:57 +0000)]
2004-05-07 Jerry Quinn <jlquinn@optonline.net>
* java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
(SimpleTimeZone): Tweak docs. Add new variation.
(setStartRule,setEndRule): Add new variations. Use
startTimeMode and endTimeMode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81605
138bc75d-0d04-0410-961f-
82ee72b054a4
jlquinn [Fri, 7 May 2004 04:18:19 +0000 (04:18 +0000)]
ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81604
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 7 May 2004 03:45:03 +0000 (03:45 +0000)]
* config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Pass -Werror.
* config/arm/freebsd.h: Likewise.
* config/ia64/freebsd.h: Likewise.
* config/sparc/freebsd.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81602
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 7 May 2004 03:22:33 +0000 (03:22 +0000)]
PR optimization/15296
* gcc.c-torture/execute/pr15296.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81601
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 7 May 2004 03:20:24 +0000 (03:20 +0000)]
PR optimization/15296
* reorg.c (fill_simple_delay_slots): Use next_real_insn when
getting last consecutive label at a branch.
(relax_delay_slots): Similar, near top of loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81600
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 7 May 2004 03:16:12 +0000 (03:16 +0000)]
* gcc.c-torture/execute/pr15296.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81599
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 7 May 2004 03:09:15 +0000 (03:09 +0000)]
PR target/15202
* pa.md (movdi, movsi, movhi, movqi): Support move from shift amount
register to general register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81598
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 7 May 2004 02:01:13 +0000 (02:01 +0000)]
* config/rs6000/rs6000.h (STACK_BOUNDARY): Use 128 bit for either
TARGET_ALTIVEC or TARGET_ALTIVEC_ABI.
* config/rs6000/sysv4.h (ABI_STACK_BOUNDARY): Likewise.
(STACK_BOUNDARY): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81597
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 7 May 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81593
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Thu, 6 May 2004 22:02:05 +0000 (22:02 +0000)]
2004-05-06 Matthias Klose <doko@debian.org>
* include/backward/iterator.h: Add GPL copyright info,
with exception clause.
* include/bits/boost_concept_check.h: Likewise.
* include
* libsupc++/tinfo.h: Likewise.
* po/string_literals.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81581
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 6 May 2004 17:54:30 +0000 (17:54 +0000)]
Run the jni tests using the interpreter.
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
options_cxx to shared lib compile command.
(gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
they are used to link the shared lib, not the main binary.
Use libjava_invoke to run gij.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81574
138bc75d-0d04-0410-961f-
82ee72b054a4
rmathew [Thu, 6 May 2004 17:43:48 +0000 (17:43 +0000)]
Fixes PR java/9685, PR java/15073
* parse.y (accessibility_string): New method.
(not_accessible_field_error): Use accessibility_string()
instead of java_accstring_lookup().
(resolve_qualified_expression_name): Check with
check_pkg_class_access() before allowing access using
qualified names.
Fix comment typo.
Use check_pkg_class_access() instead of not_accessible_p()
for unqualified types.
(not_accessible_p): Use DECL_CONTEXT (member) instead of
REFERENCE for package-private access checking.
(patch_method_invocation): Use accessibility_string() instead
of java_accstring_lookup().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81573
138bc75d-0d04-0410-961f-
82ee72b054a4
stuart [Thu, 6 May 2004 16:10:25 +0000 (16:10 +0000)]
2004-05-06 Stuart Hastings <stuart@apple.com>
* gcc/doc/invoke.texi: Restore -fgcse-after-reload doc from 1.421,
mistakenly clobbered by 1.423.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81569
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 6 May 2004 15:55:00 +0000 (15:55 +0000)]
2004-05-06 Michael Koch <konqueror@gmx.de>
* java/util/logging/Level.java
(parse): Use == instead of String.equals().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81568
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 6 May 2004 15:27:19 +0000 (15:27 +0000)]
* doc/invoke.texi: Document -mvr4130-align.
* config/mips/mips.h (MASK_VR4130_ALIGN, TARGET_VR4130_ALIGN)
(TUNE_MIPS4120, TUNE_MIPS4130): New macros.
(TUNE_MACC_CHAINS): Include TUNE_MIPS4120 and TUNE_MIPS4130.
(TARGET_SWITCHES): Add -mvr4130-align and -mno-vr4130-align.
* config/mips/mips.md: Include sched-int.h.
(USEFUL_INSN_P, SEQ_BEGIN, SEQ_END, FOR_EACH_SUBINSN): New macros.
(mips_rtx_costs): Set integer multiplication costs for TUNE_MIPS4130.
(override_options): Enable -mvr4130-align at -O3 and above.
(mips_sim_insn): New variable.
(mips_sim): New structure.
(mips_sim_reset, mips_sim_init, mips_sim_next_cycle, mips_sim_wait_reg)
(mips_sim_wait_regs_2, mips_sim_wait_regs_1, mips_sim_wait_regs)
(mips_sim_wait_units, mips_sim_wait_insn, mips_sim_record_set)
(mips_sim_issue_insn, mips_sim_issue_nop, mips_sim_finish_insn)
(vr4130_avoid_branch_rt_conflict, vr4130_align_insns): New functions.
(mips_reorg): Call vr4130_align_insns.
(vr4130_last_insn): New variable.
(vr4130_true_reg_dependence_p_1, vr4130_true_reg_dependence_p)
(vr4130_swap_insns_p, vr4130_reorder): New functions.
(mips_sched_reorder, mips_variable_issue): Hook in vr4130 code.
(mips_issue_rate): Return 2 for PROCESSOR_R4130.
(mips_use_dfa_pipeline_interface): Return true for the same.
* config/mips/4130.md: New file.
* config/mips/mips.md: Include it. Add a peephole2 to convert
"mult;mflo" into "mtlo;macc".
(*macc, *umul_acc_di, *smul_acc_di): Use $1 rather than $0 as the
target of maccs.
(*msac_using_macc): New pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81567
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 6 May 2004 14:06:28 +0000 (14:06 +0000)]
* defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
verify_field_signature and verify_method_signature, not
_Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
(_Jv_ClassReader::handleField): Likewise.
(_Jv_ClassReader::handleMethod): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81563
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 6 May 2004 13:20:21 +0000 (13:20 +0000)]
2004-04-29 Uros Bizjak <uros@kss-loka.si>
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81562
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 6 May 2004 13:04:07 +0000 (13:04 +0000)]
2004-05-06 Michael Koch <konqueror@gmx.de>
* javax/swing/table/TableColumn.java:
Reformated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81561
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 6 May 2004 12:27:37 +0000 (12:27 +0000)]
2004-05-06 Michael Koch <konqueror@gmx.de>
* javax/imageio/spi/ImageReaderWriterSpi.java
(ImageReaderWriterSpi): Made it public.
* javax/imageio/stream/ImageInputStream.java:
Clean up imports.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81560
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 6 May 2004 11:12:09 +0000 (11:12 +0000)]
2004-05-06 Michael Koch <konqueror@gmx.de>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
Removed empty line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81559
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 6 May 2004 10:25:02 +0000 (10:25 +0000)]
2004-05-06 Michael Koch <konqueror@gmx.de>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
New files.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
their own source file.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
(create): Define variable on top of function.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
(menu_pos): Prototyped.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(setTitle): Removed.
* jni/gtk-peer/gthread-jni.c
(gdk_threads_wake): Removed.
* Makefile.am (gtk_c_source_files): Added new files
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
* Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81558
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 6 May 2004 09:20:44 +0000 (09:20 +0000)]
* config/mips/5500.md (ir_vr55_store): Set latency to 0.
(ir_vr55_hilo): Split into...
(ir_vr55_mfhilo, ir_vr55_mthilo): ...these new reservations.
(ir_vr55_imul_si, ir_vr55_imadd): Change latency to 5.
(ir_vr55_imul_di): Change latency to 9. Reserve vr55_mac for 4 cycles.
Add various multiplication bypasses.
* config/mips/mips.c (mips_rtx_costs): Adjust VR5500 costs for integer
multiplication.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81557
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 6 May 2004 06:00:03 +0000 (06:00 +0000)]
* config/i386/i386.md (*fscalexf4): Correct insn "mode"
attribute to "XF".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81556
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 6 May 2004 05:19:24 +0000 (05:19 +0000)]
* optabs.h (enum optab_index): Add new OTI_fmod and OTI_drem.
(fmod_optab): Define corresponding macros.
* optabs.c (init_optabs): Initialize fmod_optab and drem_optab.
* genopinit.c (optabs): Implement fmod_optab and drem_optab
using fmod?f3 and drem?f3 patterns.
* builtins.c (expand_builtin_mathfn_2): Handle BUILT_IN_FMOD{,F,L}
using fmod_optab and BUILT_IN_DREM{,F,L} using drem_optab.
(expand_builtin): Expand BUILT_IN_FMOD{,F,L} and
BUILT_IN_DREM{,F,L} using expand_builtin_mathfn_2 if
flag_unsafe_math_optimizations is set.
* reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FPREM_F,
UNSPEC_FPREM_U, UNSPEC_FPREM1_F and UNSPEC_FPREM1_U.
* config/i386/i386.c (ix86_emit_fp_unordered_jump): New function.
* config/i386/i386-protos.h (ix86_emit_fp_unordered_jump):
Prototype here.
* config/i386/i386.md (UNSPEC_FPREM_F, UNSPEC_FPREM_U,
UNSPEC_FPREM1_F, UNSPEC_FPREM1_U): New unspecs to represent x87's
fprem and fprem1 instructions.
(*x86_fnstsw_1): Change input parameter to (reg:CCFP 18).
Rename insn definition to x86_fnstsw_1.
(fpremxf4, fprem1xf4): New patterns to implement fprem and fprem1
x87 instructions.
(fmodsf3, fmoddf3, fmodxf3): New expanders to implement fmodf, fmod
and fmodl built-ins as inline x87 intrinsics.
(dremsf3, dremdf3, dremxf3): New expanders to implement dremf, drem
and dreml built-ins as inline x87 intrinsics.
* testsuite/gcc.dg/builtins-40.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81555
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 6 May 2004 03:24:49 +0000 (03:24 +0000)]
* reload1.c (inherit_piecemeal_p): Mark parameters potentially unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81554
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 6 May 2004 01:01:43 +0000 (01:01 +0000)]
PR driver/9822
* doc/invoke.texi (Spec Files): Remove documentation of %c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81553
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 6 May 2004 00:16:42 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81550
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Wed, 5 May 2004 23:15:27 +0000 (23:15 +0000)]
2004-05-05 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.md: Update the msub define_split for new mflo/mfhi
representation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81544
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Wed, 5 May 2004 23:11:55 +0000 (23:11 +0000)]
* config/arm/arm-protots.h (vfp_mem_operand): Rename ...
(arm_coproc_mem_operand): ... To this.
* config/arm/arm.c (arm_legitimate_address_p): Allow ldrd modes.
(arm_legitimate_index_p): Ditto.
(vfp_mem_operand): Rename ...
(arm_coproc_mem_operand): ... To this. Handle writeback modes.
(vfp_secondary_reload_class): Use it.
(output_move_double): Use doubleword load/store instructions.
(arm_hard_regno_mode_ok): Only allow even reg pairs for ldrd.
* config/arm/arm.h (TARGET_LDRD): Define.
(EXTRA_CONSTRAINT_STR_ARM): Add 'Uy'.
* config/gcc/arm/arm.md (arm_movdi): Allow all valid memory operands.
New splitter for invalid doubleword loads.
* config/arm/iwmmxt.md (iwmmxt_arm_movdi): Use Uy constraint.
* config/arm/vfp.md (arm_movdi_vfp): Allow all valid memory operands.
* doc/md.texi: Document Uy constraint.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81543
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Wed, 5 May 2004 20:58:54 +0000 (20:58 +0000)]
* testsuite/libjava.jni/pr11951.java: Add missing
System.loadLibrary() call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81542
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 5 May 2004 20:55:02 +0000 (20:55 +0000)]
PR opt/14980
* cgraphunit.c (cgraph_remove_unreachable_nodes): Deal properly with
inline clones.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81540
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 5 May 2004 20:17:08 +0000 (20:17 +0000)]
2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
PR target/15290
* config/i386/i386.c (ix86_split_to_parts): Use real_to_target
instead of REAL_VALUE_TO_TARGET_LONG_DOUBLE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81537
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Wed, 5 May 2004 18:25:52 +0000 (18:25 +0000)]
* config/darwin-c.c (add_framework): Copy the directory name as it
can be freed later. Also, ensure we always allocate enough room
for the cached framework information.
(find_subframework_header): Keep track of the directory where the
subframework header was found.
(framework_construct_pathname): Speed up by not trying to re-add a
framework.
* cppfiles.c (search_path_exhausted): Arrange for the missing
header callback to be able to set the directory where the header
was found.
(cpp_get_dir): Add.
* cpplib.h (missing_header_cb): Add a parameter.
(cpp_get_dir): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81534
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Wed, 5 May 2004 17:00:43 +0000 (17:00 +0000)]
Restore partial missing damaged in 1.423.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81530
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Wed, 5 May 2004 13:47:50 +0000 (13:47 +0000)]
* osint.adb (Find_Program_Name): Fix handling of VMS version
number.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81527
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Wed, 5 May 2004 12:20:33 +0000 (12:20 +0000)]
* doc/invoke.texi (Directory Options): Document -iquote.
* doc/cpp.texi: Likewise.
* doc/cppopts.texi: Likewise.
* c-opts.c (c_common_missing_argument): Add -iquote processing.
(c_common_handle_option): Likewise.
* c.opt (iquote): Add.
* gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -iquote.
* c-incpath.c (merge_include_chains): Update comment to use -iquote.
* c-opts.c (case OPT_I): Deprecate -I- support.
* doc/invoke.texi: Likewise.
* doc/cpp.texi: Likewise.
* doc/cppopts.texi: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81521
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Wed, 5 May 2004 10:53:00 +0000 (10:53 +0000)]
* basic-block.h (free_basic_block_vars): Update prototype.
* flow.c (free_basic_block_vars): Remove the keep_head_end_p
argument.
(life_analysis): Update call.
* ifcvt.c (if_convert): Likewise.
* passes.c (rest_of_handle_final): Likewise.
(rest_of_compilation): Likewise.
* sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
* config/sh/sh.c (sh_output_mi_thunk): Likewise.
* emit-rtl.c (next_real_insn): Use INSN_P.
(prev_real_insn): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81520
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Wed, 5 May 2004 10:09:56 +0000 (10:09 +0000)]
2004-05-05 Emmanuel Briot <briot@act-europe.fr>
* g-os_lib.ads (Invalid_Time): New constant
* adaint.h, adaint.c (__gnat_file_time_name, __gnat_file_time_fd): Now
return OS_Time instead of time_t to match what is imported by Ada.
Now return -1 if the file doesn't exist, instead of a random value
2004-05-05 Robert Dewar <dewar@gnat.com>
* usage.adb: Add line for -gnatR?s switch
* sem_ch13.adb, exp_ch2.adb: Minor reformatting
* g-regpat.ads, g-regpat.adb: Add documentation on handling of Size
and for Match (Data_First, Data_last)
* lib-writ.adb (Write_With_Lines): Ensure that correct index number is
written when we are dealing with multi-unit files.
2004-05-05 Jerome Guitton <guitton@act-europe.fr>
* Makefile.in: Remove unused targets and variables.
2004-05-05 Vincent Celier <celier@gnat.com>
* switch-m.adb: New gnatmake switch -eI
* vms_data.ads: Add VMS equivalents of new gnatclean swith -innn and
of new gnatmake switch -eInnn.
* makegpr.adb: Take into account new parameters Index and Src_Index in
Prj.Util.
* clean.adb: Implement support for multi-unit sources, including new
switch -i.
* gnatcmd.adb (GNATCmd): Call Prj.Util.Value_Of with new parameter
Src_Index.
* make.ads, make.adb (Insert_Q): New parameter Index, defaulted to 0
(Extract_From_Q): New out parameter Index
(Mark, Is_Marked): Subprograms moved to Makeutl
(Switches_Of): New parameter Source_Index
(Add_Switch): New parameter Index
(Check): New parameter Source_Index
(Collect_Arguments): New parameter Source_Index
(Collect_Arguments_And_Compile): New parameter Source_Index
(Compile): New parameter Source_Index
Put subprograms in alphabetical order
Add support for multi-source sources, including in project files.
* makeutl.ads, makeutl.adb (Unit_Index_Of): New function
(Mark, Is_Marked, Delete_All_Marks): New subprograms, moved from
Make.
* makeusg.adb: New gnatmake switch -eInnn
* mlib-prj.adb (Build_Library): Add new parameter Src_Index to call to
Prj.Util.Value_Of.
* opt.ads (Main_Index): New variable, defaulted to 0.
* osint.ads, osinte.adb (Add_File): New parameter Index
(Current_Source_Index): New function
* prj.adb: Take into account new components Index and Src_Index
* prj.ads (String_Element): New component Index
(Variable_Value): New component Index
(Array_Element): New component Src_Index
* prj-attr.adb: Indicate that optional index may be specified for
attributes Main, Executable, Spec, Body and some of Switches.
* prj-attr.ads (Attribute_Kind): New values for optional indexes
(Attribute_Record): New component Optional_Index
* prj-com.ads (File_Name_Data): New component Index
* prj-dect.adb (Parse_Attribute_Declaration): Process optional index
* prj-env.adb (Put): Output optional index
* prj-makr.adb: Put indexes for multi-unit sources in SFN pragmas and
attributes Spec and Body.
* prj-nmsc.adb: Process optional indexes
* prj-pp.adb: Ouput "at" for optional indexes
* prj-proc.adb: Take into account optional indexes
* prj-strt.ads, prj-strt.adb (Terms): New Boolean parameter
Optional_Index. For string literal,
process optional index when Optional_Index is True.
(Parse_Expresion): New Boolean parameter Optional_Index
* prj-tree.ads, prj-tree.adb (Source_Index_Of): New function
(Set_Source_Index_Of): New procedure
* prj-util.adb (Executable_Of, Value_Of): Take into account optional
index.
* prj-util.ads (Executable_Of): New parameter Index
(Value_Of (Name_Id, Array_Element_Id) returning Variable_Value):
New parameter Src_Index, defaulted to 0.
2004-05-05 Ed Schonberg <schonberg@gnat.com>
PR ada/15257
* sem_ch3.adb (Access_Definition): If this is an access parameter
whose designated type is imported through a limited_with clause, do
not add the enclosing subprogram to the list of private dependents of
the type.
2004-05-05 Ed Schonberg <schonberg@gnat.com>
PR ada/15258
* sem_ch6.adb (Base_Types_Match): True if one type is imported through
a limited_with clause, and the other is its non-limited view.
2004-05-05 Thomas Quinot <quinot@act-europe.fr>
* cstand.adb (Create_Standard): Initialize Stand.Boolean_Literals.
* exp_attr.adb, exp_ch5.adb, exp_ch9.adb, exp_disp.adb,
exp_fixd.adb, sem_attr.adb, sem_dist.adb, sem_util.adb: Use
Stand.Boolean_Literals to produce references to entities
Standard_False and Standard_True from compile-time computed boolean
values.
* stand.ads (Boolean_Literals): New variable, provides the entity
values for False and True, for use by the expander.
2004-05-05 Doug Rupp <rupp@gnat.com>
* 5vinmaop.adb, 5[vx]system.ads: Add Short_Address subtype
5vinmaop.adb: Unchecked convert Short_Address vice Address
* adaint.c, raise.c: Caste CRTL function return value
to avoid gcc error on 32/64 bit IVMS.
* Makefile.in [VMS]: Use iar archiver if host = Alpha/VMS and
target = IA64/VMS.
* init.c[VMS]: Only call Alpha specific __gnat_error_prehandler IN_RTS.
* 5qsystem.ads (Address): Declare as Long_Integer
(Short_Address): Declare as 32 bit subtype of Address
Declare abstract address operations to avoid gratuitous ambiguities.
2004-05-05 Jose Ruiz <ruiz@act-europe.fr>
* gnat_rm.texi: Use the new restriction Simple_Barriers (AI-249)
instead of the old Boolean_Entry_Barriers.
Ditto for No_Task_Attributes_Package instead of No_Task_Attributes.
2004-05-05 GNAT Script <nobody@gnat.com>
* Make-lang.in: Makefile automatically updated
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81519
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 5 May 2004 09:53:50 +0000 (09:53 +0000)]
2004-05-05 Mark Wielaard <mark@klomp.org>
* javax/swing/AbstractButton.java: Replace special HTML entities with
ASCII equivalent.
* javax/swing/DefaultBoundedRangeModel.java: Likewise.
* javax/swing/DefaultButtonModel.java: Likewise.
* javax/swing/DefaultListModel.java: Likewise.
* javax/swing/JList.java: Likewise.
* javax/swing/JSlider.java: Likewise.
* javax/swing/ListModel.java: Likewise.
* javax/swing/Popup.java: Likewise.
* javax/swing/SwingUtilities.java: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81518
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 5 May 2004 09:16:18 +0000 (09:16 +0000)]
2004-05-05 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractButton.java,
javax/swing/ActionMap.java,
javax/swing/DefaultButtonModel.java,
javax/swing/DefaultListModel.java,
javax/swing/ImageIcon.java,
javax/swing/JComboBox.java,
javax/swing/JComponent.java,
javax/swing/JFrame.java,
javax/swing/JInternalFrame.java,
javax/swing/JMenuBar.java,
javax/swing/JMenuItem.java,
javax/swing/JOptionPane.java,
javax/swing/JProgressBar.java,
javax/swing/JRootPane.java,
javax/swing/JScrollBar.java,
javax/swing/JScrollPane.java,
javax/swing/JSeparator.java,
javax/swing/JSlider.java,
javax/swing/JTabbedPane.java,
javax/swing/JTable.java,
javax/swing/JTextField.java,
javax/swing/JToolBar.java,
javax/swing/JToolTip.java,
javax/swing/JTree.java,
javax/swing/JViewport.java,
javax/swing/JWindow.java,
javax/swing/KeyStroke.java,
javax/swing/LookAndFeel.java,
javax/swing/SwingUtilities.java,
javax/swing/Timer.java,
javax/swing/ToolTipManager.java,
javax/swing/UIDefaults.java,
javax/swing/border/TitledBorder.java,
javax/swing/filechooser/FileSystemView.java,
javax/swing/plaf/basic/BasicButtonListener.java,
javax/swing/plaf/basic/BasicButtonUI.java,
javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
javax/swing/plaf/basic/BasicGraphicsUtils.java,
javax/swing/plaf/basic/BasicLabelUI.java,
javax/swing/plaf/basic/BasicMenuItemUI.java,
javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
javax/swing/plaf/basic/BasicRootPaneUI.java,
javax/swing/plaf/basic/BasicScrollBarUI.java,
javax/swing/plaf/basic/BasicScrollPaneUI.java,
javax/swing/plaf/basic/BasicSliderUI.java,
javax/swing/plaf/basic/BasicTabbedPaneUI.java,
javax/swing/plaf/basic/BasicToggleButtonUI.java,
javax/swing/table/JTableHeader.java,
javax/swing/text/AbstractDocument.java,
javax/swing/text/DefaultCaret.java,
javax/swing/text/StyledEditorKit.java,
javax/swing/tree/DefaultTreeCellEditor.java:
Cleaned up imports.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81517
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 5 May 2004 08:51:04 +0000 (08:51 +0000)]
2004-05-03 Tom Tromey <tromey@redhat.com>
* java/net/URLStreamHandler.java (toExternalForm): Removed
unused variables.
* java/math/BigDecimal.java (divide): Removed unused variable.
* java/lang/Throwable.java: Cleaned up imports.
* java/lang/ClassLoader.java: Cleaned up imports.
* java/io/FilePermission.java (implies): Removed unused
variable.
* java/awt/TextComponent.java: Removed unused import.
* gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
* gnu/java/util/DoubleEnumeration.java: Removed unused import.
* gnu/java/text/WordBreakIterator.java: Removed unused import.
* gnu/java/text/SentenceBreakIterator.java: Removed unused
import.
* gnu/java/text/LineBreakIterator.java: Removed unused import.
* gnu/java/text/CharacterBreakIterator.java: Removed
unused import.
* gnu/java/security/provider/DSAKeyPairGenerator.java:
Cleaned up imports.
* gnu/java/security/der/DERWriter.java: Cleaned up imports.
* gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
unused method.
* gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
* gnu/java/nio/FileLockImpl.java: Cleaned up imports.
* gnu/java/io/Base64InputStream.java: Cleaned up imports.
* gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
* gnu/classpath/ServiceFactory.java: Cleaned up imports.
(lookupProviders): Removed unused variable.
(loadNextServiceProvider): Likewise.
* gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81516
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 5 May 2004 08:47:37 +0000 (08:47 +0000)]
2004-05-05 Michael Koch <konqueror@gmx.de>
* java/util/prefs/AbstractPreferences.java
(AbstractPreferences): Added parenthesis for clarity.
Closes classpath bug #7940.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81515
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 5 May 2004 08:37:30 +0000 (08:37 +0000)]
* config/mips/mips.md: Update the madd define_split for new mflo/mfhi
representation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81514
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 5 May 2004 08:32:19 +0000 (08:32 +0000)]
2004-05-05 Tom Tromey <tromey@redhat.com>
* javax/naming/CompoundName.java (endsWith): Look at correct
element of source name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81513
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 5 May 2004 08:28:13 +0000 (08:28 +0000)]
2004-05-05 Mark Wielaard <mark@klomp.org>
Reported by f.haeglsperger@gmx.de [classpath patch #2485]
* java/util/HashMap.java (rehash): Add entry at start of bucket.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81512
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 5 May 2004 08:24:13 +0000 (08:24 +0000)]
2004-05-05 Tom Tromey <tromey@redhat.com>
* java/io/BufferedReader.java (skip): Removed unused
variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81511
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Wed, 5 May 2004 07:42:52 +0000 (07:42 +0000)]
2004-05-05 Paolo Bonzini <bonzini@gnu.org>
* config/rs6000/rs6000.c (build_opaque_vector_type):
New function.
(rs6000_init_builtins): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81509
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 5 May 2004 07:41:24 +0000 (07:41 +0000)]
* gcc.dg/torture/mips-hilo-2.c: Provide dummy __mips16 version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81508
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 5 May 2004 07:38:57 +0000 (07:38 +0000)]
2004-05-05 Michael Koch <konqueror@gmx.de>
* java/awt/FileDialog.java: Import java.io.Serializable explicitly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81507
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 5 May 2004 07:35:49 +0000 (07:35 +0000)]
2004-05-05 Dalibor Topic <robilad@kaffe.org>
* java/text/AttributedString.java,
java/text/AttributedStringIterator.java,
java/text/Collator.java,
java/text/DecimalFormatSymbols.java,
java/text/NumberFormat.java,
java/text/RuleBasedCollator.java:
Cleaned up imports.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81506
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 5 May 2004 07:31:05 +0000 (07:31 +0000)]
Patch from Bernard Giroud.
* gcc/gcc/vmsdbgout.c (vms_func_node, vms_func_ref): New.
(func_table): Change type from char ** to vms_func_ref.
(write_rtnbeg): Update to reflect func_table change. Use
fde->funcdef_number instead of rtnnum in output.
(write_rtnend, vmxdbgout_begin_function, vmsdbgout_init): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81505
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Wed, 5 May 2004 07:23:00 +0000 (07:23 +0000)]
gcc/ChangeLog:
2004-05-04 Paolo Bonzini <bonzini@gnu.org>
Richard Henderson <rth@redhat.com>
PR target/14899
* c-common.c (vector_types_convertible_p): New function.
* c-typeck.c (comptypes): Recurse on vector types.
(convert_for_assignment): Use vector_types_convertible_p.
(digest_init): Use vector_types_convertible_p to check
validness of constant vector initializers; otherwise treat
them as scalars.
* tree.c (make_or_reuse_type): New.
(build_common_tree_nodes): Use it.
* cp/call.c (standard_conversion): Likewise.
* cp/typeck.c (comptypes): Recurse on vector types.
(convert_for_assignment): Use vector_types_convertible_p.
* config/rs6000/rs6000.c (build_opaque_vector_type):
New function.
(rs6000_init_builtins): Use it.
gcc/testsuite/ChangeLog:
2004-05-04 Paolo Bonzini <bonzini@gnu.org>
* g++.dg/ext/spe1.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81504
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 5 May 2004 06:52:56 +0000 (06:52 +0000)]
2004-05-05 Tom Tromey <tromey@redhat.com>
* java/text/Format.java: Cleaned up imports.
* java/text/DecimalFormat.java: Cleaned up imports.
* java/security/SecureRandom.java: Cleaned up imports.
(SecureRandom): Removed unused variable.
* java/security/UnresolvedPermission.java: Cleaned up imports.
* java/util/Date.java (parse): Removed unused variable.
* java/util/ResourceBundle.java: Cleaned up imports.
(getBundle): Removed unused variable.
(tryBundle): Likewise.
* java/util/regex/Pattern.java (Pattern): Removed unused constructor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81503
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 5 May 2004 06:02:37 +0000 (06:02 +0000)]
2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/DecimalFormat.java
(MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
(applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
(parse): Fixed handling of exponentiation notation and grouping.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81502
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 5 May 2004 00:16:42 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81498
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Tue, 4 May 2004 23:57:42 +0000 (23:57 +0000)]
2004-05-04 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.c (override_options): Default to no
generation of branch-likely operations when tuning for
CPUs where they tend to have a negative performance impact
(e.g., SB-1).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81494
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 4 May 2004 22:14:12 +0000 (22:14 +0000)]
2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/SimpleDateFormat.java:
(formatWithAttribute): New method. It implements
the formatting process with attributes.
(format): Use formatWithAttribute.
(formatToCharacterIterator): New method. Use
formatWithAttribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81493
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 4 May 2004 22:05:25 +0000 (22:05 +0000)]
2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/MessageFormat.java:
(class Field): New class.
(formatToCharacterIterator): New method.
(format): Use formatInternal now.
(formatInternal): New method. String formatter should
be done here (with attributes). Attributes merging supported.
(parse): More documentation.
(getFormatsByArgumentIndex): New method.
(setFormatByArgumentIndex): New method.
(setFormatsByArgumentIndex): New method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81492
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 4 May 2004 22:00:30 +0000 (22:00 +0000)]
2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/DecimalFormat.java
(MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
(applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
(parse): Fixed handling of exponentiation notation and grouping.
2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/DecimalFormat.java
(scanFix): Build attribute array. Fixed error reporting.
(applyPatternWithSymbols): Store attributes for the prefix and
suffix.
(formatInternal): New method. Changed the way the string is
computed. Implemented attributes. Cleant up rounding in
exponential notation.
(format): Use formatInternal.
(formatToCharacterIterator): New method.
(exponentRound, negativePrefixRanges, positivePrefixRanges,
negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
New fields.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81491
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 4 May 2004 21:40:42 +0000 (21:40 +0000)]
2004-05-04 Dalibor Topic <robilad@kaffe.org>
* java/security/interfaces/DSAKeyPairGenerator.java,
java/security/interfaces/DSAPrivateKey.java,
java/security/interfaces/DSAPublicKey.java,
java/security/interfaces/RSAPrivateKey.java,
java/security/interfaces/RSAPublicKey.java:
Cleaned up imports.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81490
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 4 May 2004 21:31:30 +0000 (21:31 +0000)]
2004-05-04 Michael Koch <konqueror@gmx.de>
* java/nio/ByteBuffer.java,
java/nio/CharBuffer.java,
java/nio/DoubleBuffer.java,
java/nio/FloatBuffer.java,
java/nio/IntBuffer.java,
java/nio/LongBuffer.java,
java/nio/ShortBuffer.java:
(compareTo): Fixed bogus implementation in all buffer classes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81489
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 4 May 2004 19:57:35 +0000 (19:57 +0000)]
* expr.c (store_constructor_field): Don't call store_constructor
if bitsize is not a multiple of a byte.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81487
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 4 May 2004 19:27:11 +0000 (19:27 +0000)]
2004-05-04 Ingo Proetel <proetel@aicas.com>
* java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
32 bit pixels not 8 bit pixels.
(isCompatibleRaster): Added javadoc comment.
2004-05-04 Ingo Proetel <proetel@aicas.com>
* java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
scanline stride.
2004-05-04 Ingo Proetel <proetel@aicas.com>
* java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
(getColorModel): Return the actual color model.
(getRaster): Implemented.
(ColorRaster): New inner class.
* java/awt/SystemColor.java (createContext): Use ColorModel when creating
a PaintContext.
* java/awt/Color.java (<init>): Make exception more verbose.
(createContext): Use ColorModel when creating a PaintContext.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81486
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Tue, 4 May 2004 19:03:38 +0000 (19:03 +0000)]
2004-05-04 Ziemowit Laski <zlaski@apple.com>
* objc.dg/image-info.m: Allow additional attributes
for __image_info section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81483
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 4 May 2004 18:48:53 +0000 (18:48 +0000)]
2004-05-04 Michael Koch <konqueror@gmx.de>
* gnu/java/text/CharacterBreakIterator.java
(previous): Removed unused variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81482
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Tue, 4 May 2004 18:13:54 +0000 (18:13 +0000)]
* demangle.h: Do not use C++ reserved keyword typename as
parameter for cplus_demangle_fill_builtin_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81481
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 4 May 2004 17:57:39 +0000 (17:57 +0000)]
* reload1.c (inherit_piecemeal_p): New function.
(emit_reload_insns): When reloading a group of hard registers, use
inherit_piecemeal_p to decide whether the values of individual hard
registers can be inherited.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81480
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 4 May 2004 16:27:20 +0000 (16:27 +0000)]
2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
* gnu/java/text/FormatBuffer.java,
gnu/java/text/AttributedFormatBuffer.java,
gnu/java/text/StringFormatBuffer.java: New classes to implement
attributed iterators in java.text.
* gnu/java/text/FormatCharacterIterator.java: Moved
from java/text as it is an internal class.
* java/text/FormatCharacterIterator.java: Removed.
* java/text/Format.java:
Import gnu.java.text.FormatCharacterIterator.
* Makefile.am (java_source_files): Added new files.
* Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81479
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Tue, 4 May 2004 16:09:38 +0000 (16:09 +0000)]
2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
* config/ia64/t-ia64 (LIB2ADDEH): Remove gthr-gnat.c.
* config/s390/t-tpf (LIB2ADDEHDEP): Likewise.
* config/t-linux (LIB2ADDEHDEP): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81478
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Tue, 4 May 2004 14:23:18 +0000 (14:23 +0000)]
2004-05-04 Vladimir Makarov <vmakarov@redhat.com>
* MAINTAINERS (Various Maintainers): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81477
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Tue, 4 May 2004 11:33:56 +0000 (11:33 +0000)]
* config/arm/crti.asm: Push an even number of registers.
* config/arm/crtn.asm: And restore them. Load via sp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81473
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Tue, 4 May 2004 08:20:31 +0000 (08:20 +0000)]
2004-05-04 Paolo Bonzini <bonzini@gnu.org>
* ggc-zone.c (ggc_alloc_zone_1): Add MEM_STAT_DECL parameter.
Collect overhead information.
(ggc_alloc_stat): New name of ggc_alloc. Add MEM_STAT_DECL
parameter and pass it through.
(ggc_alloc_typed_stat): New name of ggc_alloc_typed. Add
MEM_STAT_DECL parameter and pass it through.
(ggc_alloc_zone_stat): New name of ggc_alloc_zone. Add
MEM_STAT_DECL parameter and pass it through.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81472
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 4 May 2004 05:37:32 +0000 (05:37 +0000)]
2004-05-02 Mark Wielaard <mark@klomp.org>
* gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81470
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 4 May 2004 05:32:46 +0000 (05:32 +0000)]
2004-05-04 Mark Wielaard <mark@klomp.org>
* gnu/java/nio/channels/FileChannelImpl.java
(finalize): New method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81469
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Tue, 4 May 2004 02:24:51 +0000 (02:24 +0000)]
* config/rs6000/rs6000-protos.h: Protoize rs6000_hard_regno_nregs.
* config/rs6000/rs6000.c (rs6000_hard_regno_nregs): New.
* config/rs6000/rs6000.h (HARD_REGNO_NREGS): Call
rs6000_hard_regno_nregs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81467
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Tue, 4 May 2004 01:20:40 +0000 (01:20 +0000)]
2004-05-03 Eric Christopher <echristo@redhat.com>
* config/s390/s390.c (s390_emit_prologue): Call unspec tpf
prologue insn instead of setting up call.
(s390_emit_epilogue): Ditto.
* config/s390/s390.md (prologue_tpf, epilogue_tpf): New patterns.
(define_constants): Add numbers for above patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81466
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Tue, 4 May 2004 01:16:47 +0000 (01:16 +0000)]
2004-05-03 Eric Christopher <echristo@redhat.com>
* config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Move body...
* config/s390/s390.c (s390_conditional_register_usage): ...here.
* config/s390/s390-protos.h: Prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81465
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 4 May 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81461
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 3 May 2004 22:59:50 +0000 (22:59 +0000)]
Patch from Joe Buck to workaround HP C bug.
* cppfiles.c (pchf_adder): Eliminate use of |= in d->have_once_only
assignment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81458
138bc75d-0d04-0410-961f-
82ee72b054a4