OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago * gcc_release (announce_snapshot): Add substitution of @RELEASE@
gerald [Sun, 13 Jul 2003 22:10:03 +0000 (22:10 +0000)]
* gcc_release (announce_snapshot): Add substitution of @RELEASE@
for README and index.html.
* snapshot-README: Use it.
* snapshot-index.html: Ditto.

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

20 years ago PR bootstrap/11273
neroden [Sun, 13 Jul 2003 20:47:31 +0000 (20:47 +0000)]
PR bootstrap/11273
PR bootstrap/11408
* Makefile.tpl: Set INSTALL and friends using autoconf.  Remove
unused INSTALL_PROGRAM_ARGS.
* configure.in: Use AC_PROG_INSTALL.
* Makefile.in: Regenerate.
* configure: Regenerate.

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

20 years ago PR other/11123
neroden [Sun, 13 Jul 2003 20:31:33 +0000 (20:31 +0000)]
PR other/11123
* toplev.c: Don't cut off option names.

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

20 years ago * c-decl.c (link_hash_hash): Avoid warning about casting pointer
aj [Sun, 13 Jul 2003 20:21:24 +0000 (20:21 +0000)]
* c-decl.c (link_hash_hash): Avoid warning about casting pointer
to integer of different size.

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

20 years ago * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)
kazu [Sun, 13 Jul 2003 19:03:28 +0000 (19:03 +0000)]
* combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)
to (eq (and X 1) 0).

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

20 years ago * config.gcc: Add pmmintrin.h for x86_64-*-*.
aj [Sun, 13 Jul 2003 18:22:54 +0000 (18:22 +0000)]
* config.gcc: Add pmmintrin.h for x86_64-*-*.

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

