summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PR c++/2094bernie2003-11-142-0/+48
| | | | | | | * g++.dg/template/ptrmem7.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73578 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/2094bernie2003-11-142-0/+28
| | | | | | | | * 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
* * config/h8300/lib1funcs.asm (__udivsi3): Remove.kazu2003-11-142-7/+18
| | | | | | | | (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
* * libgcc2.c (__negdi2, __addvsi3, __addvdi3, __subvsi3, __subvdi3,ghazi2003-11-142-144/+86
| | | | | | | | | | | | __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
* * config/h8300/lib1funcs.asm (divmodsi4): Replace all the useskazu2003-11-142-18/+17
| | | | | | | of er4 with er3. Adjust all callers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73572 138bc75d-0d04-0410-961f-82ee72b054a4
* * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string totromey2003-11-1410-14/+36
| | | | | | | | | | | | | | | | | | | | | | | 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
* +2003-11-13 Andrew Pinski <apinski@apple.com>pinskia2003-11-144-1/+32
| | | | | | | | | | | | | | | + + * 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
* 2003-11-13 Tom Fitzsimmons <fitzsim@redhat.com>tromey2003-11-144-0/+32
| | | | | | | | | * 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
* Daily bump.gccadmin2003-11-142-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73566 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-11-13 Douglas Gregor <gregod@cs.rpi.edu>bkoz2003-11-147-7/+32
| | | | | | | | | | | | | | | | | | | * 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
* 2003-11-13 Paolo Carlini <pcarlini@suse.de>paolo2003-11-1311-13/+375
| | | | | | | | | | | | | | | | | | | | | | 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
* * config/h8300/lib1funcs.asm (___udivsi3): Jump to retikazu2003-11-132-7/+12
| | | | | | | | | | 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
* * tree-inline.c (walk_tree): Handle PLACEHOLDER_EXPR.steven2003-11-132-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73557 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/lib1funcs.asm: Fix comment typos.kazu2003-11-132-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73556 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/lib1funcs.asm (udivsi3): Don't save/restorekazu2003-11-132-2/+21
| | | | | | | | 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
* PR c/13029mmitchel2003-11-134-2/+19
| | | | | | | | | | | * 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
* 2003-11-13 Petur Runolfsson <peturr02@ru.is>bkoz2003-11-137-53/+408
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* * config/h8300/lib1funcs.asm (DenHighNonZero): Optimize usingkazu2003-11-132-25/+56
| | | | | | | the approximate quotient method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73550 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c (grokfndecl): Change OK to type tree.rearnsha2003-11-132-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73549 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-11-13 Paolo Carlini <pcarlini@suse.de>paolo2003-11-135-6/+14
| | | | | | | | | | | * 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
* * combine.c (distribute_notes): When re-distributing the notes fromrearnsha2003-11-132-5/+13
| | | | | | | | 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
* * gnu/java/nio/natSelectorImplPosix.ccmembar2003-11-132-2/+8
| | | | | | | | (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
* PR optimization/12926ebotcazou2003-11-134-1/+60
| | | | | | | | | * 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
* * config/h8300/lib1funcs.asm (divmodsi4): Clear S0P inkazu2003-11-132-1/+6
| | | | | | | DenHighNonZero. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73538 138bc75d-0d04-0410-961f-82ee72b054a4
* PR opt/12275hubicka2003-11-1310-9/+104
| | | | | | | | | | | | | | | * 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
* PR optimization/12547jason2003-11-132-10/+9
| | | | | | | | * 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
* 2003-11-13 Jonathan Wakely <redi@gcc.gnu.org>redi2003-11-132-1/+5
| | | | | | | * 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
* 2003-11-13 Jonathan Wakely <redi@gcc.gnu.org>redi2003-11-132-10/+13
| | | | | | | * docs/html/debug_mode.html: XHTML fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73526 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-11-12 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-11-133-114/+171
| | | | | | | | * 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
* Daily bump.gccadmin2003-11-132-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73523 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.c (build_target_expr_with_type): Treate VA_ARG_EXPR likemmitchel2003-11-122-2/+7
| | | | | | | CONSTRUCTOR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73521 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/lib1funcs.asm (___mulsi3): Don't save/restorekazu2003-11-122-2/+5
| | | | | | | an unused register. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73520 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/12752rsandifo2003-11-122-2/+8
| | | | | | | | * 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
* 2003-11-12 Janis Johnson <janis187@us.ibm.com>janis2003-11-125-91/+137
| | | | | | | | | | | | | | | | | | | | | | | * 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
* * g++.dg/parse/crash10.C: Remove bogus error marker.mmitchel2003-11-122-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73516 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c (cp_make_fname_decl): When creating a top-levelmmitchel2003-11-122-2/+6
| | | | | | | __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
* 2003-11-12 Tom Fitzsimmons <fitzsim@redhat.com>fitzsim2003-11-124-9/+5
| | | | | | | | | | * 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
* * adadecode.c: Use <> form of include for ctype.h.ro2003-11-123-2/+7
| | | | | | | * 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
* * 5gsystem.ads (Functions_Return_By_DSP): Set to False.ro2003-11-122-1/+6
| | | | | | | Works around PR middle-end/6552. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73511 138bc75d-0d04-0410-961f-82ee72b054a4
* * ada/acats/run_acats (host_gnatmake): Use type in a /bin/sh script.ro2003-11-123-5/+13
| | | | | | | | | | (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
* * decl.c (finish_case_label): Do not check that we are within ammitchel2003-11-123-19/+66
| | | | | | | | | | | | | | | | 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
* * c-typeck.c (c_convert_parm_for_inlining): Add argnum, whichmrs2003-11-128-13/+31
| | | | | | | | | | | | | | | 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
* 2003-11-12 Andreas Tobler <a.tobler@schweiz.ch>andreast2003-11-127-88/+178
| | | | | | | | | | | | * 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
* PR c++/12735mmitchel2003-11-125-54/+91
| | | | | | | | | | | * 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
* 2003-11-12 Alexey Starovoytov <alexey.starovoytov@sun.com>sayle2003-11-122-36/+46
| | | | | | | | | | | 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
* 2003-11-12 Tom Fitzsimmons <fitzsim@redhat.com>fitzsim2003-11-122-1/+6
| | | | | | | | * 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
* 2003-11-12 Andrew Haley <aph@redhat.com>aph2003-11-122-3/+11
| | | | | | | | | 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
* * arm.md (storehi): Avoid use of explicit subreg.rearnsha2003-11-122-5/+14
| | | | | | | (storehi_bigend, storeinthi, movhi_bigend): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73496 138bc75d-0d04-0410-961f-82ee72b054a4
* xfail frv-*-*.clm2003-11-122-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73495 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-11-12 Andrew Haley <aph@redhat.com>aph2003-11-123-9/+39
| | | | | | | | | | | | | 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
OpenPOWER on IntegriCloud