This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "malitzke at metronets dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jun 2006 22:58:57 -0000
- Subject: [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
- References: <bug-27528-11706@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from malitzke at metronets dot com 2006-06-15 22:58 -------
Hans_Peter
Your, not mine, concern seems to be comment 3. For that you have to contact
Pinski. I saw a number os inconsitencies in his comments and after the
reception got did not want to pursue this further. My problem got solved as
follows:
Typescript
for i in `find -name 'bug.h*'` ; do grep -e '\ "i"\ ' $i && echo $i ; done
: : "i" (__LINE__), "i" (__FILE__)); \
: : "r" ((long)(x)), "i" (__LINE__), \
"i" (__FILE__)); \
"i" (__LINE__ + BUG_WARNING_TRAP), \
"i" (__FILE__)); \
./asm-powerpc/bug.h
: : "i" (__LINE__), "i" (__FILE__), "i" (__FUNCTION__)); \
: : "r" ((long)(x)), "i" (__LINE__), \
"i" (__FILE__), "i" (__FUNCTION__)); \
"i" (__LINE__ + BUG_WARNING_TRAP), \
"i" (__FILE__), "i" (__FUNCTION__)); \
./asm-powerpc/bug.h.org
"i"(__LINE__), "i" (__FILE__))
./asm-x86_64/bug.h
: : "i" (PAL_bugchk), "i"(__LINE__), "i"(__FILE__))
./asm-alpha/bug.h
: : "i" (__LINE__), "i" (__FILE__))
./asm-i386/bug.h
__asm__ __volatile__("break %0" : : "i" (BRK_BUG)); \
./asm-mips/bug.h
The pertinent patch is on file in my PR to bugzilla.kernel.org.
The problem turned up a week or so before I filed PR 27528, and after
considerable rs6000 changes made by David Edelsohn.
To me this is a matter for the GCC community to solve and not for a non
compiler expert like myself. I am just a user as defined by the steering
committee.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27528