Re: [PATCH] gcc/doc: list what version each attribute was introduced in

2017-07-12 Thread Sandra Loosemore
On 07/06/2017 07:25 AM, Daniel P. Berrange wrote: There are several hundred named attribute keys that have been introduced over many GCC releases. Applications typically need to be compilable with multiple GCC versions, so it is important for developers to know when GCC introduced support for

Re: [PATCH v10] add -fpatchable-function-entry=N,M option

2017-07-05 Thread Sandra Loosemore
On 07/05/2017 01:36 AM, Torsten Duwe wrote: Changes since v9: * Do not store (declare static) the nop pattern template string. In the future, it might depend on the particular function being emitted. Fetch it freshly each time instead. * On platforms without named sections, simply omit

Re: [Doc, AArch64] Fix/Update AArch64 options.

2017-06-29 Thread Sandra Loosemore
On 06/28/2017 01:28 AM, Yvan Roux wrote: Hi Sandra, [snip] OK, here is the new patch with the comments addressed. I've spotted that there is also some m / -mno options at least in the ARM section, I'll make another patch to fix that. This version looks fine. Thanks for taking care of

Re: [Doc, AArch64] Fix/Update AArch64 options.

2017-06-27 Thread Sandra Loosemore
On 06/27/2017 06:19 AM, Yvan Roux wrote: diff --git a/gcc/config/aarch64/aarch64.opt b/gcc/config/aarch64/aarch64.opt index 942a7d5..0fd1bfa 100644 --- a/gcc/config/aarch64/aarch64.opt +++ b/gcc/config/aarch64/aarch64.opt @@ -146,7 +146,7 @@ EnumValue Enum(aarch64_abi) String(lp64)

Re: [PATCH try 2 resend] [i386] Remove warnings for ignoring -mcall-ms2sysv-xlogues.

2017-06-12 Thread Sandra Loosemore
On 06/11/2017 02:35 PM, Daniel Santos wrote: diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index c1168823af7..eec02b43a4f 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -25389,11 +25389,26 @@ using the function attributes @code{ms_abi} and @code{sysv_abi}. @opindex

Re: [PATCH v8] add -fpatchable-function-entry=N,M option

2017-06-12 Thread Sandra Loosemore
On 06/06/2017 03:49 AM, Torsten Duwe wrote: On Sun, Jun 04, 2017 at 08:12:49PM -0600, Sandra Loosemore wrote: On 05/29/2017 04:29 AM, Maxim Kuvyrkov wrote: diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 65308c9d933..6cbb77a8dc4 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc

Re: [PATCH v8] add -fpatchable-function-entry=N,M option

2017-06-04 Thread Sandra Loosemore
On 05/29/2017 04:29 AM, Maxim Kuvyrkov wrote: diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 65308c9d933..6cbb77a8dc4 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -11382,6 +11382,32 @@ of the function name, it is considered to be a match. For C99 and C++

Re: [PATCH doc] update documentation of x86 -mcx16 option

2017-06-04 Thread Sandra Loosemore
On 05/26/2017 12:48 PM, Alexander Monakov wrote: Hi, This patch fixes a few issues in documentation of -mcx16 x86 backend option: - remove implementor-speak ('oword') - mention alignment restriction and availability only in 64-bit mode - improve usage example existing documentation uses a

Re: [PATCH] Match x86 family machine constraints section with constarints.md

2017-05-23 Thread Sandra Loosemore
On 04/28/2017 03:30 AM, Peryt, Sebastian wrote: Hi, Thank you for your comments. I edited my patch accordingly. As for some of your doubts: - REX is the opcode prefix to access 64-bit register extensions introduced in IA-32e mode. - EVEX is the encoding prefix which applies to SIMD operating

Re: [wwwdocs] grammar & style fixes for /gcc-7/changes.html

2017-05-02 Thread Sandra Loosemore
On 05/02/2017 07:52 AM, Jonathan Wakely wrote: This is the result of proofreading the release notes for GCC 7. Some are obvious fixes for simple typos, but I've also tried to improve the clarity of some text. Please take a look and let me know if you disagree with any changes. Overall this is

Re: [PATCH] RISC-V: Add -mstrict-align option

2017-05-01 Thread Sandra Loosemore
On 05/01/2017 09:40 AM, Palmer Dabbelt wrote: [snip] diff --git a/gcc/config/riscv/riscv.opt b/gcc/config/riscv/riscv.opt index 0466bb2..0422e07 100644 --- a/gcc/config/riscv/riscv.opt +++ b/gcc/config/riscv/riscv.opt @@ -84,6 +84,10 @@ mcmodel= Target Report RejectNegative Joined

Re: [PATCH 05/12] [i386] Add option -mcall-ms2sysv-xlogues

2017-04-27 Thread Sandra Loosemore
On 04/27/2017 02:09 AM, Daniel Santos wrote: @@ -25308,6 +25308,17 @@ You can control this behavior for specific functions by using the function attributes @code{ms_abi} and @code{sysv_abi}. @xref{Function Attributes}. +@item -mcall-ms2sysv-xlogues +@opindex mcall-ms2sysv-xlogues +@opindex

Re: [PATCH] Match x86 family machine constraints section with constarints.md

