OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago * doc/install.texi: Remove reference to removed 'pthreads' thread
neroden [Thu, 9 Oct 2003 03:24:16 +0000 (03:24 +0000)]
* doc/install.texi: Remove reference to removed 'pthreads' thread
option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72253 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Thu, 9 Oct 2003 00:26:29 +0000 (00:26 +0000)]
2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
modality check.
* gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
Initialize insets to use latest insets.
* gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
field.
(postConfigureEvent): Update latestInsets field when insets
change.  Remove call to setSize.  Move validate call outside of
if blocks.
(setVisible): Call setBounds before showing window.
(nativeSetVisible): New native method.
* java/awt/Window.java (show): Show visible owned windows.
(hide): Hide visible owned windows.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(awt_event_handler): Implement modality using GTK grabs.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
(global_gtk_window_group): New global variable.
(gtkInit): Initialize global_gtk_window_group.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
Clamp width and height values to at least 1.  Add this window to
the global GTK window group.
(setVisible): Rename to nativeSetVisible.
(setup_window): Remove function.
(setSize): Clamp width and height values to at least 1.
(nativeSetBounds): Likewise.
(gdk_window_get_root_geometry): Remove function.
* jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
and setup_window declarations.  Declare global_gtk_window_group.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72252 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Thu, 9 Oct 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72250 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-08 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 8 Oct 2003 23:55:55 +0000 (23:55 +0000)]
2003-10-08  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/rs6000.md ("abssi2_isel"): Add early clobber to
operand 2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72247 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Wed, 8 Oct 2003 23:38:45 +0000 (23:38 +0000)]
2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkButtonPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
(gtkSetFont): Handle BOLD and ITALIC style specifiers.
(gtkWidgetSetForeground): New method.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
(setBackground, setForeground): Implement.
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
(gtkSetFont): Handle BOLD and ITALIC style specifiers.
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
Position PangoLayout relative to text's baseline.
* jni/gtk-peer/gtkpeer.h: Define AWT font style constants.

* java/awt/FlowLayout.java (layoutContainer): Fix offset problem
for CENTER and RIGHT alignments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72246 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config.gcc: Don't accept --enable-threads=pthreads. Clean
neroden [Wed, 8 Oct 2003 21:32:50 +0000 (21:32 +0000)]
* config.gcc: Don't accept --enable-threads=pthreads.  Clean
up related case statements.
* configure.in: Don't accept --enable-threads=pthreads,
decosf1, mach, or os2 (none of which work anyway).  Alphabetize
supported thread files in case clause.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72244 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoMove ChangeLog entries for config/ subdir into config/ChangeLog, where
neroden [Wed, 8 Oct 2003 21:28:40 +0000 (21:28 +0000)]
Move ChangeLog entries for config/ subdir into config/ChangeLog, where
they belong.  Thanks to Kelley Cook <kcook34@ford.com>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72243 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * libjava.mauve/xfails: Removed some tests.
tromey [Wed, 8 Oct 2003 21:16:01 +0000 (21:16 +0000)]
* libjava.mauve/xfails: Removed some tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72242 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * function.c (pad_to_arg_alignment): Move 'boundary_in_bytes'
geoffk [Wed, 8 Oct 2003 21:09:18 +0000 (21:09 +0000)]
* function.c (pad_to_arg_alignment): Move 'boundary_in_bytes'
definition to above SPARC_STACK_BOUNDARY_HACK.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72241 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-08 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 8 Oct 2003 21:01:50 +0000 (21:01 +0000)]
2003-10-08  Michael Koch  <konqueror@gmx.de>

* java/security/Security.java: Reformated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72240 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-08 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 8 Oct 2003 20:48:11 +0000 (20:48 +0000)]
2003-10-08  Michael Koch  <konqueror@gmx.de>

* java/text/SimpleDateFormat.java
(compileFormat): Replace Character.isLetter() test with
Character.isLowerCase() || Character.isUpperCase().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72239 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * java/lang/StrictMath.java (toDegrees): Multiply before
tromey [Wed, 8 Oct 2003 19:00:21 +0000 (19:00 +0000)]
* java/lang/StrictMath.java (toDegrees): Multiply before
dividing.
(toRadians): Likewise.

2003-10-08  C. Brian Jones  <cbj@gnu.org>

* java/lang/Math.java
(toRadians): multiply before dividing to reduce decimal error
(toDegrees): ditto

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72238 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-pretty-print.c (pp_c_postfix_expression)
jason [Wed, 8 Oct 2003 18:13:53 +0000 (18:13 +0000)]
    * c-pretty-print.c (pp_c_postfix_expression)
        <COMPOUND_LITERAL_EXPR>: Fix thinko.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72236 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * mklibgcc.in: Don't hide undefined or typeless symbols.
ro [Wed, 8 Oct 2003 18:12:36 +0000 (18:12 +0000)]
* mklibgcc.in: Don't hide undefined or typeless symbols.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72235 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/12142
danglin [Wed, 8 Oct 2003 17:55:41 +0000 (17:55 +0000)]
PR optimization/12142
* cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the
uses of the register in the SET_SRC.  Remove unnecessary argument.
* pa.c (legitimize_pic_address): Before reload, use a scratch register
for the intermediate result in loading the address of a SYMBOL_REF.
Set the MEM_NOTRAP_P flag for the MEM.  Add a REG_EQUAL to the insn
which loads the SYMBOL_REF address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72234 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-08 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 8 Oct 2003 16:28:30 +0000 (16:28 +0000)]
2003-10-08  Michael Koch  <konqueror@gmx.de>

* gnu/gcj/protocol/core/Connection.java,
gnu/gcj/protocol/core/CoreInputStream.java,
gnu/gcj/protocol/core/Handler.java,
gnu/gcj/protocol/core/natCoreInputStream.cc,
gnu/gcj/protocol/file/Connection.java,
gnu/gcj/protocol/file/Handler.java,
gnu/gcj/protocol/gcjlib/Connection.java,
gnu/gcj/protocol/gcjlib/Handler.java,
gnu/gcj/protocol/http/Connection.java,
gnu/gcj/protocol/http/Handler.java,
gnu/gcj/protocol/jar/Connection.java,
gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
* gnu/java/net/protocol/core/Connection.java,
gnu/java/net/protocol/core/CoreInputStream.java,
gnu/java/net/protocol/core/Handler.java,
gnu/java/net/protocol/core/natCoreInputStream.cc,
gnu/java/net/protocol/file/Connection.java,
gnu/java/net/protocol/file/Handler.java,
gnu/java/net/protocol/gcjlib/Connection.java,
gnu/java/net/protocol/gcjlib/Handler.java,
gnu/java/net/protocol/http/Connection.java,
gnu/java/net/protocol/http/Handler.java,
gnu/java/net/protocol/jar/Connection.java,
gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
* gnu/gcj/runtime/FirstThread.java,
java/net/URL.java: Use moved protocol handlers.
* Makefile.am
(ordinary_java_source_files): Moved files.
(nat_source_files): Likewise.
* Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72233 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-08 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 8 Oct 2003 16:03:06 +0000 (16:03 +0000)]
2003-10-08  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/SocketChannelImpl.java
(read): Write only read data to buffer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72232 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Wed, 8 Oct 2003 15:49:33 +0000 (15:49 +0000)]
2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
out.
* jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
(JCL_free): Attach "unused" attribute to env parameter.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
parameters.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
(initNativeState): Pass 0 as info argument to
gtk_selection_add_target.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
(setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
unused method implementations.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(awt_event_handler): Add break statement after default label.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
(drawPixels): Remove unused variable i.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
(setEnabled): Remove method implementation.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
(accel_attach): Call _gtk_accel_group_attach with G_OBJECT
argument.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
unused function.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
(menu_pos): Assign TRUE to push_in.
(setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
argument.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
(create): Remove unused variable layout.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
Pass window_widget, rather than window, to
gtk_widget_set_size_request.
* jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
structure initialization with NULL values.
* jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72231 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-08 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 8 Oct 2003 15:30:44 +0000 (15:30 +0000)]
2003-10-08  Michael Koch  <konqueror@gmx.de>

* java/util/LinkedList.java:
Removed whitespace to match classpath's version again.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72230 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-08 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 8 Oct 2003 15:30:21 +0000 (15:30 +0000)]
2003-10-08  Michael Koch  <konqueror@gmx.de>

* java/util/prefs/Preferences.java
(defaultFactoryClass): Fixed class name.
(getFactory): Create instance of class returned by Class.forName(),
reformated code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72229 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
mkoch [Wed, 8 Oct 2003 15:29:52 +0000 (15:29 +0000)]
2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>

* javax/swing/table/AbstractTableModel.java
(getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
helped stop pulling my hair on this +1 then -1 tricky thing!

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72228 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-08 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 8 Oct 2003 14:20:42 +0000 (14:20 +0000)]
2003-10-08  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_facets.tcc: More minor cosmetic
changes and const-ifications of some variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72226 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR bootstrap/12490
ebotcazou [Wed, 8 Oct 2003 12:29:27 +0000 (12:29 +0000)]
PR bootstrap/12490
* scan-decls.c (MAX_EXTERN_C_BRACES): New preprocessor constant
to define the size of the extern_C_braces array.  Set it to 200.
(scan_decls): Abort when extern_C_braces_length is out-of-bounds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72224 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* Makefile.in (gengtype-lex.c): flex 2.5.4[a] doesn't understand
carlo [Wed, 8 Oct 2003 12:24:08 +0000 (12:24 +0000)]
* Makefile.in (gengtype-lex.c): flex 2.5.4[a] doesn't understand
a space after the -o option.  flex 2.5.31 understands both, with
and without the space. Removed that space.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72223 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.c (mips_frame_info): Add cprestore_size field.
rsandifo [Wed, 8 Oct 2003 08:27:29 +0000 (08:27 +0000)]
* config/mips/mips.c (mips_frame_info): Add cprestore_size field.
(compute_frame_size): Initialize it.  Remove the .cprestore slot
from args_size.
(mips_output_function_prologue): Simplify accordingly.
(mips_debugger_offset): Change the mips16 frame pointer offset from
current_function_outgoing_args to cfun->machine->frame.args_size.
(mips_initial_elimination_offset): Likewise.
(mips_expand_prologue): Likewise.
(mips_expand_epilogue): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72222 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.h (EXTRA_CONSTRAINT): Add 'W' constraint.
rsandifo [Wed, 8 Oct 2003 08:26:10 +0000 (08:26 +0000)]
* config/mips/mips.h (EXTRA_CONSTRAINT): Add 'W' constraint.
(EXTRA_MEMORY_CONSTRAINT): Define.
(CAN_ELIMINATE): Remove lwu workaround.
* config/mips/mips.md (*zero_extendsidi2_mem): Enable for mips16 too.
Use a 'W' constraint for the source operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72221 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * genopinit.c (main): Output code to declare undefined
kazu [Wed, 8 Oct 2003 08:01:50 +0000 (08:01 +0000)]
* genopinit.c (main): Output code to declare undefined
variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72220 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix pathname in last delta.
rsandifo [Wed, 8 Oct 2003 07:22:50 +0000 (07:22 +0000)]
Fix pathname in last delta.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72219 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * testsuite/gcc.c-torture/compile/mipscop-[1-4].c: Disable for mips16.
rsandifo [Wed, 8 Oct 2003 07:20:22 +0000 (07:20 +0000)]
* testsuite/gcc.c-torture/compile/mipscop-[1-4].c: Disable for mips16.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72218 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-08 Giovanni Bajo <giovannibajo@libero.it>
bernie [Wed, 8 Oct 2003 01:06:13 +0000 (01:06 +0000)]
2003-10-08  Giovanni Bajo  <giovannibajo@libero.it>

* g++.dg/parse/error2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72216 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cp_tree.h: Added TFF_NO_FUNCTION_ARGUMENTS.
bernie [Wed, 8 Oct 2003 00:42:56 +0000 (00:42 +0000)]
* cp_tree.h: Added TFF_NO_FUNCTION_ARGUMENTS.
* error.c (dump_function_decl): Use it to skip the dump of the
arguments.
(dump_expr): When dumping a declaration found within an
expression, always set TFF_NO_FUNCTION_ARGUMENTS
in the flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72215 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Wed, 8 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72213 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/11097
bernie [Tue, 7 Oct 2003 23:54:11 +0000 (23:54 +0000)]
PR c++/11097
* g++.dg/other/error5.C: Modify the error message.
* g++.dg/lookup/using8.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72211 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-07 Kelley Cook <kcook@gcc.gnu.org>
kcook [Tue, 7 Oct 2003 23:54:10 +0000 (23:54 +0000)]
2003-10-07  Kelley Cook  <kcook@gcc.gnu.org>

* gengtype-lex.l: Remove -Wtraditional cruft.
* Makefile.in (gengtype-lex.c): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72210 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoRemove accidentally committed piece of patch.
geoffk [Tue, 7 Oct 2003 23:39:32 +0000 (23:39 +0000)]
Remove accidentally committed piece of patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72209 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/11097
bernie [Tue, 7 Oct 2003 22:39:21 +0000 (22:39 +0000)]
PR c++/11097
* pt.c (tsubst_decl): Substitute also the DECL_NAME node of
USING_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72208 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cfgloopmanip.c (fix_irreducible_loops): Initialize e correctly.
rakdver [Tue, 7 Oct 2003 22:14:07 +0000 (22:14 +0000)]
* cfgloopmanip.c (fix_irreducible_loops): Initialize e correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72207 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12519
jason [Tue, 7 Oct 2003 22:10:37 +0000 (22:10 +0000)]
    PR c++/12519
        * c-semantics.c (genrtl_cleanup_stmt): Ignore the CLEANUP_DECL if
        it isn't a decl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72206 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Tue, 7 Oct 2003 21:33:29 +0000 (21:33 +0000)]
2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
Remove unused parameters.
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
Likewise.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(keyevent_state_to_awt_mods): Export function.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
(getCaretPosition): Fix TextArea case.
(textcomponent_commit_cb): Get exact event time and modifier
state.
* jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72202 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-07 Alexandre Oliva <aoliva@redhat.com>
ro [Tue, 7 Oct 2003 21:14:14 +0000 (21:14 +0000)]
2003-10-07  Alexandre Oliva  <aoliva@redhat.com>

* gcc.c (cpp_options): Only pass -fworking-directory for -g* if
not overridden.
Fixes PR bootstrap/12173.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72201 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * errors.c: Don't include coretypes.h or tm.h.
zack [Tue, 7 Oct 2003 20:06:37 +0000 (20:06 +0000)]
* errors.c: Don't include coretypes.h or tm.h.
(trim_filename): Use IS_DIR_SEPARATOR.
* Makefile.in: Update dependencies of errors.o and
$(BUILD_PREFIX_1)errors.o.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72200 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-07 Geoffrey Keating <geoffk@apple.com>
geoffk [Tue, 7 Oct 2003 19:48:23 +0000 (19:48 +0000)]
2003-10-07  Geoffrey Keating  <geoffk@apple.com>

* function.c (pad_to_arg_alignment): Take STACK_POINTER_OFFSET into
account when aligning arguments.
* calls.c (STACK_POINTER_OFFSET): Move default from here ...
* defaults.h (STACK_POINTER_OFFSET): ... to here.
* config/sparc/sparc.h (STACK_BOUNDARY): Add comment about how
it's wrong when TARGET_ARCH64 && TARGET_STACK_BIAS.
(SPARC_STACK_BOUNDARY_HACK): Define.
* config/rs6000/rs6000.c (function_arg): On non-SVR4 systems,
arrange for vector parameters to varargs functions to be passed
in both memory and GPRs when appropriate.
(rs6000_va_arg): Vector arguments passed in memory are 16-byte
aligned.

Index: testsuite/ChangeLog
2003-10-07  Geoffrey Keating  <geoffk@apple.com>

* gcc.dg/darwin-abi-2.c: New file.
* gcc.c-torture/execute/va-arg-24.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72199 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoCorrect ChangeLog entry for last change
geoffk [Tue, 7 Oct 2003 19:24:53 +0000 (19:24 +0000)]
Correct ChangeLog entry for last change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72198 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * hooks.c (hook_bool_tree_true): New.
geoffk [Tue, 7 Oct 2003 19:23:08 +0000 (19:23 +0000)]
* hooks.c (hook_bool_tree_true): New.
(hook_rtx_tree_int_null): New.
(hook_rtx_rtx_null): Use NULL, not 0.
* hooks.h: Add 'extern' to everything.
(hook_bool_tree_true): New.
(hook_rtx_tree_int_null): New.
* targhooks.c (hook_bool_CUMULATIVE_ARGS_true): New.
* targhooks.h (hook_bool_CUMULATIVE_ARGS_true): New.
* config/rs6000/rs6000-protos.h (setup_incoming_varargs): Remove
prototype.
* config/rs6000/rs6000.c (rs6000_return_in_memory): New.
(setup_incoming_varargs): Prototype.
(TARGET_PROMOTE_FUNCTION_ARGS): Define.
(TARGET_PROMOTE_FUNCTION_RETURN): Define.
(TARGET_STRUCT_VALUE_RTX): Define.
(TARGET_RETURN_IN_MEMORY): Define.
(TARGET_SETUP_INCOMING_VARARGS): Define.
(TARGET_STRICT_ARGUMENT_NAMING): Define.
(TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Define.
(init_cumulative_args): Use rs6000_return_in_memory.
(setup_incoming_varargs): Make 'static'.
* config/rs6000/rs6000.h (PROMOTE_FUNCTION_ARGS): Delete.
(PROMOTE_FUNCTION_RETURN): Delete.
(STRUCT_VALUE): Delete.
(RETURN_IN_MEMORY): Delete.
(SETUP_INCOMING_VARARGS): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72197 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * g++.dg/template/spec10.C: Set exit value to zero on success. Fix
bwilson [Tue, 7 Oct 2003 16:56:47 +0000 (16:56 +0000)]
* g++.dg/template/spec10.C: Set exit value to zero on success.  Fix
indentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72195 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/invoke.texi (Warning Options): Simplify and clarify the
gerald [Tue, 7 Oct 2003 16:28:37 +0000 (16:28 +0000)]
* doc/invoke.texi (Warning Options): Simplify and clarify the
descriptions of -Wnonnull and -Winit-self.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72194 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* optabs.c (init_intraclass_conv_libfuncs): Fix order of array
rearnsha [Tue, 7 Oct 2003 16:07:28 +0000 (16:07 +0000)]
* optabs.c (init_intraclass_conv_libfuncs): Fix order of array
indicees for floating-point conversersion libcalls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72193 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in: Add more comments separating large conceptually
neroden [Tue, 7 Oct 2003 13:30:00 +0000 (13:30 +0000)]
* Makefile.in: Add more comments separating large conceptually
separate sections.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72192 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.in: Clean up thread file logic.
neroden [Tue, 7 Oct 2003 12:32:07 +0000 (12:32 +0000)]
* configure.in: Clean up thread file logic.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72191 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-07 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 7 Oct 2003 10:34:47 +0000 (10:34 +0000)]
2003-10-07  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_facets.tcc: Minor cosmetic changes
and const-ifications of some variables.

* include/bits/locale_facets.tcc
(money_get::do_get(..., string_type&)): Simplify an if-else.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72190 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/i386/cygming.h (READONLY_DATA_SECTION_ASM_OP): Define.
dannysmith [Tue, 7 Oct 2003 09:36:34 +0000 (09:36 +0000)]
* config/i386/cygming.h (READONLY_DATA_SECTION_ASM_OP): Define.
(switch_to_section): Handle in_readonly_data.
* config/i386/winnt.c (i386_pe_asm_named_section): Handle
readonly data.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72189 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* arm.md (cmpsi2_addneg): New ARM pattern. Add peephole2 to generate
rearnsha [Tue, 7 Oct 2003 08:49:36 +0000 (08:49 +0000)]
* arm.md (cmpsi2_addneg): New ARM pattern. Add peephole2 to generate
it.
(cbranchne_decr1): New Thumb pattern.
* arm.c (arm_addimm_operand): New insn predicate.
* arm-protos.h: Add a prototype for it.
* arm.h (PREDICATE_CODES): Add it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72188 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * sched-int.h (sched_info): New field
dorit [Tue, 7 Oct 2003 08:18:42 +0000 (08:18 +0000)]
    * sched-int.h (sched_info): New field
        sched_max_insns_priority.
        * sched-rgn.c (init_ready_list): Add invocations to
        targetm.sched.adjust_priority.
        (sched_max_insns_priority): Init new field.
        * sched-ebb.c (sched_max_insns_priority): Init new field.
        * haifa-sched.c (set_priorities): Set
        sched_info->sched_max_insns_priority.
        * config/rs6000/rs6000.h:
        (rs6000_sched_restricted_insns_priority_str): Support new
        flag -mprioritize-restricted-insns.
        (DEFAULT_RESTRICTED_INSNS_PRIORITY): Define.
        * config/rs6000/rs6000.c (is_dispatch_slot_restricted): New
        function.
        (rs6000_adjust_priority): Change priority of restricted
        insns, using above new function and new flag.
        * doc/invoke.texi (-mprioritize-restricted-insns): Document
        new option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72186 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * expr.c (cmpstr_optab, cmpmem_optab): New.
zack [Tue, 7 Oct 2003 07:25:32 +0000 (07:25 +0000)]
* expr.c (cmpstr_optab, cmpmem_optab): New.
* genopinit.c: Initialize them.
* optabs.h: Declare them.
* optabs.c (init_optabs): Clear them.
(prepare_cmp_insn):  Use cmpstr_optab and cmpmem_optab to find
block memory compare insns, not conditional chains.  Restructure
the fallback generation of a call to memcmp/bcmp for better
readability.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72185 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/10147
mmitchel [Tue, 7 Oct 2003 07:07:07 +0000 (07:07 +0000)]
PR c++/10147
* call.c (initialize_reference): Tweak error message.

PR c++/12337
* init.c (build_new_1): Make sure that the expression returned is
not an lvalue.

PR c++/12344, c++/12236, c++/8656
* decl.c (start_function): Do not ignore attributes embedded in a
function declarator.

PR c++/12337
* g++.dg/init/new9.C: New test.

PR c++/12334, c++/12236, c++/8656
* g++.dg/ext/attrib8.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72183 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.c (MIPS_MAX_FIRST_STACK_STEP): New macro.
rsandifo [Tue, 7 Oct 2003 06:38:15 +0000 (06:38 +0000)]
* config/mips/mips.c (MIPS_MAX_FIRST_STACK_STEP): New macro.
(mips_save_restore_fn): New typedef.
(mips_add_large_offset_to_sp, mips_emit_frame_related_store): Remove.
(mips_set_frame_expr, mips_frame_set): Move above prologue code.
(save_restore_insns): Remove, replacing with...
(mips_save_restore_reg, mips_for_each_saved_reg): ...these new fns.
(mips_save_reg, mips_restore_reg): New function.
(mips_expand_prologue, mips_expand_epilogue): Rework.
* config/mips/mips.h (MIPS_TEMP1_REGNUM, MIPS_TEMP2_REGNUM): Remove.
(MIPS_PROLOGUE_TEMP_REGNUM, MIPS_EPILOGUE_TEMP_REGNUM): New macros.
(MIPS_PROLOGUE_TEMP, MIPS_EPILOGUE_TEMP): New macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72182 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.c (mips_expand_prologue): Remove unused
rsandifo [Tue, 7 Oct 2003 06:34:46 +0000 (06:34 +0000)]
* config/mips/mips.c (mips_expand_prologue): Remove unused
traversal of function arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72181 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/invoke.texi: Remove documentation of -mentry.
rsandifo [Tue, 7 Oct 2003 06:33:25 +0000 (06:33 +0000)]
* doc/invoke.texi: Remove documentation of -mentry.
* config/mips/mips.c (mips_entry_string, mips_entry): Remove.
(override_options, mips_save_reg_p): Remove handling.
(compute_frame_size, mips_output_function_prologue): Likewise.
(mips_expand_prologue, mips_expand_epilogue): Likewise.
* config/mips/mips.h (mips_entry_string): Remove declaration.
(TARGET_OPTIONS): Remove -mentry.
* config/mips/mips16.S: Remove mention of -mentry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72180 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * libfuncs.h (LTI_extendsfdf2, LTI_extendsfxf2, LTI_extendsftf2)
zack [Tue, 7 Oct 2003 02:23:42 +0000 (02:23 +0000)]
* libfuncs.h (LTI_extendsfdf2, LTI_extendsfxf2, LTI_extendsftf2)
(LTI_extenddfxf2, LTI_extenddftf2, LTI_truncdfsf2, LTI_truncxfsf2)
(LTI_trunctfsf2, LTI_truncxfdf2, LTI_trunctfdf2, LTI_floatsisf)
(LTI_floatdisf, LTI_floattisf, LTI_floatsidf, LTI_floatdidf)
(LTI_floattidf, LTI_floatsixf, LTI_floatdixf, LTI_floattixf)
(LTI_floatsitf, LTI_floatditf, LTI_floattitf, LTI_fixsfsi, LTI_fixsfdi)
(LTI_fixsfti, LTI_fixdfsi, LTI_fixdfdi, LTI_fixdfti, LTI_fixxfsi)
(LTI_fixxfdi, LTI_fixxfti, LTI_fixtfsi, LTI_fixtfdi, LTI_fixtfti)
(LTI_fixunssfsi, LTI_fixunssfdi, LTI_fixunssfti, LTI_fixunsdfsi)
(LTI_fixunsdfdi, LTI_fixunsdfti, LTI_fixunsxfsi, LTI_fixunsxfdi)
(LTI_fixunsxfti, LTI_fixunstfsi, LTI_fixunstfdi, LTI_fixunstfti)
(extendsfdf2_libfunc, extendsfxf2_libfunc, extendsftf2_libfunc)
(extenddfxf2_libfunc, extenddftf2_libfunc, truncdfsf2_libfunc)
(truncxfsf2_libfunc, trunctfsf2_libfunc, truncxfdf2_libfunc)
(trunctfdf2_libfunc, floatsisf_libfunc, floatdisf_libfunc)
(floattisf_libfunc, floatsidf_libfunc, floatdidf_libfunc)
(floattidf_libfunc, floatsixf_libfunc, floatdixf_libfunc)
(floattixf_libfunc, floatsitf_libfunc, floatditf_libfunc)
(floattitf_libfunc, fixsfsi_libfunc, fixsfdi_libfunc, fixsfti_libfunc)
(fixdfsi_libfunc, fixdfdi_libfunc, fixdfti_libfunc, fixxfsi_libfunc)
(fixxfdi_libfunc, fixxfti_libfunc, fixtfsi_libfunc, fixtfdi_libfunc)
(fixtfti_libfunc, fixunssfsi_libfunc, fixunssfdi_libfunc)
(fixunssfti_libfunc, fixunsdfsi_libfunc, fixunsdfdi_libfunc)
(fixunsdfti_libfunc, fixunsxfsi_libfunc, fixunsxfdi_libfunc)
(fixunsxfti_libfunc, fixunstfsi_libfunc, fixunstfdi_libfunc)
(fixunstfti_libfunc): Delete.
* optabs.h (struct optab_handlers): Break out of struct optab.
(struct convert_optab, convert_optab, enum convert_optab_index,
convert_optab_table, sext_optab, zext_optab, trunc_optab,
sfix_optab, ufix_optab, sfixtrunc_optab, ufixtrunc_optab,
sfloat_optab, ufloat_optab): New.
(set_conv_libfunc): Prototype.
(GEN_FCN): Use C90 indirect call syntax, remove unnecessary cast.
(trunc_optab): Renamed btrunc_optab.
* builtins.c (expand_builtin_mathfn): Update to match.
* optabs.c (extendtab, fixtab, fixtrunctab, floattab): Delete.
(convert_optab_table, new_convert_optab, init_convert_optab)
(init_interclass_conv_libfuncs, init_intraclass_conv_libfuncs)
(set_conv_libfunc): New.
(can_extend_p, gen_extend_insn, can_fix_p, can_float_p)
(expand_float, expand_fix): Use new conversion optabs,
not old insn code tables or long chains of ifs.
(init_optabs): No need to clear old insn code tables.
Initialize the new optabs, not the old libfunc array entries.
Don't handle FIXUNS_TRUNC_LIKE_FIX_TRUNC here.
* genopinit.c: Initialize conversion optabs, not the
former insn code tables.  Remove unnecessary casts.
Handle FIXUNS_TRUNC_LIKE_FIX_TRUNC here.
* expr.c (convert_move): Remove redundant check that
to_real==from_real.  Use the conversion optabs instead
of long chains of tests of modes.  Move partial-integer-mode
interconversion above all integer conversion.  Do not recurse
on a value forced into a register in the original mode.

* config/gofast.h, config/frv/frv.c, config/ia64/ia64.c
* config/mips/mips.c, config/pa/pa.c, config/rs6000/rs6000.c
* config/sparc/sparc.c: Use set_conv_libfunc to adjust entries
in new conversion optabs; do not reference the old libfunc
array entries.  No need to include libfuncs.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72178 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Tue, 7 Oct 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72176 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/i386/i386.c (ix86_expand_setcc): Annotate the floating
sayle [Mon, 6 Oct 2003 23:18:31 +0000 (23:18 +0000)]
* config/i386/i386.c (ix86_expand_setcc): Annotate the floating
point comparison sequence with a REG_EQUAL note that describes
the comparison's semantics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72173 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * expr.c (expand_expr <COND_EXPR>): Handle the void type semantics
sayle [Mon, 6 Oct 2003 23:11:21 +0000 (23:11 +0000)]
* expr.c (expand_expr <COND_EXPR>): Handle the void type semantics
of COND_EXPR when expanding the "A op 0 ? FOO : A" optimizations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72172 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * optabs.c (prepare_float_lib_cmp): Avoid searching for REG_RETVAL
sayle [Mon, 6 Oct 2003 23:09:28 +0000 (23:09 +0000)]
* optabs.c (prepare_float_lib_cmp): Avoid searching for REG_RETVAL
instruction by using LCT_CONST and then calling emit_libcall_block
ourselves.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72171 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoPR optimization/11974
carlo [Mon, 6 Oct 2003 23:06:09 +0000 (23:06 +0000)]
PR optimization/11974
* optabs.c (expand_unop): Promote libcall outmode according to
hard_libcall_value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72170 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * real.h (REAL_MODE_FORMAT): New macro.
zack [Mon, 6 Oct 2003 22:47:32 +0000 (22:47 +0000)]
* real.h (REAL_MODE_FORMAT): New macro.
* c-cppbuiltin.c, optabs.c, real.c, config/alpha/alpha.c
* config/c4x/c4x.c, config/i370/i370.c, config/i386/freebsd.h
* config/i386/i386.c, config/i960/i960.c, config/ia64/ia64.c
* config/m68k/m68k.c, config/mips/mips.c, config/rs6000/rs6000.c
* config/vax/vax.c: Use REAL_MODE_FORMAT instead of referring
directly to real_format_for_mode array, wherever possible.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72168 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-06 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 6 Oct 2003 22:32:59 +0000 (22:32 +0000)]
2003-10-06  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/11740
* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
* config/locale/generic/ctype_members.cc: Same.
* testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72167 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix -feliminate-dwarf2-dups ICE.
dpatel [Mon, 6 Oct 2003 22:25:19 +0000 (22:25 +0000)]
Fix -feliminate-dwarf2-dups ICE.

       gcc
       * dwarf2out.c (is_main_source): Remove variable.
       (dwarf2out_start_source_file): Do not check is_main_source.
       Do not reset is_main_source.
       (dwarf2out_init): Do not initialize is_main_source.

       testsuite
       * gcc.dg/debug/dwarf2-3.h: New test.
       * gcc.dg/debug/dwarf2-3.c: New test case for -feliminate-dwarf2-dups.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72166 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * fixinc/inclhack.def (stdio_va_list): Removed _ap fix.
