This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/33692] New: [4.3 Regression] Type checking error with address-of and volatile
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Oct 2007 12:08:19 -0000
- Subject: [Bug middle-end/33692] New: [4.3 Regression] Type checking error with address-of and volatile
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
struct sndrv_pcm_info { };
typedef struct sndrv_pcm_info snd_pcm_info_t;
typedef struct {
snd_pcm_info_t info;
} snd_pcm_shm_ctrl_t;
int pcm_shm_cmd(volatile snd_pcm_shm_ctrl_t *ctrl)
{
snd_pcm_info((snd_pcm_info_t *) &ctrl->info);
}
aserver.3.min.i: In function 'pcm_shm_cmd':
aserver.3.min.i:7: error: type mismatch in address expression
volatile struct snd_pcm_info_t *
struct snd_pcm_info_t *
D.1548 = &ctrl->info
aserver.3.min.i:7: internal compiler error: verify_gimple failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [4.3 Regression] Type checking error with address-of and
volatile
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, ice-checking
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33692