[Bug c++/44796] segfault with variable named 'xor' (Apple-gcc-4.2.1)
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-07-03 10:49 --- Works on any FSF release (xor is a reserved keyword in C++). g++-4.2 -S t.C t.C: In function 'int main(int, char**)': t.C:2: error: expected unqualified-id before '^' token You have to report this to apple instead. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44796
[Bug c++/44796] segfault with variable named 'xor' (Apple-gcc-4.2.1)
--- Comment #2 from manu at gcc dot gnu dot org 2010-07-03 19:01 --- Shouldn't Apple have their own bugurl? Perhaps we should add some short sentence in bugs.html about NOT reporting Apple bugs to us (anyway their compiler version is too old to be interesting for us). -- manu at gcc dot gnu dot org changed: What|Removed |Added CC||manu at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44796
[Bug c++/44796] segfault with variable named 'xor' (Apple-gcc-4.2.1)
--- Comment #3 from wolfgang dot plaschg at gmail dot com 2010-07-03 20:34 --- (In reply to comment #2) Shouldn't Apple have their own bugurl? Perhaps we should add some short sentence in bugs.html about NOT reporting Apple bugs to us (anyway their compiler version is too old to be interesting for us). Thanks for you comments. I've report it to Apple also. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44796
[Bug c++/44796] segfault with variable named 'xor' (Apple-gcc-4.2.1)
--- Comment #4 from steven at gcc dot gnu dot org 2010-07-03 22:03 --- FWIW: Apple should have its own bugurlMacPro:~ stevenb$ uname -a Darwin MacPro.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 MacPro:~ stevenb$ gcc --version i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. MacPro:~ stevenb$ g++ --version i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. MacPro:~ stevenb$ gcc t.c MacPro:~ stevenb$ g++ t.c t.c: In function 'int main(int, char**)': t.c:2: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://developer.apple.com/bugreporter for instructions. MacPro:~ stevenb$ Note that Apple *does* have its own bug URL. To the original poster: You should not take any Apple bugs here. Apple have their own, heavily patched GCC. Their GCC has nothing to do with the official FSF GCC, and Apple has abandoned the GCC community completely. So we cannot help you with Apple GCC bugs... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44796