2017-04-27 Thread Sandra Loosemore
On 04/26/2017 08:29 AM, Peryt, Sebastian wrote: Hi, This patch updates x86 family machine constraints section in '16.8.5 Constraints for Particular Machines' section to match the ones in 'config/i386/constraints.md'. gcc/ * doc/md.texi (Machine Constraints): Update x86 family machine

Re: [PATCH 2/3] [ARC] Fast interrupts support.

2017-04-25 Thread Sandra Loosemore
On 04/25/2017 07:03 AM, Claudiu Zissulescu wrote: diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index cebafe6..aa5cd27 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -606,7 +606,8 @@ Objective-C and Objective-C++ Dialects}. -mnorm -mspfp -mspfp-compact -mspfp-fast

Re: [PATCH 1/3] [ARC] Automatic context save/restore for regular interrupts.

2017-04-25 Thread Sandra Loosemore
On 04/25/2017 07:03 AM, Claudiu Zissulescu wrote: diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 0eeea7b..cebafe6 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -606,7 +606,7 @@ Objective-C and Objective-C++ Dialects}. -mnorm -mspfp -mspfp-compact -mspfp-fast

Re: [PATCH 3/3] Extend -falign-FOO=N to N[,M[,N2[,M2]]]

2017-04-18 Thread Sandra Loosemore
On 04/18/2017 12:30 PM, Denys Vlasenko wrote: 2017-04-18 Denys Vlasenko * doc/invoke.texi: Update option documentation. [snip] The documentation part of this version is OK. -Sandra

Re: [PATCH 3/3] Extend -falign-FOO=N to N[,M[,N2[,M2]]]

2017-04-17 Thread Sandra Loosemore
On 04/17/2017 09:57 AM, Denys Vlasenko wrote: Index: gcc/doc/invoke.texi === --- gcc/doc/invoke.texi (revision 246948) +++ gcc/doc/invoke.texi (working copy) @@ -351,9 +351,11 @@ Objective-C and Objective-C++ Dialects}. @item

Re: [wwwdocs] Document C++ null pointer constant changes in gcc-7/porting_to.html

2017-04-09 Thread Sandra Loosemore
On 04/07/2017 03:25 AM, Jonathan Wakely wrote: This issue caused a lot of build failures during the GCC mass rebuilds for Fedora, but isn't in the porting to guide yet. Is this accurate and clear enough for casual readers? Index: htdocs/gcc-7/porting_to.html

Re: [PATCH] Add a new type attribute always_alias (PR79671)

2017-04-05 Thread Sandra Loosemore
On 04/05/2017 03:02 PM, Bernd Edlinger wrote: On 04/05/17 19:22, Bernd Edlinger wrote: On 04/05/17 18:08, Jakub Jelinek wrote: Yes, exactly. I really want to reach the deadline for gcc-7. Fixing the name is certainly the most important first step, and if everybody agrees on

Re: [DOC PATCH] PowerPC extended asm example

