platform/upstream/gcc.git
20 years ago* g++.dg/other/pragma-re-1.C (p, q): Fix type and remove cast.
Eric Botcazou [Sat, 6 Nov 2004 18:58:02 +0000 (19:58 +0100)]
* g++.dg/other/pragma-re-1.C (p, q): Fix type and remove cast.

From-SVN: r90185

20 years agosimd-5.c: Do not XFAIL on SPARC 64-bit.
Eric Botcazou [Sat, 6 Nov 2004 18:54:40 +0000 (19:54 +0100)]
simd-5.c: Do not XFAIL on SPARC 64-bit.

* gcc.c-torture/compile/simd-5.c: Do not XFAIL on SPARC 64-bit.
* gcc.c-torture/execute/20020227-1.x: Likewise.
* gcc.c-torture/execute/simd-5.x: Remove.

From-SVN: r90184

20 years agore PR rtl-optimization/17933 (ICE: in schedule_insns, at /sched-rgn.c:2555)
Hans-Peter Nilsson [Sat, 6 Nov 2004 18:33:04 +0000 (18:33 +0000)]
re PR rtl-optimization/17933 (ICE: in schedule_insns, at /sched-rgn.c:2555)

PR rtl-optimization/17933
* rtlanal.c (dead_or_set_regno_p): Break out common code to...
(covers_regno_p): New function.  Handle SETs of PARALLEL,
and defer the rest to...
(covers_regno_no_parallel_p): New function.

From-SVN: r90183

20 years agore PR rtl-optimization/17933 (ICE: in schedule_insns, at /sched-rgn.c:2555)
Andrew Pinski [Sat, 6 Nov 2004 18:30:57 +0000 (18:30 +0000)]
re PR rtl-optimization/17933 (ICE: in schedule_insns, at /sched-rgn.c:2555)

PR rtl-optimization/17933
* gcc.dg/torture/pr17933-1.c: New test.

From-SVN: r90182

20 years ago[multiple changes]
Mark Wielaard [Sat, 6 Nov 2004 18:09:00 +0000 (18:09 +0000)]
[multiple changes]

2004-11-06  Mark Wielaard  <mark@klomp.org>

* Makefile.am: Add new javax.imageio files.
* Makefile.in: Regenerated.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/event/IIOReadProgressListener.java,
        javax/imageio/event/IIOReadUpdateListener.java,
javax/imageio/event/IIOReadWarningListener.java,
javax/imageio/event/IIOWriteProgressListener.java,
javax/imageio/event/IIOWriteWarningListener.java,
javax/imageio/metadata/IIOMetadataFormat.java,
javax/imageio/stream/FileCacheImageInputStream.java,
javax/imageio/stream/FileCacheImageOutputStream.java,
javax/imageio/stream/ImageInputStreamImpl.java:
Import cleanup.
* javax/imageio/metadata/package.html: New file.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/spi/ImageReaderSpi.java
(isOwnReader): New method.
* javax/imageio/spi/ImageWriterSpi.java
(isOwnWriter): Likewise.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/ImageWriter.java
(convertImageMetadata): New abstract method.
(convertStreamMetadata): Likewise.
(write): Likewise.
* javax/imageio/stream/FileCacheImageInputStream.java
(close): Fixed setting of stream to null.
(checkStreamClosed): Throws IOException.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/stream/FileCacheImageInputStream.java,
javax/imageio/stream/FileCacheImageOutputStream.java,
javax/imageio/stream/FileImageInputStream.java,
javax/imageio/stream/FileImageOutputStream.java,
javax/imageio/stream/MemoryCacheImageInputStream.java,
javax/imageio/stream/MemoryCacheImageOutputStream.java:
New files.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/metadata/IIOInvalidTreeException.java,
javax/imageio/metadata/IIOMetadataFormatImpl.java,
javax/imageio/metadata/IIOMetadataNode.java:
New stub files.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/stream/ImageInputStreamImpl.java,
javax/imageio/stream/ImageOutputStreamImpl.java:
New files.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/ImageIO.java:
Added much new methods.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/ImageReader.java,
javax/imageio/ImageWriter.java,
javax/imageio/spi/ImageWriterSpi.java:
Add SOME new methods.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/IIOParam.java,
javax/imageio/ImageReadParam.java,
javax/imageio/ImageReader.java,
javax/imageio/ImageWriter.java:
Mostly implemented.
* javax/imageio/spi/ImageReaderSpi.java,
javax/imageio/spi/ImageWriterSpi.java:
New files.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/ImageWriteParam.java,
javax/imageio/metadata/IIOMetadataFormat.java:
Implemented.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/ImageTypeSpecifier.java:
Mostly implemented.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/metadata/IIOMetadata.java:
Mostly implemented.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/IIOImage.java,
javax/imageio/ImageReadParam.java,
javax/imageio/metadata/IIOMetadataController.java,
javax/imageio/metadata/IIOMetadataFormat.java:
New files.
* javax/imageio/stream/ImageOutputStream.java:
Implemented.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/IIOParam.java,
javax/imageio/IIOParamController.java,
javax/imageio/ImageTypeSpecifier.java,
javax/imageio/ImageWriteParam.java,
javax/imageio/metadata/IIOMetadata.java:
New files.
* javax/imageio/ImageTranscoder.java:
Implemented.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/spi/ImageInputStreamSpi.java,
javax/imageio/spi/ImageOutputStreamSpi.java:
Reworked import startments.
* javax/imageio/spi/ServiceRegistry.java:
Reworked import startments. Fixed XHTML in javadocs.
(ServiceRegistry): Added @param tag to javadoc.
* javax/imageio/stream/ImageInputStream.java
(mark): Doesn't throws IOException;

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/ImageIO.java:
New file.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/spi/IIORegistry.java
(static): Don't register ImageReaderSpi.class and
ImageWriterSpi.class yet.

2004-11-06  Michael Koch  <konqueror@gmx.de>

* javax/imageio/spi/IIORegistry.java:
New file.

From-SVN: r90181

20 years agosparc.c (function_arg_record_value_1): Skip fields with zero length.
Eric Botcazou [Sat, 6 Nov 2004 17:39:56 +0000 (18:39 +0100)]
sparc.c (function_arg_record_value_1): Skip fields with zero length.

* config/sparc/sparc.c (function_arg_record_value_1): Skip
fields with zero length.
(function_arg_record_value_2): Likewise.
(function_arg_record_value_3): Use smallest_mode_for_size
instead of mode_for_size.
(function_arg_union_value): Return naked register for unions
with zero length.

From-SVN: r90180

20 years agosparc.c (scan_record_type): Handle vector types.
Eric Botcazou [Sat, 6 Nov 2004 17:06:05 +0000 (18:06 +0100)]
sparc.c (scan_record_type): Handle vector types.

* config/sparc/sparc.c (scan_record_type): Handle vector types.
(function_arg_slotno): Handle vector types specially.
(function_arg_record_value_1): Split fields with vector type and
BLKmode into their subparts.
(function_arg_record_value_2): Likewise.  Be prepared to handle
more than 2 registers per field.
(function_arg_union_value): Increment regno inside the loop.
(function_arg_vector_value): New function.
(function_arg): Use it to split fields with vector type and
BLKmode into their subparts and build a PARALLEL.  Treat
other vector types like floats.
(function_value): Likewise.
(sparc_pass_by_reference): Handle vector types.
(sparc_return_in_memory): Likewise.

