Re: whereis asm_nodes? how to migrate it for GCC v6.x?

2017-07-06 Thread Leslie Zhai
Hi Segher, Thanks for your kind response! 在 2017年07月05日 18:52, Segher Boessenkool 写道: Hi Leslie, On Wed, Jul 05, 2017 at 05:36:15PM +0800, Leslie Zhai wrote: There was extern GTY(()) struct asm_node *asm_nodes; for GCC v4.x, but how to migrate it for v6.x? there is no asm_nodes deprecated l

Re: RFC: Add ___tls_get_addr

2017-07-06 Thread Szabolcs Nagy
On 05/07/17 17:18, H.J. Lu wrote: > On Wed, Jul 5, 2017 at 8:53 AM, Szabolcs Nagy wrote: >> On 05/07/17 16:38, H.J. Lu wrote: >>> On x86-64, __tls_get_addr has to realigns stack so that binaries compiled by >>> GCCs older than GCC 4.9.4: >>> >>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58066 >

Re: Getting spurious FAILS in testsuite?

2017-07-06 Thread Georg-Johann Lay
On 08.06.2017 23:33, Andrew Pinski wrote: On Thu, Jun 8, 2017 at 2:25 PM, Jeff Law wrote: On 06/08/2017 04:24 AM, Christophe Lyon wrote: On 8 June 2017 at 11:57, Georg-Johann Lay wrote: On 05.06.2017 18:25, Jim Wilson wrote: On 06/01/2017 05:59 AM, Georg-Johann Lay wrote: Hi, when I am r

How to migrate TODO_verify_ssa | TODO_verify_flow | TODO_verify_stmts for GCC v6.x?

2017-07-06 Thread Leslie Zhai
Hi GCC developers, As ChangeLog-2014 mentioned, tree-pass.h (TODO_verify_ssa, TODO_verify_flow, TODO_verify_stmts...): Remove. When I am trying to migrate: static struct rtl_opt_pass pass_rtl_emit_function = { { RTL_PASS, "rtl_emit_function", /* name */ #if (GCC_MINOR >= 8) OPTGR

Re: RFC: Add ___tls_get_addr

2017-07-06 Thread H.J. Lu
On Thu, Jul 6, 2017 at 1:06 AM, Szabolcs Nagy wrote: > On 05/07/17 17:18, H.J. Lu wrote: >> On Wed, Jul 5, 2017 at 8:53 AM, Szabolcs Nagy wrote: >>> On 05/07/17 16:38, H.J. Lu wrote: On x86-64, __tls_get_addr has to realigns stack so that binaries compiled by GCCs older than GCC 4

Re: RFC: Add ___tls_get_addr

2017-07-06 Thread Carlos O'Donell
On 07/05/2017 12:02 PM, Rich Felker wrote: > Note that if you make the change and have gcc generate calls to the > new ___tls_get_addr symbol, it's going to be problematic for people > trying to link to older glibc versions that don't have it. This is a normal problem to have, and there are soluti

Re: RFC: Add ___tls_get_addr

2017-07-06 Thread Rich Felker
On Thu, Jul 06, 2017 at 04:06:55AM -0700, H.J. Lu wrote: > > or there are cases when libraries built against > > one libc is used with another (e.g. musl can > > mostly use a libstdc++ compiled against glibc > > on x86_64) > > This happens every time when a new version of a function > is added to

gcc-7-20170706 is now available

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

Re: How to migrate TODO_verify_ssa | TODO_verify_flow | TODO_verify_stmts for GCC v6.x?

2017-07-06 Thread Leslie Zhai
在 2017年07月06日 17:02, Leslie Zhai 写道: Hi GCC developers, As ChangeLog-2014 mentioned, tree-pass.h (TODO_verify_ssa, TODO_verify_flow, TODO_verify_stmts...): Remove. When I am trying to migrate: static struct rtl_opt_pass pass_rtl_emit_function = { { RTL_PASS, "rtl_emit_function",