ro [Mon, 6 Oct 2003 20:49:24 +0000 (20:49 +0000)]
* fixinc/inclhack.def (stdio_va_list): Removed _ap fix.
(irix_stdio_va_list): Don't require leading printf, IRIX 6.5.21
introduced some multi-line prototypes.
* fixinc/fixincl.x: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72165 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-06 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 6 Oct 2003 19:46:21 +0000 (19:46 +0000)]
2003-10-06  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_facets.tcc (__pad<>::_S_pad):
Improve performance-wise: avoid one traits::copy, avoid
the __builtin_alloca, streamline.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72164 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * include/ffi_mips.h: Define FFI_MIPS_N32 for N32/N64 ABIs,
ro [Mon, 6 Oct 2003 19:18:35 +0000 (19:18 +0000)]
* include/ffi_mips.h: Define FFI_MIPS_N32 for N32/N64 ABIs,
FFI_MIPS_O32 for O32 ABI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72161 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoAdding my name to "write after approval" maintainers.
bowdidge [Mon, 6 Oct 2003 18:25:13 +0000 (18:25 +0000)]
Adding my name to "write after approval" maintainers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72160 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.h (PREDICATE_CODES): Add stack_operand.
rsandifo [Mon, 6 Oct 2003 17:52:37 +0000 (17:52 +0000)]
* config/mips/mips.h (PREDICATE_CODES): Add stack_operand.
* config/mips/mips.c (stack_operand): New predicate.
* config/mips/mips.md: Use it for the destination of mips16 insns
that store $31.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72158 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.md (*lowsi): Renamed from lowsi.
rsandifo [Mon, 6 Oct 2003 17:50:26 +0000 (17:50 +0000)]
* config/mips/mips.md (*lowsi): Renamed from lowsi.
(*lowdi): Likewise lowdi.
(*lowsi_mips16, *lowdi_mips16): New patterns.
* config/mips/mips.c (mips_const_insns, mips_output_move): Remove
mips16 CONSTANT_RELOC handling.
(mips_delegitimize_address): Adjust for new sdata representation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72157 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.c (mips_arg_info): If MUST_PASS_IN_STACK,
rsandifo [Mon, 6 Oct 2003 17:48:25 +0000 (17:48 +0000)]
* config/mips/mips.c (mips_arg_info): If MUST_PASS_IN_STACK,
skip any remaining register arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72156 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * reload.c (find_reloads_subreg_address): Use correct offset for
uweigand [Mon, 6 Oct 2003 15:56:07 +0000 (15:56 +0000)]
* reload.c (find_reloads_subreg_address): Use correct offset for
paradoxical MEM subregs on big-endian targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72153 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * ltcf-cxx.sh (irix5*, irix6*): Prefix -soname and its arg with ${wl}.
ro [Mon, 6 Oct 2003 15:13:13 +0000 (15:13 +0000)]
* ltcf-cxx.sh (irix5*, irix6*): Prefix -soname and its arg with ${wl}.
* ltconfig (irix5*, irix6*): Don't override version_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72152 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-06 Andrew Haley <aph@redhat.com>
aph [Mon, 6 Oct 2003 13:50:41 +0000 (13:50 +0000)]
2003-10-06  Andrew Haley  <aph@redhat.com>