From-SVN: r90179

20 years agoSocket.java (getPort): Return 0 instead of -1 on unconnected sockets.
Noa Resare [Sat, 6 Nov 2004 16:49:56 +0000 (16:49 +0000)]
Socket.java (getPort): Return 0 instead of -1 on unconnected sockets.

2004-11-06  Noa Resare  <noa@resare.com>

       * java/net/Socket.java (getPort): Return 0 instead of -1 on
       unconnected sockets.

From-SVN: r90178

20 years agoStringBuffer.java, [...]: Removed redundant and reordered modifiers.
Michael Koch [Sat, 6 Nov 2004 16:32:56 +0000 (16:32 +0000)]
StringBuffer.java, [...]: Removed redundant and reordered modifiers.

2004-11-06  Michael Koch  <konqueror@gmx.de>

       * java/lang/StringBuffer.java,
       java/lang/Throwable.java,
       java/security/spec/DSAParameterSpec.java,
       java/util/zip/ZipEntry.java,
       java/util/zip/ZipFile.java,
       java/util/zip/ZipInputStream.java,
       java/util/zip/ZipOutputStream.java:
       Removed redundant and reordered modifiers.

From-SVN: r90177

20 years agotree-cfg.c (find_taken_edge_cond_expr): Remove an "if" statement that never triggers.
Kazu Hirata [Sat, 6 Nov 2004 15:57:25 +0000 (15:57 +0000)]
tree-cfg.c (find_taken_edge_cond_expr): Remove an "if" statement that never triggers.

* tree-cfg.c (find_taken_edge_cond_expr): Remove an "if"
statement that never triggers.

From-SVN: r90176

20 years ago2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
Mattias Rehnberg [Sat, 6 Nov 2004 15:52:00 +0000 (16:52 +0100)]
2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>

        * java/io/Vector.java
        (writeObject): New function to serialized output thread safe.

        * java/io/ObjectOutputStream.java
        (writeObject): Move the assignment of the class handle to after
        the assignment of class descriptor handle.

From-SVN: r90175

20 years ago2064.md ("z_o2", "z_o3"): Remove.
Ulrich Weigand [Sat, 6 Nov 2004 15:42:32 +0000 (15:42 +0000)]
2064.md ("z_o2", "z_o3"): Remove.

* config/s390/2064.md ("z_o2", "z_o3"): Remove.
* config/s390/2084.md ("x_o2", "x_o3"): Remove.
("x_fdivd"): Use also for fsqrtd type.
("x_fdivs"): Use also for fsqrts type.
* config/s390/s390.md (attribute "type"): Remove "o2" and "o3" types.
("fix_truncdfsi2_ieee"): Set type to "ftoi".
("fix_truncdfsi2_ibm"): Set type to "other".
("floatdidf2", "floatdisf2"): Do not clobber CC.
("floatsidf2", "floatsidf2_ieee"): Likewise.
("floatsisf2", "floatsisf2_ieee"): Likewise.
("truncdfsf2", "truncdfsf2_ieee"): Only allow "register_operand".
("truncdfsf2_ibm"): Only allow "nonimmediate_operand".  Use LER
instead of LRER.
("extendsfdf2_ibm"): Do not set atype.  Set type to "floads".
("sqrtdf2"): Set type to "fsqrtd".
("sqrtsf2"): Set type to "fsqrts".

From-SVN: r90174

20 years agotree-phinodes.c (remove_all_phi_nodes_for): Speed up using a pointer to the last...
Kazu Hirata [Sat, 6 Nov 2004 15:14:11 +0000 (15:14 +0000)]
tree-phinodes.c (remove_all_phi_nodes_for): Speed up using a pointer to the last PHI node in the new PHI chain.

* tree-phinodes.c (remove_all_phi_nodes_for): Speed up using a
pointer to the last PHI node in the new PHI chain.

From-SVN: r90173

20 years agosh.c (prepare_move_operands): Emit a use of r12 for non-PIC TLS_MODEL_INITIAL_EXEC...
Kaz Kojima [Sat, 6 Nov 2004 13:58:21 +0000 (13:58 +0000)]
sh.c (prepare_move_operands): Emit a use of r12 for non-PIC TLS_MODEL_INITIAL_EXEC case.

* config/sh/sh.c (prepare_move_operands): Emit a use of r12
for non-PIC TLS_MODEL_INITIAL_EXEC case.

From-SVN: r90172

20 years ago* expmed.c: Fix a comment typo.
Kazu Hirata [Sat, 6 Nov 2004 13:29:34 +0000 (13:29 +0000)]
* expmed.c: Fix a comment typo.

From-SVN: r90171

20 years agoFixes documentation and indentation
Robert Schuster [Sat, 6 Nov 2004 13:22:13 +0000 (13:22 +0000)]
Fixes documentation and indentation

2004-11-06  Robert Schuster <thebohemian@gmx.net>

       Fixes documentation and indentation
       * java/beans/PropertyEditorSupport.java:
       reworked initial API doc
       (value): changed name from val

