------- Comment #10 from ebotcazou at gcc dot gnu dot org  2007-04-23 11:55 
-------
> It is in the main directory, file FAQ, section "Optimizing the compiler
> itself":
>    If  you  want to test a particular optimization option, it's useful to
>    try  bootstrapping  the  compiler  with  that  option  turned  on.

OK, but note that it's quite different from what you said.  First, it's not
"recommended", it's "useful to try".  Second, it's only for *testing* the
option, not for production use.

> 1) I find the suggestion  useful, and it seems to somewhat parallel the reason
> why you want the compiler bootstrap itself through all stages in the first
> place: to make sure it can compile itself. Likewise, if it can compile
> itself reproducibly through the bootstrap using different options, you have
> made sure these options are pretty well tested for real code by the time you
> have the compiler finished

OK, that makes sense.

> Therefore, I still think there is a bug in -O3. (alternatively, in the
> combination of the two). Would you consider reopening this bug if it was -O3?
> (In this case, I might re-run the bootstrap with only '-O3', next weekend).

Yes, I'm going to reopen it, but I'm not sure someone will tackle it.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WONTFIX                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31523

Reply via email to