public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hp at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org 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 Date: Wed, 14 Jun 2006 15:09:00 -0000 [thread overview] Message-ID: <20060614150834.3763.qmail@sourceware.org> (raw) In-Reply-To: <bug-27528-11706@http.gcc.gnu.org/bugzilla/> ------- Comment #10 from hp at gcc dot gnu dot org 2006-06-14 15:08 ------- I can't help but thinking the code is valid and that this is a valid bug. Arguably, it *might* be hard to fix, and we'll have to cop out and adjust the documentation instead. I mean, the "i" constraint purpose is documented as: "this includes symbolic constants whose values will be known only at assembly time or later." In this case, "later" is link-time. In some cases, including variables, the "later" would be dynamic-link-time which will be a bit beyond reach; but as long as GCC generates an internal label, it should work with no warnings. See also PR19708 and 17346. If the C standard defines something other than programmer sense for "symbolic constant", that isn't as interesting; we're already in asm-land and are supposed to be useful, not pedantic. Taking the address of a constant string is useful... And oh, I almost forgot to mention that I get the warning with 3.2 for cris-axis-linux-gnu too. Yes, in the kernel, for the same use. (Sigh.) I'm a bit behind on gcc work so I don't know if I get it for 4.2 as well. I assigned the PR to me to avoid the feeling of adding to peoples workload, but I guess I'll have to hack trees and that might take a while. -- hp at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hp at gcc dot gnu dot org Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27528
next prev parent reply other threads:[~2006-06-14 15:08 UTC|newest] Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-05-10 2:44 [Bug c/27528] New: " malitzke at metronets dot com 2006-05-10 3:05 ` [Bug c/27528] " malitzke at metronets dot com 2006-05-10 4:04 ` [Bug middle-end/27528] " pinskia at gcc dot gnu dot org 2006-05-10 5:24 ` pinskia at gcc dot gnu dot org 2006-05-10 5:30 ` pinskia at gcc dot gnu dot org 2006-05-10 14:44 ` malitzke at metronets dot com 2006-05-10 14:56 ` dje at gcc dot gnu dot org 2006-05-10 15:06 ` pinskia at gcc dot gnu dot org 2006-05-10 20:17 ` malitzke at metronets dot com 2006-05-10 20:41 ` pinskia at gcc dot gnu dot org 2006-06-14 15:09 ` hp at gcc dot gnu dot org 2006-06-14 15:09 ` hp at gcc dot gnu dot org [this message] 2006-06-15 3:26 ` malitzke at metronets dot com 2006-06-15 17:15 ` hp at gcc dot gnu dot org 2006-06-15 23:03 ` malitzke at metronets dot com 2006-06-15 23:03 ` Andrew Pinski 2006-06-15 23:07 ` pinskia at physics dot uc dot edu 2006-10-27 5:24 ` pinskia at gcc dot gnu dot org 2006-11-03 13:23 ` rsandifo at gcc dot gnu dot org 2006-11-03 13:27 ` hp at gcc dot gnu dot org 2006-11-03 13:30 ` rsandifo at gcc dot gnu dot org 2006-11-09 9:34 ` rsandifo at gcc dot gnu dot org 2006-11-11 9:47 ` rsandifo at gcc dot gnu dot org 2006-11-11 9:53 ` rsandifo at gcc dot gnu dot org 2006-11-11 9:54 ` rsandifo at gcc dot gnu dot org 2006-12-01 1:07 ` chaoyingfu at gcc dot gnu dot org 2007-01-10 19:14 ` [Bug middle-end/27528] [4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20060614150834.3763.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).