aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-02-10darwin-longlong.c: Only use r0 in asm for darwin.Alan Modra3-4/+19
* gcc.dg/darwin-longlong.c: Only use r0 in asm for darwin. * gcc.dg/cpp/assert4.c: Handle powerpc64. From-SVN: r77578
2004-02-10* include/ext/pool_allocator.h: Include c++config.h.Loren J. Rittle2-0/+5
From-SVN: r77577
2004-02-10mt_allocator.h: thread_id is unused in non threaded applications and now has ↵Stefan Olsson2-0/+10
a ifdef to remove... 2004-02-09 Stefan Olsson <stefan@xapa.se> * include/ext/mt_allocator.h: thread_id is unused in non threaded applications and now has a ifdef to remove it completely on compilers without thread support. Include stdlib.h due to a compiler warning on getenv(). From-SVN: r77576
2004-02-10Daily bump.GCC Administrator2-2/+2
From-SVN: r77573
2004-02-09configure.host: Explicitly check for atomicity.h file.Paul Brook2-1/+5
2004-02-09 Paul Brook <paul@codesourcery.com> * libstdc++-v3/configure.host: Explicitly check for atomicity.h file. From-SVN: r77570
2004-02-09re PR libstdc++/14071 (locale::global doesn't always call setlocale)Paolo Carlini4-4/+62
2004-02-09 Paolo Carlini <pcarlini@suse.de> PR libstdc++/14071 * src/locale_init.cc (locale::global(const locale&)): Use locale::name() in order to decide whether calling setlocale. * testsuite/22_locale/locale/global_locale_objects/14071.cc: New. * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name()): Avoid computing &= unnecessarily. From-SVN: r77568
2004-02-09* de.po: Update.Joseph Myers2-8139/+9121
From-SVN: r77566
2004-02-10* gcc.dg/debug/20020327-1.c: xfail for powerpc64.Alan Modra2-1/+5
From-SVN: r77564
2004-02-09xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): No longer modify ↵DJ Delorie2-6/+6
standard_exec_prefix... * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): No longer modify standard_exec_prefix, standard_bindir_prefix, or standard_startfile_prefix. From-SVN: r77562
2004-02-09re PR c++/11295 (ICE when using a non-trivial object in a compound statement ↵James E Wilson2-1/+5
expression) PR c++/11295 * c-common.c (c_expand_expr, case STMT_EXPR): Change expand_expr call to expand_expr_real call, and pass in alt_rtl as last argument. From-SVN: r77557
2004-02-09re PR libstdc++/5625 ([mips] exception unwinding creates invalid pointer on ↵James E Wilson2-1/+9
mips) PR libstdc++/5625 * libsuspc++/eh_personality.cc (PERSONALITY_FUNCTION): Use __builtin_extend_pointer. From-SVN: r77555
2004-02-09re PR libstdc++/5625 ([mips] exception unwinding creates invalid pointer on ↵James E Wilson6-0/+36
mips) PR libstdc++/5625 * builtin-types.def (BT_WORD, BT_FN_WORD_PTR): New. * builtins.c (expand_builtin): Handle BUILT_IN_EXTEND_POINTER. * builtins.def (BUILT_IN_EXTEND_POINTER): New. * except.c (expand_builtin_extend_pointer): New. * except.h (expand_builtin_extend_pointer): Declare. From-SVN: r77554
2004-02-09rs6000.c (rs6000_emit_move): Remove splitting slow unaligned loads and stores.David Edelsohn2-40/+5
* config/rs6000/rs6000.c (rs6000_emit_move): Remove splitting slow unaligned loads and stores. From-SVN: r77549
2004-02-09iris5.h (BSS_SECTION_ASM_OP): Define.Rainer Orth4-48/+61
* config/mips/iris5.h (BSS_SECTION_ASM_OP): Define. * config/mips/iris6.h (BSS_SECTION_ASM_OP): Undef. * config/mips/iris6.h (TARGET_ASM_NAMED_SECTION): Moved ... * config/mips/iris5.h: ... here. * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Remove. * config/mips/iris6.h (EXTRA_SECTION_FUNCTIONS): Move ... * config/mips/iris5.h: ... here. From-SVN: r77546
2004-02-09configure.ac: Remove default executable files before AC_PROG_CC.Rainer Orth3-1/+24
* configure.ac: Remove default executable files before AC_PROG_CC. * configure: Regenerate. From-SVN: r77542
2004-02-09re PR target/13721 (SEGV on inline-asm)Kazu Hirata2-0/+9
PR target/13721 * config/h8300/h8300.c (byte_reg): Call abort() if asked to print a operand other than a register. From-SVN: r77539
2004-02-09[multiple changes]Arnaud Charlet29-1040/+1456
2004-02-09 Ed Schonberg <schonberg@gnat.com> * exp_ch4.adb (Expand_N_Op_Eq): When looking for the primitive equality for a tagged type, verify that both formals have the same type. * exp_ch6.adb (Add_Call_By_Copy_Code): Initialize properly the temporary when the formal is an in-parameter and the actual a possibly unaligned slice. * exp_ch9.adb (Expand_Entry_Barrier): Resolve barrier expression even when expansion is disabled, to ensure proper name capture with overloaded literals. Condition can be of any boolean type, resolve accordingly. * sem_ch8.adb (Analyze_Subprogram_Renaming): Emit warning if the renaming is for a formal subprogram with a default operator name, and there is a usable operator that is visible at the point of instantiation. 2004-02-09 Robert Dewar <dewar@gnat.com> * ali.adb (Scan_Ali) Add Ignore_Errors argument. This is a major rewrite to ignore errors in ali files, intended to allow tools downward compatibility with new versions of ali files. * ali.ads: Add new parameter Ignore_Errors * bcheck.adb (Check_Consistent_Restrictions): Fix error of sometimes duplicating the error message giving the file with restrictions. * debug.adb: Add debug flag I for gnatbind * errout.adb (Set_Msg_Insertion_Node): Suppress extra quotes around operators for the case where the operator is a defining operator. * exp_ch3.adb: Minor reformatting (new function spec format). * exp_ch4.adb: Add comment for previous change, and make minor adjustment to loop to always check for improper loop termination. Minor reformatting throughout (new function spec format). * gnatbind.adb: Implement -di debug flag for gnatbind * gnatlink.adb: Call Scan_ALI with Ignore_Errors set to True * gnatls.adb: Call Scan_ALI with Ignore_Errors set to True * lib-load.adb: Fix bad assertion. Found by testing and code reading. Minor reformatting. * lib-load.ads: Minor reformatting. * lib-writ.adb: There is only one R line now. * lib-writ.ads: Add documentation on making downward compatible changes to ali files so old tools work with new ali files. There is only one R line now. Add documentation on format incompatibilities (with special GPS note) * namet.ads, namet.adb: (Is_Operator_Name): New procedure * par-load.adb: Minor reformatting * sem_ch8.adb: Fix to error message from last update Minor reformatting and restructuring of code from last update * par-prag.adb, snames.adb, snames.ads, snames.h, sem_prag.adb: Implement pragma Profile. * stylesw.adb: Implement -gnatyN switch to turn off all style check options. * usage.adb: Add line for -gnatyN switch * vms_data.ads: Add entry STYLE_CHECKS=NONE for -gnatyN From-SVN: r77537
2004-02-09* call.c, parser.c, tree.c: Fix comment typos.Kazu Hirata4-5/+9
From-SVN: r77536
2004-02-09fold-const.c (fold): Use the original type conversion tree code rather than ↵Roger Sayle4-12/+33
call fold_convert... * fold-const.c (fold) <NOP_EXPR>: Use the original type conversion tree code rather than call fold_convert, which doesn't specify a default floating point to integer conversion. * gcc.c-torture/compile/20040209-1.c: New test case. From-SVN: r77535
2004-02-09* src/types.c (pointer): POWERPC64 has 8 byte pointers.Alan Modra2-1/+3
From-SVN: r77533
2004-02-09[multiple changes]Arnaud Charlet8-38/+128
2004-02-09 Albert Lee <lee@gnat.com> * errno.c: define _SGI_MP_SOURCE for task-safe errno on IRIX 2004-02-09 Ed Schonberg <schonberg@gnat.com> * exp_ch3.adb (Build_Slice_Assignment): Handle properly case of null slices. * exp_ch6.adb (Expand_Call): Do not inline a call when the subprogram is nested in an instance that is not frozen yet, to avoid order-of-elaboration problems in gigi. * sem_attr.adb (Analyze_Attribute, case 'Access): Within an inlined body the attribute is legal. 2004-02-09 Robert Dewar <dewar@gnat.com> * s-rident.ads: Minor comment correction * targparm.adb: Remove dependence on uintp completely. There was always a bug in Make in that it called Targparm before initializing the Uint package. The old code appeared to get away with this, but the new code did not! This caused an assertion error in gnatmake. * targparm.ads: Fix bad comment, restriction pragmas with parameters are indeed fully supported. From-SVN: r77531
2004-02-09MAINTAINERS: Add myself to write-after-approval.Paolo Bonzini2-0/+5
2004-02-09 Paolo Bonzini <bonzini@gnu.org> * MAINTAINERS: Add myself to write-after-approval. From-SVN: r77530
2004-02-09re PR libstdc++/14072 (basic_ios::imbue leaves dangling pointers)Paolo Carlini4-1/+238
2004-02-09 Paolo Carlini <pcarlini@suse.de> PR libstdc++/14072 * include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale): Don't leave dangling pointers. * testsuite/27_io/basic_ios/imbue/14072.cc: New. * testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put facet is needed in the final test. From-SVN: r77526
2004-02-08parse.y (resolve_qualified_expression_name): In case of inaccessible class ↵Per Bothner2-1/+13
don't use not_accessible_field_error... * parse.y (resolve_qualified_expression_name): In case of inaccessible class don't use not_accessible_field_error, which can get confused. From-SVN: r77525
2004-02-09crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.Bernardo Innocenti3-2/+19
* crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*. * configure: Regenerate. From-SVN: r77523
2004-02-09ffi.c (ffi_prep_args64): Correct long double handling.Alan Modra5-19/+48
* src/powerpc/ffi.c (ffi_prep_args64): Correct long double handling. (ffi_closure_helper_LINUX64): Fix typo. * testsuite/libffi.call/cls_align_longdouble.c: Pass -mlong-double-128 for powerpc64-*-*. * testsuite/libffi.call/float.c: Likewise. * testsuite/libffi.call/float2.c: Likewise. From-SVN: r77522
2004-02-09m68k.c, m68k.md (SGS, [...]): Remove code to support SGS assembler.Bernardo Innocenti7-460/+189
* config/m68k/m68k.c, config/m68k/m68k.md (SGS, SGS_CMP_ORDER): Remove code to support SGS assembler. Reformat adjacent code where possible. * config/m68k/m68k.c (switch_table_difference_label_flag): Remove definition. * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Remove support for '%#'. * config/m68k/linux.h, config/m68k/m68k.c, * config/m68k/math-68881.h: Replace `%#' with `#' in inline asm macros and asm_printf() format strings. * config/m68k/m68kelf.h (ASM_OUTPUT_CASE_END): Remove macro definition. * config/m68k/linux.h: Update copyright. * config/m68k/linux.h, config/m68k/m68k.c: Remove traling whitespace. From-SVN: r77518
2004-02-09Daily bump.GCC Administrator2-2/+2
From-SVN: r77515
2004-02-09m68k.h (REGISTER_NAMES): Prefix each name with REGISTER_PREFIX.Bernardo Innocenti1-3/+20
* config/m68k/m68k.h (REGISTER_NAMES): Prefix each name with REGISTER_PREFIX. * (M68K_FP_REG_NAME): New macro to specify an alternate name for the frame pointer register, overridable by OS targets. * (M68K_REGNAME): Macro to obtain register name for asm output, eventually replacing %a6 with M68K_FP_REG_NAME. * config/m68k/coff.h (REGISTER_NAMES): Don't redefine. * config/m68k/linux.h (REGISTER_NAMES): Likewise. * config/m68k/m68kelf.h (REGISTER_NAMES): Likewise. * config/m68k/netbsd-elf.h (REGISTER_NAMES): Likewise. * config/m68k/m68k.c: Use M68K_REGNAME(x) in place of reg_names[x]. From-SVN: r77511
2004-02-09m68k.h (REGISTER_NAMES): Prefix each name with REGISTER_PREFIX.Andreas Schwab7-106/+75
* config/m68k/m68k.h (REGISTER_NAMES): Prefix each name with REGISTER_PREFIX. * (M68K_FP_REG_NAME): New macro to specify an alternate name for the frame pointer register, overridable by OS targets. * (M68K_REGNAME): Macro to obtain register name for asm output, eventually replacing %a6 with M68K_FP_REG_NAME. * config/m68k/coff.h (REGISTER_NAMES): Don't redefine. * config/m68k/linux.h (REGISTER_NAMES): Likewise. * config/m68k/m68kelf.h (REGISTER_NAMES): Likewise. * config/m68k/netbsd-elf.h (REGISTER_NAMES): Likewise. * config/m68k/m68k.c: Use M68K_REGNAME(x) in place of reg_names[x]. Co-Authored-By: Bernardo Innocenti <bernie@develer.com> From-SVN: r77510
2004-02-08Fixed a typo in ChangeLog.Kazu Hirata1-1/+2
From-SVN: r77507
2004-02-08target-def.h (TARGET_STRUCT_VALUE_RTX): Define as hook_rtx_tree_int_null.Kazu Hirata23-51/+21
* target-def.h (TARGET_STRUCT_VALUE_RTX): Define as hook_rtx_tree_int_null. * targhooks.c (default_struct_value_rtx): Remove. * targhooks.h: Remove the prototype for default_struct_value_rtx. * config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c, config/fr30/fr30.c, config/h8300/h8300.c, config/i386/i386.c, config/ip2k/ip2k.c, config/iq2000/iq2000.c, config/m32r/m32r.c, config/mcore/mcore.c, config/mips/mips.c, config/mn10300/mn10300.c, config/pdp11/pdp11.c, config/rs6000/rs6000.c, config/s390/s390.c, config/stormy16/stormy16.c, config/v850/v850.c, config/xtensa/xtensa.c (TARGET_STRUCT_VALUE_RTX): Remove. * doc/tm.texi (TARGET_STRUCT_VALUE_RTX): Document the default. From-SVN: r77505
2004-02-08ByteBuffer.java (shiftDown): New helper method.Per Bothner13-548/+489
* java/nio/ByteBuffer.java (shiftDown): New helper method. * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation. * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method. * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers. Pass ByteOrder parameter to most methods, since the underlying ByteBuffer's order isn't always what we should use. * java/nio/ByteBufferImpl.java: Pass byte-order various places. * java/nio/DirectByteBufferImpl.java: Likewise. Use ByteBufferHelper methods. * java/nio/MappedByteBufferImpl.java: Likewise. (compact): Use shiftDown. * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order. (get, put): Use ByteBufferHelper. (compact): Use new shiftDown method. (duplicate(boolean)): New helper method. (duplicate, asReadOnlyBuffer): Use it. (order): Return endian field. * java/nio/DoubleViewBufferImpl.java: Likewise. * java/nio/FloatViewBufferImpl.java: Likewise. * java/nio/IntViewBufferImpl.java: Likewise. * java/nio/LongViewBufferImpl.java: Likewise. * java/nio/ShortViewBufferImpl.java: Likewise. * java/nio/CharViewBufferImpl.java (subsequence): Redundant test. * java/nio/DirectByteBufferImpl.java (shiftDown): New native method. (compact): Re-implement using shiftDown. From-SVN: r77501
2004-02-08README.Portability: Change "ISO C89" to "ISO C90".Joseph Myers5-7/+16
* README.Portability: Change "ISO C89" to "ISO C90". * c-parse.in (primary, initelt): Likewise. testsuite: * gcc.dg/c90-init-1.c: Adjust expected error messages. From-SVN: r77499
2004-02-08real.c (encode_ibm_extended): Normalize the input value before converting it ↵Richard Sandiford5-4/+40
to a double. * real.c (encode_ibm_extended): Normalize the input value before converting it to a double. Handle the case where a normal value rounds to infinity. From-SVN: r77498
2004-02-08c-objc-common.c (): Fix a typo in a warning.Kazu Hirata4-31/+41
* c-objc-common.c (): Fix a typo in a warning. * cse.c (preferrable): Change to preferable. Update all of its callers. * genautomata.c (ainsn): Change first_ainsn_with_given_equialence_num to first_ainsn_with_given_equivalence_num. Update all of its references. From-SVN: r77497
2004-02-08* g++.dg/eh/simd-2.C: Adjust line numbers for SPARC.Eric Botcazou2-1/+7
From-SVN: r77495
2004-02-08re PR libstdc++/14026 (std::uncaught_exception is true although there are no ↵Richard Henderson3-3/+46
uncaught exceptions (rethrow, ghost exception)) PR libstdc++/14026 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust uncaughtExceptions during nested catch rethrow. * testsuite/18_support/14026.cc: New. From-SVN: r77492
2004-02-08* include/x86_64-signal.h: Fix typo.Andreas Jaeger2-1/+5
From-SVN: r77491
2004-02-08i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatile qualifier to _regs.Diego Novillo1-1/+1
* include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatile qualifier to _regs. From-SVN: r77489
2004-02-08i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatile qualifier to _regs.Diego Novillo1-0/+1
* include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatile qualifier to _regs. [[Split portion of a mixed commit.]] From-SVN: r77488.2
2004-02-08basic_string.tcc (assign(const _CharT*, size_type)): When working in place ↵Paolo Carlini2-0/+7
remember to set the state to sharable (otherwise... 2004-02-08 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.tcc (assign(const _CharT*, size_type)): When working in place remember to set the state to sharable (otherwise, _M_mutate does it). From-SVN: r77487
2004-02-08* gcc.c-torture/execute/va-arg-25.x: XFAIL only on SPARC 64-bit.Eric Botcazou2-8/+24
From-SVN: r77485
2004-02-08i386-signal.h (MAKE_THROW_FRAME): Add volatile qualifier to _regs.Diego Novillo2-1/+6
* include/i386-signal.h (MAKE_THROW_FRAME): Add volatile qualifier to _regs. From-SVN: r77484
2004-02-08ffi.c (ffi_prep_cif_machdep <FFI_LINUX64>): Correct long double function ↵Alan Modra4-82/+110
return and long double arg handling. * src/powerpc/ffi.c (ffi_prep_cif_machdep <FFI_LINUX64>): Correct long double function return and long double arg handling. (ffi_closure_helper_LINUX64): Formatting. Delete unused "ng" var. Use "end_pfr" instead of "nf". Correct long double handling. Localise "temp". * src/powerpc/linux64.S (ffi_call_LINUX64): Save f2 long double return value. * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Allocate space for long double return value. Adjust stack frame and offsets. Load f2 long double return. From-SVN: r77481
2004-02-08* schedule-ebb.c (schedule_ebbs): Do not allocate reg life data.Jan Hubicka2-1/+4
From-SVN: r77480
2004-02-08Remove trailing whitespace (see ChangeLog for longwinded description).Bernardo Innocenti65-3434/+3470
From-SVN: r77479
2004-02-07* function.c (assign_parms): Fix formatting.David Edelsohn2-1/+6
From-SVN: r77478
2004-02-08default.h (PROMOTE_PROTOTYPES): Remove.Kazu Hirata7-50/+30
* default.h (PROMOTE_PROTOTYPES): Remove. * system.h (PROMOTE_FUNCTION_RETURN, PROMOTE_PROTOTYPES, STRUCT_VALUE_REGNUM, SETUP_INCOMING_VARARGS, EXPAND_BUILTIN_SAVEREGS): Poison. * target-def.h (TARGET_PROMOTE_FUNCTION_RETURN): Define as hook_bool_tree_false. (TARGET_PROMOTE_PROTOTYPES): Likewise. * target.h: Replace SETUP_INCOMING_VARARGS with targetm.calls.setup_incoming_varargs(). * targhooks.c (default_promote_function_return): Remove. (default_promote_prototypes): Likewise. (default_struct_value_rtx): Always abort(). (default_expand_builtin_saveregs): Always print an error message. (default_setup_incoming_varargs): Do nothing. (default_pretend_outgoing_varargs_named): Don't depend on SETUP_INCOMING_VARARGS. * targhooks.h: Remove the prototype for default_promote_function_return and default_promote_prototypes. From-SVN: r77477
2004-02-08system.h (SHARED_SECTION_ASM_OP): Poison.Kazu Hirata4-17/+8
* system.h (SHARED_SECTION_ASM_OP): Poison. * varasm.c (data_section): Don't use SHARED_SECTION_ASM_OP. * doc/tm.texi (SHARED_SECTION_ASM_OP): Remove. From-SVN: r77476