gcc.git
20 years agoexcept.c (output_function_exception_table): Adjust last change to handle TYPE of...
Richard Kenner [Thu, 18 Sep 2003 20:47:38 +0000 (20:47 +0000)]
except.c (output_function_exception_table): Adjust last change to handle TYPE of INTEGER_CST.

* except.c (output_function_exception_table): Adjust last change
to handle TYPE of INTEGER_CST.

From-SVN: r71540

20 years agore PR target/11184 ([ia64 hpux] ICE on __builtin_apply building libobjc)
Mark Mitchell [Thu, 18 Sep 2003 20:43:13 +0000 (20:43 +0000)]
re PR target/11184 ([ia64 hpux] ICE on __builtin_apply building libobjc)

PR target/11184
* builtins.c (expand_builtin_apply): Use convert_memory_address
before returning the value.

* alias.c (find_base_value): Simplify use of
convert_memory_address.
(find_base_term): Likewise.
* builtins.c (expand_builtin_stejmp_setup): Likewise.
(expand_builtin_longjmp): Likewise.
(expand_builtin_prefetch): Likewise.
(get_memory_rtx): Likewise.
(expand_builtin_return): Likewise.
(expand_builtin_memcpy): Likewise.
(expand_builtin_strncpy): Likewise.
(expand_builtin_memset): Likewise.
(expand_builtin_va_arg): Likewise.
(expand_builtin_va_copy): Likewise.
(expand_builtin_alloca): Likewise.
* calls.c (expand_call): Likewise.
* except.c (expand_builtin_extract_return_addr): Likewise.
(expand_builtin_eh_return): Likewise.
* explow.c (convert_memory_address): Define even when
POINTER_EXTEND_UNSIGNED is not defined.  Do nothing if the address
is already in the right mode.
* explow.c (memory_address): Simplify use of convert_memory_address.
(probe_stack_range): Likewise.
* expmed.c (make_tree): Likewise.
* expr.c (emit_block_move_in_libcall): Likewise.
(expand_assignment): Likewise.
(expand_expr): Likewise.
* function.c (assign_parms): Likewise.
(expand_function_end): Likewise.
* integrate.c (copy_rtx_and_substitute): Likewise.
* stmt.c (expand_computed_goto): Likewise.

PR target/11184
* gcc.dg/builtin-apply1.c: New test.

From-SVN: r71539

20 years agobtest-gcc.sh: Add make check-target-libffi.
Andreas Tobler [Thu, 18 Sep 2003 20:25:51 +0000 (22:25 +0200)]
btest-gcc.sh: Add make check-target-libffi.

2003-09-18  Andreas Tobler  <a.tobler@schweiz.ch>

* btest-gcc.sh: Add make check-target-libffi.

From-SVN: r71537

20 years ago* javax/naming/InitialContext.java: Reindented.
Tom Tromey [Thu, 18 Sep 2003 19:53:36 +0000 (19:53 +0000)]
* javax/naming/InitialContext.java: Reindented.

From-SVN: r71535

20 years agoNamingManager.java (getURLContext, [...]): Always use current thread's context class...
Dalibor Topic [Thu, 18 Sep 2003 19:51:39 +0000 (19:51 +0000)]
NamingManager.java (getURLContext, [...]): Always use current thread's context class loader when calling Class.forName.

2003-09-18  Dalibor Topic <robilad@kaffe.org>,
    Helmer Kraemer <hkraemer@freenet.de>

* javax/naming/spi/NamingManager.java (getURLContext,
getObjectInstance, getStateToBind): Always use current thread's
context class loader when calling Class.forName.

Co-Authored-By: Helmer Kraemer <hkraemer@freenet.de>
From-SVN: r71534

20 years agodarwin.S: Cleanup whitespaces, comment formatting.
Andreas Tobler [Thu, 18 Sep 2003 19:35:46 +0000 (21:35 +0200)]
darwin.S: Cleanup whitespaces, comment formatting.

2003-09-18  Andreas Tobler  <a.tobler@schweiz.ch>

* src/powerpc/darwin.S: Cleanup whitespaces, comment formatting.
* src/powerpc/darwin_closure.S: Likewise.
* src/powerpc/ffi_darwin.c: Likewise.

From-SVN: r71533

