This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/26549] [3.4/4.0/4.1/4.2 Regression] pointer truncation in arch/powerpc/kernel/prom_init.c
- From: "segher at kernel dot crashing dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2006 18:34:57 -0000
- Subject: [Bug rtl-optimization/26549] [3.4/4.0/4.1/4.2 Regression] pointer truncation in arch/powerpc/kernel/prom_init.c
- References: <bug-26549-1216@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from segher at kernel dot crashing dot org 2006-03-03 18:34 -------
Not a bug at all, actually. GCC thinks it can mask out the lower few bits,
because GPR1 should
always be 16-byte aligned. And it isn't in your prom_init testing, and that's
the bug. Better
figure out how _that_ happened :-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26549