- 15 Nov, 2005 26 commits
-
-
2005-11-14 Pascal Obry <obry@adacore.com> Vincent Celier <celier@adacore.com> * gnatdll.adb (Parse_Command_Line): Remove redundant use of GNAT.Command_Line. * memroot.adb: Remove redundant with/use clause on System.Storage_Elements. From-SVN: r106958
Pascal Obry committed -
* adaint.h, adaint.c (__gnat_is_cross_compiler): New constant. (Gnat_Install_Locks, __gnatlib_install_locks): Removed, no longer used. (convert_address): Update comments and list of platforms using this. * s-tasini.adb (Gnat_Install_Locks, __gnatlib_install_locks): Removed, no longer used. From-SVN: r106957
Arnaud Charlet committed -
s-taprop-posix.adb (Initialize_Lock): Destroy mutex attribute before raising the exception so the memory used is freed. 2005-11-14 Jose Ruiz <ruiz@adacore.com> * s-taprop-posix.adb (Initialize_Lock): Destroy mutex attribute before raising the exception so the memory used is freed. From-SVN: r106956
Jose Ruiz committed -
2005-11-14 Arnaud Charlet <charlet@adacore.com> * s-traces-default.adb, s-trafor-default.ads, s-tratas-default.adb: Fix compilation errors. From-SVN: r106955
Arnaud Charlet committed -
2005-11-14 Doug Rupp <rupp@adacore.com> * system-vms.ads, system-vms_64.ads: ADA$GNAT: New exported object in private part. From-SVN: r106954
Doug Rupp committed -
2005-11-14 Vincent Celier <celier@adacore.com> * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, mlib-tgt-hpux.adb, mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb, mlib-tgt-vms-alpha.adb, mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-mingw.adb, mlib-tgt-vxworks.adb, mlib-tgt-darwin.adb, mlib-tgt.adb, mlib-tgt.ads, mlib-tgt-lynxos.adb (DLL_Prefix): New function From-SVN: r106953
Vincent Celier committed -
2005-11-14 Matthew Gingell <gingell@adacore.com> * system-lynxos-ppc.ads, system-lynxos-x86.ads: Increase default priority on Lynx from 15 to 17, and meet the Ada requirement that Default_Priority be ((Priority'First + Priority'Last) / 2) by increasing the range of Interrupt_Priority. From-SVN: r106952
Matthew Gingell committed -
2005-11-14 Robert Dewar <dewar@adacore.com> * exp_vfpt.adb: Handle /= case (Expand_Vax_Conversion): Properly recognize Conversion_OK flag so that we do not get duplicate scaling for fixed point conversions. * s-vaflop.ads, s-vaflop.adb: (Ne_F): New function From-SVN: r106951
Robert Dewar committed -
2005-11-14 Robert Dewar <dewar@adacore.com> Ed Schonberg <schonberg@adacore.com> PR ada/18434 * types.ads: Include All_Checks in Suppress_Array * checks.adb (Check_Needed): Remove kludge for a/=b rewritten as not(a=b), since we no longer do this rewriting, and hence it is not needed. (Elaboration_Checks_Suppressed): Add special casing to deal with different cases of static and dynamic elaboration checks (all checks does not count in the first case, but does in the second). (Expr_Known_Valid): Do not assume that the result of any arbitrary function call is valid, since this is not the case. (Ensure_Valid): Do not apply validity check to a real literal in a universal or fixed context * exp_ch4.adb (Expand_N_Op_Ne): Don't expand a/=b to not(a=b) for elementary types using the operator in standard. It is cleaner not to modify the programmers intent, especially in the case of floating-point. (Rewrite_Comparison): Fix handling of /= (this was always wrong, but it did not matter because we always rewrote a/=b to not(a=b). (Expand_Allocator_Expression): For an allocator expression whose nominal subtype is an unconstrained packed type, convert the expression to its actual constrained subtype. Implement warning for <= or >= where < or > not possible Fix to Vax_Float tests (too early in many routines, causing premature Vax_Float expansions. * sem_prag.adb (Analyze_Pragma, case Obsolescent): Allow this pragma to be used with packages and generic packages as well as with subprograms. (Suppress): Set All_Checks, but not Elaboration_Check, for case of pragma Suppress (All_Checks) (Analyze_Pragma, case Warnings): Implement first argument allowed to be a string literal for precise control over warnings. Avoid raise of pragma in case of unrecognized pragma and just return instead. * sem_prag.ads: Minor reformatting * switch-c.adb (Scan_Front_End_Switches): Replace "raise Bad_Switch;" with call to new procedure Bad_Switch. Call Scan_Pos with new parameter Switch. Do not handle any exception. Include -gnatwx as part of -gnatg (warn on redundant parens) Allow optional = after -gnatm (Scan_Front_End_Switches): The -gnatp switch sets All_Checks, but no longer sets Elaboration_Checks. Code to set warning mode moved to Sem_Warn so that it can be shared by pragma processing. * s-mastop-tru64.adb (Pop_Frame): Remove redundant parentheses in if statement. * s-taprop-solaris.adb: Change some <= to =, to avoid new warning * a-exexda.adb, prj-proc.adb: Fix obvious typo (Num_Tracebacks compared <= 0 instead of < 0) Fix obvious typo (Total_Errors_Detected <= 0 should be = 0) From-SVN: r106950
Robert Dewar committed -
2005-11-14 Thomas Quinot <quinot@adacore.com> * g-soccon.ads: Minor reformatting. Update comments. * gsocket.h: Include <sys/times.h> in the VxWorks case, in order to gain visibility on the declaration of struct timeval. * g-soccon-freebsd.ads, g-soccon-darwin.ads, g-soccon-tru64.ads, g-soccon-aix.ads, g-soccon-irix.ads, g-soccon-hpux.ads, g-soccon-solaris.ads, g-soccon-vms.ads, g-soccon-mingw.ads, g-soccon-vxworks.ads (SIZEOF_tv_sec, SIZEOF_tv_usec): New constants. * g-soccon-hpux-ia64.ads, g-soccon-linux-ppc.ads, g-soccon-solaris-64.ads, g-soccon-linux-64.ads, g-soccon-linux-x86.ads: New files. * g-socthi-mingw.adb: (Socket_Error_Message): Remove redundant use of GNAT.Sockets.Constants * g-socthi-vxworks.ads, g-socthi-vms.ads, g-socthi-mingw.ads (time_t, suseconds_t): New types constructed to match the tv_sec and tv_usec fields of C struct timeval. (Timeval): Construct structure in terms of the new types. (Host_Errno): New function (imported from socket.c), returns last hosts database error. * g-socthi-vxworks.adb: Add error handling circuitry. * g-socket.ads, g-socket.adb (To_Timeval): Reflect change of type for components of struct timeval. (Get_Host_By_Name, Get_Host_By_Address): Fix error reporting circuitry. (Check_Selector): In error conditions, clear internal socket sets to avoid a memory leak. (Get_Socket_Option, Set_Socket_Option): Support for Multicast_If, Send_Timeout, Receive_Timeout. * g-socthi.ads (time_t, suseconds_t): New types constructed to match the tv_sec and tv_usec fields of C struct timeval. (Timeval): Construct structure in terms of the new types. (Host_Errno): New function (imported from socket.c), returns last hosts database error. * socket.c (__gnat_get_h_errno): New function to retrieve h_errno, the hosts database last error code. * gen-soccon.c: Complete value expansion should not be performed on TARGET, as it has the form of a math expression, and some components may be platform-defined macros. For VxWorks, generate the OK and ERROR values. New constants giving the sizes of the components of C struct timeval. From-SVN: r106949
Thomas Quinot committed -
* invoke.texi (large-unit-insns): Document. * ipa-inline.c (cgraph_decide_inlining): Use large-unit-insns param. * params.def (large-unit-insns): New param. * gcc.dg/winline-5.c: Add large-unit-insns limit. From-SVN: r106948
Jan Hubicka committed -
PR target/24869 * config/cris/cris.md ("*mov_sidesisf_mem"): Do not match special register for operand 3. Reindent constraints to align them vertically. From-SVN: r106946
Hans-Peter Nilsson committed -
* doc/invoke.texi (RS/6000 and PowerPC Options): Add -mmfcrf, -mpopcntb, -mfprnd. Add -mcpu=power5+. * configure.ac: Add test for FP rounding instructions. * configure: Regenerate. * config.in: Regenerate. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define _ARCH_PPCSQ, _ARCH_PPCGR, _ARCH_PWR4, _ARCH_PWR5, _ARCH_PWR5X if features enabled. * config/rs6000/rs6000.opt (mfprnd): New. * config/rs6000/rs6000.c (processor_target_table): Add power5+. (POWERPC_MASKS): Add MASK_POPCNTB and MASK_FPRND. * config/rs6000/aix52.h (ASM_CPU_SPEC): Add -mpower5+. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -mpower5+. (TARGET_FPRND): New. * config/rs6000/rs6000.md (UNSPEC_FRIM, UNSPEC_FRIN, UNSPEC_FRIP, UNSPEC_FRIZ): New. (btrunc<mode>2): New. (ceil<mode>2): New. (floor<mode>2): New. (round<mode>2): New. From-SVN: r106938
David Edelsohn committed -
* acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Don't check for shared libgcc for darwin exports. * configure: Regenerate. From-SVN: r106936
Geoffrey Keating committed -
* gcc.c (version_compare_spec_function): Use fatal() rather than abort(). * config/rs6000/darwin.h (DARWIN_CRT2_SPEC): New. (SUBTARGET_EXTRA_SPECS): Define %(darwin_crt2). * config/i386/darwin.h (SUBTARGET_EXTRA_SPECS): Define %(darwin_crt2) as empty. * config/darwin.h (STARTFILE_SPEC): Use %(darwin_crt2) to possibly link in crt2.o. * config/darwin.h (REAL_LIBGCC_SPEC): Link in shared libgcc depending on -mmacosx-version-min setting. From-SVN: r106935
Geoffrey Keating committed -
From-SVN: r106933
David Edelsohn committed -
PR 24840 * tree-vrp.c (infer_value_range): Return false if STMT is a block terminator and its basic block has no successors. testsuite/ PR 24840 * gcc.dg/tree-ssa/pr24840.c: New test. From-SVN: r106930
Diego Novillo committed -
* config/i386/i386.c (override_options): -masm=intel isn't supported on darwin. * doc/invoke.texi (i386 and x86-64 Options): Likewise. From-SVN: r106927
Mike Stump committed -
* crtstuff.c: Undefine gid_t, pid_t, rlim_t, ssize_t, uid_t and vfork after including auto-host.h. From-SVN: r106924
Joseph Myers committed -
PR testsuite/24841 * gcc.dg/attr-weakref-1.c: Rearrange test directives. From-SVN: r106923
Janis Johnson committed -
PR rtl-optimization/22002 * combine.c (distribute_notes): Detect cases where a reg dies two or more times in a bb, including on the insn we are combining, and place the death note on the correct range. From-SVN: r106921
Alan Modra committed -
2005-11-14 Dale Johannesen <dalej@apple.com> * gcc.c-torture/execute/20051113-1.c: New. From-SVN: r106920
Dale Johannesen committed -
2005-11-14 Dale Johannesen <dalej@apple.com> * expmed.c (store_bit_field): Add offset unconditionally for memory targets. (extract_bit_field): Don't force extzv or extv operand into a register if field is too big. From-SVN: r106919
Dale Johannesen committed -
From-SVN: r106914
GCC Administrator committed -
PR c++/24687 * pt.c (check_explicit_specialization): Don't check for C linkage. (push_template_decl_real): Likewise. * parser.c (cp_parser_explicit_specialization): Check here. (cp_parser_template_declaration_after_export): And here. PR c++/24687 * g++.dg/template/crash43.C: New test. From-SVN: r106909
Mark Mitchell committed -
* parser.c (cp_lexer_get_preprocessor_token): Initialize keyword field. From-SVN: r106907
Mark Mitchell committed
-
- 14 Nov, 2005 14 commits
-
-
PR c++/24580 * method.c (locate_ctor): Skip all artificial parms, not just 'this'. From-SVN: r106901
Jason Merrill committed -
2005-11-14 Janne Blomqvist <jb@gcc.gnu.org> PR fortran/21468 * Makefile.am: Add -ftree-vectorize for compiling matmul. * m4/matmul.m4: Add const and restrict to type declarations as appropriate. * m4/matmull.m4: Likewise. * Makefile.in: Regenerated. * generated/matmul_*.c: Likewise. From-SVN: r106898
Janne Blomqvist committed -
* java/net/natVMNetworkInterfaceWin32.cc: Include java/net/VMNetworkInterface.h. From-SVN: r106895
Mohan Embar committed -
* gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright. (read): Handle count == 0 case. Co-Authored-By: David Daney <ddaney@avtrex.com> From-SVN: r106894
Mohan Embar committed -
* config/arm/arm.c (pic_labelno): New. (arm_load_pic_register): Use an UNSPEC_PIC_LABEL instead of a LABEL_REF. Pass only the labelno to PIC insns. (arm_call_tls_get_addr, legitimize_tls_address): Likewise. (arm_output_addr_const_extra): Handle UNSPEC_PIC_LABEL. * arm.md (UNSPEC_PIC_LABEL): New constant. (pic_add_dot_plus_four, pic_add_dot_plus_eight) (tls_load_dot_plus_eight): Expect a labelno instead of a LABEL_REF. Use the correct label prefix. From-SVN: r106893
Daniel Jacobowitz committed -
* config/arm/arm.c (legitimize_tls_address): Use correct rtx for REQ_EQUIV note. From-SVN: r106892
Daniel Jacobowitz committed -
cpplib.h (struct cpp_callbacks): Annotate error with ATTRIBUTE_FPTR_PRINTF(3,0) instead of ATTRIBUTE_PRINTF(3,0). * include/cpplib.h (struct cpp_callbacks): Annotate error with ATTRIBUTE_FPTR_PRINTF(3,0) instead of ATTRIBUTE_PRINTF(3,0). Co-Authored-By: Ian Lance Taylor <ian@airs.com> From-SVN: r106891
Gerald Pfeifer committed -
From-SVN: r106890
Daniel Jacobowitz committed -
From-SVN: r106889
Mark Mitchell committed -
* loop-invariant.c: Include tm_p.h. * Makefile.in: Updated. From-SVN: r106888
Richard Earnshaw committed -
* loop-invariant.c: Include tm_p.h. * Makefile.in: Updated. From-SVN: r106887
Richard Earnshaw committed -
2005-11-14 Robert Dewar <dewar@adacore.com> PR ada/18434 * osint-m.adb: Add pragma Elaborate_All for Osint From-SVN: r106886
Robert Dewar committed -
re PR c++/24817 (g++ accepts multiple function template declarations even if exception-specification doesn't match.) PR c++/24817 * decl.c (check_redeclaration_exception_specification): New function. (duplicate_decls): Use it. * error.c (fndecl_to_string): Print the template parameter list. PR c++/24817 * g++.dg/eh/spec8.C: New test. From-SVN: r106884
Mark Mitchell committed -
From-SVN: r106883
Hans-Peter Nilsson committed
-