20 years ago * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
zack [Sun, 13 Jul 2003 17:34:18 +0000 (17:34 +0000)]
* Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
(hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency
list.  Move these all together down by cpplib.

* cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining
definition of CPPCHAR_SIGNED_T.

* cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c
* cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c
* line-map.c, mkdeps.c: Don't include coretypes.h or tm.h.

* cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init.
* cppinit.c (cpp_create_reader): Likewise.

* cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line.
* cpptrad.c: Likewise.  All callers changed.
* cpplib.c: All callers changed.
* c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout.
* hashtable.h: Define GTY(x) to nothing here too.

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

20 years ago * stor-layout.c (compute_record_mode): Remove very obsolete test
kenner [Sun, 13 Jul 2003 17:12:28 +0000 (17:12 +0000)]
* stor-layout.c (compute_record_mode): Remove very obsolete test
that forces BLKmode for records with fields crossing word boundary.

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

20 years ago2003-07-13 Michael Koch <konqueror@gmx.de>
mkoch [Sun, 13 Jul 2003 16:53:05 +0000 (16:53 +0000)]
2003-07-13  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/FileChannelImpl.java,
gnu/java/nio/natFileChannelImpl.cc: Removed.
* java/io/FileInputStream.java,
java/io/FileOutputStream.java,
java/io/RandomAccessFile.java,
java/nio/MappedByteBufferImpl.java:
Import java.nio.channels.FileChannelImpl instead of
gnu.java.nio.FileChannelImpl.
* java/nio/channels/FileChannelImpl.java,
java/nio/channels/natFileChannelImpl.cc:
New files.
* Makefile.am
(ordinary_java_source_files):
Removed gnu/java/nio/FileChannelImpl.java and added
java/nio/channels/FileChannelImpl.java.
(nat source_files):
Removed gnu/java/nio/natFileChannelImpl.cc and added
java/nio/channels/natFileChannelImpl.cc.
* Makefile.in: Regenerated.

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

20 years ago * Makefile.in: Remove orphan reference to acconfig.h.
zack [Sun, 13 Jul 2003 16:52:23 +0000 (16:52 +0000)]
* Makefile.in: Remove orphan reference to acconfig.h.

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

20 years ago * MAINTAINERS: Alphabetize.
kazu [Sun, 13 Jul 2003 16:15:38 +0000 (16:15 +0000)]
* MAINTAINERS: Alphabetize.

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

20 years ago2003-07-13 Michael Koch <konqueror@gmx.de>
mkoch [Sun, 13 Jul 2003 15:29:11 +0000 (15:29 +0000)]
2003-07-13  Michael Koch  <konqueror@gmx.de>

* javax/swing/plaf/basic/BasicBorders.java,
javax/swing/plaf/basic/BasicLabelUI.java,
javax/swing/plaf/basic/BasicLookAndFeel.java,
javax/swing/plaf/basic/BasicTabbedPaneUI.java,
javax/swing/plaf/basic/BasicTextUI.java,
javax/swing/plaf/metal/MetalLookAndFeel.java:
New versions from classpath.

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

20 years ago * pt.c (push_access_scope_real): Remove.
lerdsuwa [Sun, 13 Jul 2003 15:20:58 +0000 (15:20 +0000)]
* pt.c (push_access_scope_real): Remove.
(push_access_scope): Move code from push_access_scope_real.
(pop_access_scope): Don't check for TEMPLATE_DECL.
(instantiate_template): Defer access checking during template
substitution.
(regenerate_decl_from_template): Tidy.

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

20 years ago2003-07-13 Michael Koch <konqueror@gmx.de>
mkoch [Sun, 13 Jul 2003 15:09:20 +0000 (15:09 +0000)]
2003-07-13  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/peer/gtk/GdkFontMetrics.java
* gnu/java/awt/peer/gtk/GdkGraphics.java
* gnu/java/awt/peer/gtk/GtkButtonPeer.java
* gnu/java/awt/peer/gtk/GtkCanvasPeer.java
* gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
* gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
* gnu/java/awt/peer/gtk/GtkChoicePeer.java
* gnu/java/awt/peer/gtk/GtkClipboard.java
* gnu/java/awt/peer/gtk/GtkDialogPeer.java
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
* gnu/java/awt/peer/gtk/GtkFramePeer.java
* gnu/java/awt/peer/gtk/GtkGenericPeer.java
* gnu/java/awt/peer/gtk/GtkImage.java
* gnu/java/awt/peer/gtk/GtkImagePainter.java
* gnu/java/awt/peer/gtk/GtkLabelPeer.java
* gnu/java/awt/peer/gtk/GtkListPeer.java
* gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
* gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
* gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
* gnu/java/awt/peer/gtk/GtkMenuPeer.java
* gnu/java/awt/peer/gtk/GtkOffScreenImage.java
* gnu/java/awt/peer/gtk/GtkPanelPeer.java
* gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
* gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
* gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
* gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java

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

20 years ago2003-07-13 Michael Koch <konqueror@gmx.de>
mkoch [Sun, 13 Jul 2003 15:00:20 +0000 (15:00 +0000)]
2003-07-13  Michael Koch  <konqueror@gmx.de>

* gnu/java/locale/LocaleInformation_de.java
* gnu/java/locale/LocaleInformation_en.java
* gnu/java/locale/LocaleInformation_nl.java

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

20 years ago2003-07-13 Michael Koch <konqueror@gmx.de>
mkoch [Sun, 13 Jul 2003 14:39:41 +0000 (14:39 +0000)]
2003-07-13  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/EmbeddedWindow.java,
gnu/java/awt/EmbeddedWindowSupport.java,
gnu/java/awt/natEmbeddedWindow.cc:
New files.
* java/awt/Window.java
(Window): New constructor to support embedded windows.
* Makefile.am
(awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
gnu/java/awt/EmbeddedWindowSupport.java.
(nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
* Makefile.in: Regenerated.

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

20 years agodocument covariants implemented
nathan [Sun, 13 Jul 2003 14:30:02 +0000 (14:30 +0000)]
document covariants implemented

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

20 years ago * cgraphunit.c: Convert prototypes to ISO C90.
aj [Sun, 13 Jul 2003 08:40:07 +0000 (08:40 +0000)]
* cgraphunit.c: Convert prototypes to ISO C90.

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

20 years ago * fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
neroden [Sun, 13 Jul 2003 06:52:25 +0000 (06:52 +0000)]
* fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
(for OpenBSD).
* fixinc/fixincl.x: Rebuild.

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

20 years ago * configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for
zack [Sun, 13 Jul 2003 02:53:00 +0000 (02:53 +0000)]
* configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for
i?86-*-*.  Use correct name of cache variable.
* configure: Regenerate.

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

20 years agoDaily bump.
gccadmin [Sun, 13 Jul 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago * config/alpha/alpha.c: Fix comment typos.
kazu [Sat, 12 Jul 2003 23:02:23 +0000 (23:02 +0000)]
* config/alpha/alpha.c: Fix comment typos.
* config/alpha/alpha.md: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/arm.md: Likewise.
* config/arm/lib1funcs.asm: Likewise.
* config/avr/avr.md: Likewise.
* config/arm/README-interworking: Fix typos.

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

20 years ago * c-format.c: Fix comment formatting.
kazu [Sat, 12 Jul 2003 22:49:48 +0000 (22:49 +0000)]
* c-format.c: Fix comment formatting.
* c-typeck.c: Likewise.
* coverage.c: Likewise.
* cppcharset.c: Likewise.
* cpplib.c: Likewise.
* dbxout.c: Likewise.
* gcov-io.h: Likewise.
* toplev.c: Likewise.

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

20 years ago * gcc_update: gcc/acconfig.h no longer exists.
zack [Sat, 12 Jul 2003 21:32:36 +0000 (21:32 +0000)]
* gcc_update: gcc/acconfig.h no longer exists.

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

20 years ago * fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this
neroden [Sat, 12 Jul 2003 20:12:52 +0000 (20:12 +0000)]
* fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this
fix.

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

20 years agoRegenerate again, oops
zack [Sat, 12 Jul 2003 20:05:24 +0000 (20:05 +0000)]
Regenerate again, oops

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

20 years ago * aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE,
zack [Sat, 12 Jul 2003 20:03:14 +0000 (20:03 +0000)]
* aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE,
uses three-argument AC_DEFINE so no acconfig.h entries are
needed.
(_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers
which contains the GAS version number as a scaled integer.
(gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers.  Add
ability to check for ELF assembler.
(gcc_GAS_CHECK_FEATURE): New macro.
* configure.in: Use gcc_AC_CHECK_TYPE.  Rewrite all
assembler feature checks using gcc_GAS_CHECK_FEATURE.
Use three-argument AC_DEFINE everywhere.
* acconfig.h: Deleted.
* config.in, configure: Regenerate.

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

20 years ago(fix dumb changelog omission)
neroden [Sat, 12 Jul 2003 19:55:44 +0000 (19:55 +0000)]
(fix dumb changelog omission)
* fixinc/fixincl.x: Regenerate.

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

20 years ago * fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in
neroden [Sat, 12 Jul 2003 19:39:44 +0000 (19:39 +0000)]
* fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in
(on OpenBSD).

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

20 years ago * fixinc/inclhack.def (gnu_types): Improve comment.
neroden [Sat, 12 Jul 2003 19:25:59 +0000 (19:25 +0000)]
* fixinc/inclhack.def (gnu_types): Improve comment.

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

20 years ago * Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
aj [Sat, 12 Jul 2003 18:54:06 +0000 (18:54 +0000)]
 * Make-lang.in (treelang/tree-convert.o): Depend on TM_H.

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

20 years ago * fp-test.c (main): Use ISO C90 prototype.
aj [Sat, 12 Jul 2003 11:29:18 +0000 (11:29 +0000)]
* fp-test.c (main): Use ISO C90 prototype.

* version.c: Remove unneded include of ansidecl.h.

* cgraph.h: Convert prototypes to ISO C90.
* cgraph.c: Likewise.
* fix-header.c: Likewise.
* ra.h: Likewise.
* protoize.c: Likewise.

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

20 years ago* cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix
hubicka [Sat, 12 Jul 2003 04:10:36 +0000 (04:10 +0000)]
* cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix
warning.

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

20 years ago PR bootstrap/7126
neroden [Sat, 12 Jul 2003 02:04:33 +0000 (02:04 +0000)]
PR bootstrap/7126
* configure.in: Correct zlib version number.
* configure: Regenerate.

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

20 years ago * cgraph.c (cgraph_max_uid): New global variable.
hubicka [Sat, 12 Jul 2003 01:07:40 +0000 (01:07 +0000)]
* cgraph.c (cgraph_max_uid): New global variable.
(cgraph_node): Set uid field.
(create_edge): Keep inline flags consistent.
(dump_cgraph): Dump more info.
* cgraph.h (struct cgraph_local_info): Remove inline_many and
can_inline_once; add inlinable, disgread_inline_limits, and self_insn
(struct cgraph_global_info): Add insns, calls, cloned_times,
will_be_output.
(struct cgraph_node): Add uid.
(struct cgraph_edge): Add inline_call.
(cgraph_max_uid, cgraph_inline_p): Declare.
* cgraph.c: Include params.h and fibheap.h
(cgraph_mark_functions_to_inline_once): Kill.
(INSNS_PER_CALL): New constant.
(ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New
static variables.
(cgraph_finalize_function): Do not analyze inlining.
(cgraph_finalize_compilation_unit): Set inlining attributes.
(cgraph_mark_functions_to_output): More consistency checks.
(cgraph_optimize_function): Set current_function_decl to NULL.
(cgraph_expand_function): Use new inline flags.
(cgraph_postorder): Expand from cgraph_expand_functions.
(INLINED_TIMES, SET_INLINED_TIMES): New macros.
(cgraph_inlined_into, cgraph_inlined_callees,
cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
cgraph_mark_inline, cgraph_check_inline_limits,
cgraph_default_inline_p, cgraph_decide_inling_of_small_functions,
cgraph_decide_inlining, cgraph_inline_p): New functions.
* params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH,
PARAM_INLINE_UNIT_GROWTH): New parameters.
* tree-inline.c (struct inline_data): New field current_decl.
(expand_call_inline): Avoid forward declarations; use
inlinable_function_p.
(optimize_inline_calls): Set id.current_decl.

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

20 years agoPatch from Andrew Pinksi.
wilson [Sat, 12 Jul 2003 00:35:14 +0000 (00:35 +0000)]
Patch from Andrew Pinksi.
* configure.in: Remove wrongly added definition of
local_prefix.
* configure: Regenerate.

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

20 years agoDaily bump.
gccadmin [Sat, 12 Jul 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago * rtl.def (NOTE): Do not use padding.
gerald [Fri, 11 Jul 2003 23:49:43 +0000 (23:49 +0000)]
* rtl.def (NOTE): Do not use padding.

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

20 years agoPatch from Dara Hazeghi.
wilson [Fri, 11 Jul 2003 23:04:48 +0000 (23:04 +0000)]
Patch from Dara Hazeghi.
* doc/install.tex: Update required binutils for i?86-*-linux*

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

20 years ago PR c++/11437
neroden [Fri, 11 Jul 2003 23:01:53 +0000 (23:01 +0000)]
PR c++/11437
* operators.def: Add definitions for __imag__, __real__.

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

20 years ago * libjava.verify/verify.exp: New file.
tromey [Fri, 11 Jul 2003 22:23:13 +0000 (22:23 +0000)]
* libjava.verify/verify.exp: New file.
* libjava.verify/README.verify: New file.

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

20 years ago * README: Note that libffi is not part of GCC. Update the project
gerald [Fri, 11 Jul 2003 22:13:16 +0000 (22:13 +0000)]
* README: Note that libffi is not part of GCC.  Update the project
URL and status.

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

20 years ago * Makefile.in (stage1_build): Force OBJS-onestep=OBJS.
rth [Fri, 11 Jul 2003 22:00:09 +0000 (22:00 +0000)]
    * Makefile.in (stage1_build): Force OBJS-onestep=OBJS.

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

20 years ago * README: Note that zlib is not part of GCC.
gerald [Fri, 11 Jul 2003 21:54:40 +0000 (21:54 +0000)]
* README: Note that zlib is not part of GCC.

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

20 years ago * README: Note that FastJar is not part of GCC.
gerald [Fri, 11 Jul 2003 21:48:39 +0000 (21:48 +0000)]
* README: Note that FastJar is not part of GCC.

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

20 years ago * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
mmitchel [Fri, 11 Jul 2003 21:20:18 +0000 (21:20 +0000)]
* varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
TRANSLATION_UNIT_DECL as top_level.

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

20 years ago * optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
jakub [Fri, 11 Jul 2003 21:04:56 +0000 (21:04 +0000)]
* optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
then fall back to cmpstrM.
* builtins.c (expand_builtin_memcmp): Likewise.
* config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
(s390_expand_cmpmem): ... this.
* config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
from cmpstr* patterns.  Rename call to s390_expand_cmpstr
to s390_expand_cmpmem.
* config/s390/s390.c (s390_expand_cmpstr): Rename to...
(s390_expand_cmpstr): ... this.  Rename cmpstr* instructions
to cmpmem*.
* config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
cmpstr* patterns.
* doc/md.texi (cmpstrM): Describe as String compare insn, not
Block compare insn.
(cmpmemM): Add.

* gcc.dg/20030711-1.c: New test.

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

20 years ago * config/i386/freebsd.h (SET_ASM_OP): Remove.
ljrittle [Fri, 11 Jul 2003 20:22:34 +0000 (20:22 +0000)]
* config/i386/freebsd.h (SET_ASM_OP): Remove.
(SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
(ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
 MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.

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

20 years ago2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
tromey [Fri, 11 Jul 2003 18:27:54 +0000 (18:27 +0000)]
2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>

* gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
* gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
* java/awt/im/InputContext.java: Remove a redundant
partial line.

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

20 years ago * function.c (assign_parms): Don't recombine complex args if
rth [Fri, 11 Jul 2003 16:28:22 +0000 (16:28 +0000)]
    * function.c (assign_parms): Don't recombine complex args if
        fnargs is unchanged from orig_fnargs.
        (split_complex_args): Return args without complex before copying.
        Re-layout the modified parameters.

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

20 years ago2003-07-11 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Fri, 11 Jul 2003 14:25:09 +0000 (14:25 +0000)]
2003-07-11  Jerry Quinn  <jlquinn@optonline.net>

* include/bits/basic_ios.h (copyfmt): Document.
* include/bits/ios_base.h (event, event_callback, register_callback,
xalloc, iword, pword):  Document.
(imbue, ~ios_base): Update docs on callbacks.

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

20 years ago * regclass.c (choose_hard_reg_mode): Add third argument.
amylaar [Fri, 11 Jul 2003 14:09:29 +0000 (14:09 +0000)]
* regclass.c (choose_hard_reg_mode): Add third argument.
Changed all callers.
* rtl.h (choose_hard_reg_mode): Update declaration.
* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
Take HARD_REGNO_CALL_PART_CLOBBERED into account.

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

20 years agocp:
nathan [Fri, 11 Jul 2003 09:18:01 +0000 (09:18 +0000)]
cp:
PR c++/11050
* parser.c (cp_parser_expression_list): Rename to ...
(cp_parser_parenthesized_expression_list): ... here. Add attribute
parameter, parse the surounding parentheses.
(cp_parser_skip_to_closing_parenthesis): Add recover and or_comma
parameters. Return int.
(cp_parser_skip_to_closing_parenthesis or comma): Remove.
(cp_parser_postfix_expression): Adjust function call parsing.
(cp_parser_new_placement): Adjust.
(cp_parser_new_initializer): Likewise.
(cp_parser_cast_expression): Likewise.
(cp_parser_selection_statement): Likewise.
(cp_parser_mem_initializer): Likewise.
(cp_parser_asm_definition): Likewise.
(cp_parser_init_declarator): Likewise.
(cp_parser_declarator): Make
cdtor_or_conv_p an int ptr.
(cp_parser_direct_declarator): Likewise. Check for a parameter
list on cdtors & conv functions.
(cp_parser_initializer): Adjust.
(cp_parser_member_declaration): Adjust.
(cp_parser_attribute_list): Move code into
cp_parser_parens_expression_list.
(cp_parser_functional_cast): Adjust.
* pt.c (type_dependent_expression_p): Erroneous expressions are
non-dependent.
testsuite:
PR c++/11050
* g++.dg/parse/args1.C: New test.
* g++.pt/defarg8.C: Change expected errors.

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

20 years ago PR c++/8164
mmitchel [Fri, 11 Jul 2003 08:53:59 +0000 (08:53 +0000)]
PR c++/8164
* decl.c (duplicate_decls): Avoid mangling names unnecessarily.

PR c++/8164
* g++.dg/template/nontype2.C: New test.

PR c++/10558
* g++.dg/parse/template8.C: New test.

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

20 years ago PR c++/10558
mmitchel [Fri, 11 Jul 2003 08:41:44 +0000 (08:41 +0000)]
PR c++/10558
* g++.dg/parse/template8.C: New test.

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

20 years agoIndex: ChangeLog
geoffk [Fri, 11 Jul 2003 08:33:21 +0000 (08:33 +0000)]
Index: ChangeLog
2003-07-10  Geoffrey Keating  <geoffk@apple.com>

* c-decl.c (finish_decl): Handle 'used' here...
* cgraphunit.c (cgraph_finalize_function): ... and here ...
* c-common.c: (handle_used_attribute): ... not here.

* configure.in (onstep): Support --enable-intermodule.
* Makefile.in (OBJS-common): New.
(OBJS-md): New.
(OBJS-archive): New.
(OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
(OBJS-onestep): New.
(libbackend.a): Support @onestep@.
(libbackend.o): New.
* configure: Regenerate.

* c-common.h (c_reset_state): New prototype.
(c_parse_file): New prototype.
(finish_file): Move prototype from c-tree.h.
* c-decl.c: Include <hashtab.h>.
(builtin_decls): New.
(current_file_decl): New.
(duplicate_decls): Add extra parameter. Change all callers.  Don't
output duplicate common symbols.
(link_hash_hash): New.
(link_hash_eq): New.
(poplevel): Handle popping of the top level.
(warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
(pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
(pushdecl_top_level): Likewise.
(redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
(c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
(finish_decl): Handle TRANSLATION_UNIT_DECL.
(merge_translation_unit_decls): New.
(c_write_global_declarations): New.
(c_reset_state): New.
(implicitly_declare): Handle TRANSLATION_UNIT_DECL.
* c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
* c-objc-common.c (c_cannot_inline_tree_fn): Handle
TRANSLATION_UNIT_DECL.
(c_objc_common_finish_file): Call merge_translation_unit_decls.
* c-opts.c (in_fnames): Rename from in_fname.
(c_common_decode_option): Handle multiple input filenames.
(c_common_post_options): Likewise.
(c_common_parse_file): Likewise; also, call c_parse_file rather than
yyparse.
* c-parse.in: Move cleanup code to c_parse_file.
(free_parser_stacks): Move contents to c_parse_file.
(c_parse_file): New.
* c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
for integer types.
(C_DECL_FILE_SCOPE): New.
(finish_file): Move prototype to c-common.h.
(merge_translation_unit_decls): New prototype.
(comptypes): Add extra parameter to prototype.
(c_write_global_declarations): New prototype.
* c-typeck.c (tagged_types_tu_compatible_p): New.
(function_types_compatible_p): Add extra parameter, change all callers.
(type_lists_compatible_p): Likewise.
(comptypes): Likewise.
(struct tagged_tu_seen): New.
(tagged_tu_seen_base): New.
(build_unary_op): Handle TRANSLATION_UNIT_DECL.
(c_mark_addressable): Remove #if 0 code.
* calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
comment explaining why it shouldn't have to.
* cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
options.
* cppinit.c (cpp_read_next_file): New.
(cpp_read_main_file): Use it.
* cpplib.c (undefine_macros): New.
(cpp_undef_all): New.
* cpplib.h (cpp_read_next_file): Prototype.
(cpp_undef_all): Prototype.
* langhooks-def.h (write_global_declarations): Remove prototype.
* toplev.h (write_global_declarations): Add prototype.
* tree.c (decl_type_context): Use switch statement, handle
TRANSLATION_UNIT_DECL.
* tree.def: Update documentation for TRANSLATION_UNIT_DECL.
(TRANSLATION_UNIT_DECL): New kind of tree.
* tree.h: Update documentation for TRANSLATION_UNIT_DECL.
* Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
* doc/invoke.texi: Make attempt to document new functionality.

2003-05-19  Per Bothner <bothner@apple.com>

* gcc.c (combine_inputs): New.
(process_command): Set combine_inputs.
(do_spec_1): Handle combine_inputs.
(main): Likewise.

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

* decl.c (cp_finish_decl): Handle 'used' attribute.

* cp-lang.c (c_reset_state): New dummy routine.
* cp-tree.h (finish_file): Move prototype to c-common.h.
* parser.c (c_parse_file): Rename from yyparse; don't call finish_file.

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

20 years ago PR c++/8327
mmitchel [Fri, 11 Jul 2003 08:20:19 +0000 (08:20 +0000)]
PR c++/8327
* pt.c (tsubst_qualified_id): Implement suggested resolution for
Core Issue 2.
(type_dependent_expression_p): Likewise.

PR c++/8327
* g++.dg/template/scope1.C: New test.

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

20 years ago * typeck.c (build_binary_op): Do not warn about signed
mmitchel [Fri, 11 Jul 2003 08:13:58 +0000 (08:13 +0000)]
* typeck.c (build_binary_op): Do not warn about signed
vs. unsigned comparisons in the bodies of templates.

* g++.dg/warn/Wsign-compare-1.C: New test.

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

20 years agoPR optimization/9745
wilson [Fri, 11 Jul 2003 06:44:40 +0000 (06:44 +0000)]
PR optimization/9745
* loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
loop_insn_emit_before.
(loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.

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

20 years ago2003-07-11 Matthias Klose <doko@debian.org>
doko [Fri, 11 Jul 2003 06:05:01 +0000 (06:05 +0000)]
2003-07-11  Matthias Klose  <doko@debian.org>

        * test_installed: Add options to run objc tests.
        In generated site.exp, initialize rootme, CFLAGS, CXXFLAGS.

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

20 years ago * cppcharset.c: Fix comment.
zack [Fri, 11 Jul 2003 05:49:47 +0000 (05:49 +0000)]
* cppcharset.c: Fix comment.
(iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
(EILSEQ): #define to EINVAL if not already defined.
(convert_using_iconv): #if out when !HAVE_ICONV.
(init_iconv_desc): Handle !HAVE_ICONV here...
(cpp_init_iconv): ...not here.

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

20 years ago * common.opt: More --help messages.
neil [Fri, 11 Jul 2003 05:35:06 +0000 (05:35 +0000)]
* common.opt: More --help messages.
* opts.c (print_help): Use puts().
* toplev.c (f_options): Remove help text.
(display_help): Don't dump f_options.

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

20 years ago * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
neroden [Fri, 11 Jul 2003 05:24:48 +0000 (05:24 +0000)]
* fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
Move i?86-*-interix* to the don't-fix list.
* fixinc/fixinc.interix: Delete with extreme prejudice.

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

20 years agoPatch from Dara Hazeghi.
wilson [Fri, 11 Jul 2003 04:59:35 +0000 (04:59 +0000)]
Patch from Dara Hazeghi.
PR bootstrap/10758
* doc/install.texi: Document requirements for ia64-*-hpux* target.

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

20 years agoMissed one spot from the previous change.
pme [Fri, 11 Jul 2003 04:32:25 +0000 (04:32 +0000)]
Missed one spot from the previous change.

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

20 years ago2003-07-11 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 11 Jul 2003 04:04:49 +0000 (04:04 +0000)]
2003-07-11  Phil Edwards  <pme@gcc.gnu.org>

* acinclude.m4 (GLIBCC_ENABLE_SYMVERS):  Tweak comments.  Add
warning messages if the environment cannot support symbol versioning.
(port_specific_symbol_file):  It's plural, add an 's' on the end.
* configure.host:  Likewise.
* src/Makefile.am:  Likewise.
* config/linker-map.gnu:  Remove one semicolon, heh.
* scripts/extract_symvers:  Don't assume useful 'export' syntax.
Set LANG as well as LC_ALL for possibly-broken sort(1)s.
* aclocal.m4, configure, src/Makefile.in:  Regenerated.

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

20 years ago * gcc.dg/20021018-1.c: Disable if the sizeof (int) < 4.
kazu [Fri, 11 Jul 2003 03:28:56 +0000 (03:28 +0000)]
* gcc.dg/20021018-1.c: Disable if the sizeof (int) < 4.

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

20 years ago * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.
sayle [Fri, 11 Jul 2003 03:10:48 +0000 (03:10 +0000)]
* config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.

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

20 years agoDaily bump.
gccadmin [Fri, 11 Jul 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
zack [Thu, 10 Jul 2003 23:16:31 +0000 (23:16 +0000)]
* cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16,
one_utf16_to_utf8, conversion_loop, convert_utf8_utf16,
convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8,
convert_no_conversion, convert_using_iconv): New functions.
(APPLY_CONVERSION): New macro.
(struct conversion, conversion_tab): New data structure.
(init_iconv_desc): Check conversion_tab for a custom conversion
primitive before trying to use iconv.
(convert_cset): Deleted.
(cpp_init_iconv): Use UTF- terminology, not UCS-.
(_cpp_destroy_iconv): Update to match.
(_cpp_valid_ucn): We don't need iconv to implement UCNs.
(convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION.
(convert_escape, cpp_interpret_string): Use APPLY_CONVERSION.
(_cpp_interpret_string_notranslate): New function, moved here
from cpplib.c.

* cpphash.h (convert_f, struct cset_converter): New types.
(struct cpp_reader): narrow_cset_desc and wide_cset_desc
are now struct cset_converter, not bare iconv_t.
Update prototypes.
* cpplib.c (interpret_string_notranslate): Moved to cppcharset.c;
all callers changed.

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

20 years agooops
neil [Thu, 10 Jul 2003 20:46:28 +0000 (20:46 +0000)]
oops

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

20 years ago * Make-lang.in: Update.
neil [Thu, 10 Jul 2003 20:43:48 +0000 (20:43 +0000)]
* Make-lang.in: Update.
* tree1.c: Don't include c-common.h.
(c_language): Remove.

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

20 years ago2003-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Thu, 10 Jul 2003 20:42:21 +0000 (20:42 +0000)]
2003-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>

* ffe.texi: Correctly use @var{srcdir}.

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

20 years ago * Makefile.in (options.h): Depend on Makefile. Add move-if-change
neil [Thu, 10 Jul 2003 20:42:05 +0000 (20:42 +0000)]
* Makefile.in (options.h): Depend on Makefile.  Add move-if-change
to opts.sh command line.
* opts.sh: Write to temporary files with a move-if-change at the end.

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

20 years ago * combine.c (gen_binary): Handle the CLOBBER rtx and
denisc [Thu, 10 Jul 2003 20:28:09 +0000 (20:28 +0000)]
* combine.c (gen_binary): Handle the CLOBBER rtx and
don't build a binary operation with it.

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

20 years ago * gcse.c (load_kills_store, find_loads, store_killed_in_insn,
rakdver [Thu, 10 Jul 2003 19:48:43 +0000 (19:48 +0000)]
* gcse.c (load_kills_store, find_loads, store_killed_in_insn,
store_killed_after, store_killed_before): Keep track of the correct
dependency function to use.

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

20 years ago PR c++/9411
mmitchel [Thu, 10 Jul 2003 19:19:09 +0000 (19:19 +0000)]
PR c++/9411
* parser.c (cp_parser_postfix_expression): Check dependency of
functions.

PR c++/9411
* g++.dg/template/explicit2.C: New test.

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

20 years ago2003-07-10 Steven Bosscher <steven@gcc.gnu.org>
steven [Thu, 10 Jul 2003 19:15:10 +0000 (19:15 +0000)]
2003-07-10  Steven Bosscher  <steven@gcc.gnu.org>
* toplev.c (do_compile): Don't try to open dump files before
lang_dependent_init initializes dump_base_name.

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

20 years ago * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
ghazi [Thu, 10 Jul 2003 18:04:25 +0000 (18:04 +0000)]
* config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
Use ARRAY_SIZE.
* config/frv/frv.c (frv_expand_builtin): Likewise.
* config/sh/sh.c (sh_media_init_builtins): Likewise.

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

20 years ago PR c++/10032
mmitchel [Thu, 10 Jul 2003 16:47:52 +0000 (16:47 +0000)]
PR c++/10032
* doc/invoke.texi (C++ Dialect Options): Change documentation of
-fpermissive.

PR c++/10032
* decl.c (cxx_init_decl_processing): With -pedantic, pedwarns are
still errors.

PR c++/10527
* error.c (decl_to_string): Do not print default argument
expressions.

* cp-tree.h (break_out_calls): Remove declaration.
* tree.c (break_out_calls): Remove.
* typeck.c (build_modify_expr): Avoid invalid sharing of trees.

PR c++/10032
* g++.dg/warn/pedantic1.C: New test.

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

20 years ago * tm.texi (RETURN_ADDR_OFFSET): Document.
amylaar [Thu, 10 Jul 2003 14:56:33 +0000 (14:56 +0000)]
* tm.texi (RETURN_ADDR_OFFSET): Document.

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

20 years ago PR c++ 9483
nathan [Thu, 10 Jul 2003 14:52:56 +0000 (14:52 +0000)]
PR c++ 9483
* g++.dg/other/field1.C: New test.

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

20 years ago * gcov-io.h: Update documentation.
nathan [Thu, 10 Jul 2003 14:13:01 +0000 (14:13 +0000)]
* gcov-io.h: Update documentation.
(GCOV_UNSIGNED2STRING): New.
(GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
GCOV_TAG_SUMMARY_LENGTH): Adjust.
(GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM,
GCOV_TAG_COUNTER_NUM): New.
(GCOV_BLOCK_SIZE): Number of words.
(gcov_var): Adjust buffer type.
* gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ...
(gcov_write_words, gcov_read_words): ... here. Take a 4-byte word
count, not byte count.
(gcov_open): Adjust overread init.
(gcov_allocate, gcov_write_unsigned, gcov_write_counter,
gcov_write_string, gcov_write_tag, gcov_write_length,
gcov_write_tag_length): Adjust.
(gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
(gcov_sync, gcov_seek): Adjust.
* gcov-dump.c (print_usage): Show gcc version only.
(dump_file): Use GCOV_UNSIGNED2STRING.
(tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros.
* gcov.c (print_version): Show gcc version only.
(read_graph_file): Use GCOV_UNSIGNED2STRING. Use
GCOV_TAG_*_NUM macros.
(read_count_file): Use GCOV_UNSIGNED2STRING. Use
GCOV_TAG_COUNTER_LENGTH.
* coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING.
Use GCOV_TAG_COUNTER_NUM.
* libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING.
(__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK.

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

20 years ago PR c/11449
kazu [Thu, 10 Jul 2003 12:51:27 +0000 (12:51 +0000)]
PR c/11449
* fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
of HOST_WIDE_INT.
(fold_single_bit_test): If sign_bit_p() fails, assume that the
bit being tested is not a sign bit.

PR c/11449
* gcc.c-torture/compile/20030707-1.c: New.
* config/h8300/h8300.md (a peephole2): New.

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

20 years ago PR c++/10849
lerdsuwa [Thu, 10 Jul 2003 12:48:17 +0000 (12:48 +0000)]
PR c++/10849
* g++.dg/template/access12.C: New test.

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

20 years ago PR c/11449
kazu [Thu, 10 Jul 2003 12:40:10 +0000 (12:40 +0000)]
PR c/11449
* fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
of HOST_WIDE_INT.
(fold_single_bit_test): If sign_bit_p() fails, assume that the
bit being tested is not a sign bit.

PR c/11449
* gcc.c-torture/compile/20030707-1.c: New.
* config/h8300/h8300.md (a peephole2): New.

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

20 years ago2003-07-10 Steven Bosscher <steven@gcc.gnu.org>
steven [Thu, 10 Jul 2003 11:38:18 +0000 (11:38 +0000)]
2003-07-10  Steven Bosscher  <steven@gcc.gnu.org>

* ggc.h, integrate.h, langhooks.h, real.h, toplev.h:
Use `rtx' instead of `struct rtx_def *', `rtvec' instead of
`struct rtvec_dev *' and `tree' instead of `union tree_node *'
in function prototypes.
* varray.h (const_equiv_data): Likewise for fields.
(varray_data_tag): Likewise.
* output.h: Likewise, and don't forward declare union tree_node.
* emit_rtl.c (const_int_htab_hash): Cast to `rtx' instead of
`struct rtxvec *'.
* print-tree.c (print_node): Likewise.
* reload1.c: Don't redeclare current_function_decl, tree.h is
included in this file.

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

20 years ago * gcov-dump.c (dump_file): Fix missing address operator.
schwab [Thu, 10 Jul 2003 09:52:13 +0000 (09:52 +0000)]
* gcov-dump.c (dump_file): Fix missing address operator.

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

20 years agoFixed rare threading problem
nicola [Thu, 10 Jul 2003 09:24:51 +0000 (09:24 +0000)]
Fixed rare threading problem

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

20 years agocp:
nathan [Thu, 10 Jul 2003 09:02:06 +0000 (09:02 +0000)]
cp:
PR c++ 9483
* class.c (check_field_decls): Pass DECL_NAME to constructor_name_p.
* decl2.c (constructor_name_p): Avoid repeated constructor_name
calls.
* decl.c (grokdeclarator): Refactor ctor/dtor detection.
testsuite:
PR c++ 9483
* g++.dg/other/field1.C: New test.

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

20 years agoRemove C language front end dependencies.
wilson [Thu, 10 Jul 2003 08:18:53 +0000 (08:18 +0000)]
Remove C language front end dependencies.
* tree-convert.c: New file.
* treetree.c: Don't include c-tree.h.  Include target.h.
(struct lang_identifier, union lang_tree_node, struct lang_type,
struct lang_function): New, minimal language-specific datastructs.
(tree_lang_truthvalue_conversion, tree_mark_addressable,
tree_lang_type_for_size, tree_lang_type_for_mode,
tree_lang_unsigned_type, tree_lang_signed_type,
tree_lang_signed_or_unsigned): New functions.
(LANG_HOOKS_*): Don't use C front end langhooks.  Use new functions.
(pushlevel, poplevel, global_bindings_p, insert_block, set_block,
pushdecl, getdecls, kept_level_p, tree_push_type_decl,
tree_push_atomic_type_decl): New functions.
(struct resword, struct reswords): Remove.
* Make-lang.in: Update.  Don't depend on C front end objects.
* config-lang.in: Likewise.

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

20 years ago2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 10 Jul 2003 06:21:13 +0000 (06:21 +0000)]
2003-07-09  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.tcc: Use function object for
__use_cache instead of template function. Partially specialize for
__numpunct<_CharT>.
* include/bits/locale_classes.h: Update friend declaration for
__use_cache.
(_M_install_cache): No throw exception specs.
* src/locale.cc: Remove __use_cache specializations.
* include/ext/pod_char_traits.h (length): Tweak.
* include/bits/locale_facets.h (__numpunct_cache): Remove
char_type typedef.
* testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
(pod_long): Remove.
* testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
* testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
* testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
* testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
* testsuite/22_locale/numpunct/members/pod/1.cc: New.
* testsuite/22_locale/numpunct/members/pod/2.cc: New.

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

20 years ago * config/h8300/h8300.md (a peephole2): New.
kazu [Thu, 10 Jul 2003 06:18:30 +0000 (06:18 +0000)]
* config/h8300/h8300.md (a peephole2): New.

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

20 years ago2003-07-09 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 10 Jul 2003 05:19:06 +0000 (05:19 +0000)]
2003-07-09  Michael Koch  <konqueror@gmx.de>

* libgcj.pc.in: New file.
* Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
* Makefile.in: Regenerated.
* configure: Regenrated.
* configure.in: Create libgcj.pc from libgcj.pc.in.

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

20 years ago * xtensa-config.h: Undef all macros before defining them.
bwilson [Thu, 10 Jul 2003 05:08:27 +0000 (05:08 +0000)]
    * xtensa-config.h: Undef all macros before defining them.

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

20 years ago* configure: Rebuilt.
aoliva [Thu, 10 Jul 2003 05:04:03 +0000 (05:04 +0000)]
* configure: Rebuilt.
2001-09-26  Alexandre Oliva  <aoliva@redhat.com>
* configure.in (noconfigdirs) [am33_2.0-*-linux*]: Don't build
newlib nor libgloss.
Wed May  9 10:07:19 2001  Alexandre Oliva  <aoliva@redhat.com>
* configure.in (am33_2.0-*-linux*): Added.

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

20 years ago * configure.in: Add ${libgcj} to noconfigdirs for xtensa-*-* targets.
bwilson [Thu, 10 Jul 2003 04:57:45 +0000 (04:57 +0000)]
    * configure.in: Add ${libgcj} to noconfigdirs for xtensa-*-* targets.
        * configure: Regenerate.

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

20 years ago2001-12-13 Alexandre Oliva <aoliva@redhat.com>
aoliva [Thu, 10 Jul 2003 04:50:15 +0000 (04:50 +0000)]
2001-12-13  Alexandre Oliva  <aoliva@redhat.com>
* config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker
from ld-linux.so.2 to ld.so.1.
2001-11-18  Alexandre Oliva  <aoliva@redhat.com>
* config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread.
* config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath
nor -Wl,-rpath-link.
(LIB_SPEC): Add -rpath-link if !static.
2001-08-22  Alexandre Oliva  <aoliva@redhat.com>
* config/mn10300/mn10300.c (mn10300_protect_label): New
variable.
* config/mn10300/linux.h (PRINT_OPERAND,
PRINT_OPERAND_ADDRESS): Set it during their execution.
(ASM_OUTPUT_LABELREF): Output `+' before symbol name if
mn10300_protect_label is set.
* config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and
-Wl,-rpath-link.
(LIB_SPEC, STARTFILE_SPEC): Define.
2001-05-11  Alexandre Oliva  <aoliva@redhat.com>
* config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define
FLOAT_BIT_ORDER_MISMATCH.
2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
* config.gcc (am33_2.0-*-linux*): Added.
* config/mn10300/linux.h: New.
* config/mn10300/t-linux: New.

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

20 years ago * fold-const.c: Properly wrap prototypes.
aj [Thu, 10 Jul 2003 04:44:05 +0000 (04:44 +0000)]
* fold-const.c: Properly wrap prototypes.

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

20 years ago2003-06-16 Alexandre Oliva <aoliva@redhat.com>
aoliva [Thu, 10 Jul 2003 03:25:32 +0000 (03:25 +0000)]
2003-06-16  Alexandre Oliva  <aoliva@redhat.com>
* config/mn10300/mn10300.c (mn10300_unspec_int_label_counter):
Moved from...
* config/mn10300/mn10300.md (GOTaddr2picreg): ... here.
* config/mn10300/mn10300.h: GTY-declare it.
2003-06-11  Alexandre Oliva  <aoliva@redhat.com>
* config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
prototype.  Use incoming RTL argument.
2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
* config/mn10300/mn10300.md (int_label): Move C statements...
(GOTaddr2picreg): ... here.
2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
* config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move...
* config/mn10300/mn10300.c (mn10300_encode_section_info):
... here.  New function.
(TARGET_ENCODE_SECTION_INFO): Define to it.
2001-11-04  Alexandre Oliva  <aoliva@redhat.com>
* config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in
pattern name.
(mn10300_loadPC): Define as insn splittable after reload.
2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them
be defined in .rodata even in PIC, now that the assembler
supports that.
2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
* config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the
symbol take an underscore prefix.
2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
* config/mn10300/mn10300-protos.h (legitimate_pic_operand_p,
legitimize_pic_address): Declare.
* config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark
the PIC register as fixed.
(EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'.
(GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for
PIC.
(LEGITIMATE_PIC_OPERAND_P): Define.
(PIC_OFFSET_TABLE_REGNUM): Define.
(GOT_SYMBOL_NAME): Define.
(SYMBOLIC_CONST_P): Define.
(ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local
symbols.
(MN10300_GLOBAL_P): Test it.
(OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs.
(JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC.
* config/mn10300/mn10300.c (print_operand): Handle unspec.
(expand_prologue): Set PIC register.
(call_address_operand): Don't match SYMBOL_REFs in PIC.
(legitimize_address): Call legitimize_pic_address.
(legitimize_pic_address): New fn.
(legitimate_pic_operand_p): New fn.
* config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants.
(UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF,
UNSPEC_PLT): New constants.
(pop_pic_reg): New insn.
(movsi): Adjust non-PIC addresses.
(builtin_setjmp_receiver): Restore the PIC register.
(casesi): New insn.
(call): Adjust non-PIC addresses.
(int_label, GOTaddr2picreg): New expands.
(am33_loadPC): New insn.
(mn10300_loadPC): New expand.
(call_next_insn): New insn.
(add_GOT_to_pic_reg): New expand.
(symGOT2reg, symGOT2reg_i): New expands.
(symGOTOFF2reg, symGOTOFF2reg_i): New expands.
(sym2PIC, sym2PLT): New expands.

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