Naohiko Shimizu
cf860dc275
pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
...
* pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
(ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
* pdp11.c (pdp11_output_function_prologue): 0%o -> %#o.
(pdp11_output_function_epilogue, output_ascii): Likewise.
(output_addr_const_pdp11): Likewise.
* pdp11.md (movdi): Use offsetable memory for floating store.
(lshrsi3, negsi2): Delete irrelevant comment.
From-SVN: r58087
2002-10-12 09:38:01 -07:00
GCC Administrator
bf01920f80
Daily bump.
...
From-SVN: r58086
2002-10-12 07:17:07 +00:00
Jonathan Wakely
b06a1ea51f
howto.html: Correct nasting of XHTML elements.
...
2002-10-12 Jonathan Wakely <jw@kayari.org>
Gabriel Dos Reis <gdr@integrable-solutions.net>
* docs/html/21_strings/howto.html#5: Correct nasting of XHTML
elements. Correct allocator-related text.
Co-Authored-By: Gabriel Dos Reis <gdr@integrable-solutions.net>
From-SVN: r58080
2002-10-12 06:14:31 +00:00
Benjamin Kosnik
c0b80fecdf
static_members.cc (test02): Fix.
...
2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/static_members.cc (test02): Fix.
From-SVN: r58079
2002-10-12 04:37:51 +00:00
David O'Brien
520157677f
getopt.h: getopt is in unistd.h.
...
2002-10-11 David O'Brien <obrien@FreeBSD.org>
* getopt.h: getopt is in unistd.h. The Single UNIX(tm) Specification,
Version 2 Copyright (c)1997 The Open Group
Approved by: Committed as obvious.
From-SVN: r58078
2002-10-12 04:01:04 +00:00
Geoffrey Keating
5dd78e9a69
cse.c (mention_regs): Set SUBREG_TICKED to the register number, not the address of the REG.
...
* cse.c (mention_regs): Set SUBREG_TICKED to the register number,
not the address of the REG.
(struct cse_reg_info): Make subreg_ticked unsigned.
From-SVN: r58075
2002-10-12 00:00:39 +00:00
Janis Johnson
8eb32f9496
compat.texi: Add info about C++ libraries.
...
2002-10-11 Janis Johnson <janis187@us.ibm.com>
* doc/compat.texi: Add info about C++ libraries.
From-SVN: r58074
2002-10-11 23:58:31 +00:00
Richard Henderson
e197b6fcab
re PR rtl-optimization/8165 (builtin string functions SEGV on alpha-pc-linux-gnu at -O2)
...
PR opt/8165
* gcse.c (adjust_libcall_notes): Also adjust notes for INSN.
* gcc.c-torture/execute/20021011-1.c: New.
From-SVN: r58071
2002-10-11 15:42:31 -07:00
Mark Wielaard
37d2b7e2dc
* gcj.texi (Compatibility): Add Limitations and Extensions section.
...
From-SVN: r58067
2002-10-11 22:12:48 +00:00
Mark Wielaard
9dac635528
re PR libgcj/8142 ('$' in class names vs. dlopen 'dynamic string tokens')
...
Fix for PR libgcj/8142
* java/lang/natClassLoader.cc (findClass): Skip inner classes when
loading native modules.
From-SVN: r58066
2002-10-11 22:10:37 +00:00
Benjamin Kosnik
45c7cbd930
acconfig.h (_GLIBCPP_SYMVER): Add.
...
2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (_GLIBCPP_SYMVER): Add.
(_GLIBCPP_ASM_SYMVER): Add.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
hack around m4 issues with quoting '@'.
* src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
* src/globals.cc: Same.
* testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
non-glibc systems.
From-SVN: r58065
2002-10-11 21:10:10 +00:00
John David Anglin
a0bed689af
cfganal.c (dfs_enumerate_from): Use PARAMS.
...
* cfganal.c (dfs_enumerate_from): Use PARAMS.
* genautomata.c (output_insn_code_cases): Likewise.
* real.c (real_format): Likewise.
* tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH to
ensure value is promoted before doing subtraction.
From-SVN: r58064
2002-10-11 21:10:00 +00:00
Jan Hubicka
db6556348d
re PR c/7344 (performance regression on huge case statements)
...
* calls.c (expand_call): Simplify noreturn call.
PR c/7344
* cfgbuild.c (make_edges): Create edge cache when we do have
large jumptable.
(do_tablejump): Note size of maximal jumptable.
* function.c (prepare_function_start): Zero out size.
* function.h (function): Add max_jumptable_ents.
* cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
From-SVN: r58063
2002-10-11 20:26:50 +00:00
Geoffrey Keating
ca91148bcd
objs-gcc.sh: Don't install GDB testsuite if GDB was not built.
...
* objs-gcc.sh: Don't install GDB testsuite if GDB was not built.
* btest-gcc.sh: Don't run GDB testsuite if it doesn't exist.
From-SVN: r58062
2002-10-11 20:23:21 +00:00
Mark Mitchell
dac45b5c09
re PR c++/5661 (Gcc 3.0.3 Seg faults compiling bad code)
...
PR c++/5661
* cp-tree.h (variably_modified_type_p): New function.
(grokdeclarator) Tighten check for variably modified types as
fields.
* pt.c (convert_template_argument): Do not allow variably modified
types as template arguments.
* tree.c (variably_modified_type_p): New function.
PR c++/5661
* g++.dg/ext/vlm1.C: New test.
* g++.dg/ext/vlm2.C: Likewise.
From-SVN: r58060
2002-10-11 19:55:21 +00:00
Gabriel Dos Reis
46dd38849b
Move ChangeLog entry where it belongs
...
From-SVN: r58059
2002-10-11 19:52:10 +00:00
Gabriel Dos Reis
2ee366b54a
PRs C++/6803, C++/7721 and C++/7803
...
PRs C++/6803, C++/7721 and C++/7803
* decl.c (grokdeclarator): Gracefully handle template-name as
decl-specifier.
From-SVN: r58058
2002-10-11 18:25:10 +00:00
Jason Molenda
01c3fb158c
init.c (build_field_list): Provide uses_unions_p with a default value.
...
2002-10-11 Jason Molenda <jmolenda@apple.com>
* init.c (build_field_list): Provide uses_unions_p with a default
value.
From-SVN: r58056
2002-10-11 18:09:59 +00:00
Mark Mitchell
8e3df2def7
NEWS: Document removal of "new X = ..." extension.
...
* NEWS: Document removal of "new X = ..." extension.
* class.c (initialize_array): Set TREE_HAS_CONSTRUCTOR on
brace-enclosed initializers.
* cp-tree.h (CP_AGGREGATE_TYPE_P): New macro.
(initialize_local_var): Remove declaration.
(expand_static_init): Likewise.
* decl.c (next_initializable_field): New function.
(reshape_init): Likewise.
(check_initializer): Use them. Build dynamic initializer for
aggregates here too.
(initialize_local_var): Simplify, and incorporate cleanup
insertion code as well.
(destroy_local_var): Remove.
(cp_finish_decl): Tidy.
(expand_static_init): Fold checks for whether or not a variable
needs initialization into this function. Simplify.
* decl2.c (do_static_initialization): Simplify.
* init.c (build_init): Do not set TREE_SIDE_EFFECTS when it will
be done for us automatically.
(expand_default_init): Handle brace-enclosed initializers
correctly.
(expand_aggr_init_1): Remove RTL-generation code.
(build_vec_init): Remove "new X = ..." support.
* parse.y (new_initializer): Likewise.
* rtti.c (get_pseudo_ti_init): Set TREE_HAS_CONSTRUCTOR on
brace-enclosed initializer.
(create_pseudo_type_info): Likewise.
* typeck2.c (store_init_value): Don't try to handle digest_init
being called more than once.
(digest_init): Tidy handling of brace-enclosed initializers.
* g++.dg/init/array1.C: Remove invalid braces.
* g++.dg/init/brace1.C: New test.
* g++.dg/init/copy2.C: Likewise.
* g++.dg/init/copy3.C: Likewise.
* g++.old-deja/g++.ext/arrnew.C: Change WARNING to ERROR.
* g++.old-deja/g++.mike/p9129.C: Add ERROR on invalid use of
braces.
From-SVN: r58053
2002-10-11 16:50:44 +00:00
Neil Booth
98ddd678f0
* gcc.dg/cpp/assembler.S: Don't use -ansi.
...
From-SVN: r58052
2002-10-11 12:40:36 +00:00
J"orn Rennecke
750afc12b3
sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI register for mperm_w operation.
...
* sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
register for mperm_w operation.
From-SVN: r58051
2002-10-11 12:36:21 +01:00
Joern Rennecke
0488fa7c8f
*** empty log message ***
...
From-SVN: r58050
2002-10-11 10:59:06 +01:00
GCC Administrator
d92b6b949d
Daily bump.
...
From-SVN: r58048
2002-10-11 07:17:12 +00:00
Benjamin Kosnik
a7817e1db2
linker-map.gnu (GLIBCPP_3.2.1): Add.
...
2002-10-10 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu (GLIBCPP_3.2.1): Add.
(GLIBCPP_3.2): Don't export locale::_S_*.
* src/ios.cc: Move globals into __gnu_cxx. Make old exported
symbols match.
* src/locale.cc: Same.
* src/localename.cc: Same.
* src/globals.cc: Same.
From-SVN: r58042
2002-10-11 07:09:36 +00:00
Aldy Hernandez
349e9f4b0b
extend.texi (Vector Extensions): Remove comment about single element vectors.
...
* extend.texi (Vector Extensions): Remove comment about single
element vectors.
From-SVN: r58041
2002-10-11 04:15:14 +00:00
Kaveh R. Ghazi
7bdfd72e8d
decl.c (typename_hash): Use htab_hash_pointer.
...
cp:
* decl.c (typename_hash): Use htab_hash_pointer.
gcc:
* fold-const.c (size_htab_hash): Use htab_hash_pointer.
* function.c (insns_for_mem_hash): Likewise.
* varasm.c (STRHASH): Likewise.
java:
* class.c (JAVA_TREEHASHHASH_H): Use htab_hash_pointer.
From-SVN: r58036
2002-10-11 01:28:28 +00:00
Stuart Hastings
46081bb341
cse.c (struct cse_reg_info): Add subreg_ticked.
...
2002-10-10 Stuart Hastings <stuart@apple.com>
* cse.c (struct cse_reg_info): Add subreg_ticked.
(SUBREG_TICKED): New.
(get_cse_reg_info): Initialize SUBREG_TICKED.
(mention_regs): Use it.
(invalidate): Set SUBREG_TICKED.
(invalidate_for_call): Likewise.
(addr_affects_sp_p): Likewise.
From-SVN: r58035
2002-10-10 23:16:54 +00:00
Jim Wilson
e89fe41c87
Fix C++ FE attribute alias failure.
...
* decl.c (duplicate_decls): Don't call decl_attributes.
From-SVN: r58034
2002-10-10 15:29:05 -07:00
Phil Edwards
64e8f36132
howto.html: Write #5 , char_traits.
...
2002-10-10 Phil Edwards <pme@gcc.gnu.org>
* docs/html/21_strings/howto.html: Write #5 , char_traits.
* docs/html/17_intro/porting.texi: Expand on os_include_dir.
* docs/html/17_intro/porting.html: Regenerate.
From-SVN: r58031
2002-10-10 22:00:29 +00:00
Jakub Jelinek
9785f1d9c3
i386.md (tls_local_dynamic_base): Put pic reg into proper operand.
...
* config/i386/i386.md (tls_local_dynamic_base): Put pic reg
into proper operand.
From-SVN: r58029
2002-10-10 23:46:09 +02:00
Denis Chertykov
b687818845
ip2k.c (function_epilogue): Optimize stack deallocation.
...
* config/ip2k/ip2k.c (function_epilogue): Optimize stack
deallocation.
* config/ip2k/libgcc.S: Combine routines used by function
epilogue.
From-SVN: r58027
2002-10-10 23:45:59 +04:00
Jim Wilson
f930bfd067
Fix miscompilation of testcase 20021010-1.c for v850 target with -O -mv850e.
...
* cse.c (fold_rtx): Don't perform associative optimization for DIV and
UDIV.
From-SVN: r58026
2002-10-10 12:40:34 -07:00
Jim Wilson
61fdde38f0
Test miscompiled for v850 target with -O -mv850e due to cse bug.
...
* gcc.c-torture/execute/20021010-1.c: New test.
From-SVN: r58025
2002-10-10 12:36:31 -07:00
Mike Stump
83a3aefb83
Fix spelling.
...
From-SVN: r58022
2002-10-10 18:32:00 +00:00
David Edelsohn
5f5d5417e8
aix52.h: New file.
...
* config/rs6000/aix52.h: New file.
* config/rs6000/t-aix52: New File.
* config.gcc (rs6000-ibm-aix5.1.*): New entry.
(rs6000-ibm-aix[56789].*): Default to AIX 5.2.
From-SVN: r58021
2002-10-10 14:29:33 -04:00
Jan Hubicka
7eafc329d3
re PR target/5610 (Not clear how to get FP operations to use SSE)
...
PR target/5610
* invoke.texi (-msse-math): Kill
(-msse): Add note to mfpmath=sse.
From-SVN: r58019
2002-10-10 17:38:35 +00:00
Jan Hubicka
b105d6dabb
re PR target/7723 (Internal compiler error - Pentium3 sse - gcc 3.2)
...
PR target/7723
* i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
From-SVN: r58015
2002-10-10 15:10:31 +00:00
Michael Koch
9461e24c01
2002-10-10 Michael Koch <konqueror@gmx.de>
...
* javax/swing/AbstractListModel.java
(getListDataListeners): New stubbed method.
javax/swing/DefaultBoundedRangeModel.java
(getChangeListeners): New stubbed method.
javax/swing/DefaultSingleSelectionModel.java
(getChangeListeners): New stubbed method.
From-SVN: r58011
2002-10-10 12:08:37 +00:00
Neil Booth
5febdf0d78
re PR preprocessor/8179 (echo | gcc -E -dM -ansi -
not working in gcc-3.3)
...
PR preprocessor/8179
* gcc.c (cpp_options): Add {ansi}, move %{m*} to same location
as cc1_options.
(default_compilers): Pass debug options when preprocessing
stdin.
From-SVN: r58010
2002-10-10 07:33:25 +00:00
GCC Administrator
d05c919997
Daily bump.
...
From-SVN: r58009
2002-10-10 07:17:07 +00:00
Michael Koch
4d1d2b093d
cvsignore: New file to ignore files generated during build.
...
2002-10-10 Michael Koch <konqueror@gmx.de>
* gcj/.cvsignore: New file to ignore files generated during build.
* include/.cvsignore: New file to ignore files generated during build.
From-SVN: r58003
2002-10-10 05:21:53 +00:00
Michael Koch
7393decb70
2002-10-08 Michael Koch <konqueror@gmx.de>
...
* java/net/HttpURLConnection.java
(getPermission): New method.
(getErrorStream): New stub method.
(getHeaderFieldDate): New stub method.
* java/net/Inet4Address.java:
(isLinkLocalAddress): Typo fixed.
* java/net/InetAddress.java:
(readResolve): New stubbed method (for serialization).
(isAnyLocalAddress): New stubbed method.
(isLoopbackAddress): New stubbed method.
(isLinkLocalAddress): New stubbed method.
(isSiteLocalAddress): New stubbed method.
(isMCGlobal): New stubbed method.
(isMCNodeGlobal): New stubbed method.
(isMCLinkLocal): New stubbed method.
(isMCSiteLocal): New stubbed method.
(isMCOrgLocal): New stubbed method.
(getCanonicalHostName): New stubbed method.
(getByAddress): Create instances of Inet4Address/Inet6Address,
instead of InetAddress, documentation added.
* java/net/MulticastSocket.java
(getInterface): Removed FIXME.
(getNetworkInterface): New method.
(setNetworkInterface): New method.
* java/net/NetworkInterface.java:
(toString): Use property "line.separator" instead of "\n".
* java/net/URLConnection.java
(getContent): New stubbed method.
* java/net/URLStreamHandler.java:
(equals): New stubbed method.
(hostsEqual): New stubbed method.
(hashCode): New stubbed method.
* java/net/natNetworkInterface.cc:
(getRealNetworkInterfaces): Create Inet4Address object
instead of InetAddress.
From-SVN: r58002
2002-10-10 05:19:22 +00:00
Benjamin Kosnik
402a402cab
locale.cc: Fix comments, move ctors together.
...
2002-10-09 Benjamin Kosnik <bkoz@redhat.com>
* src/locale.cc: Fix comments, move ctors together.
* testsuite/22_locale/static_members.cc (test03): Add.
From-SVN: r58001
2002-10-10 05:15:29 +00:00
Richard Henderson
7db40b5f9b
* toplev.c (rest_of_compilation): Revert opt/2960 change.
...
From-SVN: r58000
2002-10-09 16:17:51 -07:00
Phil Edwards
e85f1e188b
btest-gcc.sh, [...]: Update TARGET comments.
...
2002-10-09 Phil Edwards <pme@gcc.gnu.org>
* btest-gcc.sh, objs-gcc.sh: Update TARGET comments.
From-SVN: r57999
2002-10-09 23:10:32 +00:00
Zack Weinberg
85cd7be84d
Add PR numbers to entries for last commit
...
From-SVN: r57998
2002-10-09 21:32:31 +00:00
Zack Weinberg
95f79357c5
c-decl.c (start_decl): Unconditionally issue error for 'typedef foo = bar'.
...
gcc:
* c-decl.c (start_decl): Unconditionally issue error for
'typedef foo = bar'.
(finish_decl): Remove special case for TYPE_DECL with initializer.
* doc/extend.texi: Delete "Naming Types" section. Change all
cross-references to that section to refer to "Typeof" instead.
Add the useful safe-max()-macro example from "Naming Types" to
"Typeof", rewritten using that extension.
gcc/cp:
* decl.c (start_decl): Unconditionally issue error for
'typedef foo = bar'.
(cp_finish_decl): Remove special case for TYPE_DECL with initializer.
(grokdeclarator): Remove redundant error for 'typedef foo = bar'.
gcc/testsuite:
* g++.dg/ext/typedef-init.C: New test.
* gcc.dg/typedef-init.c: New test.
From-SVN: r57995
2002-10-09 21:27:38 +00:00
Kaveh R. Ghazi
10a38dba68
* decl2.c (prune_vtable_vardecl): Delete unused function.
...
From-SVN: r57994
2002-10-09 21:08:42 +00:00
Geoffrey Keating
b4d8dbcfa1
* objs-gcc.sh: On (non-linux) native hosts, use 'make bootstrap'.
...
From-SVN: r57993
2002-10-09 21:00:54 +00:00
Kaveh R. Ghazi
44a5565d43
loop.c: Revert 2002-08-15 change.
...
* loop.c: Revert 2002-08-15 change.
(LOOP_REGNO_NREGS): Ensure type is int.
From-SVN: r57992
2002-10-09 20:58:12 +00:00