Re: binary integer constants in gcc

2013-06-25 Thread Jonathan Gray
On Fri, Jun 21, 2013 at 10:20:01AM +0200, Mark Kettenis wrote: Date: Fri, 21 Jun 2013 17:31:39 +1000 From: Jonathan Gray j...@jsg.id.au Both gcc and clang have an extension for binary integer constants. In gcc's case this has been around since 4.3. The mesa backend for newer intel

binary integer constants in gcc

2013-06-21 Thread Jonathan Gray
Both gcc and clang have an extension for binary integer constants. In gcc's case this has been around since 4.3. The mesa backend for newer intel parts (i965) assumes this extension is present in recent versions. Below is a diff to add support for this to our in tree gcc4. While the i965

Re: binary integer constants in gcc

2013-06-21 Thread Landry Breuil
On Fri, Jun 21, 2013 at 10:20:01AM +0200, Mark Kettenis wrote: Date: Fri, 21 Jun 2013 17:31:39 +1000 From: Jonathan Gray j...@jsg.id.au Both gcc and clang have an extension for binary integer constants. In gcc's case this has been around since 4.3. The mesa backend for newer intel

Re: binary integer constants in gcc

2013-06-21 Thread Mark Kettenis
Date: Fri, 21 Jun 2013 10:50:42 +0200 From: Landry Breuil lan...@rhaalovely.net On Fri, Jun 21, 2013 at 10:20:01AM +0200, Mark Kettenis wrote: Well, lots of ports stuff is compiled with newer gcc versions anyway. Actually, not so many: $echo select count(*) from modules where

Re: binary integer constants in gcc

2013-06-21 Thread Marc Espie
On Fri, Jun 21, 2013 at 11:03:16AM +0200, Mark Kettenis wrote: Date: Fri, 21 Jun 2013 10:50:42 +0200 From: Landry Breuil lan...@rhaalovely.net On Fri, Jun 21, 2013 at 10:20:01AM +0200, Mark Kettenis wrote: Well, lots of ports stuff is compiled with newer gcc versions anyway.

Re: binary integer constants in gcc

2013-06-21 Thread David Coppa
On Fri, Jun 21, 2013 at 1:03 PM, Stuart Henderson st...@openbsd.org wrote: only for sparc64: net/rtorrent Yes, this is due to a gcc bug: https://github.com/rakshasa/rtorrent/issues/28

Re: binary integer constants in gcc

2013-06-21 Thread Brian Callahan
On 6/21/2013 7:03 AM, Stuart Henderson wrote: ICE with base gcc (lacking info about arch etc) audio/mscore For completeness, the ICE was on amd64: [ 11%] Building CXX object singleapp/src/CMakeFiles/qtsingleapp.dir/moc_qtsingleapplication.cxx.o command-line:0: internal compiler error: