- 11 Nov, 2003 5 commits
-
-
* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Remove accidental commit in previous change. From-SVN: r73440
David Edelsohn committed -
From-SVN: r73439
Fariborz Jahanian committed -
Reviewed by David Edelsohn. From-SVN: r73438
Fariborz Jahanian committed -
2003-11-10 Gary Benson <gbenson@redhat.com> * java/sql/Timestamp.java (valueOf): Correctly handle nanoseconds. From-SVN: r73437
Gary Benson committed -
From-SVN: r73435
GCC Administrator committed
-
- 10 Nov, 2003 16 commits
-
-
From-SVN: r73431
Richard Henderson committed -
* config/darwin-protos.h (darwin_assemble_visibility): Declare. * config/darwin.c (darwin_assemble_visibility): Define. Warn for anything other than VISIBILITY_DEFAULT and VISIBILITY_HIDDEN. * config/darwin.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Use darwin_assemble_visibility instead of default. From-SVN: r73430
Matt Austern committed -
jcf-parse.c (classify_zip_file): Correctly compare filename_length against length of manifest file's name. * jcf-parse.c (classify_zip_file): Correctly compare filename_length against length of manifest file's name. From-SVN: r73429
Tom Tromey committed -
From-SVN: r73427
Richard Henderson committed -
* libjava.jar/simple.jar: New file. * libjava.jar/simple.xfail: New file. * libjava.jar/simple.out: New file. * libjava.jar/simple.java: New file. * libjava.jar/jar.exp: New file. From-SVN: r73426
Tom Tromey committed -
2003-11-10 Ed Falis <falis@gnat.com> * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted * 5zinit.adb: (Install_Handler): Moved back to spec (Install_Signal_Handlers): Deleted * 5zthrini.adb: Added context clause for System.Storage_Elements (Register): Only handles creation of taskVar; initialization moved to Thread_Body_Enter. (Reset_TSD): Deleted; replaced by Thread_Body_Enter Added declaration of environment task secondary stack and initialization. * s-thread.adb: Implement bodies for thread body processing * s-thread.ads: Added comment identifying supported targets for pragma Thread_Body. 2003-11-10 Pascal Obry <obry@gnat.com> * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than GNAT_MAX_PATH_LEN. * s-fileio.adb: (Open): Properly check for string length before copying into the buffer. Raises Name_Error if buffer is too small. Note that this was a potential buffer overflow. 2003-11-10 Arnaud Charlet <charlet@act-europe.fr> * bindgen.adb, comperr.adb: Code clean ups. * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function. 2003-11-10 Sergey Rybin <rybin@act-europe.fr> * gnat1drv.adb: Add call to Sem_Elim.Initialize. 2003-11-10 Vincent Celier <celier@gnat.com> * gprcmd.adb: (Gprcmd): Add new command "prefix" to get the prefix of the GNAT installation. * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler * prj.adb: (Project_Empty): Add new boolean component Virtual * prj.ads: (Virtual_Prefix): New constant string (Project_Data): New boolean component Virtual * prj-nmsc.adb (Language_Independent_Check): Adjust error message when a library project is extended by a virtual extending project. * prj-part.adb: Modifications throughout to implement extending-all project, including: (Virtual_Hash, Processed_Hash): New hash tables (Create_Virtual_Extending_Project): New procedure (Look_For_Virtual_Projects_For): New procedure * prj-proc.adb: (Process): After checking the projects, if main project is an extending-all project, set the object directory of all virtual extending project to the object directory of the main project. Adjust error message when a virtual extending project has the same object directory as an project being extended. (Recursive_Process): If name starts with the virtual prefix, set Virtual to True in the project data. * prj-tree.adb: (Default_Project_Node): Add new boolean component Extending_All (Is_Extending_All): New function (Set_Is_Extending_All): New procedure * prj-tree.ads: (Is_Extending_All): New function (Set_Is_Extending_All): New procedure (Project_Node_Record): New boolean component Extending_All * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib * vms_data.ads: Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call "gprcmd prefix" to define it. 2003-11-10 Thomas Quinot <quinot@act-europe.fr> * einfo.ads: Fix a typo and remove an extraneous word in comments. * lib-load.adb: (Create_Dummy_Package_Unit): Set the scope of the entity for the created dummy package to Standard_Standard, not to itself, to defend other parts of the front-end against encoutering a cycle in the scope chain. * sem_ch10.adb: (Analyze_With_Clause): When setting the entities for the successive N_Expanded_Names that constitute the name of a child unit, do not attempt to go further than Standard_Standard in the chain of scopes. This case arises from the placeholder units created by Create_Dummy_Package_Unit in the case of a with_clause for a nonexistent child unit. 2003-11-10 Ed Schonberg <schonberg@gnat.com> * exp_ch6.adb: (Expand_Thread_Body): Place subprogram on scope stack, so that new declarations are given the proper scope. * sem_ch13.adb: (Check_Expr_Constants): Reject an expression that contains a constant created during expansion, and that appears after the object to which the address clause applies. * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of Analyze_Iteration_Scheme, to rewrite a loop parameter specification that uses 'Range of a function call with controlled components, so that the function result can be finalized before starting the loop. * sem_ch8.adb: (Find_Selected_Component): Improve error message when prefix is an implicit dereference of an incomplete type. 2003-11-10 Robert Dewar <dewar@gnat.com> * opt.ads: New Print_Standard flag for -gnatS switch * sem_ch13.adb: Remove some additional checks for unaligned arrays * cstand.adb (Create_Standard): Print out package standard if -gnatS switch set * debug.adb: Update doc for -gnatds to discuss relationship with new -gnatS flag * sinfo.adb: Add new field Entity_Or_Associated_Node * sinfo.ads: Add new field Entity_Or_Associated_Node Update documentation for Associated_Node and Entity fields to clarify relationship and usage. * sprint.adb: (Write_Id): Properly process Associated_Node field in generic template * switch-c.adb: Recognize new -gnatS switch for printing package Standard This replaces gnatpsta * usage.adb: Add line for new -gnatS switch for printing package Standard This replaces gnatpsta From-SVN: r73423
Arnaud Charlet committed -
* ada/acats/run_all.sh: Add handling of unsupported (tasking) tests. Clean ups. From-SVN: r73422
Arnaud Charlet committed -
* 7sosprim.adb: tv_usec of struct_timeval and time_t are long integer. From-SVN: r73419
Andreas Jaeger committed -
From-SVN: r73413
Arnaud Charlet committed -
* Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta, no longer needed. * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed. * sysdep.c: Add handling of cygwin. From-SVN: r73412
Arnaud Charlet committed -
From-SVN: r73411
GNAT Script committed -
From-SVN: r73409
Arnaud Charlet committed -
PR 12950 * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New functions. Used to handle dynamic prefix relocation, via set_std_prefix. Replace GNAT_ROOT by GCC_ROOT. * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb From-SVN: r73407
Arnaud Charlet committed -
re PR c++/12832 (ICE: tree check: expected class 'd', have 'x' (error_mark) in location_of, at cp/error.c:1962) PR c++/12832 * name-lookup.c (supplement_binding): Gracefully handle names used at non-class scope prior declaration. From-SVN: r73406
Gabriel Dos Reis committed -
PR target/12865 * config/sparc/sparc.c (sparc_initialize_trampoline): Call __enable_execute_stack only after writing onto the stack. (sparc64_initialize_trampoline): Likewise. From-SVN: r73402
Waldek Hebisch committed -
From-SVN: r73400
GCC Administrator committed
-
- 09 Nov, 2003 12 commits
-
-
From-SVN: r73398
Tom Tromey committed -
2003-11-09 Andrew Pinski <pinskia@physics.uc.edu> * gcc.c-torture/compile/200031109-1.c: New test. From-SVN: r73397
Andrew Pinski committed -
2003-11-09 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (_M_insert_int, _M_insert_float): Move a couple of vars inside an if block. From-SVN: r73395
Paolo Carlini committed -
2003-11-09 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libffi.call/closure_fn0.c: Print result and check with dg-output to make debugging easier. * testsuite/libffi.call/closure_fn1.c: Likewise. * testsuite/libffi.call/closure_fn2.c: Likewise. * testsuite/libffi.call/closure_fn3.c: Likewise. * testsuite/libffi.call/closure_fn4.c: Likewise. * testsuite/libffi.call/closure_fn5.c: Likewise. * testsuite/libffi.call/cls_12byte.c: Likewise. * testsuite/libffi.call/cls_16byte.c: Likewise. * testsuite/libffi.call/cls_18byte.c: Likewise. * testsuite/libffi.call/cls_19byte.c: Likewise. * testsuite/libffi.call/cls_1_1byte.c: Likewise. * testsuite/libffi.call/cls_20byte.c: Likewise. * testsuite/libffi.call/cls_20byte1.c: Likewise. * testsuite/libffi.call/cls_24byte.c: Likewise. * testsuite/libffi.call/cls_2byte.c: Likewise. * testsuite/libffi.call/cls_3_1byte.c: Likewise. * testsuite/libffi.call/cls_3byte1.c: Likewise. * testsuite/libffi.call/cls_3byte2.c: Likewise. * testsuite/libffi.call/cls_4_1byte.c: Likewise. * testsuite/libffi.call/cls_4byte.c: Likewise. * testsuite/libffi.call/cls_5byte.c: Likewise. * testsuite/libffi.call/cls_64byte.c: Likewise. * testsuite/libffi.call/cls_6byte.c: Likewise. * testsuite/libffi.call/cls_7byte.c: Likewise. * testsuite/libffi.call/cls_8byte.c: Likewise. * testsuite/libffi.call/cls_9byte1.c: Likewise. * testsuite/libffi.call/cls_9byte2.c: Likewise. * testsuite/libffi.call/cls_double.c: Likewise. * testsuite/libffi.call/cls_float.c: Likewise. * testsuite/libffi.call/cls_schar.c: Likewise. * testsuite/libffi.call/cls_sint.c: Likewise. * testsuite/libffi.call/cls_sshort.c: Likewise. * testsuite/libffi.call/cls_uchar.c: Likewise. * testsuite/libffi.call/cls_uint.c: Likewise. * testsuite/libffi.call/cls_ulonglong.c: Likewise. * testsuite/libffi.call/cls_ushort.c: Likewise. * testsuite/libffi.call/problem1.c: Likewise. * testsuite/libffi.special/unwindtest.cc: Make ffi_closure static. From-SVN: r73393
Andreas Tobler committed -
loop.c (check_dbra_loop): Try swapping the comparison operands of the loop condition to identify a... * loop.c (check_dbra_loop): Try swapping the comparison operands of the loop condition to identify a suitable induction variable. * unroll.c (loop_iterations): Likewise. From-SVN: r73391
Roger Sayle committed -
* config/sparc/sparc.h (TARGET_CPU_CPP_BUILTINS): Fix sparc vs sparc64 #cpu and #machine assertions. From-SVN: r73390
Kaveh R. Ghazi committed -
2003-11-09 Paolo Carlini <pcarlini@suse.de> PR libstdc++/12971 * include/bits/locale_facets.tcc (money_put::do_put(..., long double)): Fix conversion specification as per DR 328 [WP]. * testsuite/22_locale/money_put/put/char/12971.cc: Add. * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Ditto. * docs/html/ext/howto.html: Add entry for DR 328. From-SVN: r73389
Paolo Carlini committed -
From-SVN: r73386
Richard Henderson committed -
From-SVN: r73385
Jan Hubicka committed -
* cgraphunit.c (cgraph_expand_function): Use cgraph_possibly_inlined_p. * tree-optimize.c (tree_rest_of_compilation): Do not kill saved tree. * opts.c (common_handle_option): Do not set max-inline-insns. * params.def: Update comments. (PARAM_MAX_INLINE_INSNS): Kill. * invoke.texi (max-inline-insns): Kill. From-SVN: r73384
Jan Hubicka committed -
* cgraphunit.c (cgraph_expand_function): Use cgraph_possibly_inlined_p. * tree-optimize.c (tree_rest_of_compilation): Do not kill saved tree. * opts.c (common_handle_option): Do not set max-inline-insns. * params.def: Update comments. (PARAM_MAX_INLINE_INSNS): Kill. * invoke.texi (max-inline-insns): Kill. From-SVN: r73382
Jan Hubicka committed -
From-SVN: r73380
GCC Administrator committed
-
- 08 Nov, 2003 7 commits
-
-
PR c/3190 PR c/8714 * c-format.c (set_Wformat): Do not enable -Wformat-y2k by default. * invoke.texi: Update. testsuite: PR c/3190 PR c/8714 * gcc.dg/format/c90-strftime-1.c, gcc.dg/format/c90-strftime-2.c, gcc.dg/format/c99-strftime-1.c, gcc.dg/format/ext3.c, gcc.dg/format/no-y2k-1.c: Update. From-SVN: r73378
Joseph Myers committed -
2003-11-08 Paolo Carlini <pcarlini@suse.de> PR libstdc++/12967 * include/bits/list.tcc (merge): Implement resolution of DR 300 [WP]. * docs/html/ext/howto.html: Add entry for DR 300; tweak entry for DR 231. * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html: Import R27. From-SVN: r73377
Paolo Carlini committed -
PR java/12894: * jcf-parse.c (classify_zip_file): Only skip MANIFEST.MF file. From-SVN: r73376
Tom Tromey committed -
PR optimization/12630 * pa.c (compute_movstrsi_length): Rename to compute_movstr_length. Handle length computation 64-bit moves. (compute_clrstr_length, output_block_clear): Implement block clear. (output_block_move): Handle 64-bit moves. (pa_adjust_insn_length): Use compute_movstr_length and compute_clrstr_length. * pa.md (movstrsi): Revise operand order and comments. Don't use match_scratch. (movstrsi_internal): Delete. (movstrsi_prereload, movstrsi_postreload): New insns. Define splitter and peephole2 patterns to transform prereload to postreload form. (movstrdi, movstrdi_prereload, movstrdi_postreload, clrstrsi, clrstrsi_prereload, clrstrsi_postreload, clrstrdi, clrstrdi_prereload, clrstrdi_postreload): New patterns for 64-bit block move, and block clear. * pa-protos.h (output_block_clear): New prototype. From-SVN: r73375
John David Anglin committed -
2003-11-08 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libffi.call/cls_9byte2.c: New test case. * testsuite/libffi.call/cls_9byte1.c: Likewise. * testsuite/libffi.call/cls_64byte.c: Likewise. * testsuite/libffi.call/cls_20byte1.c: Likewise. * testsuite/libffi.call/cls_19byte.c: Likewise. * testsuite/libffi.call/cls_18byte.c: Likewise. * testsuite/libffi.call/closure_fn4.c: Likewise. * testsuite/libffi.call/closure_fn5.c: Likewise. * testsuite/libffi.call/cls_schar.c: Likewise. * testsuite/libffi.call/cls_sint.c: Likewise. * testsuite/libffi.call/cls_sshort.c: Likewise. * testsuite/libffi.call/nested_struct2.c: Likewise. * testsuite/libffi.call/nested_struct3.c: Likewise. From-SVN: r73372
Andreas Tobler committed -
From-SVN: r73371
Tom Tromey committed -
* dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO. From-SVN: r73370
Andreas Schwab committed
-