[Bug middle-end/13448] [3.3 Regression] gcc 3.3.2, internal error when -O3 and trying to modify function const arg

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 12 22:43:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-03-12 22:43 -------
Subject: Bug 13448

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	gdr@gcc.gnu.org	2004-03-12 22:43:33

Modified files:
	gcc            : ChangeLog c-tree.h c-typeck.c tree-inline.c 

Log message:
	Backport
	2004-02-27  Mark Mitchell  <mark@codesourcery.com>
	PR middle-end/13448
	* c-tree.h (readonly_warning): Rename to ...
	(readonly_error): ... this.
	* c-typeck.c (build_unary_op): Adjust accordingly.
	(readonly_warning): Rename to ...
	(readonly_error): ... this and issue errors, not warnings.
	(build_modify_expr): Call readonly_error, not
	readonly_warning.
	(c_expand_asm_operands): Likewise.
	* tree-inline.c (optimize_inline_calls): Do not inline
	functions after errors have occurred.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.933&r2=1.16114.2.934
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-tree.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.109&r2=1.109.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.213.2.12&r2=1.213.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-inline.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.38.2.11&r2=1.38.2.12



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13448



More information about the Gcc-bugs mailing list