2004-11-06  Robert Schuster <thebohemian@gmx.net>

       Updates to 1.5
       * java/beans/PropertyEditorSupport.java
       (PropertyEditorSupport()): Changed modifier to public
       (PropertyEditorSupport(Object): Changed modifier to public
       (setSource): New method
       (getSource): New method

2004-11-06  Robert Schuster <thebohemian@gmx.net>

       Fixes bug #10799
       * java/beans/PropertyEditorSupport.java
       (setValue): Fire property change event

From-SVN: r90170

20 years agore PR fortran/18023 (ice on trying to convert between int and float)
Tobias Schlüter [Sat, 6 Nov 2004 12:49:13 +0000 (13:49 +0100)]
re PR fortran/18023 (ice on trying to convert between int and float)

PR fortran/18023
* io.c (resolve_tag): Tighten up exception for assigned FORMAT.

From-SVN: r90169

20 years agolex.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well.
Zack Weinberg [Sat, 6 Nov 2004 08:50:30 +0000 (08:50 +0000)]
lex.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well.

* lex.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H
as well.

Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com>
From-SVN: r90168

20 years agore PR target/18106 (Weak symbols are unimplemented on Windows)
Aaron W. LaFramboise [Sat, 6 Nov 2004 04:28:10 +0000 (22:28 -0600)]
re PR target/18106 (Weak symbols are unimplemented on Windows)

PR target/18106
* config/i386/cygming.h
[HAVE_GAS_WEAK] (ASM_WEAKEN_LABEL): Macro defined.

* lib/target-supports.exp (check_weak_available): Support
Windows.

From-SVN: r90164

20 years ago* gfortranspec.c: Replace GNU CC with GCC.
Kazu Hirata [Sat, 6 Nov 2004 03:49:32 +0000 (03:49 +0000)]
* gfortranspec.c: Replace GNU CC with GCC.

From-SVN: r90163

20 years ago* config/sh/sh4a.md: Fix copyright.
Kazu Hirata [Sat, 6 Nov 2004 03:45:54 +0000 (03:45 +0000)]
* config/sh/sh4a.md: Fix copyright.

From-SVN: r90161

20 years agodarwin.md, sh4a.md: Replace GNU CC with GCC.
Kazu Hirata [Sat, 6 Nov 2004 03:41:27 +0000 (03:41 +0000)]
darwin.md, sh4a.md: Replace GNU CC with GCC.

* config/rs6000/darwin.md, config/sh/sh4a.md: Replace GNU CC
with GCC.

From-SVN: r90160

20 years agors6000.md (scc patterns): Replace subfc with subf when carry not used.
David Edelsohn [Sat, 6 Nov 2004 03:35:49 +0000 (03:35 +0000)]
rs6000.md (scc patterns): Replace subfc with subf when carry not used.

        * config/rs6000/rs6000.md (scc patterns): Replace subfc with subf
        when carry not used.  Suggested by Torbjorn Granlund.

        * config/rs6000/rs6000.c (rs6000_emit_move): Don't force_reg
        operand[1] unnecessarily.  Suggested by Eric Christopher.
        (rs6000_adjust_cost): Increase latency of store to wider load.
        (rs6000_rtx_costs): mulli only allows 16-bit constants.

From-SVN: r90159

20 years ago* gcc.pot: Regenerate.
Joseph Myers [Sat, 6 Nov 2004 01:29:25 +0000 (01:29 +0000)]
* gcc.pot: Regenerate.

From-SVN: r90158

20 years agors6000.c (machopic_output_stub): Output ldu instead of lwzu for 64-bit stubs.
Stan Shebs [Sat, 6 Nov 2004 00:53:20 +0000 (00:53 +0000)]
rs6000.c (machopic_output_stub): Output ldu instead of lwzu for 64-bit stubs.

        * config/rs6000/rs6000.c (machopic_output_stub): Output
        ldu instead of lwzu for 64-bit stubs.

From-SVN: r90157

20 years agoalpha.c (alpha_expand_unaligned_load): Special case size 2 with BWX.
Richard Henderson [Sat, 6 Nov 2004 00:46:44 +0000 (16:46 -0800)]
alpha.c (alpha_expand_unaligned_load): Special case size 2 with BWX.

        * config/alpha/alpha.c (alpha_expand_unaligned_load): Special case
        size 2 with BWX.
        (alpha_expand_unaligned_store): Likewise.

From-SVN: r90156

20 years agostruct-layout-1_generate.c (main): Generate a call to fflush(stdout) before abort.
Danny Smith [Sat, 6 Nov 2004 00:32:18 +0000 (00:32 +0000)]
struct-layout-1_generate.c (main): Generate a call to fflush(stdout) before abort.

2004-11-05  Danny Smith  <dannysmith@users.sourceforge.net>

* gcc.dg/compat/struct-layout-1_generate.c (main): Generate a
call to fflush(stdout) before abort.
(my_ffsll): New function.
(generate_fields): Use it.

From-SVN: r90155

20 years agoDaily bump.
GCC Administrator [Sat, 6 Nov 2004 00:16:42 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90153.2

20 years agoDaily bump.
GCC Administrator [Sat, 6 Nov 2004 00:16:21 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90152.2

20 years agoexpmed.c (extract_force_align_mem_bit_field): New.
Richard Henderson [Fri, 5 Nov 2004 23:58:39 +0000 (15:58 -0800)]
expmed.c (extract_force_align_mem_bit_field): New.

        * expmed.c (extract_force_align_mem_bit_field): New.
        (extract_split_bit_field): Call it.

From-SVN: r90150

20 years agoia64.md (UNSPEC_SHRP): New.
Richard Henderson [Fri, 5 Nov 2004 23:54:30 +0000 (15:54 -0800)]
ia64.md (UNSPEC_SHRP): New.

        * ia64.md (UNSPEC_SHRP): New.
        (dshift_count_operand): New.
        (ashrti3, ashrti3_internal, lshrti3, lshrti3_internal, shrp): New.
        * ia64.c (rtx_needs_barrier): Handle UNSPEC_SHRP.

From-SVN: r90149

20 years agobe.po, [...]: Update.
Joseph Myers [Fri, 5 Nov 2004 23:30:37 +0000 (23:30 +0000)]
be.po, [...]: Update.

* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
sv.po, tr.po: Update.

From-SVN: r90148

20 years agoc-typeck.c (output_init_element): Return early if value is error_mark_node.
Joseph Myers [Fri, 5 Nov 2004 22:21:30 +0000 (22:21 +0000)]
c-typeck.c (output_init_element): Return early if value is error_mark_node.

* c-typeck.c (output_init_element): Return early if value is
error_mark_node.

testsuite:
* gcc.dg/init-undef-1.c: New test.

From-SVN: r90146

20 years agoStop staying that -fno-guess-branch-probability produces random code changes.
James E Wilson [Fri, 5 Nov 2004 21:38:33 +0000 (21:38 +0000)]
Stop staying that -fno-guess-branch-probability produces random code changes.

* invoke.texi (-fno-guess-branch-probability): Rewrite.

From-SVN: r90144

20 years agoMakefile.in (mostlyclean): Add fixinc.sh.
Geoffrey Keating [Fri, 5 Nov 2004 20:42:15 +0000 (20:42 +0000)]
Makefile.in (mostlyclean): Add fixinc.sh.

* Makefile.in (mostlyclean): Add fixinc.sh.
(clean): Add mkheaders.
(distclean): New.
(dvi): New.
(info): New.
(installcheck): New.

From-SVN: r90142

20 years agoFix 4 execute/va-arg-26.c gcc testsuite failures.
James E Wilson [Fri, 5 Nov 2004 20:38:36 +0000 (20:38 +0000)]
Fix 4 execute/va-arg-26.c gcc testsuite failures.

* config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC_GR_SPILL): Change
1 to UNSPEC_GR_SPILL.

From-SVN: r90141

20 years ago* gfortranspec.c (lang_specific_driver): Change year to 2004.
Tobias Schlüter [Fri, 5 Nov 2004 20:01:34 +0000 (21:01 +0100)]
* gfortranspec.c (lang_specific_driver): Change year to 2004.

From-SVN: r90138

20 years agore PR libstdc++/17218 (unknown subjects in generated libstdc++ manpages)
Benjamin Kosnik [Fri, 5 Nov 2004 19:58:03 +0000 (19:58 +0000)]
re PR libstdc++/17218 (unknown subjects in generated libstdc++ manpages)

2004-11-05  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/17218
PR libstdc++/17223
* docs/doxygen/filter: Remove.
* docs/doxygen/filter.sed: Remove.
* docs/doxygen/mainpage.html: Add link to functions.
* docs/doxygen/run_doxygen: Changes due to new source filtering.
* docs/doxygen/user.cfg.in: Update to doxygen 1.3.9.1, tweak.
* include/bits/allocator.h: Tweaks for doxygen.
* include/bits/char_traits.h: Same.
* include/bits/codecvt.h: Same.
* include/bits/concurrence.h: Same.
* include/bits/locale_facets.h: Same.
* include/ext/array_allocator.h: Same.
* include/ext/debug_allocator.h: Same.
* include/ext/malloc_allocator.h: Same.
* include/ext/mt_allocator.h: Same.
* include/ext/new_allocator.h: Same.
* include/ext/pool_allocator.h: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/std/std_memory.h: Same.
* include/tr1/array: Same.
* include/tr1/tuple: Same.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
* config/os/gnu-linux/ctype_base.h: Same.

From-SVN: r90137

20 years agore PR fortran/18111 (spurious warnings with -W -Wunused)
Tobias Schlüter [Fri, 5 Nov 2004 19:52:06 +0000 (20:52 +0100)]
re PR fortran/18111 (spurious warnings with -W -Wunused)

        PR fortran/18111
        *  trans-decl.c (create_function_arglist): Set DECL_ARTIFICIAL for
        hidden parameters.

From-SVN: r90136

20 years ago20040910-1.c, [...]: Adjust expected messages for new parser.
Joseph Myers [Fri, 5 Nov 2004 16:43:49 +0000 (16:43 +0000)]
20040910-1.c, [...]: Adjust expected messages for new parser.

* gcc.dg/20040910-1.c, gcc.dg/cpp/digraph2.c,
gcc.dg/cpp/direct2.c, gcc.dg/cpp/direct2s.c,
gcc.dg/cpp/separate-1.c, gcc.dg/noncompile/951123-1.c,
gcc.dg/noncompile/971104-1.c, gcc.dg/noncompile/990416-1.c: Adjust
expected messages for new parser.

From-SVN: r90128

20 years agoMakefile.def (host fixincludes): Specify missing targets.
Paolo Bonzini [Fri, 5 Nov 2004 16:35:51 +0000 (16:35 +0000)]
Makefile.def (host fixincludes): Specify missing targets.

2004-11-05  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (host fixincludes): Specify missing targets.
* Makefile.in: Regenerate.

fixincludes/ChangeLog:
2004-11-05  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.in (mostlyclean, distclean): New targets.

From-SVN: r90127

20 years agos390.c (s390_fixed_condition_code_regs): New function.
Andreas Krebbel [Fri, 5 Nov 2004 15:27:30 +0000 (15:27 +0000)]
s390.c (s390_fixed_condition_code_regs): New function.

2004-11-05  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.c (s390_fixed_condition_code_regs): New function.
(TARGET_FIXED_CONDITION_CODE_REGS): Macro defined.

From-SVN: r90126

20 years agore PR fortran/15164 (trans-decl.c:411: gfc_finish_var_decl: Assertion failed)
Tobias Schlüter [Fri, 5 Nov 2004 14:10:35 +0000 (15:10 +0100)]
re PR fortran/15164 (trans-decl.c:411: gfc_finish_var_decl: Assertion failed)

PR fortran/15164
* trans-decl.c (gfc_finish_var_decl): Don't declare arguments to
module procedures as if they were module variables.

From-SVN: r90125

20 years agoconfigure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of AC_PROG_F77, F77 and FFLAGS.
Andreas Schwab [Fri, 5 Nov 2004 12:50:53 +0000 (12:50 +0000)]
configure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of AC_PROG_F77, F77 and FFLAGS.

* configure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of
AC_PROG_F77, F77 and FFLAGS.
* Makefile.am (selected_int_kind.inc, selected_real_kind.inc): Use
FCCOMPILE instead of F77COMPILE.
* configure, Makefile.in: Regenerate.

From-SVN: r90122

20 years agobitmap.h (enum bitmap_bits): Remove.
Nathan Sidwell [Fri, 5 Nov 2004 11:12:55 +0000 (11:12 +0000)]
bitmap.h (enum bitmap_bits): Remove.

* bitmap.h (enum bitmap_bits): Remove.
(bitmap_operation): Remove.
(bitmap_and, bitmap_and_into, bitmap_and_compl,
bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_xor,
bitmap_xor_into): Prototype.
* bitmap.c (bitmap_elt_insert_after, bitmap_elt_clear_from): New.
(bitmap_operation): Remove.
(bitmap_and, bitmap_and_into, bitmap_and_compl,
bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_xor,
bitmap_xor_into): New.
(bitmap_ior_and_compl, bitmap_ior_and_compl_into): Adjust.

From-SVN: r90121

20 years agore PR tree-optimization/18307 (merge_pointed_to_info called incorrectly)
Nathan Sidwell [Fri, 5 Nov 2004 10:56:01 +0000 (10:56 +0000)]
re PR tree-optimization/18307 (merge_pointed_to_info called incorrectly)

PR tree-optimization/18307
* tree-ssa-alias.c (merge_pointed_to_info): Protected against DEST
and ORIG being the same node.

From-SVN: r90120

20 years agoMAINTAINERS: Add myself
Ralf Corsepius [Fri, 5 Nov 2004 09:26:18 +0000 (10:26 +0100)]
MAINTAINERS: Add myself

2004-11-05  Ralf Corsepius  <ralf.corsepius@rtems.org>

* MAINTAINERS: Add myself

From-SVN: r90119

20 years ago* MAINTAINERS (Write After Approval): Add myself. (Gabor Loki <loki@inf.u-szeged...
Gabor Loki [Fri, 5 Nov 2004 07:35:55 +0000 (08:35 +0100)]
* MAINTAINERS (Write After Approval): Add myself. (Gabor Loki  <loki@inf.u-szeged.hu>)

From-SVN: r90118

20 years agoIndex: ChangeLog
Geoffrey Keating [Fri, 5 Nov 2004 04:49:19 +0000 (04:49 +0000)]
Index: ChangeLog
2004-11-04  Geoffrey Keating  <geoffk@apple.com>

* Makefile.def: Build fixincludes for the host, too.
* Makefile.in: Regenerate.
* configure.in (host_tools): Add fixincludes.
* configure: Regenerate.

Index: fixincludes/ChangeLog
2004-11-04  Geoffrey Keating  <geoffk@apple.com>

* configure.ac: Add code to determine noncanonical_target,
local_prefix, gcc_version; process mkheaders.in to make mkheaders.
* configure: Regenerate.
* fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
* mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
* mkheaders.in: Move here from gcc/; remove some unnecessary macros;
update for changes to fixinc.in.
* Makefile.in: Add many new macros.
(install): New target.
(mkheaders): New target.
(fixinc.sh): New target.
(all): Add mkheaders and fixinc.sh.
* README-fixinc: Move here from gcc/.

Index: gcc/ChangeLog
2004-11-04  Geoffrey Keating  <geoffk@apple.com>

* Makefile.in (distclean): Don't delete nonexistent fixinc/ directory.
(install-mkheaders): Install the version built for the
host, not for the build machine.
* configure.ac: Always run fixincludes.
(all_outputs): Remove mkheaders.
* configure: Regenerate.
* fixinc.in: Move to fixincludes/.
* mkfixinc.sh: Likewise.
* mkheaders.in: Likewise.
* README-fixinc: Likewise.

From-SVN: r90117

20 years agogcc_update (boehm-gc/aclocal.m4): Remove boehm-gc/acinclude.m4.
Andrew Pinski [Fri, 5 Nov 2004 04:11:44 +0000 (04:11 +0000)]
gcc_update (boehm-gc/aclocal.m4): Remove boehm-gc/acinclude.m4.

2004-11-04  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc_update (boehm-gc/aclocal.m4): Remove boehm-gc/acinclude.m4.

From-SVN: r90115

20 years agoacinclude.m4: Properly quote AC_CACHE_CHECK.
Kelley Cook [Fri, 5 Nov 2004 03:49:25 +0000 (03:49 +0000)]
acinclude.m4: Properly quote AC_CACHE_CHECK.

2004-11-05  Kelley Cook  <kcook@gcc.gnu.org>

* acinclude.m4: Properly quote AC_CACHE_CHECK.
* Makefile.am: Add in ACLOCAL_AMFLAGS.
* aclocal.m4, configure, Makefile.in: Regenerate.

From-SVN: r90114

20 years agore PR target/18263 ([3.4 only] Build broken for ARC.)
Ramana Radhakrishnan [Fri, 5 Nov 2004 02:54:20 +0000 (02:54 +0000)]
re PR target/18263 ([3.4 only] Build broken for ARC.)

PR target/18263
* config/arc/lib1funcs.asm (___umulsidi3): Change use of cmp to the
equivalent on the A4.

From-SVN: r90105

20 years agoMakefile.am: Define ACLOCAL_AMFLAGS.
Kelley Cook [Fri, 5 Nov 2004 01:51:50 +0000 (01:51 +0000)]
Makefile.am: Define ACLOCAL_AMFLAGS.

2004-11-04  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.am: Define ACLOCAL_AMFLAGS.
* configure.ac: Remove redundant sinclude.
* acinclude.m4: Delete file.
* aclocal.m4: Regenerate.
* Makefile.in, include/Makefile.in: Regenerate.
* configure: Regenerate.

From-SVN: r90103

20 years agoc-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and...
Joseph Myers [Fri, 5 Nov 2004 01:36:57 +0000 (01:36 +0000)]
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".

* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.".  Use @code in various places where
appropriate.

From-SVN: r90101

20 years agoc-tree.texi, [...]: Remove trailing whitespace.
Joseph Myers [Fri, 5 Nov 2004 00:53:49 +0000 (00:53 +0000)]
c-tree.texi, [...]: Remove trailing whitespace.

* doc/c-tree.texi, doc/cfg.texi, doc/extend.texi, doc/gty.texi,
doc/install.texi, doc/invoke.texi, doc/md.texi, doc/passes.texi,
doc/rtl.texi, doc/tm.texi, doc/tree-ssa.texi: Remove trailing
whitespace.

From-SVN: r90100

20 years agoarm.c (arm_handle_notshared_attribute): New function.
Mark Mitchell [Fri, 5 Nov 2004 00:18:51 +0000 (00:18 +0000)]
arm.c (arm_handle_notshared_attribute): New function.

* config/arm/arm.c (arm_handle_notshared_attribute): New function.
* doc/extend.texi: Document "notshared" attribute.

* testsuite/g++.dg/ext/visibility/symbian1.C: New test.

From-SVN: r90099

20 years agoDaily bump.
GCC Administrator [Fri, 5 Nov 2004 00:16:46 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90097.2

20 years agoDaily bump.
GCC Administrator [Fri, 5 Nov 2004 00:16:42 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90096.2

20 years agotree-phinodes.c (make_phi_node): Make it static.
Kazu Hirata [Thu, 4 Nov 2004 23:30:16 +0000 (23:30 +0000)]
tree-phinodes.c (make_phi_node): Make it static.

* tree-phinodes.c (make_phi_node): Make it static.
* tree.h: Remove the prototypes for make_phi_node.

From-SVN: r90093

20 years agostmt.c (expand_asm, [...]): Make them static.
Kazu Hirata [Thu, 4 Nov 2004 23:28:29 +0000 (23:28 +0000)]
stmt.c (expand_asm, [...]): Make them static.

* stmt.c (expand_asm, expand_asm_operands): Make them static.
* tree.h: Remove the prototypes for expand_asm and
expand_asm_operands.

From-SVN: r90092

20 years agopasses.c (rest_of_compilation): Make it static.
Kazu Hirata [Thu, 4 Nov 2004 23:26:35 +0000 (23:26 +0000)]
passes.c (rest_of_compilation): Make it static.

* passes.c (rest_of_compilation): Make it static.
* toplev.h: Remove the prototype for rest_of_compilation.

From-SVN: r90091

20 years agojump.c (cleanup_barriers): Use delete_insn instead of delete_barrier.
Kazu Hirata [Thu, 4 Nov 2004 23:24:46 +0000 (23:24 +0000)]
jump.c (cleanup_barriers): Use delete_insn instead of delete_barrier.

* jump.c (cleanup_barriers): Use delete_insn instead of
delete_barrier.
(delete_barrier): Remove.
* rtl.h: Remove the corresponding prototype.

From-SVN: r90090

20 years agoexpr.c (mostly_zero_p): Make it static.
Kazu Hirata [Thu, 4 Nov 2004 23:22:30 +0000 (23:22 +0000)]
expr.c (mostly_zero_p): Make it static.

* expr.c (mostly_zero_p): Make it static.
* tree.h: Remove the prototype for mostly_zeros_p.

From-SVN: r90089

20 years ago* cfgrtl.c (force_nonfallthru_and_redirect): Make it static.
Kazu Hirata [Thu, 4 Nov 2004 23:20:22 +0000 (23:20 +0000)]
* cfgrtl.c (force_nonfallthru_and_redirect): Make it static.

From-SVN: r90088

20 years agobuiltins.c (expand_builtin_return_addr, [...]): Make them static.
Kazu Hirata [Thu, 4 Nov 2004 23:17:44 +0000 (23:17 +0000)]
builtins.c (expand_builtin_return_addr, [...]): Make them static.

* builtins.c (expand_builtin_return_addr,
expand_builtin_longjmp, expand_builtin_trap): Make them static.
* expr.h: Remove the prototypes for expand_builtin_longjmp and
expand_builtin_trap.
* tree.h: Remove the prototype for expand_builtin_return_addr.

From-SVN: r90087

20 years agotree-cfg.c (find_taken_edge): Reject VAL begin NULL.
Kazu Hirata [Thu, 4 Nov 2004 22:07:39 +0000 (22:07 +0000)]
tree-cfg.c (find_taken_edge): Reject VAL begin NULL.

* tree-cfg.c (find_taken_edge): Reject VAL begin NULL.
* tree-ssa-ccp.c (visit_cond_stmt): Don't call find_taken_edge
with VAL being NULL.

From-SVN: r90083

20 years agopragma-align.c (sixteen): Use 8-byte alignment on LP64 targets.
Eric Botcazou [Thu, 4 Nov 2004 22:07:17 +0000 (23:07 +0100)]
pragma-align.c (sixteen): Use 8-byte alignment on LP64 targets.

* gcc.dg/pragma-align.c (sixteen): Use 8-byte alignment
on LP64 targets.

From-SVN: r90082

20 years agocfghooks.c (delete_basic_block): Remove code to truncate edge vectors.
Kazu Hirata [Thu, 4 Nov 2004 22:02:55 +0000 (22:02 +0000)]
cfghooks.c (delete_basic_block): Remove code to truncate edge vectors.

* cfghooks.c (delete_basic_block): Remove code to truncate
edge vectors.

From-SVN: r90081

20 years agoflow.c (init_propagate_block_info): Change the type of i to unsigned.
Andrew Pinski [Thu, 4 Nov 2004 20:35:57 +0000 (20:35 +0000)]
flow.c (init_propagate_block_info): Change the type of i to unsigned.

2004-11-04  Andrew Pinski  <pinskia@physics.uc.edu>

        * flow.c (init_propagate_block_info): Change the type of i to
        unsigned.

From-SVN: r90080

20 years agointernal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well.
Zack Weinberg [Thu, 4 Nov 2004 20:35:08 +0000 (20:35 +0000)]
internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well.

* internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H
as well.

Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com>
From-SVN: r90079

20 years agore PR tree-optimization/18184 (Tree optimizers ignore pointer modes)
Ulrich Weigand [Thu, 4 Nov 2004 20:11:13 +0000 (20:11 +0000)]
re PR tree-optimization/18184 (Tree optimizers ignore pointer modes)

ChangeLog:

PR tree-optimization/18184
* c-typeck.c (comptypes): Do not treat pointers of different
modes or alias-all flags as equivalent.
* tree-ssa.c (tree_ssa_useless_type_conversion_1): Likewise.

cp/ChangeLog:

PR tree-optimization/18184
* cp-objcp-common.c (cxx_types_compatible_p): Do not treat pointers
of different modes or alias-all flags as equivalent.
* typeck.c (comptypes): Likewise.

From-SVN: r90078

20 years agoconfigure.in (arm-*-oabi*, [...]): Remove.
Daniel Jacobowitz [Thu, 4 Nov 2004 17:55:50 +0000 (17:55 +0000)]
configure.in (arm-*-oabi*, [...]): Remove.

* configure.in (arm-*-oabi*, thumb-*-oabi*): Remove.
* configure: Regenerated.

From-SVN: r90072

20 years agoUpdate configure.in/configure.
H.J. Lu [Thu, 4 Nov 2004 17:03:59 +0000 (09:03 -0800)]
Update configure.in/configure.

From-SVN: r90068

20 years agore PR other/17783 (Top level configure doesn't support shared libraries enabled by...
H.J. Lu [Thu, 4 Nov 2004 17:01:41 +0000 (17:01 +0000)]
re PR other/17783 (Top level configure doesn't support shared libraries enabled by default)

2004-11-04  H.J. Lu  <hongjiu.lu@intel.com>

PR other/17783
* configure.in: Set up LD_LIBRARY_PATH by default for gcc.
* configure: Regenerated.

From-SVN: r90067

20 years agoasm-qual-1.c, [...]: New tests.
Joseph Myers [Thu, 4 Nov 2004 16:16:37 +0000 (16:16 +0000)]
asm-qual-1.c, [...]: New tests.

* gcc.dg/asm-qual-1.c, gcc.dg/declspec-15.c, gcc.dg/declspec-16.c,
gcc.dg/declspec-17.c, gcc.dg/empty-source-1.c,
gcc.dg/empty-source-2.c, gcc.dg/empty-source-3.c,
gcc.dg/extra-semi-1.c, gcc.dg/extra-semi-2.c,
gcc.dg/extra-semi-3.c, gcc.dg/gnu-cond-expr-1.c,
gcc.dg/gnu-cond-expr-2.c, gcc.dg/gnu-cond-expr-3.c,
gcc.dg/init-empty-1.c, gcc.dg/init-empty-2.c,
gcc.dg/init-empty-3.c, gcc.dg/noncompile/old-style-parm-1.c,
gcc.dg/noncompile/old-style-parm-2.c, gcc.dg/stmt-expr-1.c,
gcc.dg/stmt-expr-2.c, gcc.dg/stmt-expr-3.c: New tests.

From-SVN: r90066

20 years agogty.texi, [...]: Don't reference specific C parser files in examples.
Joseph Myers [Thu, 4 Nov 2004 16:11:30 +0000 (16:11 +0000)]
gty.texi, [...]: Don't reference specific C parser files in examples.

* doc/gty.texi, doc/makefile.texi, doc/sourcebuild.texi: Don't
reference specific C parser files in examples.

From-SVN: r90065

20 years agoc90-restrict-1.c, [...]: Adjust expected messages for new parser.
Joseph Myers [Thu, 4 Nov 2004 16:01:39 +0000 (16:01 +0000)]
c90-restrict-1.c, [...]: Adjust expected messages for new parser.

* gcc.dg/c90-restrict-1.c, gcc.dg/c99-arraydecl-2.c,
gcc.dg/c99-func-2.c, gcc.dg/charset/asm2.c, gcc.dg/concat.c,
gcc.dg/cpp/19990413-1.c, gcc.dg/cpp/paste4.c,
gcc.dg/init-desig-obs-1.c, gcc.dg/noncompile/920721-2.c,
gcc.dg/noncompile/930622-2.c, gcc.dg/noncompile/940112-1.c,
gcc.dg/noncompile/950921-1.c, gcc.dg/switch-2.c,
objc.dg/naming-1.m, objc.dg/naming-2.m: Adjust expected messages
for new parser.

From-SVN: r90064

20 years agore PR rtl-optimization/15342 ([arm-linux] internal compiler error: in verify_local_li...
Richard Sandiford [Thu, 4 Nov 2004 14:08:16 +0000 (14:08 +0000)]
re PR rtl-optimization/15342 ([arm-linux] internal compiler error: in verify_local_live_at_start)

PR target/15342
* regrename.c (scan_rtx): Treat the destinations of SETs and CLOBBERs
as OP_INOUT if the instruction is predicated.

From-SVN: r90063

20 years agobitmap.h: Fix a comment typo.
Kazu Hirata [Thu, 4 Nov 2004 13:48:59 +0000 (13:48 +0000)]
bitmap.h: Fix a comment typo.

* bitmap.h: Fix a comment typo.  Follow spelling conventions.
* tree-vectorizer.c: Fix a comment typo.

From-SVN: r90062

20 years agosdbout.c (SDB_GENERATE_FAKE): Remove.
Kazu Hirata [Thu, 4 Nov 2004 13:23:23 +0000 (13:23 +0000)]
sdbout.c (SDB_GENERATE_FAKE): Remove.

* sdbout.c (SDB_GENERATE_FAKE): Remove.
(gen_fake_label): Don't use SDB_GENERATE_FAKE.
* system.h: Poison SDB_GENERATE_FAKE.
* doc/tm.texi (SDB_GENERATE_FAKE): Remove.

From-SVN: r90061

20 years ago* config/s390/s390.md ("*addsi3_sign"): Use canonical RTL.
Ulrich Weigand [Thu, 4 Nov 2004 13:19:18 +0000 (13:19 +0000)]
* config/s390/s390.md ("*addsi3_sign"): Use canonical RTL.

From-SVN: r90060

20 years agoDR 49, 100
Giovanni Bajo [Thu, 4 Nov 2004 13:07:35 +0000 (13:07 +0000)]
DR 49, 100

DR 49, 100
* cp-tree.h (TYPE_REF_OBJ_P): New macro.
(TYPE_PTR_P, TYPE_PTROB_P, TYPE_PTROBV_P, TYPE_PTRFN_P,
TYPE_REFFN_P): Document.
(fold_decl_constant_value): New prototype.
* pt.c (convert_nontype_argument_function): Rewrite and extract
parts into...
(fold_decl_constant_value, convert_nontype_argument_function): New.
(lookup_template_class): Add comment about useless double call.
* mangle.c (write_expression): Strip conversions before lowering
pointer to members.
* cvt.c (ocp_convert): Check LOOKUP_COMPLAIN for a pedwarn. Disallow
enum to enum conversion.

* g++.dg/template/nontype7.C: New test.
* g++.dg/template/nontype8.C: Likewise.
* g++.dg/template/nontype9.C: Likewise.
* g++.dg/template/nontype10.C: Likewise.
* g++.dg/tc1/dr49.C: Likewise.
* g++.dg/template/ptrmem8.C: Relax dg-error checks.
* g++.old-deja/g++.other/null1.C: Remove a buggy error check

From-SVN: r90059

20 years agolocale_facets.tcc (num_get<>::do_get(bool&)): Evaluate __beg == __end the exact stric...
Paolo Carlini [Thu, 4 Nov 2004 11:29:30 +0000 (11:29 +0000)]
locale_facets.tcc (num_get<>::do_get(bool&)): Evaluate __beg == __end the exact strict minimum number of times.

2004-11-04  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (num_get<>::do_get(bool&)):
Evaluate __beg == __end the exact strict minimum number of times.

From-SVN: r90058

20 years agore PR other/18277 (libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was...
Eric Botcazou [Thu, 4 Nov 2004 10:46:02 +0000 (11:46 +0100)]
re PR other/18277 (libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope)

PR other/18277
* gthr-posix.h (__gthread_recursive_mutex_init_function): Revert
2004-10-29 patch

From-SVN: r90057

20 years agopredict.c (propagate_freq): Make bitno unsigned.
Nathan Sidwell [Thu, 4 Nov 2004 10:10:29 +0000 (10:10 +0000)]
predict.c (propagate_freq): Make bitno unsigned.

* predict.c (propagate_freq): Make bitno unsigned. Move
npredecessors update out of loop.

From-SVN: r90056

20 years agobitmap.h (bitmap_iterator): Remove word_bit and bit fields.
Nathan Sidwell [Thu, 4 Nov 2004 09:12:12 +0000 (09:12 +0000)]
bitmap.h (bitmap_iterator): Remove word_bit and bit fields.

* bitmap.h (bitmap_iterator): Remove word_bit and bit
fields. Rename others.
(bmp_iter_common_next_1, bmp_iter_single_next_1,
bmp_iter_single_init, bmp_iter_end_p, bmp_iter_single_next,
bmp_iter_and_not_next_1, bmp_iter_and_not_init,
bmp_iter_and_not_next, bmp_iter_and_next_1, bmp_iter_and_init,
bmp_iter_and_next): Remove.
(bmp_iter_set_init, bmp_iter_and_init, bmp_iter_and_compl_init,
bmp_iter_next, bmp_iter_set, bmp_iter_and, bmp_iter_and_compl):
New.
(EXECUTE_IF_SET_IN_BITMAP, EXECUTE_IF_AND_IN_BITMAP,
EXECUTE_IF_AND_COMPL_IN_BITMAP): Adjust.

From-SVN: r90055

20 years agobitmap.h (bitmap_a_or_b, [...]): Remove.
Nathan Sidwell [Thu, 4 Nov 2004 08:57:55 +0000 (08:57 +0000)]
bitmap.h (bitmap_a_or_b, [...]): Remove.

* bitmap.h (bitmap_a_or_b, bitmap_a_and_b): Remove.
* df.c (dataflow_set_a_op_b): Use bitmap_and, bitmap_ior,
bitmap_and_into, bitmap_ior_into as appropriate.
* except.c (remove_eh_handler): Likewise.
* global.c (modify_bb_reg_pav, make_accurate_live_analysis): Likewise.
* tree-dfa.c (mark_new_vars_to_rename): Likewise.
* tree-ssa-alias.c (merge_pointed_to_info): Likewise.
* tree-ssa-live.h (live_merge_and_clear): Likewise.
* tree-ssa-loop-ivopts.c (find_best_candidate, try_add_cand_for):
Likewise.

From-SVN: r90054

20 years agobitmap.c (bitmap_print): Make bitno unsigned.
Nathan Sidwell [Thu, 4 Nov 2004 08:41:16 +0000 (08:41 +0000)]
bitmap.c (bitmap_print): Make bitno unsigned.

* bitmap.c (bitmap_print): Make bitno unsigned.
* bt-load.c (clear_btr_from_live_range,
btr_def_live_range): Likewise.
* caller-save.c (save_call_clobbered_regs): Likewise.
* cfganal.c (compute_dominance_frontiers_1): Likewise.
* cfgcleanup.c (thread_jump): Likewise.
* cfgrtl.c (safe_insert_insn_on_edge): Likewise.
* conflict.c (conflict_graph_compute): Likewise.
* ddg.c (add_deps_for_use): Likewise.
* df.c (df_refs_update): Likewise.
* except.c (remove_eh_handler): Likewise.
* flow.c (verify_local_live_at_start, update_life_info,
initialize_uninitialized_subregs, propagate_one_insn,
free_propagate_block_info, propagate_block, find_use_as_address,
reg_set_to_hard_reg_set): Likewise.
* gcse.c (clear_modify_mem_tables): Likewise.
* global.c (global_conflicts, build_insn_chain): Likewise.
* ifcvt.c (dead_or_predicable): Likewise.
* local-alloc.c (update_equiv_regs): Likewise.
* loop.c (load_mems): Likewise.
* ra-build.c (livethrough_conflicts_bb, conflicts_between_webs):
Likewise.
* ra-rewrite.c (reloads_to_loads, rewrite_program2, actual_spill):
Likewise.
* reload1.c (order_regs_for_reload, finish_spills): Likewise.
* sched-deps.c (sched_analyze_insn, free_deps): Likewise.
* sched-rgn.c (propagate_deps
* tree-cfg.c (tree_purge_all_dead_eh_edges): Likewise.
* tree-dfa.c (dump_dfa_stats
tree-into-ssa.c (compute_global_livein, insert_phi_nodes,
insert_phi_nodes_for, debug_def_blocks_r, invalidate_name_tags):
Likewise.
* tree-outof-ssa.c (coalesce_ssa_name, coalesce_vars,
free_temp_expr_table, find_replaceable_exprs): Likewise.
* tree-sra.c (scan_function, scalarize_parms): Likewise.
* tree-ssa-alias.c (init_alias_info,
compute_points_to_and_addr_escape,
compute_flow_sensitive_aliasing, maybe_create_global_var): Likewise.
* tree-ssa-dce.c (mark_control_dependent_edges_necessary): Likewise.
* tree-ssa-live.c (new_tree_live_info, live_worklist,
calculate_live_on_entry, calculate_live_on_exit, compare_pairs,
sort_coalesce_list, build_tree_conflict_graph, dump_live_info
tree-ssa-loop-manip.c (add_exit_phis_var): Likewise.
tree-ssa-operands.c (get_asm_expr_operands, add_call_clobber_ops,
add_call_read_ops): Likewise.
* tree-ssa-pre.c (bitmap_print_value_set, insert_aux): Likewise.
* tree-ssa-live.h (num_var_partitions): Return unsigned.

From-SVN: r90053

20 years agore PR tree-optimization/18009 (ICE in vect_transform_stmt, at tree-vectorizer.c:2625...
Dorit Naishlos [Thu, 4 Nov 2004 05:26:53 +0000 (05:26 +0000)]
re PR tree-optimization/18009 (ICE in vect_transform_stmt, at tree-vectorizer.c:2625 (testcase included))

        PR tree-optimization/18009
        * tree-vectorizer.h (enum dr_alignment_support): New type.
        (MAX_NUMBER_OF_UNALIGNED_DATA_REFS): Removed.
        (LOOP_UNALIGNED_DR): replaced with LOOP_VINFO_UNALIGNED_DR and holds a
        single data_reference (instead of a varray of references).
        * tree-vectorizer.c (new_loop_vec_info): Likewise.
        (vect_gen_niters_for_prolog_loop): Likewise.
        (vect_update_inits_of_drs): Likewise.

        (vect_update_inits_of_drs): Setting of DR_MISALIGNMENT moved to
        vect_enhance_data_refs_alignment.
        (vect_do_peeling_for_alignment): Likewise.
        (vect_enhance_data_refs_alignment): Decide if and by how much to peel;
        this functionality used to be in vect_analyze_data_refs_alignment.
        Also update DR_MISALIGNMENT due to peeling; this functionality used to
        be in vect_update_inits_of_drs and vect_do_peeling_for_alignment).
        (vect_analyze_data_refs_alignment): Decision on whether and by how much
        to peel moved to vect_enhance_data_refs_alignment. Call
        vect_supportable_dr_alignment.

        (vect_compute_data_ref_alignment): Set STMT_VINFO_VECTYPE.
        (vect_compute_data_refs_alignment): Return bool. Consider return value
        of vect_compute_data_ref_alignment and return true/false accordingly.
        (vect_enhance_data_refs_alignment): Consider return value of
        vect_compute_data_refs_alignment and return true/false accordingly.

        (vect_supportable_dr_alignment): New function.
        (vectorizable_store): Call vect_supportable_dr_alignment.
        (vectorizable_load): Call vect_supportable_dr_alignment. Alignment
        support checks moved from here to vect_supportable_dr_alignment.

        (vect_transform_loop): Avoid 80 columns overflow.

From-SVN: r90051

20 years agotimevar.c (timevar_enable): Change from static.
Andrew Pinski [Thu, 4 Nov 2004 02:34:07 +0000 (02:34 +0000)]
timevar.c (timevar_enable): Change from static.

2004-11-03  Andrew Pinski  <pinskia@physics.uc.edu>

        * timevar.c (timevar_enable): Change from
        static.
        (timevar_push): Rename to ...
        (timevar_push_1): this and remove the
        enabled check.
        (timevar_pop): Rename to ...
        (timevar_pop_1): this and remove the
        enabled check.
        * timevar.h (POP_TIMEVAR_AND_RETURN): Use do/while loops.
        (timevar_pop): New macro.
        (timevar_push): New macro.
        (timevar_enable): Declare.

From-SVN: r90050

20 years agodarwin.h (REAL_LIBGCC_SPEC): Define to use shared libgcc for shared libraries.
Andrew Pinski [Thu, 4 Nov 2004 02:30:26 +0000 (02:30 +0000)]
darwin.h (REAL_LIBGCC_SPEC): Define to use shared libgcc for shared libraries.

2004-11-03  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin.h (REAL_LIBGCC_SPEC): Define to use shared
        libgcc for shared libraries.

From-SVN: r90049

20 years ago* g++.dg/rtti/tinfo1.C: Remove xfails.
Ben Elliston [Thu, 4 Nov 2004 02:22:45 +0000 (02:22 +0000)]
* g++.dg/rtti/tinfo1.C: Remove xfails.

From-SVN: r90048

20 years agopredict.c (struct block_info_def): Kill "tovisit" field.
Jeff Law [Thu, 4 Nov 2004 00:23:15 +0000 (17:23 -0700)]
predict.c (struct block_info_def): Kill "tovisit" field.

       * predict.c (struct block_info_def): Kill "tovisit" field.
        (propagate_freq): Accept new "tovisit" parameter.  Change
        read/write access methods for "tovisit" to check the "tovisit"
        bitmap instead of a bit in block_info_def.
        (estimate_loops_at_level): Allocate "tovisit" bitmap.  Pass
        it to propagate_freq.

From-SVN: r90046

20 years agoDaily bump.
GCC Administrator [Thu, 4 Nov 2004 00:16:19 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90044.2

20 years agoDaily bump.
GCC Administrator [Thu, 4 Nov 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90043.2

20 years agojni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
Tom Tromey [Wed, 3 Nov 2004 22:53:20 +0000 (22:53 +0000)]
jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.

* jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
* include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
returns jobjectArray.
(_Jv_JNIEnv::NewObjectArray): Likewise.

From-SVN: r90041

20 years agoverify.cc (state::check_no_uninitialized_objects): Removed.
Tom Tromey [Wed, 3 Nov 2004 22:44:30 +0000 (22:44 +0000)]
verify.cc (state::check_no_uninitialized_objects): Removed.

* verify.cc (state::check_no_uninitialized_objects): Removed.
(push_jump): Updated.
(push_exception_jump): Likewise.
(handle_ret_insn): Likewise.
(handle_jsr_insn): Likewise.

From-SVN: r90040

20 years agoenum5.C (enum conditions): Move the packed attribute to the definition to satisfy...
Ben Elliston [Wed, 3 Nov 2004 22:28:59 +0000 (22:28 +0000)]
enum5.C (enum conditions): Move the packed attribute to the definition to satisfy the new C++ parser.

* g++.old-deja/g++.other/enum5.C (enum conditions): Move the
packed attribute to the definition to satisfy the new C++ parser.

From-SVN: r90039

20 years agostl_numeric.h (partial_sum, [...]): Avoid dereferencing two times __first in the...
Jonathan Wakely [Wed, 3 Nov 2004 22:22:34 +0000 (22:22 +0000)]
stl_numeric.h (partial_sum, [...]): Avoid dereferencing two times __first in the prologue.

2004-11-03  Jonathan Wakely  <redi@gcc.gnu.org>

* include/bits/stl_numeric.h (partial_sum, adjacent_difference):
Avoid dereferencing two times __first in the prologue.

From-SVN: r90038

20 years agostdarg-2.c (foo): Split multiple invocations of va_arg.
Eric Botcazou [Wed, 3 Nov 2004 21:53:39 +0000 (22:53 +0100)]
stdarg-2.c (foo): Split multiple invocations of va_arg.

* gcc.c-torture/execute/stdarg-2.c (foo): Split multiple
invocations of va_arg.

From-SVN: r90037