20 years agosimplify-rtx.c (simplify_unary_operation): Only transform (not (eq X Y)) into (ne...
Roger Sayle [Thu, 18 Sep 2003 19:07:04 +0000 (19:07 +0000)]
simplify-rtx.c (simplify_unary_operation): Only transform (not (eq X Y)) into (ne X Y) when...

* simplify-rtx.c (simplify_unary_operation): Only transform
(not (eq X Y)) into (ne X Y) when mode is BImode or STORE_FLAG_VALUE
is -1.  RTL "not" is a bit-wise not, "~", not a logical not "!".

From-SVN: r71532

20 years agotypes.c (double): Add AIX and Darwin to the right TYPEDEF.
Andreas Tobler [Thu, 18 Sep 2003 18:23:47 +0000 (20:23 +0200)]
types.c (double): Add AIX and Darwin to the right TYPEDEF.

2003-09-18  Andreas Tobler  <a.tobler@schweiz.ch>
    David Edelsohn  <edelsohn@gnu.org>

* src/types.c (double): Add AIX and Darwin to the right TYPEDEF.
* src/powerpc/aix_closure.S: Remove the pointer to the outgoing
parameter stack.
* src/powerpc/darwin_closure.S: Likewise.
* src/powerpc/ffi_darwin.c (ffi_prep_args): Handle structures
according to the Darwin/AIX ABI.
(ffi_prep_cif_machdep): Likewise.
(ffi_closure_helper_DARWIN): Likewise.
Remove the outgoing parameter stack logic. Simplify the evaluation
of the different CASE types.
(ffi_prep_clousure): Avoid the casts on lvalues. Change the branch
statement in the trampoline code.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r71530

20 years agore PR c++/9848 (missing 'unused parameter' warning.)
Nathan Sidwell [Thu, 18 Sep 2003 17:07:53 +0000 (17:07 +0000)]
re PR c++/9848 (missing 'unused parameter' warning.)

cp:
PR c++/9848
* optimize.c (maybe_clone_body): Don't set MARK_USED on parameters
here.
* semantics.c (expand_body): Set it here on the remaining clones.
testsuite:
PR c++/9848
* g++.dg/warn/Wunused-4.C: New test.

From-SVN: r71528

20 years agoMention the pr fixed.
Zdenek Dvorak [Thu, 18 Sep 2003 15:39:54 +0000 (15:39 +0000)]
Mention the pr fixed.

From-SVN: r71527

20 years ago* config/i386/i386.c (x86_emit_floatuns): Also handle SImode operand.
Zdenek Dvorak [Thu, 18 Sep 2003 15:37:51 +0000 (17:37 +0200)]
* config/i386/i386.c (x86_emit_floatuns): Also handle SImode operand.

From-SVN: r71526

20 years agotree.def (FFS_EXPR, [...]): Delete unused tree codes.
Roger Sayle [Thu, 18 Sep 2003 15:06:02 +0000 (15:06 +0000)]
tree.def (FFS_EXPR, [...]): Delete unused tree codes.

* tree.def (FFS_EXPR, CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR,
PARITY_EXPR): Delete unused tree codes.
* c-common.c (c_common_truthvalue_conversion): Delete references
to FFS_EXPR and POPCOUNT_EXPR.
* c-pretty-print.c (pp_c_postfix_expression): Remove FFS_EXPR.
(pp_c_expression): Likewise.
* expr.c (expand_expr): Delete RTL expansion of FFS_EXPR, CLZ_EXPR,
CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR.
* fold-const.c (tree_expr_nonnegative_p): Remove FFS_EXPR, CLZ_EXPR,
CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR.  Add support for calls to
BUILT_IN_FFS, BUILT_IN_PARITY and BUILT_IN_POPCOUNT and their long
and long long variants.

* cp/lex.c (init_operators): Remove operator_name_info for FFS_EXPR.
* cp/class.c (instantiate_type): Remove FFS_EXPR case.

* f/com.c (ffecom_overlap_): Remove FFS_EXPR case.
(ffecom_tree_canonize_ref_): Likewise.
(ffe_truthvalue_conversion): Likewise.

* java/expr.c (java_truthvalue_conversion): Remove FFS_EXPR case.
* java/check-init.c (check_init): Likewise.

From-SVN: r71525

20 years ago* jcf-write.c (generate_bytecode_insns): Add support for fconst_2.
Roger Sayle [Thu, 18 Sep 2003 14:55:43 +0000 (14:55 +0000)]
* jcf-write.c (generate_bytecode_insns): Add support for fconst_2.

From-SVN: r71524

20 years agore PR libstdc++/11504 (-Wcast-qual vs. stl_tree)
Benjamin Kosnik [Thu, 18 Sep 2003 14:27:19 +0000 (14:27 +0000)]
re PR libstdc++/11504 (-Wcast-qual vs. stl_tree)

2003-09-18  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/11504
* acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
WARN_FLAGS, remove -Wno-format.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r71523

20 years agoffi.c (ffi_prep_args): Take account into the alignement for the register size.
Kaz Kojima [Thu, 18 Sep 2003 14:08:20 +0000 (14:08 +0000)]
ffi.c (ffi_prep_args): Take account into the alignement for the register size.

* src/sh/ffi.c (ffi_prep_args): Take account into the alignement
for the register size.
(ffi_closure_helper_SYSV): Handle the structure return value
address correctly.
(ffi_closure_helper_SYSV): Return the appropriate type when
the registers are used for the structure return value.
* src/sh/sysv.S (ffi_closure_SYSV): Fix the stack layout for
the 64-bit return value.  Update copyright years.

From-SVN: r71521

20 years agobasic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
Petur Runolfsson [Thu, 18 Sep 2003 14:02:46 +0000 (14:02 +0000)]
basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.

2003-09-18  Petur Runolfsson  <peturr02@ru.is>

* config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
* config/io/basic_file_stdio.h: Same.
* include/std/std_fstream.h (__ctype_type): Delete.
* include/std/std_streambuf.h (__ctype_type, __state_type): Delete.

From-SVN: r71520

20 years agoTimer.java (finalize): Added "throws Throwable".
Michael Koch [Thu, 18 Sep 2003 13:09:53 +0000 (13:09 +0000)]
Timer.java (finalize): Added "throws Throwable".

2003-09-18  Michael Koch  <konqueror@gmx.de>

* java/util/Timer.java (finalize): Added "throws Throwable".

From-SVN: r71519

20 years ago* ChangeLog: Fix recent commit.
Volker Reichelt [Thu, 18 Sep 2003 12:20:41 +0000 (12:20 +0000)]
* ChangeLog: Fix recent commit.

From-SVN: r71518

20 years agore PR c++/12316 (trouble with garbage collection)
Volker Reichelt [Thu, 18 Sep 2003 12:12:13 +0000 (12:12 +0000)]
re PR c++/12316 (trouble with garbage collection)

PR c++/12316
* testsuite/g++.dg/other/gc2.C: New test.

* cp/ChangeLog: Add PR number to patch for PR c++/12316.

From-SVN: r71517

20 years ago2003-09-18 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 18 Sep 2003 11:32:46 +0000 (11:32 +0000)]
2003-09-18  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java
(ch): Removed.
(receive): Use getChannel() instead of ch.
(send): Likewise.
(getChannel): Return null.
* java/net/ServerSocket.java
(ch): Removed.
(setChannel): Removed.
(implAccept): Use getChannel() instead of ch.
(close): Likewise.
(getChannel): Return null.
* java/net/Socket.java
(ch): Removed.
(connect): Use getChannel() instead of ch.
(setChannel): Removed.
(getChannel): Return null.

From-SVN: r71516

20 years agoReported by Guilhem Lavaux and Julian Dolby
Mark Wielaard [Thu, 18 Sep 2003 11:24:20 +0000 (11:24 +0000)]
Reported by Guilhem Lavaux and Julian Dolby

2003-09-18  Mark Wielaard  <mark@klomp.org>

Reported by Guilhem Lavaux and Julian Dolby
* java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
field "serialPersistentFields", not "getSerialPersistentFields".

From-SVN: r71515

20 years agojcf-write.c (generate_bytecode_insns): Add MIN_EXPR and MAX_EXPR.
Andrew Haley [Thu, 18 Sep 2003 10:09:17 +0000 (10:09 +0000)]
jcf-write.c (generate_bytecode_insns): Add MIN_EXPR and MAX_EXPR.

2003-09-16  Andrew Haley  <aph@redhat.com>

        * jcf-write.c (generate_bytecode_insns): Add MIN_EXPR and MAX_EXPR.

From-SVN: r71514

20 years agoc-pretty-print.h (pp_type_specifier_seq): Fix thinko.
Gabriel Dos Reis [Thu, 18 Sep 2003 08:25:12 +0000 (08:25 +0000)]
c-pretty-print.h (pp_type_specifier_seq): Fix thinko.

        * c-pretty-print.h (pp_type_specifier_seq): Fix thinko.
        * c-pretty-print.c: Fix formatting.
        (pp_c_integer_constant): Append type annotation to literals.  Tidy.
        (pp_c_type_specifier): Tidy.
        (pp_c_compound_literal): New function.
        (pp_c_initializer): Simplify..
        (pp_c_initializer_list): Likewise.
        (pp_c_brace_enclosed_initializer_list): New function.
        (pp_c_postfix_expression): Simplify.

cp/
        * error.c (dump_type): Simplify.  Use pp_type_specifier_seq for
        "C" types.
        * cxx-pretty-print.c (pp_cxx_type_specifier_seq): Fix thinko.

