Re: Time for GCC 5.0? (TIC)

2012-11-09 Thread NightStrike
On Mon, Nov 5, 2012 at 11:21 PM, Jonathan Wakely wrote: > On 6 November 2012 09:16, Florian Weimer wrote: > > On 11/06/2012 07:06 AM, Jeff Law wrote: > > > >> I tend to agree that major version number bumps ought to be tied to > >> major user-visible changes. > > Or a new ABI for libstdc++, I gue

Re: What is wrong in this code?

2012-11-09 Thread Ian Lance Taylor
On Fri, Nov 9, 2012 at 12:34 PM, Angelo Graziosi wrote: > > $ cat foo01.cc > #include "foo.hh" > > MYCLASS_INSTANTIATE_TYPES > > $ cat foo02.cc > #include "foo.hh" > > MYCLASS_INSTANTIATE_TYPES > > $ cat foo.hh > > #define MYCLASS_INSTANTIATE(g) g(int) > > #define MYCLASS_INSTANTIATE_BASE(type) \

Re: Time for GCC 5.0? (TIC)

2012-11-09 Thread Paolo Bonzini
Il 06/11/2012 03:43, DJ Delorie ha scritto: > Ian Lance Taylor writes: >> > Also the fact that GCC is now written in C++ seems to me to be >> > deserving of a bump to 5.0. > I see no reason why an internal design change that has no user visible > effects should have any impact on the version numbe

Re: the struggle to create a 64-bit gcc on Solaris 10

2012-11-09 Thread Dennis Clarke
> > nope. Been there .. done that and that fails badly .. in fact worse > than > > before : > > Yet this is the standard way and works flawlessly if done correctly... I can not see my error here and am wondering what the issue is. > > However I am way way open to suggestion here. > > You ne

Re: the struggle to create a 64-bit gcc on Solaris 10

2012-11-09 Thread Eric Botcazou
> nope. Been there .. done that and that fails badly .. in fact worse than > before : Yet this is the standard way and works flawlessly if done correctly... > However I am way way open to suggestion here. You need to configure everything with --build=sparc64-sun-solaris2.10 and compile everythi

gcc-4.6-20121109 is now available

2012-11-09 Thread gccadmin
Snapshot gcc-4.6-20121109 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20121109/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: the struggle to create a 64-bit gcc on Solaris 10

2012-11-09 Thread Dennis Clarke
> > Any pointers at all as to the error of my ways ? > > http://gcc.gnu.org/install/specific.html#sparc64-x-solaris2 nope. Been there .. done that and that fails badly .. in fact worse than before : Configure .. look good but lies : $ ../gcc-4.7.2/configure --build=sparc64-sun-solaris2.10

Re: the struggle to create a 64-bit gcc on Solaris 10

2012-11-09 Thread Eric Botcazou
> Any pointers at all as to the error of my ways ? http://gcc.gnu.org/install/specific.html#sparc64-x-solaris2 -- Eric Botcazou

Re: [rant?] g++ bug (missing uninitialized warning), bug reporting, bug searching

2012-11-09 Thread Bruno Nery
A good reason, stopping spammers - but why not allow a generic (e.g. Google/Facebook/StackOverflow)/OpenID login? As the original poster of that thread, I don't like to have to keep track of accounts (and passwords) only for posting one bug. Also, CAPTCHAs might be an option - or changing to a bug

Re: [rant?] g++ bug (missing uninitialized warning), bug reporting, bug searching

2012-11-09 Thread Oleg Endo
On Fri, 2012-11-09 at 13:22 -0800, Bruno Nery wrote: > Twenty two might be a more manageable number, but still... why do we > need an account to report a bug? This issue has been raised just recently on the gcc-help mailing list. See the thread: http://gcc.gnu.org/ml/gcc-help/2012-10/threads.html#

Re: [rant?] g++ bug (missing uninitialized warning), bug reporting, bug searching

2012-11-09 Thread Bruno Nery
Twenty two might be a more manageable number, but still... why do we need an account to report a bug? -- Bruno Nery On Fri, Nov 9, 2012 at 12:36 PM, Oleg Endo wrote: > Hello, > > On Fri, 2012-11-09 at 12:18 -0800, Bruno Nery wrote: >> Howdy, >> >> The following piece of code: >> >> === snip ===

Re: [rant?] g++ bug (missing uninitialized warning), bug reporting, bug searching

2012-11-09 Thread Bruno Nery
-Winit-self doesn't report it either (at least in g++ 4.7). -- Bruno Nery On Fri, Nov 9, 2012 at 12:32 PM, Xinliang David Li wrote: > GCC has the -Winit-self warning. > > David > > On Fri, Nov 9, 2012 at 12:18 PM, Bruno Nery wrote: >> Howdy, >> >> The following piece of code: >> >> === snip ==

Re: [rant?] g++ bug (missing uninitialized warning), bug reporting, bug searching

2012-11-09 Thread Oleg Endo
Hello, On Fri, 2012-11-09 at 12:18 -0800, Bruno Nery wrote: > Howdy, > > The following piece of code: > > === snip === > #include > > struct warnme > { > bool member_; > warnme(bool member) : member_(member_) {} > }; > > int main() > { > warnme wm(true); > std::cout << wm.memb

Re: [rant?] g++ bug (missing uninitialized warning), bug reporting, bug searching

2012-11-09 Thread Lars Gullik Bjønnes
Bruno Nery writes: | Howdy, > | The following piece of code: > | === snip === | #include > | struct warnme | { | bool member_; | warnme(bool member) : member_(member_) {} | }; > | int main() | { | warnme wm(true); | std::cout << wm.member_ << std::endl; | return 0; | } | ===

What is wrong in this code?

2012-11-09 Thread Angelo Graziosi
Dear All, I have found a build problem with an application which I have reduced to the following test case: $ cat foomain.cc // // g++ foomain.cc foo01.cc foo02.cc -o foo.out // // g++ -c foomain.cc // g++ -c foo01.cc // g++ -c foo02.cc // // g++ foomain.o foo01.o foo02.o -o foo.out // int main(

Re: [rant?] g++ bug (missing uninitialized warning), bug reporting, bug searching

2012-11-09 Thread Xinliang David Li
GCC has the -Winit-self warning. David On Fri, Nov 9, 2012 at 12:18 PM, Bruno Nery wrote: > Howdy, > > The following piece of code: > > === snip === > #include > > struct warnme > { > bool member_; > warnme(bool member) : member_(member_) {} > }; > > int main() > { > warnme wm(true)

[rant?] g++ bug (missing uninitialized warning), bug reporting, bug searching

2012-11-09 Thread Bruno Nery
Howdy, The following piece of code: === snip === #include struct warnme { bool member_; warnme(bool member) : member_(member_) {} }; int main() { warnme wm(true); std::cout << wm.member_ << std::endl; return 0; } === end snip === when compiled with g++ 4.7, gives me no war

the struggle to create a 64-bit gcc on Solaris 10

2012-11-09 Thread Dennis Clarke
I have been trying repeatedly and in incrementally more rewarding stages towards building a purely 64-bit GCC compiler on Solaris 10 sparc. I have no need for the 32-bit libs at all and my entire toolchain is 64-bit only. There are no 32-bit libs in /usr/local/lib nor do there need to be. Thus