This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26577] [4.0/4.1 regression] ICE in cp_expr_size with volatile and non POD
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Aug 2006 02:59:23 -0000
- Subject: [Bug c++/26577] [4.0/4.1 regression] ICE in cp_expr_size with volatile and non POD
- References: <bug-26577-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #21 from jason at gcc dot gnu dot org 2006-08-30 02:59 -------
Subject: Bug 26577
Author: jason
Date: Wed Aug 30 02:59:14 2006
New Revision: 116576
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116576
Log:
PR c++/26577
* cvt.c (convert_to_void): Don't automatically load from volatiles
of TREE_ADDRESSABLE type.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/warn/volatile1.C
- copied unchanged from r116568,
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/warn/volatile1.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/cvt.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26577