From-SVN: r71511

20 years agoTimeZone.java: Initialize lazily.
Ingo Proetel [Thu, 18 Sep 2003 06:34:00 +0000 (06:34 +0000)]
TimeZone.java: Initialize lazily.

2003-09-18  Ingo Proetel  <proetel@aicas.com>

* java/util/TimeZone.java: Initialize lazily.
* java/util/Locale.java (readManifest): Fix check for country.
* java/util/GregorianCalendar.java: Make use of ResourceBundle better
traceable
* java/util/Calendar.java: Make use of ResourceBundle better
traceable.

From-SVN: r71509

20 years ago2003-09-18 Jeroen Frijters <jeroen@frijters.net>
Jeroen Frijters [Thu, 18 Sep 2003 06:11:41 +0000 (06:11 +0000)]
2003-09-18  Jeroen Frijters  <jeroen@frijters.net>

* java/sql/Timestamp.java
(valueOf): Fixed confusion of java.sql.Date and java.util.Date

From-SVN: r71508

20 years agoLineNumberReader (read): Don't reset pos & limit when markPos is 0.
David P Grove [Thu, 18 Sep 2003 06:07:09 +0000 (06:07 +0000)]
LineNumberReader (read): Don't reset pos & limit when markPos is 0.

2003-09-18  David P Grove  <groved@us.ibm.com>

* java/io/LineNumberReader (read): Don't reset pos & limit when
markPos is 0.

From-SVN: r71507

20 years ago[multiple changes]
Michael Koch [Thu, 18 Sep 2003 05:51:50 +0000 (05:51 +0000)]
[multiple changes]

2003-09-18  Dalibor Topic  <robilad@kaffe.org>

* gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
constant.
(computeArguments): use computeTypicalArguments.

* gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
Compile_jikes.java and RMICException.java.
* gnu/java/rmi/rmic/Compile_kjc.java: New file.
* gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
* gnu/java/rmi/rmic/RMICException.java: Likewise.

* gnu/java/rmi/rmic/Compiler.java (getDestination): New method.

* gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
(computeTypicalArguments): New method.
(compile): Print compiler output to System.out. Collect compiler
error output and use it in exception message.

* gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
(destination): Initialize to null.
(run): Replace file separator with '.' when processing class.
(processClass): Replace '.' with file separator when compiling
classes.
(findClass): Use SystemClassLoader to load class.
(generateStub): Use full class name for generated stub, that puts
it in right path.  Replace '.' with file separator when generating
stub file name. Write just the stub class name without package
information as class name, and constructor name. Write only
interface names for interfaces extending java.rmi.Remote as
implemented.
(generateSkel): Use full class name for generated skel, that puts
it in right path.  Replace '.' with file separator when generating
stub file name. Write just the stub class name without package
information as class name.

2003-09-18  Michael Koch  <konqueror@gmx.de>

* Makefile.am (rmi_java_source_files):
Added gnu/java/rmi/rmic/Compile_kjc.java,
gnu/java/rmi/rmic/Compile_jikes.java and
gnu/java/rmi/rmic/RMICException.java
* Makefile.in: Regenerated.

From-SVN: r71506

20 years agomn10300.md (andsi3, [...]): Make them set_zn.
Alexandre Oliva [Thu, 18 Sep 2003 02:46:00 +0000 (02:46 +0000)]
mn10300.md (andsi3, [...]): Make them set_zn.

* config/mn10300/mn10300.md (andsi3, iorsi3, xorsi3,
one_complsi2, bit-clear, bit-set, iorqi3): Make them set_zn.

From-SVN: r71499

20 years agotree-optimize.c (tree_rest_of_compilation): Save and restore input_location.
Richard Henderson [Thu, 18 Sep 2003 01:59:27 +0000 (18:59 -0700)]
tree-optimize.c (tree_rest_of_compilation): Save and restore input_location.

        * tree-optimize.c (tree_rest_of_compilation): Save and restore
        input_location.

        * semantics.c (expand_body): Don't save/restore input_location.

From-SVN: r71498

20 years ago* config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc.
Daniel Jacobowitz [Thu, 18 Sep 2003 00:52:26 +0000 (00:52 +0000)]
* config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc.

From-SVN: r71497