2017-04-05 Thread Sandra Loosemore
On 04/04/2017 06:14 AM, Alan Modra wrote: Revised patch. [snip] +@smallexample +static void +dgemv_kernel_4x4 (long n, const double *ap, long lda, + const double *x, double *y, double alpha) +@{ + double *a0; + double *a1; + double *a2; + double *a3; + + __asm__ +( +

Re: [DOC PATCH] PowerPC extended asm example

2017-04-01 Thread Sandra Loosemore
On 03/31/2017 07:30 AM, Alan Modra wrote: Some people over at OpenBLAS were asking me whether I knew of a whitepaper on gcc asm. I didn't besides the gcc manual, and wrote a note explaining some tricks. This patch is that note cleaned up. Tested by an x86_64-linux build. OK to apply? The

Re: [patch] Clarify interaction of -Wnarrowing with -std

2017-03-26 Thread Sandra Loosemore
On 03/26/2017 02:13 PM, Gerald Pfeifer wrote: Hi Jonathan, On Tue, 23 Feb 2016, Jonathan Wakely wrote: On 19/02/16 13:17 -0700, Sandra Loosemore wrote: I suppose the patch is OK as it stands, but I was going to suggest restructuring it so that it talks about the default behavior first

Re: [PATCH doc] use "cannot" consistently

2017-03-19 Thread Sandra Loosemore
On 03/15/2017 09:40 AM, Martin Sebor wrote: On 03/15/2017 05:00 AM, Richard Kenner wrote: First, I agree that the less formal language is becoming more acceptable. Some style guides explicitly allow contractions, but others advise against them. The technical specifications that significant

Re: ARC options documentation questions

2017-02-28 Thread Sandra Loosemore
On 02/24/2017 12:20 PM, Claudiu Zissulescu wrote: Hi, Indeed, we are not up to speed regarding updating and cleaning the documentation. On 12/02/2017 05:18, Sandra Loosemore wrote: I noticed a bunch of copy-editing issues in the "ARC Options" section of invoke.texi. I'm willi

Re: Documentation patch related to PR42376

2017-02-27 Thread Sandra Loosemore
On 02/27/2017 03:26 PM, Gerald Pfeifer wrote: On Mon, 11 Jan 2010, Martin Reinecke wrote: thanks for applying the patch! Unfortunately I just noticed some mistakes in my wording :( Currently the sentence says "code [...] may run significantly slower [...] than they did [...]" I'm not a native

Re: [PATCH 4/6] nios2: Fixes for RTL checking

2017-02-24 Thread Sandra Loosemore
On 02/21/2017 12:41 PM, Sandra Loosemore wrote: On 02/21/2017 07:48 AM, Segher Boessenkool wrote: You cannot call REGNO on something that isn't a REG, and you cannot call INTVAL on something that isn't a CONST_INT. The way I fixed nios2_alternate_compare_const is admittedly a bit lame. Yeah

Re: [PATCH 4/6] nios2: Fixes for RTL checking

2017-02-21 Thread Sandra Loosemore
On 02/21/2017 07:48 AM, Segher Boessenkool wrote: You cannot call REGNO on something that isn't a REG, and you cannot call INTVAL on something that isn't a CONST_INT. The way I fixed nios2_alternate_compare_const is admittedly a bit lame. Yeah. :-P 2017-02-21 Segher Boessenkool

Re: [driver, doc] Support escaping special characters in specs

2017-02-21 Thread Sandra Loosemore
On 02/21/2017 06:54 AM, Rainer Orth wrote: Hi Joseph, On Fri, 13 Jan 2017, Rainer Orth wrote: I'm unsure if the patch is large enough to need a copyright assignment (in which case it's almost certainly too late for GCC 7), and even if not if it's appropriate at this point in the release

Ping Re: [patch, doc] copy-edit ARC options documentation

2017-02-19 Thread Sandra Loosemore
On 02/13/2017 11:14 PM, Sandra Loosemore wrote: 2017-02-13 Sandra Loosemore <san...@codesourcery.com> gcc/ * doc/invoke.texi (ARC Options): Copy-edit to fix punctuation, markup, and similar issues. Remove @opindex entries for things that aren't o

Re: [PATCH v6] add -fprolog-pad=N,M option

2017-02-17 Thread Sandra Loosemore
On 02/17/2017 09:57 AM, Torsten Duwe wrote: diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 3d1546a..ef7e985 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -3076,6 +3076,23 @@ that affect more than one function. This attribute should be used for debugging purposes

[doc, committed] Re: Doc question: is "templatized" a word?

2017-02-16 Thread Sandra Loosemore
0:36, Sandra Loosemore wrote: On 02/11/2017 06:21 AM, Jonathan Wakely wrote: On 11 February 2017 at 08:48, Gerald Pfeifer wrote: On Fri, 10 Feb 2017, Sandra Loosemore wrote: The documentation for -Wno-non-template-friend refers to "non-templatized friend functions" and "templ

[patch, doc] copy-edit ARC options documentation

2017-02-13 Thread Sandra Loosemore
On 02/11/2017 09:18 PM, Sandra Loosemore wrote: I noticed a bunch of copy-editing issues in the "ARC Options" section of invoke.texi. I'm willing to take a stab at fixing them, but I need some technical assistance since I'm not familiar with the details of this architecture myself

ARC options documentation questions

2017-02-11 Thread Sandra Loosemore
I noticed a bunch of copy-editing issues in the "ARC Options" section of invoke.texi. I'm willing to take a stab at fixing them, but I need some technical assistance since I'm not familiar with the details of this architecture myself. * In e.g. "Compile for ARC 600 cpu with norm instruction

[doc,committed] "stringification" isn't a real word

2017-02-11 Thread Sandra Loosemore
gizing", respectively. Using made-up words that don't have a well-defined technical meaning could be misleading, besides making the documentation harder to search. So I've fixed everything to uniformly use the standard terminology. -Sandra 2017-02-11 Sandra Loosemore <san...@codeso

[doc, committed] fix a few typos and spelling errors

2017-02-11 Thread Sandra Loosemore
cases I found. -Sandra 2017-02-11 Sandra Loosemore <san...@codesourcery.com> gcc/ * doc/extend.texi: Fix some spelling mistakes and typos. * doc/invoke.texi: Likewise. Index: gcc/doc/extend.texi === --- gcc/doc/exten

Re: [PATCH 2/8] [i386] Add option -moutline-msabi-xlogues

2017-02-10 Thread Sandra Loosemore
On 02/09/2017 09:46 PM, Daniel Santos wrote: On 02/08/2017 05:28 PM, Bernhard Reutner-Fischer wrote: On 7 February 2017 19:40:17 CET, Daniel Santos wrote: +{ "-mmoutline-msabi-xlogues",MASK_OUTLINE_MSABI_XLOGUES } }; s/mm/m/ I'd like to re-iterate my

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

2017-02-05 Thread Sandra Loosemore
I didn't see a v3 with the documentation patches go by yet, and I had some nit-picky comments on v2 (in addition to the ones Joseph already asked for): > diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 4b13aeb..581c4ef 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@

Re: [PATCH doc] clean up -fdump-tree- options (PR 32003)

2017-02-01 Thread Sandra Loosemore
On 02/01/2017 08:26 PM, Martin Sebor wrote: On 02/01/2017 08:06 PM, Sandra Loosemore wrote: On 02/01/2017 06:57 PM, Martin Sebor wrote: As discussed in bug 32003 - Undocumented -fdump-tree options, rather than duplicating the same boiler-plate text for each of the dozens (138 by my count

Re: [PATCH doc] clean up -fdump-tree- options (PR 32003)

2017-02-01 Thread Sandra Loosemore
On 02/01/2017 06:57 PM, Martin Sebor wrote: As discussed in bug 32003 - Undocumented -fdump-tree options, rather than duplicating the same boiler-plate text for each of the dozens (138 by my count) of undocumented passes, the attached patch removes the pass-specific -fdump-tree- options

Re: [PATCH][doc] Correct optimisation levels documentation for -fstore-merging

2017-01-23 Thread Sandra Loosemore
On 01/23/2017 10:28 AM, Kyrill Tkachov wrote: Hi all, I had forgotten to update the -fstore-merging documentation from a previous iteration of the pass and it says that it's enabled at -O and higher. The option is in fact enabled at -O2 and higher, as well as -Os. This patch clarifies that. Is

Re: [driver, doc] Support escaping special characters in specs

2017-01-16 Thread Sandra Loosemore
On 01/16/2017 03:54 AM, Rainer Orth wrote: Hi Sandra, On 01/13/2017 05:59 AM, Rainer Orth wrote: diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -26391,6 +26391,13 @@ be as many clauses as you need. This ma @end table +The

Re: [PATCH v5] add -fprolog-pad=N,M option

2017-01-15 Thread Sandra Loosemore
On 01/13/2017 05:19 AM, Torsten Duwe wrote: Changes since v4: hopefully addressed all of Sandra's requests and suggestions concerning the documentation snippets, thanks for the feedback. If it still isn't clear, feel free to rephrase -- I'm a programmer, not a technical writer. Thanks, this

Re: [driver, doc] Support escaping special characters in specs

2017-01-15 Thread Sandra Loosemore
On 01/13/2017 05:59 AM, Rainer Orth wrote: diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -26391,6 +26391,13 @@ be as many clauses as you need. This ma @end table +The switch matching text @code{S} in a %@{@code{S}@},

[testsuite, committed] gcc.dg/pr77862.c requires fpic target

2017-01-12 Thread Sandra Loosemore
gcc.dg/pr77862.c was failing on targets that don't support -fPIC, specifically nios2-elf. I've fixed this with a dg-require-effective-target restriction, consistent with what similar testcases do (e.g., gcc.dg/pic-2.c). Committed as obvious. -Sandra 2017-01-12 Sandra Loosemore <

Re: [patch mips/gcc] add build-time and runtime options to disable or set madd.fmt type

2017-01-10 Thread Sandra Loosemore
On 01/10/2017 07:24 AM, Yunqiang Su wrote: Hi, folks, any idea about this patch? I can only comment on the documentation parts. diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index b911d76dd66..e548733537d 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -1338,6

[doc, committed] fix overfull hboxes in GCC manual

2017-01-10 Thread Sandra Loosemore
such lists to use @gccoptlist with a ragged right margin rather than flowed inline text. That would be a fairly mechanical change but it would touch a lot of other sections as well, so I thought it better to leave it separate, at least. -Sandra 2017-01-10 Sandra Loosemore <

[doc, committed] fix Option Summary formatting in invoke.texi

2017-01-08 Thread Sandra Loosemore
options in the list. I did a mechanical search-and-replace to uniformly use two spaces. There are some overfull hbox warnings elsewhere in the manual, too; I'll take a look at those separately. -Sandra 2017-01-08 Sandra Loosemore <san...@codesourcery.com> gcc/ * invoke.texi (Option S

[doc, committed] add xref to documentation of mode attribute

2017-01-08 Thread Sandra Loosemore
I've checked in this patch to fix another long-standing (but easy) documentation PR. -Sandra 2017-01-08 Sandra Loosemore <san...@codesourcery.com> PR middle-end/17660 gcc/ * extend.texi (Common Variable Attributes): Add xref to GCC Internals manual to explain mode attribute ke

[doc, committed] (finally) fix -pthread documentation

2017-01-08 Thread Sandra Loosemore
in this patch to fix the -pthread docs. -Sandra 2017-01-08 Sandra Loosemore <san...@codesourcery.com> PR other/16519 gcc/ * doc/invoke.texi (Option Summary): Move -pthread to Linker Options and Preprocessor Options. (Options for Linking): Document -pthread here (RS/6000 and P

[doc, committed] fix preprocessor -d option table formatting

2017-01-07 Thread Sandra Loosemore
re general compiler dump options, in another section, does list the full name of the options in the subtable. I've fixed the preprocessor -d option documentation to be consistent with that format, and added cross-references back and forth too. -Sandra 2017-01-07 Sandra Loosemore <san...@cod

[doc, committed] clean up include search path documentation in cpp.texi

2017-01-07 Thread Sandra Loosemore
clear maintaining this manual is a low priority, I've generally gone with the approach of not providing too many details in the tutorial material and instead pointing people at the relevant command-line options. -Sandra 2017-01-07 Sandra Loosemore <san...@codesourcery.com> PR prepro

[doc,rfc] clean up preprocessor option documentation

2017-01-03 Thread Sandra Loosemore
2017-01-03 Sandra Loosemore <san...@codesourcery.com> gcc/ * doc/cppdiropts.texi: Merge documentation of -I, -iquote, -isystem, and -idirafter. Copy-edit. * doc/cppopts.texi: Copy-edit. Remove contradiction about default for -ftrack-macro-expansion. Delete obsolete and

[doc, committed] reorder entries in cppopts.texi

2016-12-30 Thread Sandra Loosemore
. -Sandra 2016-12-30 Sandra Loosemore <san...@codesourcery.com> gcc/ * doc/cppopts.texi: Reorder table entries to put the most commonly-used options first and debug options last. Index: gcc/doc/cppopts.texi === --- g

[doc, committed] split up cppopts.texi

2016-12-27 Thread Sandra Loosemore
installments coming. -Sandra 2016-12-27 Sandra Loosemore <san...@codesourcery.com> gcc/ * doc/cppdiropts.texi, doc/cppwarnopts.texi: New files, split from... * doc/cppopts.texi: here. * doc/cpp.texi (Invocation): Adjust includes. * doc/invoke.texi (Option Summary): Add m

[doc, committed] preprocessor documentation cleanup, part 3/n

2016-12-27 Thread Sandra Loosemore
ere people will be more likely to find it. More shuffling around and refactoring of include files coming in the next installment. -Sandra 2016-12-27 Sandra Loosemore <san...@codesourcery.com> gcc/ * doc/cppopts.texi: Delete redundant documentation for -x. Move -fno-show-colu

Re: [PATCH] Add RejectNegative for a c option.

2016-12-27 Thread Sandra Loosemore
On 12/27/2016 09:26 AM, Martin Liška wrote: Without RejectNegative one can cause an ICE in the compiler. Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. Ready to be installed? Martin Any chance you can also fix the manual to fully document the -fstrong-eval-order=

Re: [doc, committed] clean up redundant cpp option documentation

2016-12-26 Thread Sandra Loosemore
On 12/26/2016 11:19 AM, Eric Botcazou wrote: This is very strange; I didn't get that error. We've got makeinfo 6.1 (Feb 2016) installed here. Are you using a newer or older version? It's makeinfo 4.13 (from the vendor). Hmmm, that's 8 years old, the last release from before the

Re: [doc, committed] clean up redundant cpp option documentation

2016-12-26 Thread Sandra Loosemore
On 12/26/2016 02:38 AM, Eric Botcazou wrote: eric@arcturus:~/build/gcc/native/gcc> make doc if [ xinfo = xinfo ]; then \ makeinfo --split-size=500 --split-size=500 --no-split -I . -I /home/eric/svn/gcc/gcc/doc \ -I /home/eric/svn/gcc/gcc/doc/include -o

[doc, committed] clean up redundant cpp option documentation

2016-12-25 Thread Sandra Loosemore
preprocessor options, and correct the option summary section in the GCC manual. -Sandra 2016-12-25 Sandra Loosemore <san...@codesourcery.com> gcc/ * doc/cpp.texi (Invocation): Revise to indicate that GCC driver options are only documented in the GCC manual. * doc/cppopts.texi: D

Re: [Patch ,gcc/MIPS] add an build-time/runtime option to disable madd.fmt

2016-12-21 Thread Sandra Loosemore
On 12/21/2016 11:54 AM, Yunqiang Su wrote: By this patch, I add a build-time option ` --with-unfused-madd4=yes/no’, and runtime option -m(no-)unfused-madd4, to disable generate madd.fmt instructions. Your patch also needs a documentation change so that the new command-line option is listed in

Re: [PATCH v4] add -fprolog-pad=N,M option

2016-12-21 Thread Sandra Loosemore
On 12/21/2016 10:23 AM, Torsten Duwe wrote: diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 1f303bc..a09851a 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -3076,6 +3076,17 @@ that affect more than one function. This attribute should be used for debugging purposes

Re: [Patch] Turn -fexcess-precision=fast on when in -ffast-math

2016-12-20 Thread Sandra Loosemore
On 12/20/2016 05:14 AM, James Greenhalgh wrote: On Tue, Dec 20, 2016 at 11:48:26AM +0100, Richard Biener wrote: On Mon, Dec 19, 2016 at 6:58 PM, James Greenhalgh wrote: On Thu, Dec 8, 2016 at 10:44 PM, Uros Bizjak wrote: Hello! Attached patch

[doc, committed] CPP manual cleanup, part 1

2016-12-19 Thread Sandra Loosemore
routine cleanup I've done no checking on whether the remaining documentation is correct, whether the set of documented features corresponds to those currently implemented, etc. -Sandra 2016-12-19 Sandra Loosemore <san...@codesourcery.com> gcc/ * doc/cpp.texi: Clean up anachronist

Re: [Patch Doc] Update documentation for __fp16 type

2016-12-15 Thread Sandra Loosemore
On 12/15/2016 03:27 AM, Jakub Jelinek wrote: On Thu, Dec 15, 2016 at 11:23:14AM +0100, Andreas Schwab wrote: On Dez 15 2016, Jakub Jelinek wrote: So, shall we change also the first 3? Yes, I'd think so. So here is it in patch form. Is this ok for trunk? 2016-12-15

Re: [PATCH v3,rs6000] Add built-in function support for Power9 byte instructions

2016-12-13 Thread Sandra Loosemore
On 12/12/2016 05:40 PM, Kelvin Nilsen wrote: @@ -15105,6 +15109,24 @@ If all of the enabled test conditions are false, t The @code{scalar_test_neg} built-in functions return a non-zero value if their @code{source} argument holds a negative value. +The @code{__builtin_byte_in_set} function

Re: [Patch doc] Document _Float16 availability on ARM/AArch64

2016-12-12 Thread Sandra Loosemore
On 12/12/2016 04:16 AM, James Greenhalgh wrote: On Wed, Nov 30, 2016 at 02:36:28PM +, James Greenhalgh wrote: Hi, As subject - update extend.texi to mention availability of _Float16 types on ARM and AArch64. OK? *ping* Thanks, James 2016-11-30 James Greenhalgh

Re: [Patch Doc] Update documentation for __fp16 type

2016-12-12 Thread Sandra Loosemore
On 12/12/2016 04:16 AM, James Greenhalgh wrote: On Thu, Dec 01, 2016 at 11:09:07AM +, James Greenhalgh wrote: On Wed, Nov 30, 2016 at 05:58:13PM +, Joseph Myers wrote: On Wed, 30 Nov 2016, James Greenhalgh wrote: +@code{_Float16} type defined by ISO/IEC TS18661:3-2005 Add a space

Re: [committed] parisc: -mcaller-copies option

2016-12-11 Thread Sandra Loosemore
On 12/11/2016 12:30 PM, John David Anglin wrote: +@item -mcaller-copies +@opindex mcaller-copies +The caller copies function arguments passed by hidden reference. This +option should be used with care as it is not compatible with the default +32-bit runtime. However, only aggregates larger

[nios2, committed] fix structure sharing ICE

2016-12-11 Thread Sandra Loosemore
register load pair. Fixed thusly. -Sandra 2016-12-11 Sandra Loosemore <san...@codesourcery.com> gcc/ * config/nios2/nios2.c (nios2_emit_move_sequence): Call copy_rtx to avoid shared structure error. Index: gcc/config/nios2/n

Re: [patch, doc] Move -pthread documentation to linker options

2016-12-11 Thread Sandra Loosemore
On 12/11/2016 01:28 PM, Rainer Orth wrote: Hi Sandra, PR 16519 notes that -pthread has only ever been documented as an RS6000 and Solaris 2 option. In fact it's supported by most/all(?) POSIX-flavored targets, including GNU/Linux, BSD variants, Darwin, etc. It's probably best to document it

[patch, doc] Move -pthread documentation to linker options

2016-12-11 Thread Sandra Loosemore
before committing the attached patch, in case anybody wants to argue that this is the wrong way to categorize it. -Sandra 2016-12-11 Sandra Loosemore <san...@codesourcery.com> PR other/16519 gcc/ * doc/invoke.texi (Option Summary): Move -pthread to Linker Options. (Options for L

Re: [0/67] Add wrapper classes for machine_modes

2016-12-09 Thread Sandra Loosemore
On 12/09/2016 05:48 AM, Richard Sandiford wrote: This series includes most of the changes in group C from: https://gcc.gnu.org/ml/gcc/2016-11/msg00033.html The idea is to add wrapper classes around machine_mode_enum for specific groups of modes, such as scalar integers, scalar floats,

Re: [PATCH] Enable -fsanitize-address-use-after-scope only if -fsanitize=address is enabled

2016-12-07 Thread Sandra Loosemore
On 12/07/2016 12:30 PM, Dmitry Vyukov wrote: On Wed, Dec 7, 2016 at 8:23 PM, Sandra Loosemore <san...@codesourcery.com> wrote: You need to fix doc/invoke.texi as well to reflect this change. Done. Attached updated patch. The documentation change is OK. -Sandra

Re: [PATCH] Enable -fsanitize-address-use-after-scope only if -fsanitize=address is enabled

2016-12-07 Thread Sandra Loosemore
On 12/07/2016 11:44 AM, Dmitry Vyukov wrote: Hello, Revision 241896 added -fsanitize-address-use-after-scope and enabled it whenever any sanitizer is enabled. This caused problems for kernel which does not have necessary callbacks for -fsanitize-address-use-after-scope. I've added the callbacks

Re: Remove stray '@' from install.texi (was Re: [PATCH] Delete GCJ)

2016-11-29 Thread Sandra Loosemore
On 11/29/2016 06:10 PM, David Malcolm wrote: [snip] r242985 seems to have broken the build, for me at least (with texinfo 5.1): ../../src/gcc/doc/install.texi:2199: use braces to give a command as an argument to @= make[2]: *** [doc/gccinstall.info] Error 1 The attached patch fixes it. OK

Re: [PATCH 3/9] Add option -moutline-msabi-xlogues

2016-11-25 Thread Sandra Loosemore
On 11/22/2016 10:19 PM, Daniel Santos wrote: diff --git a/gcc/config/i386/i386.opt b/gcc/config/i386/i386.opt index 9eef558..f556978 100644 --- a/gcc/config/i386/i386.opt +++ b/gcc/config/i386/i386.opt @@ -528,6 +528,11 @@ Enum(calling_abi) String(sysv) Value(SYSV_ABI) EnumValue

Re: [PATCH] Delete GCJ

2016-11-22 Thread Sandra Loosemore
On 11/21/2016 04:23 PM, Matthias Klose wrote: On 21.11.2016 18:16, Rainer Orth wrote: Hi Matthias, ahh, didn't see that :-/ Now fixed, is this clearer now? The options @option{--with-target-bdw-gc-include} and @option{--with-target-bdw-gc-lib} must always specified together for

Re: [PATCH] Delete GCJ

2016-11-21 Thread Sandra Loosemore
On 11/21/2016 05:57 AM, Matthias Klose wrote: --with-target-bdw-gc=/opt/bdw-gc,32=/opt/bdw-gc32 sets the include and lib dirs by appending include and lib to the paths. If you have options --with-target-bdw-gc-include= and --with-target-bdw-gc-lib= as well, it overrides the settings done in

Re: [PATCH] Delete GCJ

2016-11-20 Thread Sandra Loosemore
On 11/20/2016 01:42 PM, Matthias Klose wrote: +The options @option{--with-target-bdw-gc-include} and +@option{--with-target-bdw-gc-include} must always specified together for +each multilib variant and take precedence over +@option{--with-target-bdw-gc-include}. If none of these options are

documenting command-line options (was Re: PING [PATCH] enable -fprintf-return-value by default)

2016-11-18 Thread Sandra Loosemore
On 11/18/2016 11:52 AM, Martin Sebor wrote: [snip] I think it would be be ideal if all the options were sorted the same way in all sections. Is there some command to have texinfo sort them for us? If not, can we write a script to sort them, either each time just before generating the docs or

Re: PING [PATCH] enable -fprintf-return-value by default

2016-11-18 Thread Sandra Loosemore
On 11/18/2016 09:01 AM, Martin Sebor wrote: On 11/17/2016 10:34 PM, Sandra Loosemore wrote: On 11/16/2016 09:49 AM, Martin Sebor wrote: I'm looking for an approval of the attached patch. I've adjusted the documentation based on Sandra's input (i.e., documented the negative of the option

Re: PING [PATCH] enable -fprintf-return-value by default

2016-11-17 Thread Sandra Loosemore
On 11/16/2016 09:49 AM, Martin Sebor wrote: I'm looking for an approval of the attached patch. I've adjusted the documentation based on Sandra's input (i.e., documented the negative of the option rather than the positive; thank you for the review, btw.) On 11/08/2016 08:13 PM, Martin Sebor

Re: [Patch 5/17] Add -fpermitted-flt-eval-methods=[c11|ts-18661-3]

2016-11-14 Thread Sandra Loosemore
On 11/14/2016 02:55 AM, James Greenhalgh wrote: On Fri, Nov 11, 2016 at 09:42:32PM -0700, Sandra Loosemore wrote: On 11/11/2016 08:37 AM, James Greenhalgh wrote: diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index f133b3a..75ff8ec 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc

Re: [Patch 5/17] Add -fpermitted-flt-eval-methods=[c11|ts-18661-3]

2016-11-11 Thread Sandra Loosemore
On 11/11/2016 08:37 AM, James Greenhalgh wrote: diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index f133b3a..75ff8ec 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -378,7 +378,8 @@ Objective-C and Objective-C++ Dialects}. -flto-partition=@var{alg} -fmerge-all-constants

[patch, doc] PR 37998 -- Unclear documentation of -fno-common

2016-11-10 Thread Sandra Loosemore
es, but I want to be sure I'm explaining it correctly now. -Sandra 2016-11-09 Sandra Loosemore <san...@codesourcery.com> PR c/37998 gcc/ * doc/invoke.texi (Code Gen Options) [-fno-common]: Use correct terminology. Expand to remove a

Re: [PATCH] enable -fprintf-return-value by default

2016-11-09 Thread Sandra Loosemore
On 11/08/2016 08:13 PM, Martin Sebor wrote: The -fprintf-return-value optimization has been disabled since the last time it caused a bootstrap failure on powerpc64le. With the underlying problems fixed GCC has bootstrapped fine on all of powerpc64, powerpc64le and x86_64 and tested with no

Re: [patch,avr] Add new option -mabsdata.

2016-11-09 Thread Sandra Loosemore
On 11/07/2016 05:54 AM, Georg-Johann Lay wrote: @@ -15261,6 +15262,13 @@ GCC supports the following AVR devices a @include avr-mmcu.texi +@item -mabsdata +@opindex mabsdata + +Assume that all data in static stocage can be accessed by LDS / STS s/stocage/storage/ +inctructions. This

[committed, arm, testsuite] fix dg-skip-if logic in Xscale-specific tests

2016-10-13 Thread Sandra Loosemore
copied the logic from that file to correct the other two tests. Because this was a straight cut-and-paste, I thought this qualified as an obvious fix, and have committed it. -Sandra 2016-10-13 Sandra Loosemore <san...@codesourcery.com> gcc/testsuite/ * scd42-1.c: Skip if -mcpu incomp

[committed] testsuite cleanups for nios2-elf

2016-09-29 Thread Sandra Loosemore
. -Sandra 2016-09-29 Sandra Loosemore <san...@codesourcery.com> gcc/testsuite/ * c-c++-common/pr27336.c: Make dependency on -fdelete-null-pointer-checks explicit. * g++.dg/cpp0x/constexpr-array-ptr10.C: Likewise. * g++.dg/cpp0x/constexpr-nullptr-1.C: Likewise. * g++.dg/lto/pr69589_0.

Re: [PATCHv2][ARM] -mpure-code option for ARM

2016-09-23 Thread Sandra Loosemore
On 09/23/2016 04:39 AM, Andre Vieira (lists) wrote: Hi Sandra, Is this better? Cheers, Andre gcc/ChangeLog 2016-09-23 Andre Vieira * target.def(elf_flags_numeric): Change documentation to present tense. And here is the patch with the

Re: [PATCHv2][ARM] -mpure-code option for ARM

2016-09-22 Thread Sandra Loosemore
On 09/22/2016 07:52 AM, Richard Earnshaw (lists) wrote: On 11/07/16 17:56, Andre Vieira (lists) wrote: + diff --git a/gcc/target.def b/gcc/target.def index a4df363698ce776b51d11c187baed2069ba88a52..a3d46fa48d919a16699c33b2b78236e62a33e025 100644 --- a/gcc/target.def +++ b/gcc/target.def @@

Re: [PATCH, docs] invoke.texi: random copy-editing

2016-09-05 Thread Sandra Loosemore
On 09/02/2016 12:17 AM, Gerald Pfeifer wrote: On Wed, 29 Aug 2012, Sandra Loosemore wrote: * doc/invoke.texi: Fix numerous typos and punctuation/grammatical errors throughout the file. Re-word some awkward sentences and paragraphs. There are three questions

Re: [PATCH, docs] invoke.texi: random copy-editing

2016-09-05 Thread Sandra Loosemore
On 09/01/2016 01:04 PM, Gerald Pfeifer wrote: On Wed, 29 Aug 2012, Sandra Loosemore wrote: * doc/invoke.texi: Fix numerous typos and punctuation/grammatical errors throughout the file. Re-word some awkward sentences and paragraphs. I noticed you changed return-value

Re: [PATCH, docs] invoke.texi: random copy-editing

2016-09-05 Thread Sandra Loosemore
On 09/01/2016 06:22 AM, Gerald Pfeifer wrote: Hi Sandra, On Wed, 29 Aug 2012, Sandra Loosemore wrote: I've had this largish pile of random copy-edits to invoke.texi left over from my previous passes through that file earlier this year. that was an amazing amount of changes; I admire your

Re: C/C++ PATCH for c/77423 (bogus warning with -Wlogical-not-parentheses)

2016-09-05 Thread Sandra Loosemore
On 09/05/2016 09:55 AM, Bernd Schmidt wrote: On 09/05/2016 12:52 PM, Marek Polacek wrote: On Mon, Sep 05, 2016 at 12:35:13PM +0200, Bernd Schmidt wrote: On 09/02/2016 05:13 PM, Marek Polacek wrote: diff --git gcc/doc/invoke.texi gcc/doc/invoke.texi index 87da1f1..38d55d4 100644 ---

Re: Fwd: [PATCH, doc/ARM] Remove false affirmation that Thumb cannot use an FPU

2016-08-18 Thread Sandra Loosemore
On 08/18/2016 04:05 AM, Richard Earnshaw (lists) wrote: I think it's probably best to just drop the entire parenthetical subcluase. This is documentation of how to use MULTILIB_EXCEPTIONS not precise documentation on what needs to be done on ARM. In fact, it might be better to just rewrite

Re: Fwd: [PATCH, doc/ARM] Remove false affirmation that Thumb cannot use an FPU

2016-08-18 Thread Sandra Loosemore
On 08/11/2016 04:31 AM, Thomas Preudhomme wrote: diff --git a/gcc/doc/fragments.texi b/gcc/doc/fragments.texi index b6d8541c8ca820fa732363a05221e2cd4d1251c2..abf4e128671bb4751d21f24bb69625593d3c839e 100644 --- a/gcc/doc/fragments.texi +++ b/gcc/doc/fragments.texi @@ -117,12 +117,15 @@

Re: [PATCH] RFC: -fasm-show-source

2016-08-11 Thread Sandra Loosemore
On 08/11/2016 02:34 PM, David Malcolm wrote: I sometimes find myself scouring assembler output from the compiler and trying to figure out which instructions correspond to which lines of source code; I believe this is a common activity for some end-users. The following patch adds a new

Re: Fwd: [PATCH, doc/ARM] Remove false affirmation that Thumb cannot use an FPU

2016-08-10 Thread Sandra Loosemore
On 08/10/2016 09:51 AM, Thomas Preudhomme wrote: diff --git a/gcc/doc/fragments.texi b/gcc/doc/fragments.texi index b6d8541c8ca820fa732363a05221e2cd4d1251c2..a060635c9cee7374d9d187858ac87acdd08860f2 100644 --- a/gcc/doc/fragments.texi +++ b/gcc/doc/fragments.texi @@ -117,12 +117,15 @@

Re: [PATCH v2] cpp/c: Add -Wexpansion-to-defined

2016-08-10 Thread Sandra Loosemore
On 08/10/2016 04:06 AM, Paolo Bonzini wrote: === --- gcc/doc/invoke.texi (revision 239276) +++ gcc/doc/invoke.texi (working copy) @@ -4914,6 +4914,12 @@ construct, known from C++, was introduced with ISO C99 and is by default

<    2   3   4   5   6   7   8   9   10   11   >