* tree.c (get_callee_fndecl): Call
lang_hooks.lang_get_callee_fndecl.
* langhooks-def.h (LANG_HOOKS_GET_CALLEE_FNDECL): New.
(lhd_get_callee_fndecl): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72150 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago+2003-10-06 Andrew Pinski <apinski@apple.com>
pinskia [Mon, 6 Oct 2003 13:35:36 +0000 (13:35 +0000)]
+2003-10-06  Andrew Pinski  <apinski@apple.com>
+
+ * config/darwin.c (machopic_non_lazy_ptr_name): Fix off by one
+ error in calculating the length of the string.
+ (machopic_stub_name): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72149 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * optabs.c (prepare_float_lib_cmp): Attach a REG_EQUAL note
sayle [Mon, 6 Oct 2003 12:48:49 +0000 (12:48 +0000)]
* optabs.c (prepare_float_lib_cmp):  Attach a REG_EQUAL note
describing the return value of the comparison libcall to the
REG_RETVAL instruction of the emitted sequence.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72148 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/12215
ebotcazou [Mon, 6 Oct 2003 09:18:01 +0000 (09:18 +0000)]
PR optimization/12215
* cse.c (cse_set_around_loop): Emit the move at the beginning
of the next basic block for trapping sets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72141 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-06 Eric Botcazou <ebotcazou@libertysurf.fr>
ebotcazou [Mon, 6 Oct 2003 08:52:23 +0000 (08:52 +0000)]
2003-10-06  Eric Botcazou  <ebotcazou@libertysurf.fr>

