public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rogerio at rilhas dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/45265] GCC has an intermittent bug when computing the address of function parameters Date: Sat, 14 Aug 2010 14:32:00 -0000 [thread overview] Message-ID: <20100814143200.30564.qmail@sourceware.org> (raw) In-Reply-To: <bug-45265-19547@http.gcc.gnu.org/bugzilla/> ------- Comment #55 from rogerio at rilhas dot com 2010-08-14 14:31 ------- (In reply to comment #53) > (In reply to comment #52) > > (In reply to comment #51) > Look at the page history, it was removed by someone else, probably because your > comment is badly written and not suitable for the Wikipedia page. I thought that was your mom, sorry. We are alright then. When the guy removes it again I'll tell him to ask you if it is true. If you don't recant he will know I'm telling the truth. > As with most of your comments, they are unfounded and easily refuted by > checking facts, but you're so sure you know them that you don't need to check. > As you've said before, learn to read. Right, that must be it. As if I didn't backed it up with your own comment #35. Boy, it will sure be easy to prove my post to be unfounded!!! > Noone wants it to be a secret, everyone in the GCC project would prefer if no > users shared your incorrect beliefs. So do I. I don't want anyone sharing my incorrect beliefs. Did we just agree on something here? So I'll tell the guy to talk to ask you. > Check your favourite reference - the Wikipedia entry on cdecl says GCC is the > de facto standard for caling conventions on Linux - so by definition what GCC > does is correct. It must be true, Wikipedia says so. ... unless it was your post! You tend to miss more than you hit. But yeah, you've shut me up on that too. I just wrote that in my previous post. > What are you talking about? You were originally talking about initializing > non-const references with temporaries. Yes, that is right. GCC gave me the same error in both cases (aren't default parameters initialized with classes the same as parameters initialized with classes?). Probably my bad. > The code above would work fine, if > you'd defined Color and Vector. > class Color { public: Color(int); }; > class Vector { public: Vector(int); }; > const int WHITE = 0; > const int VECTOR_Z = 0; > class Idiot { > virtual void func(Color c = Color(WHITE), Vector v = Vector(VECTOR_Z)); > }; > GCC compiles that fine, try it. Yeah, you are right, your class does. But mine don't, the diference is that mine are a bit more complex and derive a lot... but you were right, yours does compile. And I was right, my code with GCC would have given me more trouble to deliver to the client. But you are right, I posted an Idiot class. (see how easy it is to admit when we are wrong? .. if you tried it you would quickly gain a lot of practice! ... anyway, good job in reducing your error rate, it is now close to a normal person!) > GCC compiles that because it's valid C++. > What is your point? > Keep this up, future employers will love to see you making an idiot of yourself > so publicly. No, the worse is being wrong and don't admit it. When we admit we learn, so I've been learning quite a lot with you guys. You didn't admit anything, so in your mind LDT read accesses a still prohibitive, and crap like that. Or did you think I would forget all the crap that you said that I shot down and you didn't admit?? Your future employers (if any!) will see that your ability to learn simple stuff is impaired. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45265
next prev parent reply other threads:[~2010-08-14 14:32 UTC|newest] Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-08-12 14:50 [Bug c++/45265] New: " rogerio at rilhas dot com 2010-08-12 14:52 ` [Bug c++/45265] " rogerio at rilhas dot com 2010-08-12 14:52 ` rogerio at rilhas dot com 2010-08-12 14:54 ` rogerio at rilhas dot com 2010-08-12 15:09 ` jakub at gcc dot gnu dot org 2010-08-12 15:25 ` schwab at linux-m68k dot org 2010-08-12 15:33 ` rogerio at rilhas dot com 2010-08-12 15:34 ` rogerio at rilhas dot com 2010-08-12 15:52 ` schwab at linux-m68k dot org 2010-08-12 15:52 ` redi at gcc dot gnu dot org 2010-08-12 16:00 ` matz at gcc dot gnu dot org 2010-08-12 16:05 ` rogerio at rilhas dot com 2010-08-12 16:09 ` redi at gcc dot gnu dot org 2010-08-12 16:10 ` pinskia at gcc dot gnu dot org 2010-08-12 16:11 ` jakub at gcc dot gnu dot org 2010-08-12 16:15 ` rogerio at rilhas dot com 2010-08-12 16:17 ` redi at gcc dot gnu dot org 2010-08-12 16:18 ` rogerio at rilhas dot com 2010-08-12 16:19 ` rogerio at rilhas dot com 2010-08-12 16:20 ` redi at gcc dot gnu dot org 2010-08-12 16:58 ` dj at redhat dot com 2010-08-12 17:09 ` froydnj at gcc dot gnu dot org 2010-08-12 17:25 ` rogerio at rilhas dot com 2010-08-12 17:25 ` rogerio at rilhas dot com 2010-08-12 17:50 ` rogerio at rilhas dot com 2010-08-12 17:54 ` redi at gcc dot gnu dot org 2010-08-12 18:04 ` rogerio at rilhas dot com 2010-08-12 18:05 ` matz at gcc dot gnu dot org 2010-08-12 18:08 ` dj at redhat dot com 2010-08-12 18:24 ` rogerio at rilhas dot com 2010-08-12 18:28 ` pinskia at gcc dot gnu dot org 2010-08-12 18:32 ` rogerio at rilhas dot com 2010-08-12 18:39 ` rogerio at rilhas dot com 2010-08-12 18:56 ` matz at gcc dot gnu dot org 2010-08-13 12:14 ` rogerio at rilhas dot com 2010-08-13 13:00 ` matz at gcc dot gnu dot org 2010-08-13 13:14 ` matz at gcc dot gnu dot org 2010-08-13 13:32 ` paolo dot carlini at oracle dot com 2010-08-13 14:47 ` rogerio at rilhas dot com 2010-08-13 14:48 ` rogerio at rilhas dot com 2010-08-13 14:53 ` rogerio at rilhas dot com 2010-08-13 15:18 ` matz at gcc dot gnu dot org 2010-08-13 15:26 ` matz at gcc dot gnu dot org 2010-08-13 16:28 ` rogerio at rilhas dot com 2010-08-13 16:30 ` rogerio at rilhas dot com 2010-08-13 16:33 ` redi at gcc dot gnu dot org 2010-08-13 16:42 ` rogerio at rilhas dot com 2010-08-13 18:00 ` ubizjak at gmail dot com 2010-08-13 21:16 ` rogerio at rilhas dot com 2010-08-13 22:38 ` redi at gcc dot gnu dot org 2010-08-13 22:40 ` redi at gcc dot gnu dot org 2010-08-14 1:26 ` matz at gcc dot gnu dot org 2010-08-14 13:18 ` rogerio at rilhas dot com 2010-08-14 13:55 ` redi at gcc dot gnu dot org 2010-08-14 14:25 ` redi at gcc dot gnu dot org 2010-08-14 14:32 ` rogerio at rilhas dot com [this message] 2010-08-14 14:34 ` rogerio at rilhas dot com 2010-08-14 15:09 ` redi at gcc dot gnu dot org 2010-08-14 16:02 ` rogerio at rilhas dot com 2010-08-14 17:11 ` redi 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=20100814143200.30564.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).