gcc/gcc
Geoffrey Keating fb8b656c65 c-parse.in (select_or_iter_stmt): Use truthvalue_conversion on the condition of a FOR statement...
2000-12-28  Geoffrey Keating  <geoffk@redhat.com>

	* c-parse.in (select_or_iter_stmt): Use truthvalue_conversion
	on the condition of a FOR statement, so that it gets typechecked
	and optimised.

2000-12-28  Geoffrey Keating  <geoffk@redhat.com>

	* gcc.dg/noncompile/20001228-1.c: New test.

From-SVN: r38527
2000-12-29 08:27:40 +00:00
..
ch configure.in: Simplify language enabling/disabling code. 2000-12-12 20:28:52 +00:00
config crt1.asm (start_l): __SH4_SINGLE_ONLY__' was missing the trailing __'. 2000-12-28 08:47:14 +00:00
cp Add comment 2000-12-29 06:09:44 +00:00
f Daily bump. 2000-12-28 01:45:15 -07:00
fixinc "test" is better at testing for directories than "ls" 2000-12-27 15:46:42 +00:00
ginclude c-common.c (boolean_increment): New function. 2000-11-13 14:14:44 +00:00
intl
java Shorten primitive array allocation path: 2000-12-24 00:43:40 +00:00
objc Makefile.in (sched-deps.o, [...]): Fix dependency typo. 2000-12-22 12:27:36 +00:00
po POTFILES.in: Add doloop.c. 2000-12-17 06:30:40 +00:00
testsuite c-parse.in (select_or_iter_stmt): Use truthvalue_conversion on the condition of a FOR statement... 2000-12-29 08:27:40 +00:00
.cvsignore cvsignore: Add info files. 2000-12-09 10:22:30 +00:00
.gdbinit
ABOUT-GCC-NLS
ABOUT-NLS
acconfig.h
aclocal.m4
alias.c Fix ia64-linux glibc miscompilation reported by H.J. Lu. 2000-12-14 16:04:28 -08:00
assert.h
basic-block.h While building global lifetime information, keep track of which registers are only conditionally set. 2000-11-27 17:50:11 +00:00
bb-reorder.c bb-reorder.c (reorder_basic_blocks): Do check for EH edges even when using sjlj. 2000-12-05 00:00:32 -08:00
bitmap.c
bitmap.h
build-make
builtins.c builtins.c (build_function_call_expr): New function. 2000-12-28 02:45:37 +00:00
builtins.def builtins.def (BUILT_IN_LABS, [...]): Don't define. 2000-12-23 00:51:20 +00:00
c-aux-info.c
c-common.c c-common.c (enum format_type): Add strfmon_format_type. 2000-12-28 18:48:05 +00:00
c-common.def
c-common.h c-typeck.c (build_asm_stmt): New, broken out from ... 2000-12-20 10:18:24 -08:00
c-convert.c c-common.c (boolean_increment): New function. 2000-11-13 14:14:44 +00:00
c-decl.c c-decl.c (grokdeclarator): Prevent crash in case of overflow in array size. 2000-12-29 08:03:56 +00:00
c-dump.c c-dump.c (dequeue_and_dump): Dump function bodies. 2000-11-10 04:50:53 +00:00
c-dump.h * c-dump.h: New file. 2000-11-10 16:29:34 +00:00
c-errors.c
c-gperf.h
c-lang.c c-lex.h (parse_in): Change parse_in to a cpp_reader *. 2000-11-28 21:13:35 +00:00
c-lex.c c-lex.c (cb_file_change): Treat in_system_header as strictly boolean (0 or 1). 2000-12-18 20:38:35 +00:00
c-lex.h stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT, MODE_VECTOR_FLOAT. 2000-12-04 12:14:16 -05:00
c-parse.in c-parse.in (select_or_iter_stmt): Use truthvalue_conversion on the condition of a FOR statement... 2000-12-29 08:27:40 +00:00
c-pragma.c * c-pragma.c (init_pragma): Update for parse_in type change. 2000-11-29 19:30:04 +00:00
c-pragma.h c-common.c: Remove USE_CPPLIB conditional inclusions. 2000-11-25 19:28:44 +00:00
c-semantics.c c-typeck.c (build_asm_stmt): New, broken out from ... 2000-12-20 10:18:24 -08:00
c-tree.h c-typeck.c (build_asm_stmt): New, broken out from ... 2000-12-20 10:18:24 -08:00
c-tree.texi c-tree.texi: Fix typos. 2000-11-09 22:56:47 -07:00
c-typeck.c c-typeck.c (build_asm_stmt): New, broken out from ... 2000-12-20 10:18:24 -08:00
caller-save.c
calls.c calls.c (emit_library_call_value_1): Add to call_fusage the stack slot assigned to argument passed by reference. 2000-12-29 04:36:00 +00:00
ChangeLog c-parse.in (select_or_iter_stmt): Use truthvalue_conversion on the condition of a FOR statement... 2000-12-29 08:27:40 +00:00
ChangeLog.0
ChangeLog.1
ChangeLog.2
ChangeLog.3
ChangeLog.lib
collect2.c * collect2.c (main): Use auto_demangling. 2000-12-22 06:42:51 -05:00
collect2.h
combine.c * combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes. 2000-12-21 18:49:56 +00:00
conditions.h
config.gcc config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING. 2000-12-18 23:58:21 +00:00
config.guess
config.in c-common.c: Remove USE_CPPLIB conditional inclusions. 2000-11-25 19:28:44 +00:00
configure configure.in (gcc_gxx_include_dir): Simplify. 2000-12-18 18:12:45 +00:00
configure.frag
configure.in configure.in (gcc_gxx_include_dir): Simplify. 2000-12-18 18:12:45 +00:00
conflict.c Warning fixes: 2000-11-19 13:15:51 +00:00
contrib.texi contrib.texi: Fix my email address. 2000-12-06 19:26:59 -07:00
convert.c
convert.h
COPYING COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 21:47:20 +00:00
COPYING.LIB
cpp.1
cpp.texi gcc.texi, cpp.texi: Update last-updated dates. 2000-12-21 21:24:28 +00:00
cppdefault.c configure.in (gcc_gxx_include_dir): Simplify. 2000-12-18 18:12:45 +00:00
cppdefault.h
cpperror.c cppmain.c (check_multiline_token): New function. 2000-12-17 14:46:34 +00:00
cppexp.c osf.h: Standarize copyright statement. 2000-12-06 18:58:25 -07:00
cppfiles.c c-lex.c: s/change_file/file_change. 2000-12-18 19:00:26 +00:00
cpphash.c
cpphash.h c-lex.c: s/change_file/file_change. 2000-12-18 19:00:26 +00:00
cppinit.c cpplib.h (struct cpp_reader): Remove references to string_pool and temp_string_pool. 2000-12-17 22:40:32 +00:00
cppinternals.texi * cppinternals.texi: New file. 2000-12-04 07:34:21 +00:00
cpplex.c cpplib.h (struct cpp_reader): Remove references to string_pool and temp_string_pool. 2000-12-17 22:40:32 +00:00
cpplib.c c-lex.c: s/change_file/file_change. 2000-12-18 19:00:26 +00:00
cpplib.h c-lex.c: s/change_file/file_change. 2000-12-18 19:00:26 +00:00
cppmacro.c cpplib.h (struct cpp_reader): Remove references to string_pool and temp_string_pool. 2000-12-17 22:40:32 +00:00
cppmain.c * cppmain.c: Update print.lineno with -P. 2000-12-18 19:31:54 +00:00
cppspec.c
cross-make
crtstuff.c * crtstuff.c (force_to_data): Use array size 1 not 0. 2000-11-19 17:48:49 -08:00
cse.c Avoid a bit of copy propagation when there's a REG_EQUIV note 2000-11-24 11:36:27 +00:00
cselib.h osf.h: Standarize copyright statement. 2000-12-06 18:58:25 -07:00
cstamp-h.in
dbxout.c dbxout.c (dbxout_parms): Correctly describe parameters passed by invisible reference in registers... 2000-12-02 00:18:46 +00:00
dbxout.h
dbxstclass.h
dce.c Michael Matz <matzmich@cs.tu-berlin.de> 2000-11-14 01:58:40 -08:00
defaults.h defaults.h [...] (EH_FRAME_SECTION): Remove trailing ';'. 2000-11-17 01:52:43 +00:00
dependence.c
diagnostic.c diagnostic.c (finish_abort): Deleted. 2000-12-16 11:23:46 -05:00
diagnostic.h diagnostic.c (finish_abort): Deleted. 2000-12-16 11:23:46 -05:00
doloop.c
dominance.c Michael Matz <matzmich@cs.tu-berlin.de> 2000-11-14 01:58:40 -08:00
doprint.c
doschk.c
dostage2
dostage3
dwarf2.h
dwarf2out.c Allow the (scratch) frame pointer to be initialised from the stack pointer 2000-12-22 17:55:09 +00:00
dwarf2out.h
dwarf.h dwarf.h (FMT_CODE): Adjust argument order; fix mapping to dwarf_subscr_data_formats bits. 2000-11-20 13:40:30 -08:00
dwarfout.c dwarf.h (FMT_CODE): Adjust argument order; fix mapping to dwarf_subscr_data_formats bits. 2000-11-20 13:40:30 -08:00
dwarfout.h
eh-common.h
emit-rtl.c function.h (emit_status): Delete member regno_pointer_flag and rename regno_pointer_flag_length to... 2000-11-29 23:31:19 -07:00
enquire.c
errors.c
errors.h
except.c bb-reorder.c (reorder_basic_blocks): Don't check for EH edges unless exception handling is enabled... 2000-12-03 15:58:44 -08:00
except.h
exgettext
explow.c
expmed.c expmed.c (store_bit_field): Fix last patch. 2000-12-28 09:51:59 +01:00
expr.c Indentation fix 2000-12-09 03:42:29 +00:00
expr.h bb-reorder.c (reorder_basic_blocks): Don't check for EH edges unless exception handling is enabled... 2000-12-03 15:58:44 -08:00
extend.texi c-common.c (enum format_type): Add strfmon_format_type. 2000-12-28 18:48:05 +00:00
final.c final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF. 2000-12-20 09:03:23 +00:00
fix-header.c c-lex.c: s/change_file/file_change. 2000-12-18 19:00:26 +00:00
fixproto
flags.h
floatlib.c
flow.c rtl.h (REG_NON_LOCAL_GOTO): New. 2000-12-20 17:11:31 -08:00
fold-const.c fold-const.c (tree_expr_nonnegative_p): Treat truth values as non-negative. 2000-12-19 01:17:20 +00:00
fp-test.c
frame-dwarf2.c
frame.c
frame.h
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function.c function.c (assign_parms): Update parm's DECL_INCOMING_RTL when optimizing PARALLEL to REG. 2000-12-22 08:10:53 +00:00
function.h function.h (emit_status): Delete member regno_pointer_flag and rename regno_pointer_flag_length to... 2000-11-29 23:31:19 -07:00
future.options
gansidecl.h * gansidecl.h (const): Check __STDC__ before undef'ing `const'. 2000-11-20 21:09:25 +00:00
gbl-ctors.h
gcc.1
gcc.c protoize.c (main): Correctly set locale categories. 2000-12-17 14:35:05 +00:00
gcc.h
gcc.hlp
gcc.texi gcc.texi, cpp.texi: Update last-updated dates. 2000-12-21 21:24:28 +00:00
gccbug.in * gccbug.in: Add libgcj and preprocessor categories. 2000-12-22 21:21:29 +00:00
gccspec.c
gcov-io.h
gcov.1 gcov.texi: Add magic comments for texi2pod.pl. 2000-11-22 08:29:32 +00:00
gcov.c protoize.c (main): Correctly set locale categories. 2000-12-17 14:35:05 +00:00
gcov.texi gcov.texi: Add magic comments for texi2pod.pl. 2000-11-22 08:29:32 +00:00
gcse.c gcse.c (compute_pre_data): Kill trapping expressions in destination blocks of abnormal edges. 2000-12-06 10:45:31 -08:00
gen-protos.c
genattr.c alpha.c (check_float_value): Use memcpy, not bcopy. 2000-11-10 16:01:28 +00:00
genattrtab.c i386.md (ashrsi3_cmpno, [...]): Remove redundant '@' from the template. 2000-12-16 19:00:57 +00:00
gencheck.c
gencodes.c Add blank lines between function comment and function return type. 2000-11-22 18:50:41 +00:00
genconfig.c
genemit.c
genextract.c
genflags.c
gengenrtl.c
genmultilib
genopinit.c
genoutput.c * genoutput.c (process_template): Add sanity checking for '@' templates. 2000-12-13 16:26:45 +00:00
genpeep.c
genrecog.c genrecog.c (add_to_sequence): Remove special case for const_int_operand. 2000-12-15 13:50:32 +00:00
gensupport.c rtl.h (traverse_md_constants): Declare. 2000-11-22 01:22:02 +00:00
gensupport.h
ggc-callbacks.c
ggc-common.c ggc.h: Delete ggc_add_string_root and ggc_mark_string. 2000-11-17 17:31:13 +00:00
ggc-none.c
ggc-page.c stringpool.c: New file. 2000-11-17 06:05:31 +00:00
ggc-simple.c stringpool.c: New file. 2000-11-17 06:05:31 +00:00
ggc.h ggc.h: Delete ggc_add_string_root and ggc_mark_string. 2000-11-17 17:31:13 +00:00
glimits.h
global.c global.c (global_conflicts): Allow for a REG_UNUSED note with a different mode to the REG set in the insn. 2000-12-05 19:12:20 +00:00
gmon.c
graph.c
graph.h
gstab.h
gsyms.h
gsyslimits.h
gthr-aix.h
gthr-dce.h
gthr-posix.h
gthr-rtems.h config.gcc (a29k*-*-rtems*, [...]): New targets. 2000-12-06 19:42:02 -07:00
gthr-single.h
gthr-solaris.h
gthr-vxworks.h
gthr-win32.h
gthr.h
haifa-sched.c haifa-sched.c (schedule_block): Provide empty source statement if not MD_SCHED_REORDER2. 2000-12-21 05:00:08 +00:00
halfpic.c
halfpic.h
hard-reg-set.h
hash.c
hash.h
hwint.h
ifcvt.c Handle jump insns that are PARALLEL. 2000-12-27 18:22:51 +00:00
input.h
insn-addr.h
install.texi install.texi (i*86-*-sco3.2v5*): Remove information duplicated in html version. 2000-12-11 00:16:22 +00:00
integrate.c * integrate.c (copy_rtx_and_substitute): Copy mode too. 2000-12-15 13:46:51 +00:00
integrate.h function.h (emit_status): Delete member regno_pointer_flag and rename regno_pointer_flag_length to... 2000-11-29 23:31:19 -07:00
intl.c
intl.h
invoke.texi c-common.c (enum format_type): Add strfmon_format_type. 2000-12-28 18:48:05 +00:00
jump.c jump.c (jump_optimize_1): Don't delete the line note after the prologue even if it seems redundant. 2000-12-15 10:10:30 -05:00
LANGUAGES
lcm.c lcm.c (optimize_mode_switching): Check whether an insn is a NOTE before taking its NOTE_LINE_NUMBER. 2000-12-08 22:28:57 +00:00
libgcc1-test.c
libgcc1.c
libgcc2.c libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes. 2000-12-16 22:43:58 +00:00
libgcc2.h libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes. 2000-12-16 22:43:58 +00:00
libgcc-std.ver
limitx.h
limity.h
listing
lists.c
local-alloc.c flow.c (make_edge): Early out, if no flags to set. 2000-11-30 13:40:33 -08:00
longlong.h osf.h: Standarize copyright statement. 2000-12-06 18:58:25 -07:00
loop.c function.h (emit_status): Delete member regno_pointer_flag and rename regno_pointer_flag_length to... 2000-11-29 23:31:19 -07:00
loop.h
machmode.def machmode.def: Use correct definition for BITSIZE on targets where BITS_PER_UNIT != 8. 2000-12-06 18:47:31 -07:00
machmode.h
make-l2.com
Makefile.in Makefile.in (sched-deps.o, [...]): Fix dependency typo. 2000-12-22 12:27:36 +00:00
makefile.vms * makefile.vms: Remove EGCS references. 2000-11-26 19:15:39 +00:00
mbchar.c
mbchar.h
md.texi * md.texi (Looping Patterns): New node. 2000-12-21 22:08:17 +00:00
mips-tdump.c
mips-tfile.c
mkdeps.c mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not malloc/realloc. 2000-11-17 04:16:55 +00:00
mkdeps.h
mkinstalldirs
mklibgcc.in
mkmap-flat.awk
mkmap-symver.awk
move-if-change
NEWS ONEWS: New file with the current contents of NEWS up to EGCS 1.1. 2000-12-04 23:03:07 +00:00
ONEWS ONEWS: New file with the current contents of NEWS up to EGCS 1.1. 2000-12-04 23:03:07 +00:00
optabs.c stringpool.c: New file. 2000-11-17 06:05:31 +00:00
output.h
patch-apollo-includes
predict.c function.h (emit_status): Delete member regno_pointer_flag and rename regno_pointer_flag_length to... 2000-11-29 23:31:19 -07:00
prefix.c alpha.c (check_float_value): Use memcpy, not bcopy. 2000-11-10 16:01:28 +00:00
prefix.h
print-rtl.c
print-tree.c print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN. 2000-12-17 18:47:48 -05:00
profile.c osf.h: Standarize copyright statement. 2000-12-06 18:58:25 -07:00
protoize.c protoize.c (main): Correctly set locale categories. 2000-12-17 14:35:05 +00:00
pself1.c
pself2.c
pself3.c
pself4.c
pself5.c
pself.c
README
README-fixinc
README.ACORN
README.ALTOS
README.AVR
README.C4X
README.DWARF
README.Portability
README.RS6000
README.X11
real.c
real.h alpha.c (check_float_value): Use memcpy, not bcopy. 2000-11-10 16:01:28 +00:00
recog.c While building global lifetime information, keep track of which registers are only conditionally set. 2000-11-27 17:50:11 +00:00
recog.h
reg-stack.c
regclass.c function.h (emit_status): Delete member regno_pointer_flag and rename regno_pointer_flag_length to... 2000-11-29 23:31:19 -07:00
regmove.c
regrename.c Renamer improvements. 2000-12-22 15:44:42 +00:00
regs.h
reload1.c reload1.c (reload_combine): Take multi-hard-regs into account when processing CALL_INSN_FUNCTION_USAGE. 2000-12-19 11:10:19 -05:00
reload.c reload.c (update_auto_inc_notes): New, broken out from ... 2000-12-22 01:25:23 +00:00
reload.h Several fixes to make reload handle POST_MODIFY correctly. 2000-11-10 17:10:29 +00:00
reorg.c
resource.c resource.c (mark_set_resources): Use MARK_SRC_DEST for PRE_MODIFY and POST_MODIFY cases. 2000-12-21 22:15:22 +00:00
resource.h
rtl.c rtl.c (copy_most_rtx, [...]): Copy frame_related flag. 2000-12-27 16:35:00 +00:00
rtl.def
rtl.h ia64 specific scheduling bits 2000-12-21 18:26:07 +00:00
rtl.texi rtl.texi (Machine Modes): Document BImode and OImode. 2000-12-01 19:29:26 +00:00
rtlanal.c resource.c (mark_set_resources): Use MARK_SRC_DEST for PRE_MODIFY and POST_MODIFY cases. 2000-12-21 22:15:22 +00:00
sbitmap.c
sbitmap.h
scan-decls.c c-lex.c (cb_enter_file, [...]): Combine into the new function cb_change_file. 2000-11-27 08:00:04 +00:00
scan-types.sh
scan.c
scan.h c-lex.c (cb_enter_file, [...]): Combine into the new function cb_change_file. 2000-11-27 08:00:04 +00:00
sched-deps.c Avoid unnecessary dependencies on COND_EXEC insns. 2000-12-27 12:55:16 +00:00
sched-ebb.c Support scheduling across extended basic blocks 2000-12-20 17:19:39 +00:00
sched-int.h Support scheduling across extended basic blocks 2000-12-20 17:19:39 +00:00
sched-rgn.c Support scheduling across extended basic blocks 2000-12-20 17:19:39 +00:00
sched-vis.c Makefile.in (sched-deps.o, [...]): Fix dependency typo. 2000-12-22 12:27:36 +00:00
sdbout.c
sdbout.h
SERVICE
sibcall.c
simplify-rtx.c Plug a memory leak. 2000-12-13 15:06:54 +00:00
sort-protos
ssa.c Warning fixes: 2000-11-19 13:15:51 +00:00
ssa.h
stab.def
stack.h
stmt.c rtl.h (REG_NON_LOCAL_GOTO): New. 2000-12-20 17:11:31 -08:00
stor-layout.c Whitespace change 2000-12-17 12:22:41 -05:00
stringpool.c stringpool.c (stringpool_statistics): Also report number and percentage of entries which are identifiers. 2000-11-22 00:18:18 +00:00
sys-protos.h
sys-types.h
system.h Makefile.in (sched-deps.o, [...]): Fix dependency typo. 2000-12-22 12:27:36 +00:00
texinfo.tex configure.in: Don't define INSTALL_INFO. 2000-12-08 22:54:06 +00:00
timevar.c
timevar.def
timevar.h
tlink.c
tm.texi final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF. 2000-12-20 09:03:23 +00:00
toplev.c c-common.c (enum format_type): Add strfmon_format_type. 2000-12-28 18:48:05 +00:00
toplev.h toplev.h (extern really_sorry): Remove extern declaration for nonexistent function. 2000-12-29 01:45:53 +00:00
tradcif.y safe-ctype.h: New file. 2000-12-08 03:00:26 +00:00
tradcpp.c tradcpp.c: T_WARNING: New. 2000-12-16 10:41:56 +00:00
tradcpp.h * tradcpp.h: For tradcpp, NUL is not whitespace. 2000-12-11 19:38:15 +00:00
tree.c tree.h (mark_tree_hashtable): New function. 2000-11-27 07:09:20 +00:00
tree.def
tree.h tree.h (mark_tree_hashtable): New function. 2000-11-27 07:09:20 +00:00
tsystem.h
typeclass.h
unprotoize.c
unroll.c function.h (emit_status): Delete member regno_pointer_flag and rename regno_pointer_flag_length to... 2000-11-29 23:31:19 -07:00
varasm.c varasm.c (initializer_constant_valid_p): Indicate subtraction of pointers to the same string constant is absolute. 2000-12-28 19:35:56 +00:00
varray.c
varray.h
version.c Daily bump. 2000-12-28 01:45:15 -07:00
version.h
vmsconfig.com
xcoffout.c ggc.h: Delete ggc_add_string_root and ggc_mark_string. 2000-11-17 17:31:13 +00:00
xcoffout.h

This directory contains the GNU Compiler Collection (GCC) version 2.96.
It includes all of the support for compiling C, C++, Objective C, Fortran,
Java, and Chill.

The GNU Compiler Collection is free software.  See the file COPYING for copying
permission.

See the file gcc.texi (together with other files that it includes) for
installation and porting information.  The file INSTALL contains a
copy of the installation information, as plain ASCII.

Installing this package will create various files in subdirectories of
/usr/local/lib, which are passes used by the compiler and a library
named libgcc.a.  It will also create /usr/local/bin/gcc, which is
the user-level command to do a compilation.

See the Bugs chapter of the GCC Manual for how to report bugs
usefully.  An online readable version of the manual is in the files
gcc.info*.

The files pself.c and pself1.c are not part of GCC.
They are programs that print themselves on standard output.
They were written by Dario Dariol and Giovanni Cozzi, and are
included for your hacking pleasure.  Likewise pself2.c
(Who is the author of that?) and pself3.c (by Vlad Taeerov and Rashit
Fakhreyev).