Re: libgo patch committed: Update to Go 1.5 release

2015-11-01 Thread Andreas Schwab
../../../../libgo/go/syscall/exec_linux.go:185:37: error: reference to undefined name 'TIOCSPGRP' _, err1 = raw_ioctl_ptr(sys.Ctty, TIOCSPGRP, unsafe.Pointer()) ^ $ grep TIOCSPGRP gen-sysinfo.go // unknowndefine TIOCSPGRP _IOW('t', 118, int) Andreas. --

[PATCH] Pr fortran/68153 -- Enhance checking of RESHAPE shape arg

2015-11-01 Thread Steve Kargl
The attached patch enhances the check of the shape argument when it is a named constant. See the testcase for example. Built and regression tested on i386-*-freebsd. OK to commit? 2015-11-01 Steven G. Kargl PR fortran/68153 * check.c (gfc_check_reshape):

Re: [PATCH][ARM] PR target/67929 Tighten vfp3_const_double_for_bits checks

2015-11-01 Thread Yvan Roux
Hi Kyrill, On 27 October 2015 at 13:08, Ramana Radhakrishnan wrote: > On Wed, Oct 14, 2015 at 1:23 PM, Kyrill Tkachov > wrote: >> Hi all, >> >> This patch fixes the referenced PR by rewriting the >> vfp3_const_double_for_bits function in arm.c

[PATCH, 2/2] Handle recursive restrict in function parameter

2015-11-01 Thread Tom de Vries
On 01/11/15 19:03, Tom de Vries wrote: So, the new patch series is: 1Rename make_restrict_var_constraints to make_param_constraints 2Handle recursive restrict in function parameter I'll repost in reply to this message. This patch adds handling of all the restrict

Re: [PATCH, 3/6] Add recursion to make_param_constraints

2015-11-01 Thread Tom de Vries
On 01/11/15 19:03, Tom de Vries wrote: So, the new patch series is: 1Rename make_restrict_var_constraints to make_param_constraints 2Handle recursive restrict in function parameter I'll repost in reply to this message. This no-functional-changes patch: - moves the one

Re: [PATCH] Fix declaration of pthread-structs in s-osinte-rtems.ads

2015-11-01 Thread Joel Sherrill
On 10/31/2015 10:47 AM, Jan Sommer wrote: Hi, This patch changes the Ada-declaration of the pthread-related structs such as pthread_attr_t from a field-equivalent declaration to just reserving the right amount of memory. It is only rtems related and essentially copies the way how the types

[PATCH 9/9] ENABLE_CHECKING refactoring: C family front ends

