Go to file
Paolo Bonzini 5544530ae5 re PR c/21419 (Accepts writting to const via asm)
2005-10-05  Paolo Bonzini  <bonzini@gnu.org>

	PR tree-optimization/21419
	PR tree-optimization/24146
	PR tree-optimization/24151

	* c-typeck.c (readonly_error): Handle USE being lv_asm.
	(build_asm_expr): Call it if outputs are read-only.
	* gimplify.c (gimplify_asm_expr): Remove former fix to PR 21419.

cp:
2005-10-05  Paolo Bonzini  <bonzini@gnu.org>

	PR tree-optimization/21419
	PR tree-optimization/24146
	PR tree-optimization/24151

	* semantics.c (finish_asm_stmt): Call readonly_error if outputs are
	read-only.  Set ASM_VOLATILE_P for asms without outputs.

testsuite:
2005-10-05  Paolo Bonzini  <bonzini@gnu.org>

	PR tree-optimization/21419
	PR tree-optimization/24146
	PR tree-optimization/24151

	* g++.dg/ext/asm7.C: New.
	* g++.dg/ext/asm8.C: New.
	* gcc.dg/asm-1.c: Compile on all targets.
	* gcc.dg/asm-pr24146.c: New.
	* gcc.dg/pr21419.c: Adjust error messages.

From-SVN: r104988
2005-10-05 12:17:16 +00:00
boehm-gc gc_locks.h (GC_test_and_set): Change the constraint of the first operand to '0'. 2005-09-15 22:35:52 +00:00
config enable.m4: New file. 2005-09-23 16:33:47 +00:00
contrib
fastjar
fixincludes re PR target/23139 (-pedantic -ffast-math breaks working code) 2005-09-15 20:09:27 +01:00
gcc re PR c/21419 (Accepts writting to const via asm) 2005-10-05 12:17:16 +00:00
gnattools
include libiberty.h (expandargv): New function. 2005-09-26 20:55:10 +00:00
INSTALL
intl
libada
libcpp re PR preprocessor/13726 (cpp -C -dI loses comments on same line as #include directives) 2005-10-04 18:06:19 +00:00
libffi libffi-dg.exp (libffi_target_compile): For darwin, use -shared-libgcc not -lgcc_s, and explain why. 2005-10-01 06:11:29 +00:00
libgfortran * runtime/memory.c (allocate_size): Malloc 1 byte if size == 0. 2005-10-03 22:32:44 +02:00
libiberty * at-file.texi: New file. 2005-10-04 05:34:57 +00:00
libjava Makefile.in: Rebuilt. 2005-10-03 22:33:10 +00:00
libmudflap This avoids small data/gp reloc overflow errors. 2005-10-04 16:54:38 -07:00
libobjc
libssp
libstdc++-v3 hashtable (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to take a "false" (i.e., is_const == false) node_iterator. 2005-10-03 17:35:55 +00:00
maintainer-scripts gcc_release (build_sources): If trying to apply a tag that already exists, issue an error message and exit. 2005-10-01 08:42:33 +00:00
zlib * Imported zlib 1.2.3; merged local changes. 2005-09-12 17:42:53 +00:00
.cvsignore
ABOUT-NLS
ChangeLog re PR ada/22340 (Ada build fails with --enable-bootstrap) 2005-10-05 07:32:13 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure re PR ada/22340 (Ada build fails with --enable-bootstrap) 2005-10-05 07:32:13 +00:00
configure.in re PR ada/22340 (Ada build fails with --enable-bootstrap) 2005-10-05 07:32:13 +00:00
COPYING
COPYING.LIB
depcomp
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh Fix misapplied hunk. 2005-10-05 09:19:53 +00:00
MAINTAINERS * MAINTAINERS: Add self as java maintainer. 2005-09-16 16:59:40 +00:00
Makefile.def Fix mips-elf --enable-libmudflap make -j2 failure. 2005-10-04 18:17:01 -07:00
Makefile.in re PR ada/22340 (Ada build fails with --enable-bootstrap) 2005-10-05 07:32:13 +00:00
Makefile.tpl re PR ada/22340 (Ada build fails with --enable-bootstrap) 2005-10-05 07:32:13 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
README.SCO
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.