- 12 Dec, 2003 5 commits
-
-
PR preprocessor/12935 preprocessor/12952 preprocessor/13046 * cpplib.c (prepare_directive_trad): Clear skipping only in #if and #elif directives. (do_undef): Call the handler even if the identifier is not a macro. * cpptrad.c (scan_parameters): Emit an error message. (_cpp_create_trad_definition): Remember the params list even on failure. * testsuite/gcc.dg/cpp/trad/macro.c: New tests. From-SVN: r74562
Neil Booth committed -
* arm.c (ARM_ADDRESS_COST, THUMB_ADDRESS_COST): Convert macros to inline functions: arm_arm_address_cost, arm_thumb_address_cost respectively. (arm_address_cost): Use 'em. From-SVN: r74560
Zack Weinberg committed -
From-SVN: r74559
Zack Weinberg committed -
* config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __STDC_VERSION__ to ISO C94 for C++. * fixinc/inclhack.def (alpha_wchar): New fix. * fixinc/fixincl.x: Regenerate. * fixinc/tests/base/wchar.h: New file. From-SVN: r74558
Rainer Orth committed -
From-SVN: r74554
GCC Administrator committed
-
- 11 Dec, 2003 16 commits
-
-
2003-12-11 Neil Ferguson <nferguso@eso.org> Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.tcc (reserve): Allow shrink-to-fit. * testsuite/21_strings/basic_string/capacity/1.cc: Tweak. * testsuite/21_strings/basic_string/capacity/char/1.cc: Ditto. * testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Ditto. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r74551
Neil Ferguson committed -
libunwind related patch from David Mosberger * unwind-libunwind.c (_Unwind_SetGR): Clear the NaT bit as required by C++ ABI for Itanium. * config/t-libunwind (LIB2ADDEH): Remove unwind-libunwind.c. * config/t-libunwind-no-eh: New file. * configure.in: Check libunwind for _Unwind_Resume() and if it's present, set libunwind_has_eh_support to "yes". * configure: Regenerate. * config.gcc (ia64*-*-linux*): If $libunwind_has_eh_support is set to yes, use t-libunwind, otherwise, use t-libunwind-no-eh. From-SVN: r74548
David Mosberger committed -
* config/mips/mips.c (mips_global_pointer): Force functions with a nonlocal goto to set up $gp. From-SVN: r74547
Richard Sandiford committed -
PR target/13132 * function.c (gen_mem_addressof): When no decl, explicitly clear flag bits. From-SVN: r74543
James E Wilson committed -
2003-12-11 Ed Falis <falis@gnat.com> * 5zinit.adb: Clean up. * 5zintman.adb (Notify_Exception): replaced case statement with a call to __gnat_map_signal, imported from init.c to support signal -> exception mappings that depend on the vxWorks version. * init.c: Created and exported __gnat_map_signal to support signal -> exception mapping that is dependent on the VxWorks version. Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks 2003-12-11 Vasiliy Fofanv <fofanov@act-europe.fr> * 5wosinte.ads: Link with -mthreads switch. 2003-12-11 Arnaud Charlet <charlet@act-europe.fr> * init.c (__gnat_install_handler [NetBSD]): Set __gnat_handler_installed, as done on all other platforms. Remove duplicated code. 2003-12-11 Jerome Guitton <guitton@act-europe.fr> * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a. 2003-12-11 Thomas Quinot <quinot@act-europe.fr> * sinfo.ads: Fix inconsistent example code in comment. 2003-12-11 Robert Dewar <dewar@gnat.com> * a-tiinau.adb: Add a couple of comments * sem_ch3.adb: Minor reformatting * sem_prag.adb: Fix bad prototype of Same_Base_Type in body (code reading cleanup) Minor reformatting throughout 2003-12-11 Ed Schonberg <schonberg@gnat.com> * exp_ch7.adb (Establish_Transient_Scope): If the call is within the bounds of a loop, create a separate block in order to generate proper cleanup actions to prevent memory leaks. * sem_res.adb (Resolve_Call): After a call to Establish_Transient_Scope, the call may be rewritten and relocated, in which case no further processing is needed. * sem_util.adb: (Wrong_Type): Refine previous fix. Fixes ACATS regressions. PR ada/13353 * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always be inlined. From-SVN: r74541
Arnaud Charlet committed -
2003-12-11 Michael Koch <konqueror@gmx.de> * java/text/Format.java (serialVersionUID): Fixed value. From-SVN: r74540
Michael Koch committed -
2003-12-11 Michael Koch <konqueror@gmx.de> * javax/naming/event/EventDirContext.java: Jalopied. (addNamingListener): Fixed typo in method name. From-SVN: r74539
Michael Koch committed -
* mangle.c (conv_type_names): Holds IDENTIFIER_NODEs only. (hash_type): Use TYPE_UID of the identifier's type. (compare_type): Adjust. (mangle_conv_op_name_for_type): Store identifier nodes only, use TYPE_UID has hash value. From-SVN: r74538
Nathan Sidwell committed -
(write): Removed diagnostic trace. * gnu/java/nio/natSelectorImplPosix.cc: Added includes for java.lang.Thread and java.io.InterruptedIOException. (helper_put_filedescriptors): Don't put invalid file descriptors in select set. (helper_get_filedescriptors): Clear invalid file descriptors from select set. (helper_reset): New method for clearing our file descriptor array. (implSelect): Correctly calculate timeout if specified and legal. Intercept and deal with any java.io.InterruptedIOException thrown by _Jv_select(). From-SVN: r74537
Mohan Embar committed -
gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): Most coded moved to pre_event_handler, with the modifications mentioned below. 2003-12-08 Fernando Nasser <fnasser@redhat.com> * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): Most coded moved to pre_event_handler, with the modifications mentioned below. (pre_event_handler): New function. Called on the Gtk "event" signal. Do not retrieve the jobject from the window property as it is already available as user data in the signal. Do not try and find the grab widget as it is already done by Gtk at this point. Do not search for Window ancestor as Gtk already sends the signal to it. Do not meddle with the activation state of peer widgets on each key press or release. Add CList to the special handling when looking for the focused widget. * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject): New function. (connectSignals): New function. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks): Rename to... (connectSignals): New name. Get rid of NewGlobalRef call. Use g_signal_connect instead of deprecated gtk_signal_connect. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c (connect_choice_item_selectable_hook): Use g_signal_connect instead of deprecated gtk_signal_connect. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove function. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New function. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New function. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove function. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New function. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove function. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New function. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New function. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead code. (item_select): Remove indirection. (item_unselect): Ditto. (connect_selectable_hook): Folded into connectSignals. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove function. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New function. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New function. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove function. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New function. * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare and call connectJObject and connectSignals instead of connectHooks. * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and connectSignals. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals and not connectHooks. * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject and not connectHooks. * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and connectSignals instead of connectHooks. * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto. * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto. * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. From-SVN: r74536
Fernando Nasser committed -
2003-12-10 Kelley Cook <kcook@gcc.gnu.org> * gcc_update (files_and_dependencies): Correct typo in the filename gnat_ug_wnt.texi. From-SVN: r74535
Kelley Cook committed -
From-SVN: r74534
Nick Clifton committed -
* config/m32r/m32r.c: Convert to ISO-C * doc/invoke.texi: Replace Mitsubishi with Renesas. * config/m32r/m32r.h: Ditto. * config/m32r/m32r.c: Ditto. * config/m32r/m32r.md: Ditto. From-SVN: r74533
Nick Clifton committed -
re PR libstdc++/6243 (testsuite fails almost all tests due to no libintl in LD_LIBRARY_PATH during test.) 2003-12-10 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/6243 * testsuite/lib/libstdc++.exp (v3-init): Add original_ld_library_path, calculate ld_library path, set LD_LIBRARY_PATH to both. Based on libjava.exp. From-SVN: r74521
Benjamin Kosnik committed -
2003-12-11 Steven Bosscher <steven@gcc.gnu.org> * basic-block.h (BLOCK_HEAD, BLOCK_END): Remove. (BLOCK_HEAD_TREE, BLOCK_END_TREE): Remove. (basic_block_def): Rename `head' to `head_' and `end' to `end_'. (BB_HEAD, BB_END): New accessor macros for the `head_' and `end_' fields of a basic block. * bb-reorder.c, bt-load.c, caller-save.c, cfg.c, cfganal.c, cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgloopanal.c, cfgloopmanip.c, cfgrtl.c, combine.c, conflict.c, df.c, emit-rtl.c, final.c, flow.c, function.c, gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c, local-alloc.c, loop-unswitch.c, loop.c, postreload.c, predict.c, profile.c, ra-build.c, ra-debug.c, ra-rewrite.c, ra.c, recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c, reload1.c, resource.c, sched-ebb.c, sched-rgn.c, sibcall.c, tracer.c, config/frv/frv.c, config/i386/i386.c, config/ia64/ia64.c: Use the BB_HEAD and BB_END macros instead of accessing the `head' and `end' fields of a basic block directly. * gengtype.c: Add missing piece from earlier patch. Dunno what I was thinking... From-SVN: r74520
Steven Bosscher committed -
From-SVN: r74518
GCC Administrator committed
-
- 10 Dec, 2003 19 commits
-
-
From-SVN: r74514
Andrew Pinski committed -
Also fix date on it. From-SVN: r74513
Andrew Pinski committed -
* doc/extend.texi (Vector Extensions): Document that bitwise operations also work on vectors. From-SVN: r74511
Geoffrey Keating committed -
2003-12-10 Benjamin Kosnik <bkoz@redhat.com> Alexandre Oliva <aoliva@redhat.com> PR libstdc++/11612 * testsuite/Makefile.am (GLIBCXX_DIR): New. (GLIBGCC_DIR): New. (CXXLINK): Use both with -R so libtool links the correct libs. Co-Authored-By: Alexandre Oliva <aoliva@redhat.com> From-SVN: r74508
Benjamin Kosnik committed -
2003-12-09 Robert Schiele <rschiele@uni-mannheim.de> PR other/10819 * lib/gcc.exp (default_gcc_version): Do not match NL/CR characters to fix Bug 10819. * lib/g++.exp (g++_version): Likewise. * lib/g77.exp (g77_version): Likewise. * lib/objc.exp (default_objc_version): Likewise. From-SVN: r74507
Robert Schiele committed -
2003-12-10 Paolo Carlini <pcarlini@suse.de> PR libstdc++/13217 * include/bits/fstream.tcc (underflow): Deal gracefully with read errors: throw ios_base::failure. From-SVN: r74506
Paolo Carlini committed -
2003-12-10 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/10063 * config/io/basic_file_stdio.cc (__basic_file::sys_open): Sync. * testsuite/ext/stdio_filebuf/char/10063-1.cc: New. * testsuite/ext/stdio_filebuf/char/10063-2.cc: New. From-SVN: r74505
Benjamin Kosnik committed -
From-SVN: r74503
Richard Earnshaw committed -
2003-12-10 Steven Bosscher <stevenb@suse.de> * README.Portability: Remove K+R section. * gengtype-lex.l: Teach about "void**" pointers and "void*" function types. From-SVN: r74501
Steven Bosscher committed -
PR target/13354 * config/sparc/sparc.c (sparc_output_mi_thunk): Load DELTA manually if one can do that with only one instruction. From-SVN: r74499
Eric Botcazou committed -
From-SVN: r74496
Mark Mitchell committed -
* config.gcc (arm-linux): Include linux.h in tm_file so that LINUX_TARGET_OS_CPP_BUILTINS is defined. * config/arm/linux-elf.h (LIB_SPEC): Protect the definition. From-SVN: r74494
Nick Clifton committed -
2003-12-10 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (num_put::do_put(void*)): Remove the try/catch, not necessary. From-SVN: r74493
Paolo Carlini committed -
* testsuite/libffi.call/cls_align_pointer.c: Cast pointers to size_t instead of int. From-SVN: r74492
Richard Henderson committed -
From-SVN: r74491
Richard Henderson committed -
From-SVN: r74490
Richard Henderson committed -
2003-12-10 Paolo Carlini <pcarlini@suse.de> * testsuite/22_locale/locale/cons/12438.cc: Tweak memory limit and iterations to avoid spurious failures on some 64 bit machines. From-SVN: r74489
Paolo Carlini committed -
* rtl.def (CODE_LABEL, NOTE): Correct operand numbers in comments. From-SVN: r74488
James E Wilson committed -
PR c/13134 * c--decl.c (duplicate_decls): Copy visibility flag when appropriate. * cp/decl.c (duplicate_decls): Copy visibility flag when appropriate. * testsuite/lib/gcc-dg.exp (dg-require-visibility): Define. * testsuite/lib/target-supports (check_visibility_available): Define. * testsuite/gcc.dg/visibility-1.c: New test. * testsuite/gcc.dg/visibility-2.c: Likewise. * testsuite/gcc.dg/visibility-3.c: Likewise. * testsuite/gcc.dg/visibility-4.c: Likewise. * testsuite/gcc.dg/visibility-5.c: Likewise. * testsuite/gcc.dg/visibility-6.c: Likewise. * testsuite/g++.dg/ext/visibility-1.C: Likewise. * testsuite/g++.dg/ext/visibility-2.C: Likewise. * testsuite/g++.dg/ext/visibility-3.C: Likewise. * testsuite/g++.dg/ext/visibility-4.C: Likewise. * testsuite/g++.dg/ext/visibility-5.C: Likewise. * testsuite/g++.dg/ext/visibility-6.C: Likewise. From-SVN: r74487
Matt Austern committed
-