[Bug middle-end/27528] compiling linux kernels 2.6.16.14/15 2.6.17-rc3 on powerpc (7450) get error on long exixting code
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 10 05:24:00 GMT 2006
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-05-10 05:24 -------
Reduced testcase:
int f(void)
{
asm ("%0" : : "i"("Hi"));
}
I don't think this is valid code:
`i'
An immediate integer operand (one with constant value) is allowed. This
includes symbolic constants whose values will be known only at assembly time or
later.
--------
Because "Hi" is not a symbolic constant really. Also -funit-at-a-time is
needed to reproduce this issue.
Also this is not related to any change David did.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|dje at gcc dot gnu dot org |
GCC build triplet|powerpc-linux |
GCC host triplet|powerpc-linux |
GCC target triplet|powerpc-linux |powerpc-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27528
More information about the Gcc-bugs
mailing list