[Bug tree-optimization/22278] gcc -O2 discards cast to volatile
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Aug 11 23:56:00 GMT 2005
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-11 23:56 -------
Subject: Bug 22278
CVSROOT: /cvs/gcc
Module name: gcc
Branch: apple-local-200502-branch
Changes by: mrs@gcc.gnu.org 2005-08-11 23:56:06
Modified files:
gcc : gimplify.c tree-ssa.c ChangeLog
Log message:
PR tree-opt/22278
* gimplify.c (gimplify_expr): Use main variant type for the temp
destination for a discarded volatile read.
* tree-ssa.c (tree_ssa_useless_type_conversion_1): Don't elide
casts between non-void types that change volatility.
Radar 4098854
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=2.111.2.5&r2=2.111.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa.c.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=2.76.4.2&r2=2.76.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=2.7489.2.18&r2=2.7489.2.19
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22278
More information about the Gcc-bugs
mailing list