20 years agoDaily bump.
GCC Administrator [Thu, 18 Sep 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r71493

20 years agore PR c++/11991 (ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:282 when...
Mark Mitchell [Wed, 17 Sep 2003 23:50:04 +0000 (23:50 +0000)]
re PR c++/11991 (ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:282 when applying typeid operator to template template parameter)

PR c++/11991
* g++.dg/rtti/typeid3.C: New test.

From-SVN: r71489

20 years ago* cfg.c (dump_flow_info): Skip register dump if reg_n_info null.
Richard Henderson [Wed, 17 Sep 2003 23:45:59 +0000 (16:45 -0700)]
* cfg.c (dump_flow_info): Skip register dump if reg_n_info null.

From-SVN: r71485

20 years agoconfigure.in (gcc_cv_ld_hidden): Don't test gnu_ld_flag.
Rainer Orth [Wed, 17 Sep 2003 23:43:24 +0000 (23:43 +0000)]
configure.in (gcc_cv_ld_hidden): Don't test gnu_ld_flag.

* configure.in (gcc_cv_ld_hidden): Don't test gnu_ld_flag.
* configure: Regenerate.

From-SVN: r71484

20 years agore PR c++/12266 (incorrect instantiation of unneeded template during overload resolution)
Mark Mitchell [Wed, 17 Sep 2003 23:42:55 +0000 (23:42 +0000)]
re PR c++/12266 (incorrect instantiation of unneeded template during overload resolution)

PR c++/12266
* cp-tree.h (tsubst_flags_t): Add tf_conv.
* class.c (standard_conversion): Pass tf_conv to
instantiate_type.
(resolve_address_of_overloaded_function): Do not call mark_used
when just checking conversions.

PR c++/12266
* g++.dg/overload/template1.C: New test.

From-SVN: r71483

20 years agore PR debug/12066 (g++ generates stabs for "char *" that gdb cannot read)
Mark Mitchell [Wed, 17 Sep 2003 20:52:41 +0000 (20:52 +0000)]
re PR debug/12066 (g++ generates stabs for "char *" that gdb cannot read)

PR debug/12066
* dbxout.c (dbxout_init): Use a langhook to find builtin types.
* langhooks-def.h (lhd_return_null_tree_v): New function.
(LANG_HOOKS_BUILTIN_TYPE_DECLS): New macro.
(LANG_HOOKS_DECLS): Add it to the intializer.
* langhooks.c (lhd_return_null_tree_v): New function.
* langhooks.h (lang_hooks_for_decls): Add builtin_type_decls.

PR debug/12066
* cp-lang.c (LANG_HOOKS_BUILTIN_TYPE_DECLS): Define.
* cp-tree.h (cxx_builtin_type_decls): Declare.
* decl.c (builtin_type_decls): New variables.
(cxx_builtin_type_decls): New function.
(record_builtin_type): Add to builtin_type_decls.

From-SVN: r71478

20 years agore PR libstdc++/12239 (Compile Failure)
Benjamin Kosnik [Wed, 17 Sep 2003 20:28:07 +0000 (20:28 +0000)]
re PR libstdc++/12239 (Compile Failure)

2003-09-17  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/12239
* configure.host (abi_baseline_pair): Error out on solaris2
configurations without a minor version number.

From-SVN: r71476

20 years agoGdkGraphics2D.java, [...]: New files.
Graydon Hoare [Wed, 17 Sep 2003 20:03:02 +0000 (20:03 +0000)]
GdkGraphics2D.java, [...]: New files.

2003-09-17  Graydon Hoare  <graydon@redhat.com>

* gnu/java/awt/peer/gtk/GdkGraphics2D.java,
gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
New files.

From-SVN: r71475

20 years agoconfigure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix quoting.
Daniel Jacobowitz [Wed, 17 Sep 2003 20:01:06 +0000 (20:01 +0000)]
configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix quoting.

./ * configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix
quoting.
* configure: Regenerated.
gcc/
* configure.in: Quote gcc_config_arguments for configargs.h.
* configure: Regenerated.
* gccbug.in: Don't shell-expand gcc_config_arguments.

From-SVN: r71474

20 years ago* semantics.c (expand_or_defer_fn): Inc/dec function_depth.
Richard Henderson [Wed, 17 Sep 2003 19:26:23 +0000 (12:26 -0700)]
* semantics.c (expand_or_defer_fn): Inc/dec function_depth.

From-SVN: r71473

20 years ago[multiple changes]
Graydon Hoare [Wed, 17 Sep 2003 19:06:55 +0000 (19:06 +0000)]
[multiple changes]

2003-09-16  Graydon Hoare  <graydon@redhat.com>

* java/awt/BufferedImage.java (setData): Support non-component
sample models.
(getData): Same.

2003-09-10  Graydon Hoare  <graydon@redhat.com>

* java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
* java/awt/geom/Arc2D.java: Approximate arc segments with cubics.

From-SVN: r71472

20 years agolibffi-dg.exp (libffi_target_compile): Search in srcdir for ffi_mips.h.
Rainer Orth [Wed, 17 Sep 2003 17:59:15 +0000 (17:59 +0000)]
libffi-dg.exp (libffi_target_compile): Search in srcdir for ffi_mips.h.

* testsuite/lib/libffi-dg.exp (libffi_target_compile): Search in
srcdir for ffi_mips.h.

From-SVN: r71469

20 years agore PR c++/11357 ([DR 425] no conversion of build-in binary operator argument attempted)
Gabriel Dos Reis [Wed, 17 Sep 2003 17:56:42 +0000 (17:56 +0000)]
re PR c++/11357 ([DR 425] no conversion of build-in binary operator argument attempted)

        PR c++/11357
        * c-pretty-print.c (pp_c_floating_constant): Append
        type-annotation to floating constants.

From-SVN: r71468

20 years agore PR target/10190 ([IRIX] building gcc 3.2.2 on irix 5.3 fails)
Rainer Orth [Wed, 17 Sep 2003 17:40:05 +0000 (17:40 +0000)]
re PR target/10190 ([IRIX] building gcc 3.2.2 on irix 5.3 fails)

* config/mips/iris5.h (TARGET_OS_CPP_BUILTINS): Define _LONGLONG.
Define _ABIO32.
Use it for _MIPS_SIM.
* config/mips/iris6-o32.h (TARGET_OS_CPP_BUILTINS): Removed.

* config/mips/iris6-o32-as.h (SUBTARGET_ASM_OPTIMIZING_SPEC):
Moved ...
* config/mips/iris5.h (SUBTARGET_ASM_OPTIMIZING_SPEC): ... here,
updating comment.
Fixes PR target/10190.

From-SVN: r71465

20 years agore PR java/9577 (Linker error for legal Java/CNI code if method parameters are reversed)
Ranjit Mathew [Wed, 17 Sep 2003 15:26:59 +0000 (15:26 +0000)]
re PR java/9577 (Linker error for legal Java/CNI code if method parameters are reversed)

2003-09-17  Ranjit Mathew  <rmathew@hotmail.com>

Fixes PR java/9577
* mangle.c (find_compression_record_match): Skip
over a "6JArray" (the array template mangled string)
IDENTIFIER_NODE.
(mangle_array_type): Correct minor typo.
(atms): Move definition to the beginning.

From-SVN: r71461

20 years agore PR java/9577 (Linker error for legal Java/CNI code if method parameters are reversed)
Ranjit Mathew [Wed, 17 Sep 2003 15:25:07 +0000 (15:25 +0000)]
re PR java/9577 (Linker error for legal Java/CNI code if method parameters are reversed)

2003-09-17  Ranjit Mathew  <rmathew@hotmail.com>

PR java/9577
* libjava.cni/PR9577.java: New file.
* libjava.cni/natPR9577.cc: New file.
* libjava.cni/PR9577.out: New file.

From-SVN: r71460

20 years agoconfigure.in: Standardized help text case of --enable-hash-synchronization New config...
Mohan Embar [Wed, 17 Sep 2003 14:59:28 +0000 (14:59 +0000)]
configure.in: Standardized help text case of --enable-hash-synchronization New configure...

* configure.in: Standardized help text case of
--enable-hash-synchronization
New configure switch --enable-libgcj-multifile and corresponding
automake conditional ONESTEP.
* configure: Rebuilt.
* Makefile.am: Use automake conditional ONESTEP to determine
whether classfiles should be compiled individually or all
at once.
* Makefile.in: Rebuilt.

From-SVN: r71459

20 years agosysv4.h (LIB_LINUX_SPEC): Make -pthread apply to shared libraries.
Daniel Jacobowitz [Wed, 17 Sep 2003 14:04:52 +0000 (14:04 +0000)]
sysv4.h (LIB_LINUX_SPEC): Make -pthread apply to shared libraries.

* config/rs6000/sysv4.h (LIB_LINUX_SPEC): Make -pthread apply
to shared libraries.

From-SVN: r71458

20 years agore PR rtl-optimization/11646 (ICE in commit_one_edge_insertion with -fnon-call-except...
Eric Botcazou [Wed, 17 Sep 2003 07:11:01 +0000 (09:11 +0200)]
re PR rtl-optimization/11646 (ICE in commit_one_edge_insertion with -fnon-call-exceptions -fgcse -O)

PR optimization/11646
* cfgrtl.c (purge_dead_edges) [JUMP_INSN]: Rematerialize the
EDGE_ABNORMAL flag for EH edges.
* toplev.c (rest_of_handle_cse): Delete unreachable blocks
if dead edges were purged.

From-SVN: r71455

20 years agore PR java/12254 (Regression in java networking code)
Bryce McKinlay [Wed, 17 Sep 2003 05:00:46 +0000 (05:00 +0000)]
re PR java/12254 (Regression in java networking code)

        * class.c (add_miranda_methods): Ensure super-interfaces are laid
        out. Fix for PR java/12254.

From-SVN: r71454

20 years agoGtkEmbeddedWindowPeer.java (construct): Remove method declaration.
Thomas Fitzsimmons [Wed, 17 Sep 2003 04:39:34 +0000 (04:39 +0000)]
GtkEmbeddedWindowPeer.java (construct): Remove method declaration.

2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
Remove method declaration.
(create()): Call native create.
(create(int)): New method.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
(create): Add window_id parameter.  Call gtk_plug_new with
window_id parameter.
(construct): Remove method implementation.

From-SVN: r71453

20 years agoMakefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
Mohan Embar [Wed, 17 Sep 2003 02:44:43 +0000 (02:44 +0000)]
Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.

* Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
(mostlyclean-local): New target patterned after clean-local
which recursively deletes all libtool objects using 'libtool rm'.
(clean-local): Slightly modified comment to alleviate monotony.
(distclean-local): New target patterned after clean-local
which recursively deletes all .d files.
* Makefile.in: Rebuilt.

From-SVN: r71451

20 years agom68k.h (TARGET_CPU_CPP_BUILTINS): Add target predefines.
Bernardo Innocenti [Wed, 17 Sep 2003 00:41:46 +0000 (02:41 +0200)]
m68k.h (TARGET_CPU_CPP_BUILTINS): Add target predefines.

* config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Add target predefines.
* config/m68k/m68k-none.h (CPP_CPU_DEFAULT_SPEC): Kill all definitions.
* config/m68k/m68k-none.h (CPP_FPU_SPEC): Remove.
* config/m68k/m68k-none.h (CPP_SPEC): Likewise.

From-SVN: r71450

20 years agoDaily bump.
GCC Administrator [Wed, 17 Sep 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r71448

20 years agocfgcleanup.c (label_is_jump_target_p): Correct use of table returned by tablejump_p.
Ian Lance Taylor [Tue, 16 Sep 2003 21:14:41 +0000 (21:14 +0000)]
cfgcleanup.c (label_is_jump_target_p): Correct use of table returned by tablejump_p.

* cfgcleanup.c (label_is_jump_target_p): Correct use of table
returned by tablejump_p.

From-SVN: r71443

20 years ago* dwarf2asm.c (dw2_asm_output_nstring): Add comment.
Joel Brobecker [Tue, 16 Sep 2003 18:32:36 +0000 (18:32 +0000)]
* dwarf2asm.c (dw2_asm_output_nstring): Add comment.

From-SVN: r71442

20 years agoMAINTAINERS (Write After Approval): Add myself to write after approval list.
Joel Brobecker [Tue, 16 Sep 2003 18:22:42 +0000 (18:22 +0000)]
MAINTAINERS (Write After Approval): Add myself to write after approval list.

       * MAINTAINERS (Write After Approval): Add myself to write after
       approval list.

From-SVN: r71441

20 years agore PR bootstrap/12269 (Mainline failed to bootstrap on Linux/ia64)
Roger Sayle [Tue, 16 Sep 2003 17:16:25 +0000 (17:16 +0000)]
re PR bootstrap/12269 (Mainline failed to bootstrap on Linux/ia64)

PR bootstrap/12269
* simplify-rtx.c (simplify_gen_relational): Allow the cmp_mode
argument to be VOIDmode, taking the mode of the comparison from
the operands.  Only call simplify_relational_operation if we
know the mode of the comparison.  Honor FLOAT_STORE_FLAG_VALUE
if comparison has a floating point result.  Ensure that the
result is always of the specified mode.
(simplify_replace_rtx): Simplify call to simplify_gen_relational.
(simplify_unary_operation): Ensure the correct mode and cmp_mode
are always passed to simplify_gen_relational.  Simplify NOT of
comparison operator in any mode, not just BImode.
(simplify_ternary_operation): Correct tests on the return value
of simplify_relational_operation to use const_true_rtx, not
const1_rtx.  Abort if it ever returns a non-constant result.

* cfgloopanal.c (count_strange_loop_iterations): Use the function
simplify_relational_operation, not simplify_gen_relational, if
we're only interested in constant comparisons and will ignore
non-constant results.

From-SVN: r71439

20 years agofold-const.c (tree_swap_operands_p): New function to determine the prefered ordering...
Roger Sayle [Tue, 16 Sep 2003 17:08:50 +0000 (17:08 +0000)]
fold-const.c (tree_swap_operands_p): New function to determine the prefered ordering of operands.

* fold-const.c (tree_swap_operands_p): New function to determine
the prefered ordering of operands.
(fold): Numerous clean-ups.  Use tree_swap_operands_p when swapping
operands to commutative, comparison or ternary operators.  Replace
uses of TREE_SET_CODE with recursive call to fold.  Remove duplicate
transformation of A ? B : C into !A ? C : B.

From-SVN: r71438

20 years agore PR c++/7939 (ICE on function template specialization)
Kriang Lerdsuwanakij [Tue, 16 Sep 2003 15:27:51 +0000 (15:27 +0000)]
re PR c++/7939 (ICE on function template specialization)

PR c++/7939
* typeck.c (comptypes): Don't ICE when its first argument is
error_mark_node.
(compparms): Reverse the arguments of same_type_p.

* g++.dg/template/crash11.C: New test.

From-SVN: r71432

20 years agoMAINTAINERS (Write After Approval): Add myself
Dorit Naishlos [Tue, 16 Sep 2003 14:17:13 +0000 (14:17 +0000)]
MAINTAINERS (Write After Approval): Add myself

From-SVN: r71427

20 years agoMAINTAINERS (Write After Approval): Add myself.
Dorit Naishlos [Tue, 16 Sep 2003 14:14:21 +0000 (14:14 +0000)]
MAINTAINERS (Write After Approval): Add myself.

From-SVN: r71426

20 years agolinux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
Jakub Jelinek [Tue, 16 Sep 2003 08:04:34 +0000 (10:04 +0200)]
linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.

* config/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
* config/alpha/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
* config/arm/linux-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
* config/rs6000/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
* config/rs6000/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
* config/sh/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
* config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
* config/sparc/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Define.

From-SVN: r71425

20 years agoc-common.c (handle_warn_unused_result_attribute): New function.
Jason Merrill [Tue, 16 Sep 2003 07:58:27 +0000 (03:58 -0400)]
c-common.c (handle_warn_unused_result_attribute): New function.

* c-common.c (handle_warn_unused_result_attribute): New function.
(c_common_attribute_table): Add warn_unused_result.
(c_expand_expr): Issue warning when result of inlined function
with warn_unused_result attribute is ignored.
* calls.c (expand_call): Issue warning when result of function
with warn_unused_result attribute is ignored.
* c-common.h (STMT_EXPR_WARN_UNUSED_RESULT): Define.
* expr.c (expr_wfl_stack): Define.
(expand_expr) <case EXPR_WITH_FILE_LOCATION>: If ignore,
pass const0_rtx as target.  Chain locations into expr_wfl_stack.
* tree-inline.c (expand_call_inline): Set STMT_EXPR_WARN_UNUSED_RESULT
bit if inlined function has warn_unused_result attribute.
* input.h (expr_wfl_stack): Declare.
* doc/extend.texi: Document warn_unused_result attribute.

* gcc.dg/attr-warn-unused-result.c: New test.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r71424

20 years agoIndex: include/ChangeLog
Andrew Cagney [Tue, 16 Sep 2003 01:51:07 +0000 (01:51 +0000)]
Index: include/ChangeLog
2003-09-15  Andrew Cagney  <cagney@redhat.com>

* floatformat.h (floatformat_to_double): Make input buffer constant.
(floatformat_from_double, floatformat_is_valid): Ditto.

Index: libiberty/ChangeLog
2003-09-15  Andrew Cagney  <cagney@redhat.com>

* floatformat.c (get_field): Make "data" constant.
(floatformat_is_valid, floatformat_to_double): Make "from"
constant, fix casts.
(floatformat_from_double): Make "from" constant.

From-SVN: r71422

20 years agoCleaned up Jan's ChangeLog entries
R. Kelley Cook [Tue, 16 Sep 2003 01:06:47 +0000 (01:06 +0000)]
Cleaned up Jan's ChangeLog entries

From-SVN: r71421

20 years agoDaily bump.
GCC Administrator [Tue, 16 Sep 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r71418

20 years ago* cpplib.c (do_pragma): Remove unnecessary cb_line_change.
Alexandre Oliva [Tue, 16 Sep 2003 00:13:28 +0000 (00:13 +0000)]
* cpplib.c (do_pragma): Remove unnecessary cb_line_change.

From-SVN: r71416

20 years agoxtensa.c (xtensa_multibss_section_type_flags): Add ATTRIBUTE_UNUSED.
Bob Wilson [Mon, 15 Sep 2003 23:19:21 +0000 (23:19 +0000)]
xtensa.c (xtensa_multibss_section_type_flags): Add ATTRIBUTE_UNUSED.

* config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Add
ATTRIBUTE_UNUSED.
(call_insn_operand): For PIC, don't allow a direct call to a
function in a different section than the current one.

From-SVN: r71415

20 years agoinvoke.texi (Warning Options): Add missing hyphen before "Wimport".
Volker Reichelt [Mon, 15 Sep 2003 23:17:13 +0000 (23:17 +0000)]
invoke.texi (Warning Options): Add missing hyphen before "Wimport".

2003-09-16  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>

        * doc/invoke.texi (Warning Options): Add missing hyphen before
        "Wimport".  Change "-Wno-endif-labels" to "-Wendif-labels".
        Move "-Wold-style-definition" to the C-only section.
        Fix the ordering of the warning options.

From-SVN: r71414

20 years agogcse.c (remove_reachable_equiv_notes): New.
Zdenek Dvorak [Mon, 15 Sep 2003 23:07:29 +0000 (01:07 +0200)]
gcse.c (remove_reachable_equiv_notes): New.

* gcse.c (remove_reachable_equiv_notes): New.
(replace_store_insn): Call it.  Update antic list.
(store_killed_in_insn): Take REG_EQUAL notes into account.
(build_store_vectors, delete_store): Add parameter to
replace_store_insn call.

Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r71412

20 years agoxtensa.h (LEGITIMATE_PIC_OPERAND_P): Use SYMBOL_REF_LOCAL_P.
Bob Wilson [Mon, 15 Sep 2003 23:02:31 +0000 (23:02 +0000)]
xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use SYMBOL_REF_LOCAL_P.

* config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use
SYMBOL_REF_LOCAL_P.

From-SVN: r71411

20 years agofloatformat.h (struct floatformat): Make "exp_bias" signed.
Andrew Cagney [Mon, 15 Sep 2003 21:28:49 +0000 (21:28 +0000)]
floatformat.h (struct floatformat): Make "exp_bias" signed.

2003-09-15  Andrew Cagney  <cagney@redhat.com>

* floatformat.h (struct floatformat): Make "exp_bias" signed.

From-SVN: r71407

20 years agoexpr.h (DEFAULT_FUNCTION_ARG_PADDING): New.
Kazu Hirata [Mon, 15 Sep 2003 20:23:43 +0000 (20:23 +0000)]
expr.h (DEFAULT_FUNCTION_ARG_PADDING): New.

* expr.h (DEFAULT_FUNCTION_ARG_PADDING): New.
(FUNCTION_ARG_PADDING): Use DEFAULT_FUNCTION_ARG_PADDING.
* config/ia64/ia64.c (ia64_hpux_function_arg_padding):
Likewise.
* config/m68hc11/m68hc11.c (m68hc11_function_arg_padding):
Likewise.
* config/rs6000/rs6000.c (function_arg_padding): Likewise.
* config/sparc/sparc.c (function_arg_padding): Likewise.

From-SVN: r71406

20 years agofloatformat.c (floatformat_is_valid): New function.
Daniel Jacobowitz [Mon, 15 Sep 2003 20:16:32 +0000 (20:16 +0000)]
floatformat.c (floatformat_is_valid): New function.

* floatformat.c (floatformat_is_valid): New function.
(get_field, put_field): Correct comments.

From-SVN: r71405

20 years ago* floatformat.h (floatformat_is_valid): Add prototype.
Daniel Jacobowitz [Mon, 15 Sep 2003 20:16:22 +0000 (20:16 +0000)]
* floatformat.h (floatformat_is_valid): Add prototype.

From-SVN: r71404

20 years agohaifa-sched.c (schedule_block): Use ready_remove_first instead of choose_ready for...
Vladimir Makarov [Mon, 15 Sep 2003 18:52:33 +0000 (18:52 +0000)]
haifa-sched.c (schedule_block): Use ready_remove_first instead of choose_ready for non-dfa insn scheduling.

2003-09-15  Vladimir Makarov  <vmakarov@redhat.com>

* haifa-sched.c (schedule_block): Use ready_remove_first instead
of choose_ready for non-dfa insn scheduling.

From-SVN: r71403

20 years agore PR c++/12184 (ICE with trying to convert an incomplete type)
Nathan Sidwell [Mon, 15 Sep 2003 14:48:29 +0000 (14:48 +0000)]
re PR c++/12184 (ICE with trying to convert an incomplete type)

cp:
PR c++/12184
* typeck.c (convert_arguments): Return error_mark_node for an
incomplete parameter. Make error message more informative.
testsuite:
PR c++/12184
* g++.dg/expr/call2.C: New test.

From-SVN: r71402

20 years agoinvoke.texi (Warning Options): Describe -Wold-style-definition.
Andreas Jaeger [Mon, 15 Sep 2003 09:32:36 +0000 (11:32 +0200)]
invoke.texi (Warning Options): Describe -Wold-style-definition.

2003-09-15  Andreas Jaeger  <aj@suse.de>
            Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

* doc/invoke.texi (Warning Options): Describe -Wold-style-definition.
* c-opts.c (c_common_handle_option): Handle OPT_Wold_style_definition.
* c-parse.in: Warn about old-style parameter definition.
* c-common.c: Define warn_old_style_defintion.
* c-common.h: Declare it.
* c.opt: Add Wold-style-defintion.

From-SVN: r71401

20 years agoinvoke.texi (Warning Options): Describe -Wold-style-definition.
Andreas Jaeger [Mon, 15 Sep 2003 09:31:17 +0000 (11:31 +0200)]
invoke.texi (Warning Options): Describe -Wold-style-definition.

2003-09-15  Andreas Jaeger  <aj@suse.de>
            Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

* doc/invoke.texi (Warning Options): Describe -Wold-style-definition.
* c-opts.c (c_common_handle_option): Handle OPT_Wold_style_definition.
* c-parse.in: Warn about old-style parameter definition.
* c-common.c: Define warn_old_style_defintion.
* c-common.h: Declare it.
* c.opt: Add Wold-style-defintion.

testsuite:
2003-09-15  Andreas Jaeger  <aj@suse.de>

* gcc.dg/Wold-style-definition-1.c: New test.

From-SVN: r71400

20 years agoaltivec.h: Convert () prototypes to ISO C90.
Andreas Jaeger [Mon, 15 Sep 2003 04:53:00 +0000 (06:53 +0200)]
altivec.h: Convert () prototypes to ISO C90.

* config/rs6000/altivec.h: Convert () prototypes to ISO C90.
* config/rs6000/rs6000.c: Likewise.

From-SVN: r71399

20 years agore PR rtl-optimization/10914 (unswitch loops does not work on powerpc)
Zdenek Dvorak [Mon, 15 Sep 2003 01:55:53 +0000 (03:55 +0200)]
re PR rtl-optimization/10914 (unswitch loops does not work on powerpc)

2003-09-12  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>

        PR optimization/10914
        * expr.h (get_condition, canonicalize_condition): Declaration changed.
        * cfgloopanal.c (simple_loop_exit_p): Add parameter to a get_condition
        and canonicalize_condition calls.
        * gcse.c (fis_get_condition, delete_null_pointer_checks_1,
        delete_null_pointer_checks): Ditto.
        * ifcvt.c (noce_get_alt_condition, noce_get_condition): Ditto.
        * predict.c (estimate_probability, expected_value_to_br_prob): Ditto.
        * loop.c (check_dbra_loop, get_condition_for_loop): Ditto.
        (canonicalize_condition, get_condition): Allow to return comparisons
        of cc mode registers.
        * loop-unswitch.c (may_unswitch_on_p, unswitch_single_loop): Allow
        cc mode registers comparison in condition.

From-SVN: r71398

20 years agore PR c++/3907 (nested template parm collides with member name)
Mark Mitchell [Mon, 15 Sep 2003 00:59:28 +0000 (00:59 +0000)]
re PR c++/3907 (nested template parm collides with member name)

* coverage.c (create_coverage): Do not call pushlevel/poplevel.
* langhooks-def.h (lhd_do_nothing_iii_return_null_tree): New
function.
* langhooks.c (lhd_do_nothing_iii_return_null_tree): Define it.

PR c++/3907
* class.c (maybe_note_name_used_in_class): Refine test for whether
or not we are in a class scope.

* cp-tree.h (language_function): Remove x_expanding_p.
(expanding_p): Remove.
(doing_semantic_analysis_p): Remove.
(scope_kind): Add sk_function_parms, sk_class,
sk_namespace.
(innermost_scope_kind): New method.
* call.c (cxx_type_promotes_to): Use type_decays_to.
* cp-lang.c (LANG_HOOKS_PUSHLEVEL): Redefine.
(LANG_HOOKS_POPLEVEL): Likewise.
* decl.c (cp_binding_level): Remove parm_flag, template_parms_p,
template_spec_p, namespace_p, is_for_scope, is_try_scope, and
is_catch_scope.  Add kind and explicit_spec_p.
(cxx_scope_descriptor): Use a lookup table.
(find_class_binding_level): Use "kind" field in binding_level, not
the various flags.
(pop_binding_level): Likewise.
(innermost_nonclass_level): Likewise.
(toplevel_bindings_p): Likewise.
(namespace_bindings_p): Likewise.
(template_parm_scope_p): Likewise.
(innermost_scope_kind): New method.
(current_tmpl_spec_kind): Use "kind" field in binding_level, not
the various flags.
(pushlevel): Remove check for doing_semantic_analysis_p.
(begin_scope): Simplify.
(add_decl_to_level): Use "kind" field in binding_level, not
the various flags.
(push_local_binding): Likewise.
(pop_label): Remove check for doing_semantic_analysis_p.
(poplevel): Use "kind" field in binding_level, not
the various flags.
(set_block): Remove check for doing_semantic_analysis_p.
(pushlevel_class): Use "kind" field in binding_level, not
the various flags.
(poplevel_class): Likewise.
(initial_push_namespace_scope): Likewise.
(maybe_push_to_top_level): Likewise.
(set_identifier_type_value_with_scope): Likewise.
(pop_everything): Likewise.
(maybe_process_template_type_declaration): Likewise.
(pushtag): Likewise.
(pushdecl): Likewise.
(pushdecl_with_scope): Likewise.
(check_previous_goto_1): Likewise.
(define_label): Likewise.
(finish_case_label): Likewise.
(lookup_tag): Likewise.
(unqualified_namespace_lookup): Likewise.
(lookup_name_real): Likewise.
(lookup_name_current_level): Likewise.
(lookup_type_current_level): Likewise.
(record_builtin_type): Likewise.
(cp_make_fname_decl): Likewise.
(maybe_inject_for_scope_var): Likewise.
(cp_finish_decl): Remove check for doing_semantic_analysis_p.
(start_function): Use begin_scope, not pushlevel.
(finish_function): Use "kind" field in binding_level, not
the various flags.
(start_method): Use begin_scope, not pushlevel.
(make_label_decl): Do not check expanding_p.
(save_function-data): Do not set expanding_p.
(cxx_push_function_context): Do not clear expanding_p.
* semantics.c (cxx_expand_function_start): Do not set expanding_p.

PR c++/3907
* g++.dg/parse/template12.C: New test.

* g++.dg/abi/bitfield11.C: New test.
* g++.dg/abi/bitfield12.C: Likewise.

From-SVN: r71393

20 years agoclass.c (layout_class_type): Make DECL_MODE match TYPE_MODE for an bit-field whose...
Mark Mitchell [Mon, 15 Sep 2003 00:27:16 +0000 (00:27 +0000)]
class.c (layout_class_type): Make DECL_MODE match TYPE_MODE for an bit-field whose width exceeds that of its...

* class.c (layout_class_type): Make DECL_MODE match TYPE_MODE for
an bit-field whose width exceeds that of its type.

* g++.dg/abi/bitfield11.C: New test.
* g++.dg/abi/bitfield12.C: Likewise.

From-SVN: r71392

20 years agoDaily bump.
GCC Administrator [Mon, 15 Sep 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r71390

20 years agoclass.c (layout_class_type): Make DECL_MODE match TYPE_MODE for an bit-field whose...
Mark Mitchell [Sun, 14 Sep 2003 23:50:49 +0000 (23:50 +0000)]
class.c (layout_class_type): Make DECL_MODE match TYPE_MODE for an bit-field whose width exceeds that of its...

* class.c (layout_class_type): Make DECL_MODE match TYPE_MODE for
an bit-field whose width exceeds that of its type.

From-SVN: r71388

20 years ago* rtti.c (get_tinfo_decl): Set TREE_PUBLIC for typeinfo decls.
Geoffrey Keating [Sun, 14 Sep 2003 20:24:00 +0000 (20:24 +0000)]
* rtti.c (get_tinfo_decl): Set TREE_PUBLIC for typeinfo decls.

From-SVN: r71387

20 years agocombine.c (simplify_comparison): Convert (ne (and (lshiftrt (xor X CST) Y) 1) 0)...
Kazu Hirata [Sun, 14 Sep 2003 18:31:13 +0000 (18:31 +0000)]
combine.c (simplify_comparison): Convert (ne (and (lshiftrt (xor X CST) Y) 1) 0) into (eq (and (lshiftrt X Y) 1) 0).

* combine.c (simplify_comparison): Convert
(ne (and (lshiftrt (xor X CST) Y) 1) 0) into
(eq (and (lshiftrt X Y) 1) 0).

From-SVN: r71385

20 years agoalias.c: Follow spelling conventions.
Kazu Hirata [Sun, 14 Sep 2003 14:49:08 +0000 (14:49 +0000)]
alias.c: Follow spelling conventions.

* alias.c: Follow spelling conventions.
* cpphash.h: Likewise.
* fold-const.c: Likewise.
* cp/ChangeLog: Likewise.
* cp/parser.c: Likewise.

From-SVN: r71382

20 years agoc-ppoutput.c (cb_line_change): Revert 2003-08-04's change.
Alexandre Oliva [Sun, 14 Sep 2003 13:56:18 +0000 (13:56 +0000)]
c-ppoutput.c (cb_line_change): Revert 2003-08-04's change.

* c-ppoutput.c (cb_line_change): Revert 2003-08-04's change.
* c-lex.c (cb_line_change): Skip line changing whenever
c-ppoutput.c would.

From-SVN: r71381

20 years agoseparate-1.c: Adjust line of error.
Alexandre Oliva [Sun, 14 Sep 2003 13:52:56 +0000 (13:52 +0000)]
separate-1.c: Adjust line of error.

* gcc.dg/cpp/separate-1.c: Adjust line of error.  Test for correct
non-expansion of functional macro name without arguments at EOL.
* gcc.dg/cpp/spacing1.c: Revert 2003-08-04's change.  Likewise.

From-SVN: r71380

20 years agora.c: Convert to ISO C90 prototypes.
Steven Bosscher [Sun, 14 Sep 2003 13:42:33 +0000 (13:42 +0000)]
ra.c: Convert to ISO C90 prototypes.

2003-09-14  Steven Bosscher  <steven@gcc.gnu.org>

* ra.c: Convert to ISO C90 prototypes.
* ra-build.c: Likewise.
* ra-colorize.c: Likewise.
* ra-debug.c: Likewise.
* ra-rewrite.c: Likewise.

From-SVN: r71379

20 years ago* Makefile.in (%.dvi): Remove excess $(docdir).
Richard Sandiford [Sun, 14 Sep 2003 10:28:21 +0000 (10:28 +0000)]
* Makefile.in (%.dvi): Remove excess $(docdir).

From-SVN: r71373

20 years agofunction.c (STACK_BYTES): Move definition to head of file.
Richard Sandiford [Sun, 14 Sep 2003 10:07:51 +0000 (10:07 +0000)]
function.c (STACK_BYTES): Move definition to head of file.

* function.c (STACK_BYTES): Move definition to head of file.
(assign_parms): Don't pass current_function_pretend_args_size
directly to SETUP_INCOMING_VARARGS.  For partial register arguments,
round current_function_pretend_args_size up to STACK_BYTES.  Skip any
excess before laying out the argument.

From-SVN: r71372

20 years agoobjc-act.c: Convert to ISO C90 prototypes.
Andreas Jaeger [Sun, 14 Sep 2003 09:42:57 +0000 (11:42 +0200)]
objc-act.c: Convert to ISO C90 prototypes.

* objc/objc-act.c: Convert to ISO C90 prototypes.
* objc/objc-act.h: Likewise.

From-SVN: r71371

20 years agors6000.c: Fix typo: Remove extra ')'.
Olaf Hering [Sun, 14 Sep 2003 06:23:15 +0000 (08:23 +0200)]
rs6000.c: Fix typo: Remove extra ')'.

2003-09-14  Olaf Hering  <olh@suse.de>

* config/rs6000/rs6000.c: Fix typo: Remove extra ')'.

From-SVN: r71370

20 years agore PR target/12021 (warning "cpu" and "machine" reasserted for every file)
Andrew Pinski [Sun, 14 Sep 2003 04:43:10 +0000 (04:43 +0000)]
re PR target/12021 (warning "cpu" and "machine" reasserted for every file)

2003-09-13  Andrew Pinski <pinskia@physics.uc.edu>

        PR target/12021
        * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Remove the asserts
        as they already are done in config/m68k/m68k.h.
        * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Likewise

From-SVN: r71369

20 years agors6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Remove.
Andrew Pinski [Sun, 14 Sep 2003 01:14:18 +0000 (01:14 +0000)]
rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Remove.

2003-09-13  Andrew Pinski <pinskia@physics.uc.edu>

        * config/rs6000/rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Remove.
        (machopic_output_stub): Only generate pic base symbols when using pic
        and generate them in the form L00000000$spb.

From-SVN: r71368

20 years agoDaily bump.
GCC Administrator [Sun, 14 Sep 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r71366

20 years agoCorrect Dale's email address in ChangeLog entry.
David Edelsohn [Sat, 13 Sep 2003 23:18:35 +0000 (19:18 -0400)]
Correct Dale's email address in ChangeLog entry.

From-SVN: r71364