2015-11-01 Thread Mikhail Maltsev
Hi all! This patch was intended to be the last one in this series (but I'll send one more cleanup patch today). It removes ENABLE_CHECKING macros in the C++ front end (and also touches a small piece of common C family code in OpenMP). I could convert most of "#ifdef ENABLE_CHECKING" conditions

Allow matching of side effects in operand_equal_p

2015-11-01 Thread Jan Hubicka
Hi, this patch adds OEP_MATCH_SIDE_EFFECT to tell operand_equal_p that the two operands compared are from different code paths and thus they can be matched even if they have side effects. I.e. volatile int a; if (a==a) has two reads and thus can't be optimized (I guess), while b?a:a can be

[PATCH 10/9] ENABLE_CHECKING refactoring: remove remaining occurrences

2015-11-01 Thread Mikhail Maltsev
This patch cleans up remaining bits related to ENABLE_CHECKING. After applying this patch (on top of part 9) we will no longer have any references to ENABLE_CHECKING in the source code. Bootstrapped and regtested (on top of part 9) on x86_64-pc-linux-gnu with --enable-checking=yes and

Go patch committed: Traverse types of call expression

2015-11-01 Thread Ian Lance Taylor
GCC PR 67968 provides a test case that causes a gccgo crash. The crash is because the compiler failed to build the hash and equality functions required for a type descriptor. The descriptor is for an unnamed type that is being returned by a function imported from a different package. The

Re: [PATCH 4/4] Add -Wmisleading-indentation to -Wall

2015-11-01 Thread Patrick Palka
On Fri, Oct 30, 2015 at 5:03 AM, Richard Biener wrote: > On Thu, Oct 29, 2015 at 6:38 PM, Jeff Law wrote: >> On 10/29/2015 10:49 AM, David Malcolm wrote: >>> >>> Our documentation describes -Wall as enabling "all the warnings about >>> constructions

Re: [PATCH, 3/6] Add recursion to make_param_constraints

2015-11-01 Thread Tom de Vries
On 27/10/15 13:56, Tom de Vries wrote: On 27/10/15 13:24, Tom de Vries wrote: Thinking it over a bit more, I realized the constraint handling started to be messy. I've reworked the patch series to simplify that first. 1Simplify constraint handling 2Rename

[PATCH, testsuite]: Improve gcc.target/i386/pr67609-2.c SSE2 runtime test

2015-11-01 Thread Uros Bizjak
Hello! Attached patch improves pr67609-2.c testcase with the SSE2 runtime test framework. 2015-11-01 Uros Bizjak * gcc.target/i386/pr67609-2.c: Include sse2-check.h. (sse2_test): Rename from main. Do not return 0. Tested on x86_64-linux-gnu {,-m32} and committed

Re: libgo patch committed: Update to Go 1.5 release

2015-11-01 Thread Ian Lance Taylor
On Sun, Nov 1, 2015 at 1:39 AM, Andreas Schwab wrote: > ../../../../libgo/go/syscall/exec_linux.go:185:37: error: reference to > undefined name 'TIOCSPGRP' >_, err1 = raw_ioctl_ptr(sys.Ctty, TIOCSPGRP, unsafe.Pointer()) > ^ > > $

[PATCH] PR fortran/68151 -- Check CASE selector for valid type

2015-11-01 Thread Steve Kargl
The attach patch add checking for a valid type during matching of a CASE selector. Built and regression tested on i386-*-freebsd. OK to commit? 2015-11-01 Steven G. Kargl PR fortran/68151 * match.c (match_case_selector): Check for invalid type.

Re: libgo patch committed: Update to Go 1.5 release

2015-11-01 Thread Ian Lance Taylor
On Sun, Nov 1, 2015 at 1:39 AM, Andreas Schwab wrote: > ../../../../libgo/go/syscall/exec_linux.go:185:37: error: reference to > undefined name 'TIOCSPGRP' >_, err1 = raw_ioctl_ptr(sys.Ctty, TIOCSPGRP, unsafe.Pointer()) > ^ > > $

[PATCH] Fix vms targets

2015-11-01 Thread Jeff Law
The header reduction didn't seem to handle the vms targets correctly. This reverts that part of Andrew's patch which allows the alpha, alpha64 and ia64 vms targets to build again. Installed on the trunk. That covers all the fallout from standard builds of config-list.mk that I'm aware of.

Re: [patch] New 'all' front end header reduction

2015-11-01 Thread Jeff Law
On 10/30/2015 07:37 AM, Andrew MacLeod wrote: OK, here's the much delayed front end reduction patch based on the reordering already being checked in. I discovered that my targets builds were only building c/c++, so the other languages were being reduced based only on the host

Re: [patch] New backend header reduction

2015-11-01 Thread Thomas Schwinge
Hi! "Hooray for the C programming language's module system"... ;-) On Fri, 23 Oct 2015 12:53:40 -0400, Andrew MacLeod wrote: > Just finished running... I think the external hard drive was slowing > down this run :-P It took quite a while. > > Anyway, this is the

[PATCH] Fix mcore-elf builds

2015-11-01 Thread Jeff Law
Something must have changed as mcore-elf isn't building because mcore.c doesn't have access to reg_renumber via regs.h. Fixed in the obvious way and verified that mcore-elf builds again. Jeff commit dc49c8409d2ed0ee53618fc334c7c72401550992 Author: Jeff Law Date: Sun Nov

Re: [PATCH 0/2] Levenshtein-based suggestions (v3)

2015-11-01 Thread Jeff Law
On 10/30/2015 06:47 AM, David Malcolm wrote: The typename suggestion seems to be at least somewhat controversial, whereas (I hope) the misspelled field names suggestion is more acceptable. Hence I'm focusing on the field name lookup for now; other uses of the algorithm (e.g. the typename

[PATCH] Avoid ssa-thread-11.c on various targets

2015-11-01 Thread Jeff Law
This test is sensitive to the branch costing on the target. The target selector ought to be fairly accurate now. Installed on the trunk. Jeff commit 3659591cfec9c1a0b84ce6a076bf3b398a4dea66 Author: law Date: Mon Nov 2 05:59:19 2015 +

Re: [wwwdocs] GCC 6 Release Notes for RTEMS

2015-11-01 Thread Sebastian Huber
Hello Gerald, On 31/10/15 21:36, Gerald Pfeifer wrote: Hi Sebastian, what do you think about the follow-up patch below, on top of your original patch? thanks for the style changes. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89