[wwwdocs] Document SPARC changes

2017-01-13 Thread Eric Botcazou
Applied. -- Eric BotcazouIndex: htdocs/gcc-7/changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-7/changes.html,v retrieving revision 1.37 diff -u -r1.37 changes.html --- htdocs/gcc-7/changes.html 11 Jan 2017 16:28:52 - 1.37 +

[committed] Don't suppress bogus usage of macros from system headers in -Wformat (PR c/78304)

2017-01-13 Thread David Malcolm
c-lex.c: lex_string uses cpp_get_token rather than cpp_get_token_with_location, and hence the C family of frontends record the physical locations of tokens in string concatenations, rather than the virtual locations, discarding any macro expansion information. The resulting *tree* node from the co

Re: [PATCH] PR 78534 Change character length from int to size_t

2017-01-13 Thread David Edelsohn
On Fri, Jan 13, 2017 at 12:09 PM, Janne Blomqvist wrote: > On Thu, Jan 12, 2017 at 10:46 AM, FX wrote: >>> I was finally able to get a 32-bit i686 compiler going (my attempts to >>> do this on a x86_64-pc-linux-gnu host failed, in the end I resorted to >>> running 32-bit builds/tests on a i686 co

[PATCH, i386] Improve and fix ix86_target_string debugging, add missing opts (and fix -msgx option)

2017-01-13 Thread Uros Bizjak
Hello! Attached patch significantly improves ix86_target_string_debugging: - displays missing options in isa2 bitmpap - adds missing options (also to the testcase) - renames internal variables to more sensible names - fixes comment about option order - orders options to what the comment really de

Re: [PATCH][AArch64 - v3] Simplify eh_return implementation

2017-01-13 Thread Wilco Dijkstra
James Greenhalgh wrote: > I've been putting off reviewing this patch for a while now, because I don't > understand enough about the current eh_return code to understand why what > you're proposing is correct. > > The best way to progress this patch would be to go in to more detail as to > what the

Re: [PATCH 2/6] RISC-V Port: gcc

2017-01-13 Thread Andrew Waterman
On Thu, Jan 12, 2017 at 2:30 PM, Joseph Myers wrote: > On Wed, 11 Jan 2017, Palmer Dabbelt wrote: > >> +static void >> +riscv_parse_arch_string (const char *isa, int *flags) > > This should be passed the location from riscv_handle_option... > >> + error ("-march=%s: ISA string must begin with

Re: [libcc1] add support for C++

2017-01-13 Thread Jason Merrill
Again, sorry for the delay, and thank you for the continued pings. Did you see my earlier review of the dwarf2out changes? On 09/23/2016 08:41 PM, Alexandre Oliva wrote: +/* Scopes (functions, classes, or templates) in the TREE_VALUE of + GLOBAL_FRIEND_LIST are regarded as friends of every c

[PATCH] system.h: Poison strndup (PR bootstrap/78616)

2017-01-13 Thread David Malcolm
This patch poisons strndup (in system.h), as requested in the discussion of PR bootstrap/78616. Successfully bootstrapped®rtested on x86_64-pc-linux-gnu. OK for trunk? gcc/ChangeLog: PR bootstrap/78616 * system.h: Poison strndup. --- gcc/system.h | 3 ++- 1 file changed, 2 inser

Re: [PATCH] BRIG frontend: request for a global review

2017-01-13 Thread Richard Biener
On January 13, 2017 4:43:30 PM GMT+01:00, "Pekka Jääskeläinen" wrote: >Hi Richard, > >Thanks for the review! Replies/questions inline. > >On Fri, Jan 13, 2017 at 2:28 PM, Richard Biener > wrote: >> On Thu, Jan 12, 2017 at 3:55 PM, Pekka Jääskeläinen > wrote: >>> Hi, >>> >>> A gentle ping... >> >>

Re: [PATCH] C++: fix fix-it hints for misspellings within explicit namespaces

2017-01-13 Thread David Malcolm
On Wed, 2017-01-04 at 14:58 -0500, Jason Merrill wrote: > On Tue, Jan 3, 2017 at 8:28 PM, David Malcolm > wrote: > > PR c++/77829 and PR c++/78656 identify an issue within the C++ > > frontend > > where it issues nonsensical fix-it hints for misspelled name > > lookups > > within an explicitly giv

Re: [PATCH 1/2] [msp430] Remove source files from libmul archives

2017-01-13 Thread DJ Delorie
Committed. Thanks!

[PATCH, rs6000] Fix for test_ne_int() built-in test case.

2017-01-13 Thread Carl E. Love
GCC maintainers: The following patch fixes an issue with the builtin test test_ne_long(). The issue is the arguments need to be "bool long long" not "bool long" to get the correct 64-bit value when running in 32-bit mode. The patch has been tested on: powerpc64-unknown-linux-gnu (Power 7 64-bit,

Re: [C++ Patch] PR 71737

2017-01-13 Thread Paolo Carlini
Hi, On 13/01/2017 18:33, Jason Merrill wrote: On Fri, Jan 13, 2017 at 11:42 AM, Paolo Carlini wrote: Hi, On 13/01/2017 15:51, Nathan Sidwell wrote: On 01/13/2017 09:45 AM, Paolo Carlini wrote: Hi, in this error recovery issue get_underlying_template crashes when TYPE_TEMPLATE_INFO_MAYBE_AL

Re: [PATCH] PR 78534 Change character length from int to size_t

2017-01-13 Thread Jerry DeLisle
On 01/13/2017 11:46 AM, David Edelsohn wrote: > On Fri, Jan 13, 2017 at 12:09 PM, Janne Blomqvist > wrote: >> On Thu, Jan 12, 2017 at 10:46 AM, FX wrote: I was finally able to get a 32-bit i686 compiler going (my attempts to do this on a x86_64-pc-linux-gnu host failed, in the end I res

libgo patch committed: Update to Go1.8rc1

2017-01-13 Thread Ian Lance Taylor
I committed a patch to libgo to update the library to the first release candidate of the upcoming Go 1.8 release. This is a big update, mostly a straight copy of the code in the master Go library. I made the following changes to the Go frontend to correspond to changes in the runtime library: *

[PATCH, MIPS] Target flag and build option to disable indexed memory OPs.

2017-01-13 Thread Doug Gilmore
I recently bisected PR78176 to problems introduced with r21650. Given the short time until the release, we would like to provide a target flag and build option to avoid the bug until we are able to resolve the problem with the commit. Note that as Matthew Fortune has mentioned in the PR: https:

Go patch committed: Preliminary support for type aliases

2017-01-13 Thread Ian Lance Taylor
This patch to the Go frontend adds preliminary support for type aliases. Type aliases are a feature proposed for Go 1.9, which will come out in August. I'm adding this to gccgo now so that the feature is available in GCC 7 in case people start using it with Go 1.9. It is possible that the langua

Fix ppc64le bootstrap comparison failure

2017-01-13 Thread Jeff Law
Given a block with more than one dead store, one of which is the last statement in the block, the existence debugging statements can change the generated code which is of course bad. The problem is when I moved the code to delete the dead statement into its own function, I passed in the sta

<    1   2