Jan Hubicka
253c7a0090
i386.c (ix86_reorg): Replace the jump instead of adding nop.
...
* i386.c (ix86_reorg): Replace the jump instead of adding nop.
* i386.md (UNSPEC_REP): New constant.
(return_internal_long): New pattern.
From-SVN: r67432
2003-06-04 07:50:27 +00:00
Eric Botcazou
01d3224a48
re PR rtl-optimization/11018 ([SPARC] -mcpu=ultrasparc busts tar-1.13.25)
...
PR optimization/11018
* config/sparc/sparc.c (sparc_v8plus_shift): Use which_alternative
consistently to decide whether the scratch register is really
required.
From-SVN: r67429
2003-06-04 07:13:03 +00:00
Eric Botcazou
ef0139b122
re PR rtl-optimization/10876 (Segfault when compiling KDE 3.1.2)
...
PR optimization/10876
* config/sparc/sparc.h (CONST_OK_FOR_LETTER): Add
new 'O' constraint for constant 4096.
(CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
* config/sparc/sparc.md (adddi3 expander): Canonicalize pattern.
Do not transform into MINUS insn for constant 4096.
(*adddi3_sp64 insn): Canonicalize pattern. Add new alternative
for constant 4096 as third operand.
(addsi3 expander): Remove.
(*addsi3 insn): Rename into 'addsi3'. Canonicalize pattern. Add
new alternative for constant 4096 as third operand.
(subdi3 expander): Do not transform into PLUS insn for constant 4096.
(*subdi3_sp64 insn): Add new alternative for constant 4096 as third
operand.
(subsi3 expander): Remove.
(*subsi3 insn): Rename into 'subsi3'. Add new alternative for
constant 4096 as third operand.
* doc/md.texi (Machine Constraints): Document new 'O' constraint for
the SPARC port.
From-SVN: r67426
2003-06-04 06:52:17 +00:00
Andreas Jaeger
74764b8442
* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback):Remove usage of
...
CRT_GET_RFIB_TEXT.
From-SVN: r67425
2003-06-04 07:41:31 +02:00
Chris Demetriou
18de8a9870
t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.
...
2003-06-03 Chris Demetriou <cgd@broadcom.com>
* config/mips/t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.
From-SVN: r67424
2003-06-03 22:35:15 -07:00
Andreas Jaeger
f691dc3b22
uwin.h: Remove SUBTARGET_PROLOGUE.
...
* config/i386/uwin.h: Remove SUBTARGET_PROLOGUE.
* config/i386/i386.c (ix86_expand_prologue): Do not use
SUBTARGET_PROLOGUE.
* system.h: Poision SUBTARGET_PROLOGUE.
* config/arm/arm-protos.h: Remove unused rdate_section prototype.
* output.h: Remove TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP
dependend code.
* system.h: Poison TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP.
* system.h: Poison INSN_CACHE_DEPTH, INSN_CACHE_SIZE and
INSN_CACHE_LINE_WIDTH.
* libgcc2.c (INSN_CACHE_PLANE_SIZE): Removed.
(__clear_cache): Remove code dependend on INSN_CACHE_DEPTH,
INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.
* doc/tm.texi (Trampolines): Remove INSN_CACHE_DEPTH,
INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.
* dbxout.c (dbxout_type): Remove usage of DBX_OUTPUT_ENUM.
(dbxout_symbol): Remove usage of DBX_OUTPUT_CONSTANT_SYMBOL.
(dbxout_block): Remove usage of DBX_OUTPUT_CATCH.
(dbxout_block): Remove usage of DBX_LBRAC_FIRST.
(dbxout_source_file): Remove usage of DBX_OUTPUT_SOURCE_FILENAME.
(dbxout_init): Remove test for DBX_WORKING_DIRECTORY.
* doc/tm.texi (DBX Options): Do not document DBX_LBRAC_FIRST,
DBX_OUTPUT_SOURCE_FILENAME and DBX_OUTPUT_ENUM and
DBX_WORKING_DIRECTORY.
* system.h: Poison DBX_LBRAC_FIRST, DBX_OUTPUT_ENUM,
DBX_OUTPUT_SOURCE_FILENAME and DBX_WORKING_DIRECTORY.
* config/frv/frv-protos.h: Remove unused const_section
declaration.
* config/vax/vax-protos.h: Likewise.
* output.h: Remove CONST_SECTION_ASM_OP usage.
* system.h: Poison CONST_SECTION_ASM_OP.
* crtstuff.c (__do_global_dtors_aux): Remove usage of CRT_GET_RFIB_TEXT
(frame_dummy): Likewise.
* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise.
* system.h: Poison CRT_GET_RFIB_TEXT.
From-SVN: r67423
2003-06-04 07:21:41 +02:00
Andreas Jaeger
6d3a8e3c78
* collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.
...
From-SVN: r67422
2003-06-04 06:56:26 +02:00
Andreas Jaeger
a816c98137
fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.
...
* fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.
(write_lbrac): Remove ADD_MISSING_EXTERN_C dependend code.
(recognized_function): Likewise.
(read_scan_file): Likewise.
From-SVN: r67421
2003-06-04 06:50:47 +02:00
Andreas Jaeger
81c0e50a30
g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.
...
* g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.
* g++spec.c (lang_specific_driver): Remove ALT_LIBM usage.
From-SVN: r67419
2003-06-04 06:48:16 +02:00
Roger Sayle
df8ca70ebb
optabs.c (expand_binop): Optimize complex multiplication for the case of squaring a complex argument.
...
* optabs.c (expand_binop): Optimize complex multiplication for
the case of squaring a complex argument.
From-SVN: r67418
2003-06-04 04:42:14 +00:00
Roger Sayle
894207cf0a
optabs.c (expand_binop): Attempt to reuse pseudos for duplicate non-volatile operands of binary operations.
...
* optabs.c (expand_binop): Attempt to reuse pseudos for duplicate
non-volatile operands of binary operations.
(prepare_cmp_insn): Likewise.
From-SVN: r67417
2003-06-04 04:40:26 +00:00
Roger Sayle
1063147cc0
varasm.c (force_const_mem): Handle alignment of constants not representable as a type in the front-end language.
...
* varasm.c (force_const_mem): Handle alignment of constants not
representable as a type in the front-end language.
From-SVN: r67416
2003-06-04 04:36:53 +00:00
Aldy Hernandez
120c6dca56
forgot to commit.
...
From-SVN: r67415
2003-06-04 01:12:00 +00:00
Jason Merrill
dbe85b8010
cp-tree.h (CP_AGGREGATE_TYPE_P): Accept vectors.
...
2003-06-03 Jason Merrill <jason@redhat.com>
* cp/cp-tree.h (CP_AGGREGATE_TYPE_P): Accept vectors.
* cp/decl.c (reshape_init): Handle vectors.
* testsuite/g++.dg/init/array10.C: New.
From-SVN: r67414
2003-06-04 01:06:09 +00:00
GCC Administrator
280c3e883e
Daily bump.
...
From-SVN: r67412
2003-06-04 00:16:08 +00:00
Kazu Hirata
a7a7d7ace8
flow.c (initialize_uninitialized_subregs): Use emit_move_insn instead of emitting a hardcoded move.
...
* flow.c (initialize_uninitialized_subregs): Use
emit_move_insn instead of emitting a hardcoded move.
From-SVN: r67409
2003-06-03 23:17:27 +00:00
Glen Nakamura
61274a14e5
* gcc.dg/20020525-1.c: Replace 0x5a5a5a5a with -1.
...
From-SVN: r67407
2003-06-03 23:08:22 +00:00
Olivier Hainque
dee2df7288
re PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))
...
PR ada/9953:
* 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
and turn ZCX_By_Default back to False since the underlying support
is not quite there yet.
From-SVN: r67406
2003-06-03 22:30:11 +00:00
Olivier Hainque
0df807b276
re PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))
...
2003-06-04 Olivier Hainque <hainque@act-europe.fr>
PR ada/9953:
* 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
and turn ZCX_By_Default back to False, since the underlying support
is not quite there yet.
From-SVN: r67405
2003-06-03 22:25:02 +00:00
Richard Henderson
2ef0a55511
optabs.c (expand_abs_nojump): Split out from ...
...
* optabs.c (expand_abs_nojump): Split out from ...
(expand_abs): ... here.
* optabs.h (expand_abs_nojump): Declare.
* ifcvt.c: (noce_try_abs): Use expand_abs_nojump.
* Makefile.in (ifcvt.o): Depend on optabs.h.
From-SVN: r67404
2003-06-03 14:29:48 -07:00
Alan Modra
b0c242c029
* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.
...
From-SVN: r67403
2003-06-04 06:15:01 +09:30
Nathanael Nerode
1358ccea48
Makefile.tpl: Make 'recursive targets' using autogen rather than shell loop.
...
* Makefile.tpl: Make 'recursive targets' using autogen rather
than shell loop. Remove duplicate 'clean' targets and false
comments.
* Makefile.def: Add systematic dependencies to 'recursive' targets.
Add systematic method of specifying missing targets in subdirs.
Add copyright boilerplate.
* Makefile.in: Regenerate.
* configure.in: Add 'recursive targets' to maybe list.
* configure: Regenerate.
From-SVN: r67402
2003-06-03 20:42:13 +00:00
Jason Thorpe
2121a768f7
config.gcc (default_use_cxa_atexit): New variable, defaults to no.
...
* config.gcc (default_use_cxa_atexit): New variable, defaults to no.
(*-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*): Set default_use_cxa_atexit
to yes.
* configure.in: Allow default_use_cxa_atexit to determine the
value of DEFAULT_USE_CXA_ATEXIT if not explicitly enabled or
disabled.
* configure: Regenerate.
From-SVN: r67401
2003-06-03 20:39:52 +00:00
Douglas Rupp
ccb36e104b
Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
...
* Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
* doc/gcc.texi: Remove vms.texi section.
* doc/vms.texi: Remove obsolete file.
From-SVN: r67400
2003-06-03 20:28:14 +00:00
Douglas B Rupp
6f6a3861aa
*** empty log message ***
...
From-SVN: r67399
2003-06-03 20:22:20 +00:00
J"orn Rennecke
aa6b9f6dcd
* g++.dg/abi/empty6.C (B): Request alignment of 8 bytes.
...
From-SVN: r67398
2003-06-03 20:10:09 +01:00
Joern Rennecke
2365664203
builtin-noret-1.c (_exit, _Exit): Make weak.
...
* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak.
* gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise.
From-SVN: r67397
2003-06-03 20:04:23 +01:00
J"orn Rennecke
dc06db2019
configure.in (inhibit_libc): Don't define when configuring with --with-newlib --with-headers.
...
* configure.in (inhibit_libc): Don't define when configuring
with --with-newlib --with-headers.
* configure: Regenerate.
* t-sh: Remove LIB2FUNCS_EXTRA and embed-bb.c rules.
From-SVN: r67396
2003-06-03 20:01:22 +01:00
Nick Clifton
8d398258b5
asprintf.c: Change comment to note that -1 is returned upon error.
...
vasprintf.c: Likewise. (vasprintf): Return -1 upon error.
functions.texi: Document changes to asprintf and vasprintf.
From-SVN: r67395
2003-06-03 18:19:17 +00:00
Benjamin Kosnik
f24ce7c1c3
fstream.tcc (pbackfail): Make a rarely taken 'if' branch less obscure.
...
2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/fstream.tcc (pbackfail): Make a rarely taken
'if' branch less obscure.
From-SVN: r67394
2003-06-03 18:06:09 +00:00
Rainer Orth
6d07784ac2
configure.in (gcc_cv_as_hidden): Disable .hidden completely on IRIX 6 without GNU ld.
...
* configure.in (gcc_cv_as_hidden): Disable .hidden completely on
IRIX 6 without GNU ld.
* configure: Regenerate.
From-SVN: r67390
2003-06-03 17:18:00 +00:00
Roger Sayle
a79b3dc7c8
expr.c (emit_move_insn_1): Use emit_move_insn to move the parts of a complex number rather than invoke...
...
* expr.c (emit_move_insn_1): Use emit_move_insn to move the parts
of a complex number rather than invoke mov_optab directly.
From-SVN: r67389
2003-06-03 17:13:06 +00:00
Kazu Hirata
8d6b2775ec
combine.c (simplify_set): Don't move a subreg in SET_SRC to SET_DEST if...
...
* combine.c (simplify_set): Don't move a subreg in SET_SRC to
SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
From-SVN: r67388
2003-06-03 17:10:48 +00:00
Joern Rennecke
bf46042bdb
builtin-noret-1.c (_exit, _Exit): Make weak.
...
* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak.
* gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise.
From-SVN: r67387
2003-06-03 18:00:23 +01:00
Nathanael Nerode
ae74ed1fc5
* MAINTAINERS: "GNATS only" -> "Bug database only".
...
From-SVN: r67382
2003-06-03 16:48:03 +00:00
Nathanael Nerode
48ff03c711
x86-64.h: Remove two target-independent comments; replace "GNU CC" with "GCC".
...
* config/i386/x86-64.h: Remove two target-independent comments;
replace "GNU CC" with "GCC".
From-SVN: r67381
2003-06-03 16:40:42 +00:00
Nathanael Nerode
1a1e6b96a2
Makefile.tpl: Rename [+target+] to [+make_target+].
...
* Makefile.tpl: Rename [+target+] to [+make_target+].
* Makefile.def: Rename 'target' to 'make_target'.
From-SVN: r67380
2003-06-03 16:35:42 +00:00
Andrew Haley
9f47031337
x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on stack volatile to prevent optimization from removing it.
...
2003-06-03 Andrew Haley <aph@redhat.com>
* include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
stack volatile to prevent optimization from removing it.
From-SVN: r67379
2003-06-03 16:13:22 +00:00
Anthony Green
b09d2739b0
Commit patch that was approved last october. Oops.
...
From-SVN: r67375
2003-06-03 15:19:16 +00:00
Aldy Hernandez
284ca13ea9
simd-5.x: Remove xfail for PPC64.
...
2003-06-03 Aldy Hernandez <aldyh@redhat.com>
* testsuite/gcc.c-torture/compile/simd-5.x: Remove xfail for PPC64.
From-SVN: r67374
2003-06-03 13:46:28 +00:00
Kriang Lerdsuwanakij
6c07f44866
re PR c++/10940 (Bad code with explicit specialization)
...
PR c++/10940
* pt.c (check_explicit_specialization): Check for 'static'
earlier.
* g++.dg/template/spec10.C: New test.
From-SVN: r67373
2003-06-03 13:01:44 +00:00
Roger Sayle
075ec276a0
builtins.def (BUILT_IN_CABS, [...]): New builtins representing ISO C99's cabs, cabsf and cabsl.
...
* builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
New builtins representing ISO C99's cabs, cabsf and cabsl.
* builtins.c (expand_builtin_fabs): New function.
(expand_builtin_cabs): New function.
(expand_builtin): Expand BUILT_IN_FABS{,F,L} and BUILT_IN_CABS{,F,L}
using expand_builtin_fabs and expand_builtin_cabs respectively.
* doc/extend.texi: Document new cabs, cabsf and cabsl builtins.
* gcc.dg/builtins-16.c: New test case.
From-SVN: r67368
2003-06-03 11:27:23 +00:00
Aldy Hernandez
ded9bf77e3
function.c (assign_parms): Split complex arguments.
...
2003-06-03 Aldy Hernandez <aldyh@redhat.com>
* function.c (assign_parms): Split complex arguments.
* doc/tm.texi (SPLIT_COMPLEX_ARGS): Document.
* expr.h (SPLIT_COMPLEX_ARGS): Define.
(split_complex_types): Protoize.
(split_complex_values): Protoize.
* calls.c (expand_call): Split complex arguments on architectures
that require it.
(split_complex_values): New.
(split_complex_types): New.
* config/rs6000/rs6000.c (rs6000_libcall_value): New.
(rs6000_function_value): Handle complex values on AIX.
(rs6000_complex_function_value): New.
* config/rs6000/rs6000-protos.h (rs6000_libcall_value): Protoize.
* config/rs6000/rs6000.h (LIBCALL_VALUE): Call function.
(SPLIT_COMPLEX_ARGS): New.
From-SVN: r67367
2003-06-03 11:14:07 +00:00
Jakub Jelinek
24a4dd31f8
configure.in (HAVE_LD_PIE): Check for ld -pie.
...
* configure.in (HAVE_LD_PIE): Check for ld -pie.
* config.in: Rebuilt.
* configure: Rebuilt.
* toplev.c (flag_pie, flag_shlib): New variables.
(f_options): Add -fpie and -fPIE.
(parse_options_and_default_flags): Set flag_pic if -fpie/-fPIE.
Set flag_shlib if flag_pic and not -fpie/-fPIE.
* flags.h (flag_pic, flag_shlib): Add.
* varasm.c (default_binds_local_p): Use flag_shlib instead of
flag_pic.
* gcc.c (LINK_PIE_SPEC): Define.
(LINK_COMMAND_SPEC): Use LINK_PIE_SPEC.
(option_map): Add --pie -> -pie mapping.
* config/sol2.h (ASM_SPEC): Handle -fpie the same way as -fpic
and -fPIE the same way as -fPIC.
* config/openbsd.h (ASM_SPEC): Likewise.
* config/frv/frv.h (ASM_SPEC): Likewise.
* config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Likewise.
* config/arm/semi.h (ASM_SPEC): Likewise.
* config/arm/netbsd-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise.
* config/freebsd-spec.h (FBSD_CPP_SPEC): Likewise.
* config/i386/beos-elf.h (CC1_SPEC): Likewise.
* config/i386/freebsd-aout.h (ASM_SPEC): Likewise.
* config/m68k/linux.h (CPP_SPEC): Likewise.
* config/m68k/netbsd.h (ASM_SPEC): Likewise.
* config/m68k/openbsd.h (ASM_SPEC): Likewise.
* config/m68k/netbsd-elf.h (ASM_SPEC): Likewise.
* config/mips/linux.h (SUBTARGET_CPP_SPEC): Likewise.
* config/mips/openbsd.h (SUBTARGET_ASM_SPEC): Likewise.
* config/pa/pa-linux.h (CPP_SPEC): Likewise.
* config/netbsd-aout.h (ASM_SPEC): Likewise.
* config/rs6000/sysv4.h (ASM_SPEC, CPP_SYSV_SPEC): Likewise.
* config/rs6000/vxworks.h (CPP_SPEC): Likewise.
* config/sparc/linux.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
* config/sparc/linux64.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
* config/sparc/sparc.h (ASM_SPEC): Likewise.
* config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
* config/sparc/sysv4.h (ASM_SPEC): Likewise.
* config/sparc/netbsd-elf.h (ASM_SPEC): Likewise.
* config/sparc/openbsd64.h (ASM_SPEC): Likewise.
* config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Likewise.
* config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Handle -pie.
Simplify.
* config/alpha/elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/i386/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/ia64/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/rs6000/sysv4.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/rs6000/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/sparc/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/sparc/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* doc/invoke.texi: Document -pie, -fpie and -fPIE options.
From-SVN: r67359
2003-06-03 11:06:55 +02:00
Jakub Jelinek
8fd3cf4e17
builtins.c (expand_builtin_memcpy): Remove endp argument and endp != 0 handling.
...
* builtins.c (expand_builtin_memcpy): Remove endp argument and endp
!= 0 handling. Pass 0 to store_by_pieces.
(expand_builtin_mempcpy): Add endp argument. Don't call
expand_builtin_memcpy, call store_by_pieces resp. move_by_pieces
directly. If ignoring result, only do expand_call.
(expand_builtin_stpcpy): Likewise. Call expand_builtin_mempcpy
otherwise.
(expand_builtin_strncpy, expand_builtin_memset): Adjust
store_by_pices callers.
(expand_builtin): Adjust expand_builtin_memcpy and
expand_builtin_mempcpy callers.
* expr.c (can_move_by_pieces): New function.
(move_by_pieces): Add endp argument, return to resp. memory at end
or one byte earlier depending on endp.
(store_by_pieces): Likewise.
(emit_block_move): Adjust call to move_by_pieces.
(emit_push_insn): Adjust move_by_pieces caller.
* expr.h (can_move_by_pieces): New prototype.
(store_by_pieces): Adjust prototypes.
* rtl.h (move_by_pieces): Adjust prototype.
* config/mips/mips.c (expand_block_move): Adjust move_by_pieces
caller.
* gcc.c-torture/execute/builtins/string-4.c (main_test): Remove
mempcpy test with post-increments.
* gcc.c-torture/execute/string-opt-3.c: New test.
* gcc.dg/string-opt-1.c: New test.
From-SVN: r67358
2003-06-03 10:57:55 +02:00
Ben Elliston
cc6a602b27
* doc/md.texi (Processor pipeline description): Improve wording.
...
From-SVN: r67355
2003-06-03 16:56:42 +10:00
Neil Booth
f75d3e11d3
c-opts.c (c_common_handle_option): New, pulled out of c_common_decode_option.
...
* c-opts.c (c_common_handle_option): New, pulled out of
c_common_decode_option. Substitute uses of argv.
(c_common_decode_option): Broken into two.
From-SVN: r67354
2003-06-03 05:42:25 +00:00
GCC Administrator
9c68a546c5
Daily bump.
...
From-SVN: r67351
2003-06-03 00:16:07 +00:00
David Billinghurst
b5706132c3
re PR fortran/10965 (g77 compiles illegal code in testsuite)
...
2003-06-03 David Billinghurst (David.Billinghurst@riotinto.com )
PR fortran/10965
* g77.f-torture/compile/20000601-2.f: Fix non-standard code.
From-SVN: r67349
2003-06-03 00:10:35 +00:00
Mark Mitchell
5a9f05f2ea
scanasm.exp (dg-scan): New function, factored out of ...
...
* lib/scanasm.exp (dg-scan): New function, factored out of ...
(scan-assembler): ... here. Use dg-scan.
(scan-assembler-not): Likewise.
(scan-file): New function.
(scan-file-not): Likewise.
* gcc.dg/cpp/19990228-1.c: Use scan-file and/or scan-file-not.
* gcc.dg/cpp/_Pragma4.c: Likewise.
* gcc.dg/cpp/_Pragma5.c: Likewise.
* gcc.dg/cpp/avoidpaste1.c: Likewise.
* gcc.dg/cpp/avoidpaste2.c: Likewise.
* gcc.dg/cpp/cmdlne-C2.c: Likewise.
* gcc.dg/cpp/cmdlne-P.c: Likewise.
* gcc.dg/cpp/cmdlne-dD-M.c: Likewise.
* gcc.dg/cpp/cmdlne-dD-dM.c: Likewise.
* gcc.dg/cpp/cmdlne-dI-M.c: Likewise.
* gcc.dg/cpp/cmdlne-dM-M.c: Likewise.
* gcc.dg/cpp/cmdlne-dM-dD.c: Likewise.
* gcc.dg/cpp/cmdlne-dN-M.c: Likewise.
* gcc.dg/cpp/cxxcom1.c: Likewise.
* gcc.dg/cpp/line1.c: Likewise.
* gcc.dg/cpp/maccom1.c: Likewise.
* gcc.dg/cpp/maccom2.c: Likewise.
* gcc.dg/cpp/maccom3.c: Likewise.
* gcc.dg/cpp/maccom4.c: Likewise.
* gcc.dg/cpp/maccom5.c: Likewise.
* gcc.dg/cpp/maccom6.c: Likewise.
* gcc.dg/cpp/multiline.c: Likewise.
* gcc.dg/cpp/spacing1.c: Likewise.
* gcc.dg/cpp/spacing2.c: Likewise.
* gcc.dg/cpp/trad/cmdlne-C2.c: Likewise.
* gcc.dg/cpp/trad/maccom1.c: Likewise.
* gcc.dg/cpp/trad/maccom2.c: Likewise.
* gcc.dg/cpp/trad/maccom3.c: Likewise.
* gcc.dg/cpp/trad/maccom4.c: Likewise.
* gcc.dg/cpp/trad/maccom6.c: Likewise.
* gcc.dg/cpp/cxxcom2.c: Likewise.
* gcc.dg/cpp/cxxcom2.h: New file.
From-SVN: r67347
2003-06-02 19:21:15 +00:00