PR optimization/11637
* combine.c (adjust_for_new_dest): New function to adjust the
notes and LOG_LINKS when the dest of an insn has changed.
(try_combine): Use it when deleting the first insn of a two-insn
parallel or splitting a two-load parallel.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72138 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.c (mips_classify_constant): Only allow UNSPECs
rsandifo [Mon, 6 Oct 2003 08:02:54 +0000 (08:02 +0000)]
* config/mips/mips.c (mips_classify_constant): Only allow UNSPECs
if TARGET_EXPLICIT_RELOCS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72137 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agofix off one error for one for all.
pinskia [Mon, 6 Oct 2003 07:56:37 +0000 (07:56 +0000)]
fix off one error for one for all.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72136 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR bootstrap/12512
mmitchel [Mon, 6 Oct 2003 07:56:16 +0000 (07:56 +0000)]
PR bootstrap/12512
* Makefile.in (info): Use double-colon rules.
(dvi): Likewise.
(generated-manpages): Likewise.
* configure.in: Do not create lang.info, lang.dvi, or
lang.generated-manpages hooks.
* configure: Regenerated.
* objc/Make-lang.in (objc.info): Remove.
(objc.dvi): Remove.
(objc.generated-manpages): Remove.
* doc/sourcebuild.texi: Update description of info, dvi, and
generated-manpages hooks.

