This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libgo patch committed: Merge from revision 18783 of master
- From: Gary Funck <gary at intrepid dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "gofrontend-dev at googlegroups dot com" <gofrontend-dev at googlegroups dot com>
- Date: Mon, 9 Jun 2014 19:55:24 -0700
- Subject: Re: libgo patch committed: Merge from revision 18783 of master
- Authentication-results: sourceware.org; auth=none
- References: <mcrioogdu1a dot fsf at iant-glaptop dot roam dot corp dot google dot com> <20140609201250 dot GK10681 at intrepid dot com> <CAKOQZ8wmTVpA=QHgfHeAGSZuvW5MkRLFAFfSDgThwfzuaVwUSw at mail dot gmail dot com> <CAKOQZ8x99OXhdSV7FpF_x_wWSUt0iDLSScKCeY9Vqp8Wjh+Ujg at mail dot gmail dot com> <CAKOQZ8wqD8vks0yxCZro_GAiZY4Sw0iDC3P9KP1nrcArrTtTJA at mail dot gmail dot com>
On Mon, Jun 9, 2014 at 5:36 PM, Ian Lance Taylor <iant@google.com> wrote:
> There is no bug here, the control flow is just too complicated
> for the compiler to sort out. I don't know why I'm
> not seeing the warning [...]
We have these compilation flags set:
CFLAGS='-g3 -O3'
CFLAGS_FOR_BUILD='-g3 -O3'
CFLAGS_FOR_TARGET='-g3 -O3'
I tried "make CFLAGS='-g3 -O2' chan.lo"
(the default) and it compiled without complaint.