bernie [Fri, 14 Nov 2003 19:59:18 +0000 (19:59 +0000)]
* config/m68k/m68k.c: Use C statements instead of #ifdef's when testing
for MOTOROLA versus MIT syntax. Improves readability and provides
better compile-time error checking for both code paths.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73615
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 14 Nov 2003 19:38:39 +0000 (19:38 +0000)]
* libjava.jar/simple.jar: Replaced.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73614
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Fri, 14 Nov 2003 19:15:24 +0000 (19:15 +0000)]
2003-11-14 Kelley Cook <kcook@gcc.gnu.org>
* config/frv/frv-protos.h: Update for C90.
* config/frv/frv.h: Likewise.
* config/frv/frvbegin.c: Likewise.
* config/frv/frv.c: Likewise.
(frv_adjust_field_align): Delete unused variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73613
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 14 Nov 2003 19:05:16 +0000 (19:05 +0000)]
* config/rs6000/rs6000.md: Add 'DEFAULT_ABI == ABI_DARWIN'
to each place where TARGET_LONG_DOUBLE_128 is used with
DEFAULT_ABI == ABI_AIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73612
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 14 Nov 2003 19:00:04 +0000 (19:00 +0000)]
* cppfiles.c (_cpp_find_file): Make 'one or more PCH files were found'
message comply with GNU standards.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73611
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 14 Nov 2003 18:37:39 +0000 (18:37 +0000)]
PR c++/12762
* parser.c (cp_parser_enclosed_template_argument_list): New
function.
(cp_parser_template_id): Use it.
(cp_parser_simple_type_specifier): Recognize invalid template
syntax.
PR c++/12762
* g++.dg/template/error3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73610
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 14 Nov 2003 17:28:25 +0000 (17:28 +0000)]
PR/6552
* function.c (struct epi_info): New field const_equiv.
(update_epilogue_consts): New function.
(keep_stack_depressed): Clear new field and verify scratch register
doesn't have it set.
Call new function via note_stores.
(handle_epilogue_set): Allow setting SP equiv reg in different mode.
Allow PLUS where second operand is register known set to constant.
(emit_equiv_load): Write load using proper mode if source different.
* config/mips/mips.md (return_internal): Put (return) first.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73609
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Fri, 14 Nov 2003 16:49:19 +0000 (16:49 +0000)]
* lang.opt: Change -Wno-long-long to -Wlong-long since the latter
is the canonical version.
* misc.c (gnat_handle_option): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73607
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Fri, 14 Nov 2003 13:56:34 +0000 (13:56 +0000)]
* Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
* 5nsystem.ads: New file for x86_64-linux-gnu.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73606
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 14 Nov 2003 13:50:45 +0000 (13:50 +0000)]
* comperr.adb: Fix logic in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73605
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 14 Nov 2003 12:49:40 +0000 (12:49 +0000)]
* config/h8300/lib1funcs.asm (___udivsi3): Add a comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73604
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 14 Nov 2003 12:39:27 +0000 (12:39 +0000)]
* config/h8300/lib1funcs.asm (modsi3): Don't save unused
registers.
(divsi3): Likewise.
(reti): Don't restore unused registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73603
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 14 Nov 2003 11:52:46 +0000 (11:52 +0000)]
2003-11-14 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/locale/cons/12352.cc: Use
__gnu_test::try_named_locale.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73602
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 14 Nov 2003 11:50:59 +0000 (11:50 +0000)]
* sinfo.h, treeprs.ads: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73601
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 14 Nov 2003 11:49:34 +0000 (11:49 +0000)]
* nmake.ads, nmake.adb: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73600
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 14 Nov 2003 11:13:12 +0000 (11:13 +0000)]
config/fr30/fr30.c: Include toplev.h
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73599
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 14 Nov 2003 10:44:08 +0000 (10:44 +0000)]
* except.c (sjlj_emit_function_enter): Mark internal label as LOCAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73598
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 14 Nov 2003 10:41:47 +0000 (10:41 +0000)]
* arm.c (arm_emit_vector_const, arm_output_load_gr): Use ISO C
function definition syntax.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73597
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 14 Nov 2003 10:24:47 +0000 (10:24 +0000)]
2003-11-13 Vincent Celier <celier@gnat.com>
* 5bml-tgt.adb (Build_Dynamic_Library): Use
Osint.Include_Dir_Default_Prefix instead of
Sdefault.Include_Dir_Default_Name.
* gnatlbr.adb: Update Copyright notice
(Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
instead of Sdefault.Object_Dir_Default_Name
* gnatlink.adb:
(Process_Binder_File): Never suppress the option following -Xlinker
* mdll-utl.adb:
(Gcc): Use Osint.Object_Dir_Default_Prefix instead of
Sdefault.Object_Dir_Default_Name.
* osint.ads, osint.adb:
(Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
Minor reformatting.
* vms_conv.ads: Minor reformating
Remove GNAT STANDARD and GNAT PSTA
* vms_conv.adb:
Allow GNAT MAKE to have several files on the command line.
(Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
Sdefault.Object_Dir_Default_Name.
Minor Reformating
Remove data for GNAT STANDARD
* vms_data.ads:
Add new compiler qualifier /PRINT_STANDARD (-gnatS)
Remove data for GNAT STANDARD
Remove options and documentation for -gnatwb/-gnatwB: these warning
options no longer exist.
2003-11-13 Ed Falis <falis@gnat.com>
* 5zthrini.adb: (Init_RTS): Made visible
* 5zthrini.adb:
(Register): Removed unnecessary call to taskVarGet that checked whether
an ATSD was already set as a task var for the argument thread.
* s-thread.adb:
Updated comment to reflect that this is a VxWorks version
Added context clause for System.Threads.Initialization
Added call to System.Threads.Initialization.Init_RTS
2003-11-13 Jerome Guitton <guitton@act-europe.fr>
* 5zthrini.adb:
(Init_RTS): New procedure, for the initialization of the run-time lib.
* s-thread.adb:
Remove dependancy on System.Init, so that this file can be used in the
AE653 sequential run-time lib.
2003-11-13 Robert Dewar <dewar@gnat.com>
* bindgen.adb: Minor reformatting
2003-11-13 Ed Schonberg <schonberg@gnat.com>
* checks.adb:
(Apply_Discriminant_Check): Do no apply check if target type is derived
from source type with no applicable constraint.
* lib-writ.adb:
(Ensure_System_Dependency): Do not apply the style checks that may have
been specified for the main unit.
* sem_ch8.adb:
(Find_Selected_Component): Further improvement in error message, with
RM reference.
* sem_res.adb:
(Resolve): Handle properly the case of an illegal overloaded protected
procedure.
2003-11-13 Javier Miranda <miranda@gnat.com>
* exp_aggr.adb:
(Has_Default_Init_Comps): New function to check the presence of
default initialization in an aggregate.
(Build_Record_Aggr_Code): Recursively expand the ancestor in case of
extension aggregate of a limited record. In addition, a new formal
was added to do not initialize the record controller (if any) during
this recursive expansion of ancestors.
(Init_Controller): Add support for limited record components.
(Expand_Record_Aggregate): In case of default initialized components
convert the aggregate into a set of assignments.
* par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
describing the new syntax.
Nothing else needed to be done because this subprogram delegates part of
its work to P_Precord_Or_Array_Component_Association.
(P_Record_Or_Array_Component_Association): Give support to the new
syntax for default initialization of components.
* sem_aggr.adb:
(Resolve_Aggregate): Relax the strictness of the frontend in case of
limited aggregates.
(Resolve_Record_Aggregate): Give support to default initialized
components.
(Get_Value): In case of default initialized components, duplicate
the corresponding default expression (from the record type
declaration). In case of default initialization in the *others*
choice, do not check that all components have the same type.
(Resolve_Extension_Aggregate): Give support to limited extension
aggregates.
* sem_ch3.adb:
(Check_Initialization): Relax the strictness of the front-end in case
of aggregate and extension aggregates. This test is now done in
Get_Value in a per-component manner.
* sem_ch4.adb (Analyze_Allocator): Don't post an error if the
expression corresponds to a limited aggregate. This test is now done
in Get_Value.
* sinfo.ads, sinfo.adb (N_Component_Association): Addition of
Box_Present flag.
* sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
present in an N_Component_Association node
2003-11-13 Thomas Quinot <quinot@act-europe.fr>
* sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
type-conformant entry only if they are homographs.
2003-11-13 GNAT Script <nobody@gnat.com>
* Make-lang.in: Makefile automatically updated
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73596
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Fri, 14 Nov 2003 10:20:48 +0000 (10:20 +0000)]
2003-11-14 Eric Christopher <echristo@redhat.com>
* reload1.c (reload): Revert previous patch. Make
check for assignment into reg_equiv_address stricter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73595
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 14 Nov 2003 10:18:51 +0000 (10:18 +0000)]
* Makefile.in (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.
* gcc/Makefile.in (POSTSTAGE1_FLAGS_TO_PASS): Pass ADAFLAGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73594
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 14 Nov 2003 10:04:34 +0000 (10:04 +0000)]
* config/frv/frv.c (frv_in_small_data_p): Return false for unknown
section names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73593
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 14 Nov 2003 10:04:31 +0000 (10:04 +0000)]
PR ada/13035
* ada/acats/run_acats, run_all.sh: Fix syntax errors.
No longer use a wrapper for gcc, since this does not work under
Windows, use --GCC switch instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73592
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 14 Nov 2003 09:30:22 +0000 (09:30 +0000)]
2003-11-14 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/howto.html: Add entries for DR 63, 75
and 305; tweak entries for DR 60 and 328.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73591
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 14 Nov 2003 08:19:59 +0000 (08:19 +0000)]
PR middle-end/12526
* tree.c (build): A CALL_EXPR has side-effects if its arguments do.
* calls.c (call_expr_flags): New fn.
* tree.h: Declare it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73589
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 14 Nov 2003 08:17:45 +0000 (08:17 +0000)]
PR middle-end/12526
* tree.c (build): A CALL_EXPR has side-effects if its arguments do.
* calls.c (call_expr_flags): New fn.
* tree.h: Declare it.
* tree-cfg.c (call_expr_flags): Move to calls.c.
* tree-flow.h: Move prototype to tree.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73588
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 14 Nov 2003 08:17:33 +0000 (08:17 +0000)]
PR c++/13033
* c-simplify.c (gimplify_c_loop): Wrap the increment in a
CLEANUP_POINT_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73587
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 14 Nov 2003 08:08:23 +0000 (08:08 +0000)]
Removed, unused and does not compile on all platforms.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73585
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 14 Nov 2003 07:46:10 +0000 (07:46 +0000)]
New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73581
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Fri, 14 Nov 2003 05:13:45 +0000 (05:13 +0000)]
PR c++/2094
* g++.dg/template/ptrmem7.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73578
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Fri, 14 Nov 2003 04:51:21 +0000 (04:51 +0000)]
PR c++/2094
* pt.c (unify): Add support for PTRMEM_CST and
FIELD_DECL unification.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73577
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 14 Nov 2003 04:35:46 +0000 (04:35 +0000)]
* config/h8300/lib1funcs.asm (__udivsi3): Remove.
(divmodsi3): Change the name to ___udivsi3.
Update all callers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73576
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 14 Nov 2003 02:23:13 +0000 (02:23 +0000)]
* libgcc2.c (__negdi2, __addvsi3, __addvdi3, __subvsi3, __subvdi3,
__mulvsi3, __negvsi2, __negvdi2, __mulvdi3, __lshrdi3, __ashldi3,
__ashrdi3, __ffsDI2, __muldi3, __clzDI2, __ctzDI2, __parityDI2,
__udivmoddi4, __divdi3, __moddi3, __cmpdi2, __ucmpdi2,
__fixunstfDI, __fixunsxfDI, __fixunsdfDI, __fixunssfDI,
__floatdixf, __floatditf, __floatdidf, __floatdisf, __gcc_bcmp):
Const-ify and/or initialize automatic variables at declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73573
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 14 Nov 2003 02:06:37 +0000 (02:06 +0000)]
* config/h8300/lib1funcs.asm (divmodsi4): Replace all the uses
of er4 with er3. Adjust all callers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73572
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 14 Nov 2003 01:48:30 +0000 (01:48 +0000)]
* jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
JvGetStringUTFRegion.
* java/lang/natPosixProcess.cc (new_string): Pass length of string
to JvGetStringUTFRegion.
* java/lang/natDouble.cc (parseDouble): Pass length of string to
JvGetStringUTFRegion.
* java/lang/natWin32Process.cc (startProcess): Pass length of
string to JvGetStringUTFRegion.
* java/lang/natClass.cc (forName): Pass length of string to
JvGetStringUTFRegion.
* gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
of string to JvGetStringUTFRegion.
* gnu/gcj/convert/natIconv.cc (init): Pass length of string to
JvGetStringUTFRegion.
* gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
to JvGetStringUTFRegion.
* gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
string to JvGetStringUTFRegion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73571
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 14 Nov 2003 01:47:55 +0000 (01:47 +0000)]
+2003-11-13 Andrew Pinski <apinski@apple.com>
+
+ * config/darwin.c (machopic_output_possible_stub_label):
+ Allow stub symbol be not defined when outputting possible
+ stub label.
+
+2003-11-13 Andrew Pinski <apinski@apple.com>
+
+ * gcc.c-torture/compile/
20031113-1.c: New test.
+
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73570
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 14 Nov 2003 01:43:14 +0000 (01:43 +0000)]
2003-11-13 Tom Fitzsimmons <fitzsim@redhat.com>
* libjava.jni/jniutf.c: New file.
* libjava.jni/jniutf.java: New file.
* libjava.jni/jniutf.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73569
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 14 Nov 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73566
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 14 Nov 2003 00:15:00 +0000 (00:15 +0000)]
2003-11-13 Douglas Gregor <gregod@cs.rpi.edu>
* docs/html/debug.html: Users are allowed to specialize in
namespace __gnu_debug, unlike in the Apple version of the debug
mode. Clear up a confusing double-negative. Note that
std::basic_string does provide extra debugging capabilities, but
not safe iterators.
* include/bits/basic_string.tcc: Make sure there's never an
ambiguity when calling __is_null_pointer.
* include/debug/deque: (deque::erase) Properly handle invalidation
when erasing at the end of the deque.
* include/debug/vector: (vector::swap): Swap _M_guaranteed_capacity.
(vector::clear): Set the guaranteed capacity to 0.
* testsuite/23_containers/deque/invalidation/4.cc: (test04): Test
iterator invalidation when erasing at the end of the deque.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73564
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 13 Nov 2003 23:13:22 +0000 (23:13 +0000)]
2003-11-13 Paolo Carlini <pcarlini@suse.de>
Petur Runolfsson <peturr02@ru.is>
PR libstdc++/13007
* include/bits/fstream.tcc (imbue): Don't touch the stored
locale.
* include/std/std_streambuf.h (imbue): According to the
standard, base class version does nothing.
(pubimbue): Store the locale.
* testsuite/27_io/basic_filebuf/imbue/char/13007.cc: New.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: New.
* testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: New.
* testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: New.
* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: New.
* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73563
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 13 Nov 2003 22:28:07 +0000 (22:28 +0000)]
* config/h8300/lib1funcs.asm (___udivsi3): Jump to reti
instead of exitdiv.
(___umodsi3): Likewise.
(exitdiv): Do not restore any register.
(reti): Restore registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73560
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Thu, 13 Nov 2003 20:50:40 +0000 (20:50 +0000)]
* tree-inline.c (walk_tree): Handle PLACEHOLDER_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73557
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 13 Nov 2003 19:46:01 +0000 (19:46 +0000)]
* config/h8300/lib1funcs.asm: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73556
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 13 Nov 2003 19:42:03 +0000 (19:42 +0000)]
* config/h8300/lib1funcs.asm (udivsi3): Don't save/restore
unused registers. Don't jump to exitdiv.
(umodsi3): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73555
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 13 Nov 2003 19:40:19 +0000 (19:40 +0000)]
PR c/13029
* toplev.c (check_global_declarations): Do not warn about unused
static consts.
PR c/13029
* gcc.dg/unused-4.c: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73554
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 13 Nov 2003 17:43:48 +0000 (17:43 +0000)]
2003-11-13 Petur Runolfsson <peturr02@ru.is>
PR libstdc++/12594
* include/bits/ostream.tcc
(basic_ostream::operator<<(basic_ostream& (*)(basic_ostream&)),
basic_ostream::operator<<(basic_ios& (*)(basic_ios&)),
basic_ostream::operator<<(ios_base& (*)(ios_base&))):
Implement the resolution of DR 60 (TC): These are not formatted
output functions so don't construct sentry objects and don't
catch exceptions.
(basic_ostream::put, basic_ostream::write): Implement the
resolution of DR 63 (TC) by catching exceptions and setting
badbit.
(basic_ostream::flush): Implement the resolution of DR 60 (TC):
This is not an unformatted output function so don't construct
a sentry object.
* testsuite/testsuite_io.h (sync_streambuf): Define.
* testsuite/27_io/basic_ostream/flush/char/2.cc: New test.
* testsuite/27_io/basic_ostream/inserters_other/char/5.cc: New test.
* testsuite/27_io/basic_ostream/put/char/1.cc: New test.
* testsuite/27_io/basic_ostream/write/char/1.cc: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73551
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 13 Nov 2003 17:10:23 +0000 (17:10 +0000)]
* config/h8300/lib1funcs.asm (DenHighNonZero): Optimize using
the approximate quotient method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73550
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 13 Nov 2003 16:34:42 +0000 (16:34 +0000)]
* decl.c (grokfndecl): Change OK to type tree.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73549
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 13 Nov 2003 14:19:39 +0000 (14:19 +0000)]
2003-11-13 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1:
Fix, closely following the testcase included in the PR.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: Ditto.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: Ditto.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73548
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 13 Nov 2003 14:05:55 +0000 (14:05 +0000)]
* combine.c (distribute_notes): When re-distributing the notes from
an insn we are about to delete, ensure we can't end up with a cyclic
list of notes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73547
138bc75d-0d04-0410-961f-
82ee72b054a4
membar [Thu, 13 Nov 2003 10:09:40 +0000 (10:09 +0000)]
* gnu/java/nio/natSelectorImplPosix.cc
(helper_put_filedescriptors): Change to static linkage.
(helper_get_filedescriptors): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73545
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 13 Nov 2003 09:48:36 +0000 (09:48 +0000)]
PR optimization/12926
* expr.c (expand_assignment) [COMPONENT_REF]: Don't put
the UNCHANGING_RTX_P flag on memory references to read-only
components that are not addressable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73542
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 13 Nov 2003 04:26:00 +0000 (04:26 +0000)]
* config/h8300/lib1funcs.asm (divmodsi4): Clear S0P in
DenHighNonZero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73538
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 13 Nov 2003 02:07:57 +0000 (02:07 +0000)]
PR opt/12275
* c-decl.c (finish_decl): Use change_decl_assembler_name.
* c-pragma.c (handle_pragma_redefine_extname): Likewise.
* varasm.c (make_decl_rtl): Likewise.
* cgraph.c (change_decl_assembler_name): New function.
* tree.h (set_decl_assembler_name): Kill dead declaration.
(change_decl_assembler_name): Declare.
* decl.c (make_rtl_for_nonlocal_decl): Use change_decl_assembler_name.
* decl2.c (make_rtl_for_nonlocal_decl): Use change_decl_assembler_name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73532
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 13 Nov 2003 01:25:24 +0000 (01:25 +0000)]
PR optimization/12547
* lang.c (java_tree_inlining_walk_subtrees): Just walk
BLOCK_EXPR_BODY directly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73530
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Thu, 13 Nov 2003 01:21:28 +0000 (01:21 +0000)]
2003-11-13 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/17_intro/configury.html: XHTML tweak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73529
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Thu, 13 Nov 2003 00:49:58 +0000 (00:49 +0000)]
2003-11-13 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/debug_mode.html: XHTML fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73526
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 13 Nov 2003 00:25:23 +0000 (00:25 +0000)]
2003-11-12 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/debug_mode.html: Update.
* docs/html/17_intro/TODO: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73525
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 13 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73523
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 12 Nov 2003 23:48:25 +0000 (23:48 +0000)]
* tree.c (build_target_expr_with_type): Treate VA_ARG_EXPR like
CONSTRUCTOR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73521
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 12 Nov 2003 23:39:48 +0000 (23:39 +0000)]
* config/h8300/lib1funcs.asm (___mulsi3): Don't save/restore
an unused register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73520
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 12 Nov 2003 23:03:56 +0000 (23:03 +0000)]
PR bootstrap/12752
* config/mips/t-iris6 (MULTILIB_OPTIONS): Put -mabi=n32 first.
(MULTILIB_OSDIRNAMES): Reorder accordingly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73518
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Wed, 12 Nov 2003 22:52:09 +0000 (22:52 +0000)]
2003-11-12 Janis Johnson <janis187@us.ibm.com>
* rs6000-protos.h (rs6000_initial_elimination_offset): Add.
(rs6000_stack_info): Remove. (debug_stack_info): Remove.
(rs6000_emit_eh_reg_restore): Add
* rs6000.c (rs6000_stack_t): Move from rs6000.h, change data type
of vars_size and total_size to HOST_WIDE_INT.
(emit_frame_save): Change parameter size to HOST_WIDE_INT.
(rs6000_stack_info): Make static; change data size to HOST_WIDE_INT.
(debug_stack_info): Make static; change output format of HOST_WIDE_INT
values.
(rs6000_emit_eh_reg_restore): New, with code formerly in rs6000.md.
(rs6000_initial_elimination_offset): New, with code formerly in
INITIAL_ELIMINATION_OFFSET.
* rs6000.h (rs6000_stack_t): Remove.
(INITIAL_ELIMINATION_OFFSET): Replace code with call to function
rs6000_initial_elimination_offset.
* rs6000.md (UNSPECV_EH_RR split): Replace code with call to
rs6000_emit_eh_reg_restore.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73517
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 12 Nov 2003 22:31:22 +0000 (22:31 +0000)]
* g++.dg/parse/crash10.C: Remove bogus error marker.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73516
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 12 Nov 2003 22:20:34 +0000 (22:20 +0000)]
* decl.c (cp_make_fname_decl): When creating a top-level
__FUNCTION__-like symbol, do register it with pushdecl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73515
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Wed, 12 Nov 2003 22:03:49 +0000 (22:03 +0000)]
2003-11-12 Tom Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
null check.
* gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
* java/awt/Component.java (prepareImage): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73513
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Wed, 12 Nov 2003 21:30:24 +0000 (21:30 +0000)]
* adadecode.c: Use <> form of include for ctype.h.
* sysdep.c [IN_RTS]: Use <> form of include for time.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73512
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Wed, 12 Nov 2003 21:24:19 +0000 (21:24 +0000)]
* 5gsystem.ads (Functions_Return_By_DSP): Set to False.
Works around PR middle-end/6552.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73511
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Wed, 12 Nov 2003 21:21:55 +0000 (21:21 +0000)]
* ada/acats/run_acats (host_gnatmake): Use type in a /bin/sh script.
(host_gcc): Likewise.
(ROOT): Honor $PWDCMD.
(BASE): Likewise.
* ada/acats/run_all.sh (dir): Honor $PWDCMD.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73510
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 12 Nov 2003 19:57:56 +0000 (19:57 +0000)]
* decl.c (finish_case_label): Do not check that we are within a
switch statement here.
* parser.c (struct cp_parser): Add in_iteration_statement_p and
in_switch_statement_p.
(cp_parser_new): Initialize them.
(cp_parser_labeled_statement): Check validity of case labels
here.
(cp_parser_selection_statement): Set in_switch_statement_p.
(cp_parser_iteration_statement): Set in_iteration_statement_p.
(cp_parser_jump_statement): Check validity of break/continue
statements here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73508
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Wed, 12 Nov 2003 19:53:17 +0000 (19:53 +0000)]
* c-typeck.c (c_convert_parm_for_inlining): Add argnum, which
is the argumnt we are processing so that warnings and errors
will have that information.
* c-tree.h (c_convert_parm_for_inlining): Add argnum.
* lang-hooks-def.h
(lhd_tree_inlining_convert_parm_for_inlining): Likewse.
* langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): Likewise.
* langhooks.h (convert_parm_for_inlining): Likewise.
* tree-inline.c (initialize_inlined_parameters): Compute and
pass argnum down.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73507
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Wed, 12 Nov 2003 18:18:30 +0000 (18:18 +0000)]
2003-11-12 Andreas Tobler <a.tobler@schweiz.ch>
* configure.in, include/Makefile.am: PR libgcj/11147, install
the ffitarget.h header file in a gcc versioned and target
dependent place.
* configure: Regenerated.
* Makefile.in, include/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73504
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 12 Nov 2003 18:15:02 +0000 (18:15 +0000)]
PR c++/12735
* cp-tree.h (duplicate_decls): Return a tree.
* decl.c (duplicate_decls): Clarify documentation. Return
error_mark_node to indicate a failed redeclaration.
* friend.c (do_friend): Handle that case.
* name-lookup.c (pushdecl): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73503
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Wed, 12 Nov 2003 18:12:57 +0000 (18:12 +0000)]
2003-11-12 Alexey Starovoytov <alexey.starovoytov@sun.com>
Roger Sayle <roger@eyesopen.com>
PR optimization/12953
* tree-inline.c (inline_forbidden_p_1): Added check for BUILT_IN
before switch by FUNCTION_CODE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73502
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Wed, 12 Nov 2003 17:38:22 +0000 (17:38 +0000)]
2003-11-12 Tom Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
Rename to nativeSetAlignment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73500
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 12 Nov 2003 17:00:53 +0000 (17:00 +0000)]
2003-11-12 Andrew Haley <aph@redhat.com>
PR java/11045
* parse.y (fold_constant_for_init): Check that we really do have a
constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73497
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Wed, 12 Nov 2003 16:15:07 +0000 (16:15 +0000)]
* arm.md (storehi): Avoid use of explicit subreg.
(storehi_bigend, storeinthi, movhi_bigend): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73496
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Wed, 12 Nov 2003 16:02:48 +0000 (16:02 +0000)]
xfail frv-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73495
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 12 Nov 2003 15:24:42 +0000 (15:24 +0000)]
2003-11-12 Andrew Haley <aph@redhat.com>
PR java/11533
* lang.c (merge_init_test_initialization): Clear DECL_INITIAL for
init_test_decls being inlined.
PR java/12890:
* parse.y (do_resolve_class): Check return value from
breakdown_qualified().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73494
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 12 Nov 2003 14:05:42 +0000 (14:05 +0000)]
* config/sh/sh.md (prefetch): New pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73492
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 12 Nov 2003 11:21:34 +0000 (11:21 +0000)]
2003-11-12 Andreas Jaeger <aj@suse.de>
* intdoc.in (Signal Intrinsic (subroutine)): Fix texinfo warning
using @code.
* intdoc.texi: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73491
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 12 Nov 2003 11:19:10 +0000 (11:19 +0000)]
* gcc.dg/c99-const-expr-2.c (foo): Avoid extra warning on 64-bit
systems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73490
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 12 Nov 2003 09:58:53 +0000 (09:58 +0000)]
* intdoc.texi (Signal Intrinsic (subroutine)): Fix texinfo warning
using @code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73489
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Wed, 12 Nov 2003 08:33:46 +0000 (08:33 +0000)]
Resync.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73488
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Wed, 12 Nov 2003 07:24:25 +0000 (07:24 +0000)]
2003-11-11 Eric Christopher <echristo@redhat.com>
* reload1.c (reload): Verify that addresses for
reg_equiv_* are valid for the architecture.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73487
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 12 Nov 2003 07:12:20 +0000 (07:12 +0000)]
2003-11-12 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config: Move using directive...
* include/debug/formatter.h: ...here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73486
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 12 Nov 2003 06:44:46 +0000 (06:44 +0000)]
2003-11-12 Andreas Jaeger <aj@suse.de>
Jakub Jelinek <jakub@redhat.com>
Andrew Pinski <pinskia@physics.uc.edu>
Richard Henderson <rth@redhat.com>
* gcc.dg/c90-const-expr-2.c (foo): Avoid extra warning on 64-bit
systems.
* gcc.dg/
20030926-1.c: Make it work on x86_64 systems.
* gcc.dg/i386-pentium4-not-mull.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73485
138bc75d-0d04-0410-961f-
82ee72b054a4
membar [Wed, 12 Nov 2003 05:56:44 +0000 (05:56 +0000)]
* jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
(JNI_GetCreatedJavaVMs): Likewise.
(JNI_GetDefaultJavaVMInitArgs): Likewise.
* include/jni.h (JNIIMPEXP): Remove definition
and replace with...
(__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
symbols,
(__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73484
138bc75d-0d04-0410-961f-
82ee72b054a4
carlo [Wed, 12 Nov 2003 02:18:37 +0000 (02:18 +0000)]
PR libstdc++/12947
* bits/demangle.h
(_GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS): Added.
(_GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME): Added.
(session<Allocator>::next_peek() const): Added.
(decode_non_negative_decimal_integer(string_type&)):
Renamed from decode_decimal_integer(string_type&).
(session<Allocator>::decode_nested_name):
Decode <template_param> as well.
(session<Allocator>::add_substitution):
Handle <template-param> for <nested-name>'s.
(enum xary_nt): Added.
(struct entry_st): Added member `xary_nt type' instead of `bool unary'.
(symbol_name_table_c): Updated for `entry_st::type' and additional
operators (unary `operator+' and `sizeof(type)').
(offset_table_c): Updated for new operators (causing a new hash map).
(decode_operator_name): Match the updated hash map.
(session<Allocator>::decode_expression):
Support for `sizeof ([typename] type)' (st),
dependent names (sr) and casting operator (cv). Handle
`entry_st::type'. Handle _GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS
and _GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME.
(session<Allocator>::decode_type_with_postfix):
Support `extern "C"' function types (FY).
* testsuite/demangle/regression/cw-16.cc: Added tests for the
added functionality.
* testsuite/demangle/regression/3111-2.cc: sizeof now has a space
appended.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73480
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Wed, 12 Nov 2003 02:10:12 +0000 (02:10 +0000)]
2003-11-11 Eric Christopher <echristo@redhat.com>
* function.c (purge_addressof_1): Add libcall check.
Remove test for cached replacements on fallback case.
Simplify mode comparisons. Add libcall test for
paradoxical subregs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73479
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 12 Nov 2003 02:03:58 +0000 (02:03 +0000)]
* config/h8300/t-h8300: Fix an obsolete comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73478
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 12 Nov 2003 01:14:34 +0000 (01:14 +0000)]
2003-11-11 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/12875
* include/bits/fstream.tcc (setbuf): Don't do anything
after open(), in particular don't discard data.
(_M_allocate_internal_buffer): Tweak to not allocate memory
in case the buffer is provided by the user via setbuf.
* include/ext/stdio_filebuf.h: Tweak comment.
* testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: New.
* testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Tweak, now
setbuf does nothing after open().
* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73477
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Wed, 12 Nov 2003 00:37:34 +0000 (00:37 +0000)]
2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
* Makefile.am: Add GdkPixbufDecoder.java and
gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
* Makefile.in: Regenerate.
* gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
New constructor.
(startProduction): Create ByteArrayInputStream when url and filename are
null.
(produce): Declare stream parameter as InputStream.
* gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
as InputStream.
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
(GdkPixbufDecoder(byte[],int,int)): New constructor.
(produce): Declare stream parameter as InputStream.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
if image is null. Set image's observer before running PrepareImage
thread. Pass image to startProduction.
* gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
source's member functions.
(observer): New field.
(setObserver): New method.
(setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
* gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
new GtkImage.
(prepareImage): Implement.
* java/awt/Component.java: Add static fields incrementalDraw and
redrawRate.
(imageUpdate): Implement.
(createImage): Call Toolkit's createImage if peer is null.
(prepareImage): Throw NPE if image is null.
* java/awt/MediaTracker.java: Fix return value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73476
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 12 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73474
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 11 Nov 2003 22:33:06 +0000 (22:33 +0000)]
New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73469
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 11 Nov 2003 22:27:32 +0000 (22:27 +0000)]
* cp-tree.h (DECL_NAMESPACE_ASSOCIATIONS): New macro.
* name-lookup.c (parse_using_directive): New fn.
(is_associated_namespace): New fn.
(arg_assoc_namespace): Also check associated namespaces.
* name-lookup.h: Declare new fns.
* pt.c (maybe_process_partial_specialization): Allow
specialization in associated namespace.
* parser.c (cp_parser_using_directive): Accept attributes. Use
parse_using_directive.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73468
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Tue, 11 Nov 2003 21:54:04 +0000 (21:54 +0000)]
* gcc.c-torture/execute/
20020227-1.x: Test passes also on x86_64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73467
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Tue, 11 Nov 2003 21:48:05 +0000 (21:48 +0000)]
* gcc.c-torture/execute/
20020720-1.x: Test passes also on x86_64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73466
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 11 Nov 2003 20:54:38 +0000 (20:54 +0000)]
Undo accidental GET_MODE_BITSIZE damage.
(store_bit_field, extract_bit_field): Revert last two
changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73463
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 11 Nov 2003 20:20:07 +0000 (20:20 +0000)]
PR java/12915:
* parse.y (merge_string_cste): Handle case where we have a
pointer that happens to be zero, not null_pointer_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73461
138bc75d-0d04-0410-961f-
82ee72b054a4