* Make-lang.in (ada.info): Replace with ...
(info): ... this.
(ada.dvi): Replace with ...
(dvi): ... this.

* Make-lang.in (c++.info): Remove.
(c++.dvi): Remove.
(c++.generated-manpages): Replace with ...
(generated-manpages): ... this.

* Make-lang.in (f77.info): Replace with ...
(info): ... this.
(f77.dvi): Replace with ...
(dvi): ... this.
(f77.generated-manpages): Replace with ...
(generated-manpages): ... this.

* Make-lang.in (java.info): Replace with ...
(info): ... this.
(java.dvi): Replace with ...
(dvi): ... this.
(java.generated-manpages): Replace with ...

* Make-lang.in (treelang.info): Replace with ...
(info): ... this.
* Make-lang.in (treelang.dvi): Replace with ...
(dvi): ... this.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72135 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.md: Merge mips16 lw/srl pattern with its splitter
rsandifo [Mon, 6 Oct 2003 07:53:16 +0000 (07:53 +0000)]
* config/mips/mips.md: Merge mips16 lw/srl pattern with its splitter

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72134 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoone more off by one error.
pinskia [Mon, 6 Oct 2003 06:38:04 +0000 (06:38 +0000)]
one more off by one error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72133 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-05 Andrew Pinski <apinski@apple.com>
pinskia [Mon, 6 Oct 2003 06:11:14 +0000 (06:11 +0000)]
2003-10-05  Andrew Pinski  <apinski@apple.com>
        * config/darwin.c (machopic_non_lazy_ptr_name): Fix off by one
        errors in memcpy destinations.
        (machopic_stub_name): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72132 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.in: Allow explicit specification of CFLAGS_FOR_BUILD.
