public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/61315] wide-int.cc cannot be built by darwin system compiler Date: Wed, 28 May 2014 11:21:00 -0000 [thread overview] Message-ID: <bug-61315-4-fqupdvZb1z@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-61315-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61315 --- Comment #14 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Dominique d'Humieres from comment #13) > In my paranoid days I have the feeling that I don't exist on the gcc > lists!-(although I am only interested by gfortran and optimization, I do > what I can to keep the test suite as clean as possible for darwin: bug > reports, debugging when I can, ...). Iain Sandoe may have a similar feeling > too, even if he has a significant contribution in fixing darwin problem. Why is that so? Do you mean your patches aren't reviewed fast enough? There are three darwin maintainers. If you are unsatisfied with their work, I would suggest to try to approach them in private. Perhaps they will be happy to delegate some maintainership duties or suggest some way to improve communication. Patches going unreviewed is a general problem in GCC not restricted to Darwin. Nobody has found a good solution to this problem yet. > I also acknowledge that most of the GCC developers are quite helpful and > that some of them consider their duty to fix their bugs even on darwin. > However I consider that comments such that "darwin is broken by design", > "darwin sucks", ... are unprofessional. So ignore those comments. Even smart people say stupid things from time to time. Many people that write in the GCC lists (or bug reports) don't even contribute to GCC. When I started working on GCC diagnostics, many GCC devs told me that there will never be native color diagnostics. Now we have colors and the Apocalypse hasn't arrived. See also points 1 and 9 at https://gcc.gnu.org/wiki/GCC_Research about negative feedback. I think the approach of FX was exactly right: Expose your case and send a patch. If you cannot convince someone, then convince others. > Last thing I want to say, I have seen several bugs blamed to drawing that > were gcc bugs and also several "unfixable on darwin" features that got fixed > by gcc improvements. Sure. I personally think that GCC is better off supporting Darwin than not, but I wouldn't personally work on Darwin since I only care about Linux. It is only logical that people using Darwin are the ones working on it. The quality of Darwin support in GCC is only a function of the number of people working on it, not a hidden agenda, design or philosophy. (The same is true for every other language or port or part of the compiler. The only reason why Clang has better diagnostics than GCC is that there were 191 contributors to Clang last year, while I would be surprised if more than 20 people contributed to the C/C++ FEs during the same time.) >From gcc-bugs-return-452710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 28 11:25:53 2014 Return-Path: <gcc-bugs-return-452710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3132 invoked by alias); 28 May 2014 11:25:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3101 invoked by uid 48); 28 May 2014 11:25:50 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/61300] powerpc64le miscompile with K&R-style function definition at -O0 Date: Wed, 28 May 2014 11:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-61300-4-pxzCOMKT0p@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61300-4@http.gcc.gnu.org/bugzilla/> References: <bug-61300-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-05/txt/msg02402.txt.bz2 Content-length: 1247 https://gcc.gnu.org/bugzilla/show_bug.cgi?ida300 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Alan Modra from comment #1) > So, the "writes way past this" is writing into the parameter save area. > > compare_kr is assuming that it was called with a parameter save area because > it isn't prototyped, but that is quite wrong because when compiling the > function body we don't know how the function was called. A call may well > have a prototype in scope, and thus not set up a parameter save area. > > It's a bug in rs6000_function_parms_need_stack. This function can't blindly > test !prototype_p (fun). So you can simply drop that check instead as it seems to be an optimization only? Thus Index: gcc/config/rs6000/rs6000.c ==================================================================--- gcc/config/rs6000/rs6000.c (revision 211011) +++ gcc/config/rs6000/rs6000.c (working copy) @@ -10492,7 +10492,7 @@ rs6000_function_parms_need_stack (tree f fun = TREE_TYPE (fun); /* Varargs functions need the parameter save area. */ - if (!prototype_p (fun) || stdarg_p (fun)) + if (stdarg_p (fun)) return true; INIT_CUMULATIVE_INCOMING_ARGS (args_so_far_v, fun, NULL_RTX); ?
next prev parent reply other threads:[~2014-05-28 11:21 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-05-26 8:08 [Bug bootstrap/61315] New: " fxcoudert at gcc dot gnu.org 2014-05-26 9:00 ` [Bug bootstrap/61315] " pinskia at gcc dot gnu.org 2014-05-26 9:08 ` fxcoudert at gcc dot gnu.org 2014-05-26 9:11 ` pinskia at gcc dot gnu.org 2014-05-26 9:21 ` fxcoudert at gcc dot gnu.org 2014-05-27 16:21 ` howarth at nitro dot med.uc.edu 2014-05-27 16:35 ` howarth at nitro dot med.uc.edu 2014-05-27 18:01 ` dominiq at lps dot ens.fr 2014-05-27 18:26 ` pinskia at gcc dot gnu.org 2014-05-27 19:15 ` howarth at nitro dot med.uc.edu 2014-05-27 20:36 ` mrs at gcc dot gnu.org 2014-05-28 7:57 ` manu at gcc dot gnu.org 2014-05-28 10:18 ` dominiq at lps dot ens.fr 2014-05-28 11:21 ` manu at gcc dot gnu.org [this message] 2014-06-03 16:19 ` joseph at codesourcery dot com
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=bug-61315-4-fqupdvZb1z@http.gcc.gnu.org/bugzilla/ \ --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).