Kazu Hirata
832a3292d9
* config/sh/sh.c: Fix formatting.
...
From-SVN: r78646
2004-02-29 02:53:51 +00:00
Kazu Hirata
508ea1c5fa
* config/sh/sh.c: Convert to ISO-C.
...
From-SVN: r78645
2004-02-29 02:28:59 +00:00
GCC Administrator
4217f24bf8
Daily bump.
...
From-SVN: r78642
2004-02-29 00:16:40 +00:00
Andrew Pinski
8cd6bdd1c6
c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in my previous patch.
...
2004-02-28 Andrew Pinski <pinskia@physics.uc.edu>
* c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in
my previous patch.
From-SVN: r78635
2004-02-28 15:23:30 -08:00
Andrew Pinski
dd833c7b25
darwin.h (machopic_finish): Output stub even if the symbol is already defined.
...
2004-02-28 Andrew Pinski <pinskia@physics.uc.edu>
* config/darwin.h (machopic_finish): Output stub even if the
symbol is already defined.
From-SVN: r78634
2004-02-28 15:20:01 -08:00
John David Anglin
3a1a4ed26e
atomicity.h (__atomic_add): Make first argument volatile.
...
* config/cpu/hppa/atomicity.h (__atomic_add): Make first argument
volatile.
* config/os/hpux/os_defines.h (_GLIBCXX_INST_ATOMICITY_LOCK): Use
__GXX_WEAK__ instead of _GLIBCXX_SUPPORTS_WEAK.
From-SVN: r78633
2004-02-28 22:46:32 +00:00
John David Anglin
5f1908384a
* pa64-hpux.h (LIB_SPEC): Fix linking under HP-UX 11.00 with -p and -pg.
...
From-SVN: r78632
2004-02-28 22:40:38 +00:00
Nathanael Nerode
d4cd9d813c
re PR bootstrap/7087 (sub-make FLAG propagation fails if flag ends with '=')
...
PR bootstrap/7087
* Makefile.tpl: Guard XFOO sed statements better.
* Makefile.tpl: Add dependency for configure-target-libada.
* Makefile.in: Regenerate (incidentally fixes broken
commit when libada-branch was merged).
From-SVN: r78630
2004-02-28 22:01:56 +00:00
Michael Koch
763c1edf3b
ObjectInputStream.java: Compile fix, damn I commited the wrong code.
...
2004-02-28 Michael Koch <konqueror@gmx.de>
* java/io/ObjectInputStream.java: Compile fix, damn I commited the
wrong code.
From-SVN: r78629
2004-02-28 21:48:35 +00:00
Kazu Hirata
c1a41c2fa8
genattr.c (main): Don't define TRADITIONAL_PIPELINE_INTERFACE or DFA_PIPELINE_INTERFACE.
...
* genattr.c (main): Don't define
TRADITIONAL_PIPELINE_INTERFACE or DFA_PIPELINE_INTERFACE.
* system.h (TRADITIONAL_PIPELINE_INTERFACE): Poison.
(DFA_PIPELINE_INTERFACE): Likewise.
* doc/tm.texi (TRADITIONAL_PIPELINE_INTERFACE): Remove.
(DFA_PIPELINE_INTERFACE): Likewise.
From-SVN: r78628
2004-02-28 21:44:22 +00:00
Guilhem Lavaux
646e329010
2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
...
* java/io/ObjectInputStream.java
(readClassDescriptor): Keep elements of the mapping non null.
(checkTypeConsistency): New method.
(readFields): Fixed main loop and base logic. Small reindentation.
* java/io/ObjectStreamField.java
(lookupField): New method to update the field reference.
(checkFieldType): New method.
* java/io/ObjectStreamClass.java
(setClass, setFields): Call lookupField when building the field
database. Check the real field type.
From-SVN: r78627
2004-02-28 21:28:53 +00:00
Michael Koch
ca67f27850
2004-02-28 Michael Koch <konqueror@gmx.de>
...
* java/nio/ByteOrder.java
(nativeOrder): Use equals() to compare strings.
From-SVN: r78626
2004-02-28 21:16:17 +00:00
Paolo Carlini
0e1b98cccc
locale_facets.tcc (num_get<>::_M_extract_float): According to 22.2.3.1...
...
2004-02-28 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
According to 22.2.3.1, p2, 'units' may be followed by 'e' with
no 'decimal-point' in the middle: in this case too we must fix
up __found_grouping; slightly tweak.
* testsuite/22_locale/num_get/get/char/14.cc: New.
* testsuite/22_locale/num_get/get/wchar_t/14.cc: New.
From-SVN: r78625
2004-02-28 20:37:54 +00:00
Richard Sandiford
757f9053a2
* config/mips/mips.md (tstsi, tstdi): Delete.
...
From-SVN: r78624
2004-02-28 20:30:10 +00:00
Maciej W. Rozycki
23cf6987f7
mips.c (override_options): Remove an obsolete duplicate definition of the "e" constraint.
...
* config/mips/mips.c (override_options): Remove an obsolete
duplicate definition of the "e" constraint.
* config/mips/mips.h: Update a comment accordingly.
From-SVN: r78623
2004-02-28 20:27:42 +00:00
Maciej W. Rozycki
bddbfe5f67
mips.md: Complete the unfinished R4000 multiply/shift errata workaround.
...
* config/mips/mips.md: Complete the unfinished R4000
multiply/shift errata workaround. Improve documentation.
(hazard): Use TARGET_FIX_R4000 to decide whether an "imul" instruction
has a hilo hazard.
(mulsi3, mulsi3_internal, mulsi3_r4000): Use TARGET_FIX_R4000.
(muldi3, muldi3_internal): Likewise.
(muldi3_internal2): Remove, replacing with...
(muldi3_mult3, muldi3_r4000): ...these new patterns.
(mulsidi3): Take the errata into account.
(mulsidi3_32bit): Remove, replacing with...
(mulsidi3_32bit_internal, mulsidi3_32bit_r4000): ...these new patterns.
(mulsidi3_64bit, mulsidi3_64bit_parts): Disable if TARGET_FIX_R4000.
(umulsidi3): Take the errata into account.
(umulsidi3_32bit): Remove, replacing with..
(umulsidi3_32bit_internal, umulsidi3_32bit_r4000): ...these patterns.
(umulsi3_highpart, umulsi3_highpart_internal): Disable if
TARGET_FIX_R4000.
(smulsi3_highpart, smulsi3_highpart_internal): Likewise.
(smuldi3_highpart, umuldi3_highpart): Likewise.
* doc/invoke.texi: Document the errata workaround.
From-SVN: r78622
2004-02-28 20:06:01 +00:00
Maciej W. Rozycki
4649040309
mips-protos.h (mips_idiv_insns): Declare.
...
* config/mips/mips-protos.h (mips_idiv_insns): Declare.
* config/mips/mips.h (MASK_FIX_SB1): Bump.
(MASK_FIX_R4000, TARGET_FIX_R4000): New macros.
(TARGET_SWITCHES): Add -mfix-r4000 and -mno-fix-r4000.
* config/mips/mips.c (mips_idiv_insns): New function.
(override_options): Make -march=r4000 imply -mfix-r4000 by default.
(mips_output_division): Add a workaround for the R4000 divide/shift
errata.
* config/mips/mips.md (length): Use mips_idiv_insns() to calculate
the length of an "idiv" instruction.
* doc/invoke.texi: Document the new switches.
From-SVN: r78621
2004-02-28 19:59:24 +00:00
Kazu Hirata
1b2c37673a
tm.texi (IS_COSTLY_DEPENDENCE): Change to TARGET_SCHED_IS_COSTLY_DEPENDENCE.
...
* doc/tm.texi (IS_COSTLY_DEPENDENCE): Change to
TARGET_SCHED_IS_COSTLY_DEPENDENCE.
From-SVN: r78620
2004-02-28 19:23:37 +00:00
Zdenek Dvorak
79771cc412
re PR rtl-optimization/14229 (20000504-1.c:15: error: missing barrier after block 1)
...
PR optimization/14229
* cfgrtl.c (rtl_tidy_fallthru_edge): Do not fail for !onlyjump jump.
From-SVN: r78605
2004-02-28 09:51:56 +00:00
Richard Earnshaw
b922546d07
g++.exp (g++_link_flags): Don't crash if LD_LIBRARY_PATH is not defined.
...
* lib/g++.exp (g++_link_flags): Don't crash if LD_LIBRARY_PATH is
not defined.
From-SVN: r78604
2004-02-28 09:40:24 +00:00
Eric Botcazou
68a1a5da2b
fold-const.c (fold): Strip NOPs that change the signedness for RSHIFT too.
...
* fold-const.c (fold): Strip NOPs that change the signedness
for RSHIFT too. Expand comment.
From-SVN: r78603
2004-02-28 07:33:10 +00:00
Ian Lance Taylor
a10016d3b0
re PR rtl-optimization/7871 (ICE on legal code, global register variables problems)
...
PR optimization/7871
* flow.c (mark_set_1): Don't add LOG_LINKS for global registers
from or to call insns.
(propagate_one_insn): Interpret calls as setting global registers,
not merely clobbering them.
From-SVN: r78601
2004-02-28 02:43:41 +00:00
Per Bothner
6bd5c787cc
Note that entry fixes PR java/13508, java/11714.
...
From-SVN: r78598
2004-02-27 16:55:40 -08:00
Per Bothner
202167e7f1
parse.y (build_assertion): Re-do 02-25 change following Jeff Sturm suggestion: Use build_incomplete_class_ref.
...
* parse.y (build_assertion): Re-do 02-25 change following Jeff Sturm
suggestion: Use build_incomplete_class_ref.
From-SVN: r78597
2004-02-27 16:34:26 -08:00
Eric Christopher
0717c5b065
charset.exp: Change CFLAGS to CHARSETCFLAGS.
...
2004-02-27 Eric Christopher <echristo@redhat.com>
* g++.dg/charset/charset.exp: Change CFLAGS to CHARSETCFLAGS.
* g++.dg/charset/asm2.c: Run only x86.
* gcc.dg/charset/asm3.c: Ditto.
From-SVN: r78596
2004-02-28 00:28:55 +00:00
GCC Administrator
2a4fc77a22
Daily bump.
...
From-SVN: r78593
2004-02-28 00:16:18 +00:00
Dale Johannesen
b30e1617dc
darwin.c (machopic_output_possible_stub_label): Remove.
...
2004-02-27 Dale Johannesen <dalej@apple.com>
* config/darwin.c (machopic_output_possible_stub_label): Remove.
config/darwin-protos.h: Ditto.
config/darwin.h: Remove call to it.
* combine.c (distribute_notes): Do not place a REG_DEAD note
when value is both set and used.
From-SVN: r78590
2004-02-27 23:48:00 +00:00
Kazu Hirata
bbc51dc29f
fixunssfsi.c (__fixunssfsi): Enable on H8/300 as well.
...
* config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300
as well.
* config/h8300/lib1funcs.asm (___fixunssfsi): Remove.
* config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm.
From-SVN: r78588
2004-02-27 23:20:48 +00:00
Andrew Pinski
dedbabed29
c-typeck.c (tagged_types_tu_compatible_p): Speedup common case of the type values being in the same order.
...
* c-typeck.c (tagged_types_tu_compatible_p) <ENUMERAL_TYPE>:
Speedup common case of the type values being in the same order.
From-SVN: r78585
2004-02-27 14:33:02 -08:00
Eric Christopher
58adf39ce4
2.cc, [...]: Use dg-require-iconv.
...
2004-02-27 Eric Christopher <echristo@redhat.com>
Phil Edwards <phil@codesourcery.com>
* testsuite/22_locale/collate/compare/wchar_t/2.cc,
testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
testsuite/22_locale/collate/hash/wchar_t/2.cc,
testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
testsuite/22_locale/collate/transform/wchar_t/2.cc,
testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
Use dg-require-iconv.
* testsuite/lib/libstdc++.exp: Load target-supports.exp.
From-SVN: r78582
2004-02-27 22:09:23 +00:00
Aldy Hernandez
dab8eb5731
g++.exp (g++_link_flags): Append LD_LIBRARY_PATH to ld_library_path.
...
2004-02-27 Aldy Hernandez <aldyh@redhat.com>
* lib/g++.exp (g++_link_flags): Append LD_LIBRARY_PATH to
ld_library_path.
From-SVN: r78581
2004-02-27 22:05:51 +00:00
Phil Edwards
238345774b
default.exp: Update with comments.
...
2004-02-27 Phil Edwards <phil@codesourcery.com>
* testsuite/config/default.exp: Update with comments.
(${tool}_target_compile): New wrapper routine.
* testsuite/lib/dg-options.exp: New file, with dg-require-iconv.
* testsuite/lib/libstdc++.exp: Update with comments and cosmetic
fixes.
(load_gcc_lib, v3track): New routines.
(v3-init): Rename to libstdc++_init.
* testsuite/libstdc++-dg/normal.exp: No longer call v3-init.
Move DEFAULT_CXXFLAGS handling into libstdc++_init.
From-SVN: r78580
2004-02-27 22:01:32 +00:00
Ziemowit Laski
b1009a5d12
tree.c (pod_type_p): Treat VECTOR_TYPEs as PODs.
...
[gcc/cp/ChangeLog]
2004-02-27 Ziemowit Laski <zlaski@apple.com>
* tree.c (pod_type_p): Treat VECTOR_TYPEs as PODs.
[gcc/testsuite/ChangeLog]
2004-02-27 Ziemowit Laski <zlaski@apple.com>
* g++.dg/ext/altivec-3.C: New.
From-SVN: r78578
2004-02-27 21:31:36 +00:00
Benjamin Kosnik
00d04db682
atomicity.h: Include c++config.h to get defines.
...
2004-02-27 Benjamin Kosnik <bkoz@redhat.com>
* config/cpu/hppa/atomicity.h: Include c++config.h to get defines.
* src/misc-inst.cc (_S_atomicity_lock): Move to __gnu_cxx.
* config/os/irix/irix5.2/atomicity.h: Merge..
* config/os/irix/irix6.5/atomicity.h: Merge..
* config/os/irix/atomicity.h: ...into this.
* config/os/irix/atomic_word.h: New.
* configure.host: Set atomic_word_dir for irix.
* hppa/atomicity.h: Change __Atomicity_lock to _Atomicity_lock.
* i386/atomicity.h: Same.
* m68k/atomicity.h: Same.
* sparc/atomicity.h: Same.
From-SVN: r78577
2004-02-27 20:56:46 +00:00
David Edelsohn
c284a1261d
atomicity.h: Use __gnu_cxx namespace.
...
* config/os/aix/atomicity.h: Use __gnu_cxx namespace. Remove
static, and inline keyworks.
From-SVN: r78574
2004-02-27 13:59:31 -05:00
Steve Ellcey
b6b979d46b
ia64.h (no-inline-float-divide): New option.
...
* config/ia64/ia64.h (no-inline-float-divide): New option.
* config/ia64/ia64.h (no-inline-int-divide): New option.
* config/ia64/ia64.h (no-inline-sqrt): New option.
(TARGET_DEFAULT): Add MASK_INLINE_FLOAT_DIV_THR to define.
* config/ia64/hpux.h (TARGET_DEFAULT): Ditto.
* config/ia64/ia64.c (ia64_override_options): Modify error
checking for inlined division/sqrt.
From-SVN: r78569
2004-02-27 17:17:01 +00:00
Kazu Hirata
88462c42d2
bb-reorder.c, [...]: Update copyright.
...
gcc/
* bb-reorder.c, cfgbuild.c, diagnostic.c, explow.c, profile.c,
ra-build.c, read-rtl.c, tracer.c, unwind-dw2-fde-glibc.c,
value-prof.c, config/darwin-protos.h, config/frv/frv-abi.h,
config/i386/pmmintrin.h, config/pa/pa-hpux.h: Update
copyright.
gcc/java/
* java/parse.h: Update copyright.
From-SVN: r78566
2004-02-27 14:50:47 +00:00
Paolo Carlini
a8ea738974
locale_facets.tcc (num_get<>::_M_extract_float, [...]): If appropriate, call reserve on the __tmp_gruping string.
...
2004-02-27 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
num_get<>::_M_extract_int, money_get<>::_M_extract): If appropriate,
call reserve on the __tmp_gruping string.
(num_get<>::_M_extract_float): Don't append unnecessarily a
char() to the returned string.
* include/bits/locale_facets.tcc: Trivial reformattings.
From-SVN: r78565
2004-02-27 14:30:19 +00:00
Paul Brook
53c428d012
* function.c (assign_parms): Don't count pretend args for alignment.
...
From-SVN: r78563
2004-02-27 12:02:55 +00:00
Paolo Carlini
f4bdbead2e
locale_facets.h (money_get<>::_M_extract): Change signature: now takes a plain string&.
...
2004-02-27 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h (money_get<>::_M_extract):
Change signature: now takes a plain string&.
* include/bits/locale_facets.tcc (money_get<>::_M_extract):
Update consistently the definition; use the moneypunct cache
to parse the value; use swap to change __units.
(money_get<>::do_get(long double&)): Update call of _M_extract,
avoid ctype::narrow, not correct wrt the standard.
(money_get<>::do_get(string_type&)): Likewise, update call
of _M_extract, use ctype::widen.
* src/locale-inst.cc: Tweak instantiations of _M_extract.
From-SVN: r78562
2004-02-27 10:12:01 +00:00
Richard Henderson
f6db1481a7
passes.c: New file.
...
* passes.c: New file.
* Makefile.in (OBJS-common): Add it.
* diagnostic.c (rtl_dump_and_exit): Move decl ...
* flags.h (rtl_dump_and_exit): ... here.
* output.h (size_directive_output, last_assemble_variable_decl):
Move from toplev.c.
* rtl.h (reg_alloc): Move from toplev.c.
* toplev.c (HAVE_conditional_execution, DUMPFILE_FORMAT,
struct dump_file_info, enum dump_file_index, dump_file_tbl,
open_dump_file, close_dump_file, rest_of_decl_compilation,
rest_of_type_compilation, rest_of_handle_final,
rest_of_handle_delay_slots, rest_of_handle_stack_regs,
rest_of_handle_variable_tracking, rest_of_handle_machine_reorg,
rest_of_handle_new_regalloc, rest_of_handle_old_regalloc,
rest_of_handle_regrename, rest_of_handle_reorder_blocks,
rest_of_handle_sched, rest_of_handle_sched2, rest_of_handle_regmove,
rest_of_handle_tracer, rest_of_handle_if_conversion,
rest_of_handle_if_after_combine, rest_of_handle_web,
rest_of_handle_branch_prob,
rest_of_handle_value_profile_transformations, rest_of_handle_cfg,
rest_of_handle_addressof, rest_of_handle_sibling_calls,
rest_of_handle_jump_bypass, rest_of_handle_inlining,
rest_of_handle_null_pointer, rest_of_handle_combine,
rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2,
rest_of_handle_gcse, rest_of_handle_loop_optimize,
rest_of_handle_loop2, rest_of_compilation): Move to passes.c.
(decode_d_option): Use enable_rtl_dump_file.
(compile_file, finalize, do_compile): Move profile+combine+graph
cleanup to finish_optimization_passes.
* toplev.h (init_optimization_passes, finish_optimization_passes,
enable_rtl_dump_file): Declare.
From-SVN: r78561
2004-02-27 00:54:31 -08:00
Richard Henderson
d0d48b1747
attrib10.C: Mark for warning.
...
* g++.dg/ext/attrib10.C: Mark for warning.
* gcc.dg/attr-alias-1.c: New.
From-SVN: r78560
2004-02-27 00:42:23 -08:00
Eric Botcazou
288dc1eae2
fold-const.c (fold): Revert 2004-02-25 change.
...
* fold-const.c (fold): Revert 2004-02-25 change. Use the original
operands to build a tree with swapped operands.
* expr.c (expand_expr_real) <MAX_EXPR>: Consistently use the
'unsignedp' predicate to specify the signedness.
Co-Authored-By: Roger Sayle <roger@eyesopen.com>
From-SVN: r78558
2004-02-27 08:11:34 +00:00
Richard Henderson
7a0a47c77f
20040208-2.c: Move ...
...
* gcc.c-torture/execute/ieee/20040208-2.c: Move ...
* gcc.c-torture/execute/20040208-2.c: ... it back.
From-SVN: r78556
2004-02-26 23:42:53 -08:00
Kazu Hirata
a110561799
c-decl.c, [...]: Fix comment typos and formatting.
...
* c-decl.c, c-ppoutput.c, combine.c, cppfiles.c, dwarf2out.c,
expr.c, fold-const.c, gcc.c, haifa-sched.c, loop-iv.c,
params.def, read-rtl.c, rtl.c, rtlanal.c, toplev.c: Fix
comment typos and formatting. Follow spelling conventions.
From-SVN: r78555
2004-02-27 07:09:43 +00:00
Benjamin Kosnik
40fcf31b2f
[multiple changes]
...
2004-02-26 Ian Lance Taylor <ian@wasabisystems.com>
* testsuite/demangle/abi_examples/01.cc: Expect error -2.
* testsuite/demangle/abi_examples/02.cc: Likewise.
* testsuite/demangle/regression/cw-11.cc: Likewise.
* testsuite/demangle/regression/cw-16.cc: Change two expected
results to match libiberty demangler output.
2004-02-26 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/10246
* libsupc++/Makefile.am: Use libiberty demangler.
(c_sources): Add cp-demangle.c.
* libsupc++/Makefile.in: Regenerate.
* src/Makefile.am (sources): Remove demangle.cc.
* src/Makefile.in: Regenerate.
* include/Makefile.am (bits_headers): Move demangle.h.
(ext_headers): ...here.
* include/Makefile.in: Regenerate.
* include/bits/demangle.h: Move...
* include/ext/demangle.h: ...here.
* src/demangle.cc: Remove.
2004-02-26 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/demangle.h: Add type template parameter to all
templates with just an Allocator template parameter.
From-SVN: r78553
2004-02-27 03:21:16 +00:00
Aldy Hernandez
d095928f0f
rs6000.md: Add fixuns_truncsfsi2 and fix_truncsfsi2.
...
2004-02-26 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.md: Add fixuns_truncsfsi2 and
fix_truncsfsi2.
* config/rs6000/spe.md: Delete spe_efsctuiz.
Add spe_fixuns_truncsfsi2.
Add spe_fix_truncsfsi2.
[[Split portion of a mixed commit.]]
From-SVN: r78549.2
2004-02-27 02:14:41 +00:00
Eric Christopher
2152660651
target-supports.exp (check-iconv-available): New function.
...
2004-02-26 Eric Christopher <echristo@redhat.com>
* lib/target-supports.exp (check-iconv-available): New function.
* lib/gcc-dg.exp (dg-require-iconv): New function.
Use above.
* gcc.dg/charset: New directory.
* gcc.dg/charset/charset.exp: New file.
* gcc.dg/charset/asm1.c: Ditto.
* gcc.dg/charset/asm2.c: Ditto.
* gcc.dg/charset/asm3.c: Ditto.
* gcc.dg/charset/asm4.c: Ditto.
* gcc.dg/charset/asm5.c: Ditto.
* gcc.dg/charset/attribute1.c: Ditto.
* gcc.dg/charset/attribute2.c: Ditto.
* gcc.dg/charset/string1.c: Ditto.
* g++.dg/charset: New directory.
* g++.dg/dg.exp: Add here. Special options.
* g++.dg/charset/charset.exp: New file.
* g++.dg/charset/asm1.c: Ditto.
* g++.dg/charset/asm2.c: Ditto.
* g++.dg/charset/asm3.c: Ditto.
* g++.dg/charset/asm4.c: Ditto.
* g++.dg/charset/attribute1.c: Ditto.
* g++.dg/charset/attribute2.c: Ditto.
* g++.dg/charset/extern1.cc: Ditto.
* g++.dg/charset/extern2.cc: Ditto.
* g++.dg/charset/string1.c: Ditto.
2004-02-26 Eric Christopher <echristo@redhat.com>
* c-lex.c (c_lex_string_translate): New variable.
(lex_string): Use to determine string translation.
* c-pragma.h: Prototype.
* c-parse.in (start_string_translation): New. Set above.
(stop_string_translation): Ditto.
(attribute, attribute_list, asm_def, asm_stmt,
asm_operand): Use above functions.
* cp/parser.c (cp_parser_declaration): Translate strings
unless token is RID_EXTERN. Set c_lex_string_translate
for recursive use.
(cp_parser_asm_definition): Only translate argument strings
to asms.
(cp_parser_asm_operand_list): Ditto.
(cp_parser_attribute_list): Do not translate attribute strings.
From-SVN: r78548
2004-02-27 02:01:10 +00:00
Nathanael Nerode
26d8bbbbc3
ltconfig, ltmain.sh: Remove unused files.
...
* ltconfig, ltmain.sh: Remove unused files.
* configure.in: Remove bogus extra early invocation of
AC_CONFIG_AUX_DIR.
* configure: Regenerate.
* mkinstalldirs, install-sh, config.sub, config.guess:
Remove (now) unused files.
* Makefile.in: Regenerate (losing references to vanished
files).
From-SVN: r78545
2004-02-27 00:58:16 +00:00
Benjamin Kosnik
2c5d0ae842
atomicity.h: New, forward declarations for __atomic_add and __exchange_and_add.
...
2004-02-25 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/atomicity.h: New, forward declarations for __atomic_add
and __exchange_and_add.
* config/cpu/generic/atomic_word.h: New, typdef for atomic word.
* config/cpu/cris/atomic_word.h: Same.
* config/cpu/sparc/atomic_word.h: Same.
* include/bits/ios_base.h (_Callback_list::_M_remove_reference):
Qualifiy with __gnu_cxx.
(_Callback_list::_M_add_reference): Same.
* include/bits/locale_classes.h (locale::facet::_M_add_reference): Add.
(locale::facet::_M_remove_reference): Same.
(locale::_Impl::_M_add_reference): Add.
(locale::_Impl::_M_remove_reference): Same.
* include/bits/basic_string.h (basic_string::_Rep::_M_refcopy): Same.
(basic_string::_Rep::_M_dispose): Same.
* src/ios.cc (ios_base::xalloc): Same.
* src/ios_init.cc (ios_base::Init::Init): Same.
(ios_base::Init::~Init): Same.
* src/locale.cc (locale:🆔 :_M_id): Same.
* config/cpu/i486/atomicity.h: Use __gnu_cxx namespace. Remove
static, and inline keyworks.
* config/cpu/alpha/atomicity.h: Same.
* config/cpu/cris/atomicity.h: Same.
* config/cpu/generic/atomicity.h: Same.
* config/cpu/hppa/atomicity.h: Same.
* config/cpu/i386/atomicity.h: Same.
* config/cpu/ia64/atomicity.h: Same.
* config/cpu/m68k/atomicity.h: Same.
* config/cpu/mips/atomicity.h: Same.
* config/cpu/powerpc/atomicity.h: Same.
* config/cpu/s390/atomicity.h: Same.
* config/cpu/sparc/atomicity.h: Same.
* src/Makefile.am (host_sources): Add atomicity.cc.
(atomicity.cc): New rule.
* src/Makefile.in: Regenerate.
* include/Makefile.am (host_headers): Remove host atomicity.h.
(host_headers): Add atomic_word.h.
(bits_headers): Add bits atomicity.h.
Change ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
* include/Makefile.in: Regenerate.
* configure.host (atomic_word_dir): Add.
* configure.ac: Substitute ATOMIC_WORD_SRCDIR. Change
ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
* configure: Regenerate.
* config/linker-map.gnu: Export __exchange_and_add, and __atomic_add.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
From-SVN: r78544
2004-02-27 00:49:50 +00:00