membar [Mon, 6 Oct 2003 03:40:08 +0000 (03:40 +0000)]
* configure.in: Allow explicit specification of CFLAGS_FOR_BUILD.
* configure: Rebuilt
* Makefile.tpl: Use CFLAGS_FOR_BUILD computed by configure
* Makefile.in: Rebuilt

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72130 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/darwin.c (machopic_non_lazy_ptr_name):
pinskia [Mon, 6 Oct 2003 01:36:13 +0000 (01:36 +0000)]
* config/darwin.c (machopic_non_lazy_ptr_name):
Change strcat to memcpy and add length together.
(machopic_stub_name): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72129 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/sh/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Handle new
kkojima [Mon, 6 Oct 2003 01:24:53 +0000 (01:24 +0000)]
* config/sh/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Handle new
signal trampoline codes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72128 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Mon, 6 Oct 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72125 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-05 Chris Demetriou <cgd@broadcom.com>
cgd [Sun, 5 Oct 2003 23:57:56 +0000 (23:57 +0000)]
2003-10-05  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.md (*divsf3): Move description of
        SB-1 F2 erratum from here to...
        (divsf3): Here.  Disable if TARGET_FIX_SB1 is set and
        flag_unsafe_math_optimizations is not.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72123 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-05 Aldy Hernandez <aldyh@redhat.com>
