Mercurial > hg > CbC > CbC_gcc
diff gcc/doc/g++.1 @ 47:3bfb6c00c1e0
update it from 4.4.2 to 4.4.3.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 07 Feb 2010 17:44:34 +0900 |
parents | 58ad6c70ea60 |
children |
line wrap: on
line diff
--- a/gcc/doc/g++.1 Sun Feb 07 17:43:48 2010 +0900 +++ b/gcc/doc/g++.1 Sun Feb 07 17:44:34 2010 +0900 @@ -132,7 +132,7 @@ .\" ======================================================================== .\" .IX Title "GCC 1" -.TH GCC 1 "2009-07-22" "gcc-4.4.1" "GNU" +.TH GCC 1 "2010-01-21" "gcc-4.4.3" "GNU" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -468,7 +468,7 @@ \&\-mfix\-cortex\-m3\-ldrd\fR .Sp \&\fI\s-1AVR\s0 Options\fR -\&\fB\-mmcu=\fR\fImcu\fR \fB\-msize \-minit\-stack=\fR\fIn\fR \fB\-mno\-interrupts +\&\fB\-mmcu=\fR\fImcu\fR \fB\-msize \-mno\-interrupts \&\-mcall\-prologues \-mno\-tablejump \-mtiny\-stack \-mint8\fR .Sp \&\fIBlackfin Options\fR @@ -1692,6 +1692,26 @@ .Sp This option is no longer useful on most targets, now that support has been added for putting variables into \s-1BSS\s0 without making them common. +.IP "\fB\-fno\-deduce\-init\-list\fR" 4 +.IX Item "-fno-deduce-init-list" +Disable deduction of a template type parameter as +std::initializer_list from a brace-enclosed initializer list, i.e. +.Sp +.Vb 4 +\& template <class T> auto forward(T t) \-> decltype (realfn (t)) +\& { +\& return realfn (t); +\& } +\& +\& void f() +\& { +\& forward({1,2}); // call forward<std::initializer_list<int>> +\& } +.Ve +.Sp +This option is present because this deduction is an extension to the +current specification in the \*(C+0x working draft, and there was +some concern about potential overload resolution problems. .IP "\fB\-ffriend\-injection\fR" 4 .IX Item "-ffriend-injection" Inject friend functions into the enclosing namespace, so that they are @@ -5857,7 +5877,7 @@ Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR. .IP "\fB\-fstrict\-aliasing\fR" 4 .IX Item "-fstrict-aliasing" -Allows the compiler to assume the strictest aliasing rules applicable to +Allow the compiler to assume the strictest aliasing rules applicable to the language being compiled. For C (and \*(C+), this activates optimizations based on the type of expressions. In particular, an object of one type is assumed never to reside at the same address as an @@ -5875,7 +5895,7 @@ \& }; \& \& int f() { -\& a_union t; +\& union a_union t; \& t.d = 3.0; \& return t.i; \& } @@ -5889,7 +5909,7 @@ .Sp .Vb 7 \& int f() { -\& a_union t; +\& union a_union t; \& int* ip; \& t.d = 3.0; \& ip = &t.i; @@ -7100,8 +7120,8 @@ Some of these options make sense only together with \fB\-E\fR because they cause the preprocessor output to be unsuitable for actual compilation. -.Sp -.RS 4 +.IP "\fB\-Wp,\fR\fIoption\fR" 4 +.IX Item "-Wp,option" You can use \fB\-Wp,\fR\fIoption\fR to bypass the compiler driver and pass \fIoption\fR directly through to the preprocessor. If \&\fIoption\fR contains commas, it is split into multiple options at the @@ -7111,16 +7131,14 @@ interface is undocumented and subject to change, so whenever possible you should avoid using \fB\-Wp\fR and let the driver handle the options instead. -.Sp -\&\fB\-Xpreprocessor\fR \fIoption\fR -.Sp +.IP "\fB\-Xpreprocessor\fR \fIoption\fR" 4 +.IX Item "-Xpreprocessor option" Pass \fIoption\fR as an option to the preprocessor. You can use this to supply system-specific preprocessor options which \s-1GCC\s0 does not know how to recognize. .Sp If you want to pass an option that takes an argument, you must use \&\fB\-Xpreprocessor\fR twice, once for the option and once for the argument. -.RE .IP "\fB\-D\fR \fIname\fR" 4 .IX Item "-D name" Predefine \fIname\fR as a macro, with definition \f(CW1\fR. @@ -8542,10 +8560,6 @@ .IP "\fB\-msize\fR" 4 .IX Item "-msize" Output instruction sizes to the asm file. -.IP "\fB\-minit\-stack=\fR\fIN\fR" 4 -.IX Item "-minit-stack=N" -Specify the initial stack address, which may be a symbol or numeric value, -\&\fB_\|_stack\fR is the default. .IP "\fB\-mno\-interrupts\fR" 4 .IX Item "-mno-interrupts" Generated code is not compatible with hardware interrupts. @@ -15343,9 +15357,3 @@ \& software. Copies published by the Free Software Foundation raise \& funds for GNU development. .Ve -.SH "POD ERRORS" -.IX Header "POD ERRORS" -Hey! \fBThe above document had some coding errors, which are explained below:\fR -.IP "Around line 8714:" 4 -.IX Item "Around line 8714:" -You can't have =items (as at line 8727) unless the first thing after the =over is an =item