aldyh [Sun, 5 Oct 2003 22:49:29 +0000 (22:49 +0000)]
2003-10-05  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/linuxspe.h: Define TARGET_SPE_ABI, TARGET_SPE,
TARGET_E500, TARGET_ISEL, and TARGET_FPRS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72121 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-pretty-print.c: Fix comment typos.
kazu [Sun, 5 Oct 2003 19:50:56 +0000 (19:50 +0000)]
* c-pretty-print.c: Fix comment typos.
* c-pretty-print.h: Likewise.
* calls.c: Likewise.
* cfgloopmanip.c: Likewise.
* cgraphunit.c: Likewise.
* cppfiles.c: Likewise.
* final.c: Likewise.
* function.c: Likewise.
* gcov-io.h: Likewise.
* gcse.c: Likewise.
* genoutput.c: Likewise.
* loop.c: Likewise.
* postreload.c: Likewise.
* reg-stack.c: Likewise.
* regmove.c: Likewise.
* sched-int.h: Likewise.
* sched-rgn.c: Likewise.
* simplify-rtx.c: Likewise.
* tree-inline.c: Likewise.
* config/m68hc11/m68hc11.h: Likewise.
* config/mmix/mmix.c: Likewise.
* config/mn10300/mn10300.md: Likewise.
* config/sh/sh.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72118 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * tree-inline.c (remap_type): New.
rth [Sun, 5 Oct 2003 19:07:47 +0000 (19:07 +0000)]
    * tree-inline.c (remap_type): New.
        (remap_decl): Use it.  Remap DECL_SIZE*.
        (copy_body_r): Use it.
        (walk_tree): Walk TREE_TYPE too.
        (copy_tree_r): Don't walk subtrees of types.
        * tree.c (variably_modified_type_p): Restructure.  Consider integer
        types with non-const bounds variably modified.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72114 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/invoke.texi: Fix typos.
kazu [Sun, 5 Oct 2003 18:51:41 +0000 (18:51 +0000)]
* doc/invoke.texi: Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72113 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-05 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 5 Oct 2003 15:08:46 +0000 (15:08 +0000)]
2003-10-05  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_facets.tcc
(num_put::do_put(..., bool)): Prefer ?: to if-else.
(time_get::_M_extract_name): Qualify min with std::.
(__pad<>::_S_pad): Constify two variables; simplify an
if-else statement factoring out some code.

* include/bits/locale_facets.tcc: Minor cosmetic changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72112 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * fold-const.c: Follow spelling conventions.
kazu [Sun, 5 Oct 2003 13:34:45 +0000 (13:34 +0000)]
* fold-const.c: Follow spelling conventions.
* function.c: Likewise.
* config/c4x/c4x.h: Likewise.
* config/c4x/c4x.md: Likewise.
* config/frv/frv.md: Likewise.
* config/rs6000/aix.h: Likewise.
* config/rs6000/linux64.h: Likewise.
* config/xtensa/xtensa.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72111 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-pretty-print.c: Fix comment formatting.
kazu [Sun, 5 Oct 2003 13:09:48 +0000 (13:09 +0000)]
* c-pretty-print.c: Fix comment formatting.
* cfglayout.c: Likewise.
* cfgloopanal.c: Likewise.
* cppcharset.c: Likewise.
* dbxout.c: Likewise.
* ggc-page.c: Likewise.
* ggc.h: Likewise.
* target.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72110 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * builtins.c, jcf.h, jvspec.c: Remove PARAMS macros.
kcook [Sun, 5 Oct 2003 02:52:33 +0000 (02:52 +0000)]
* builtins.c, jcf.h, jvspec.c: Remove PARAMS macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72107 138bc75d-0d04-0410-961f-82ee72b054a4