1x -Werror=unused-variable happens :-)

2018-06-23 Thread U.Mutlu
Hi, when building the languages=c,c++ with "-g0 -DNDEBUG", then the following error happens: ../../../gcc_trunk/libitm/method-serial.cc: In member function 'void GTM::gtm_thread::serialirr_mode()': ../../../gcc_trunk/libitm/method-serial.cc:309:12: error: unused variable 'ok' [-Werror=unused-

Re: 1x -Werror=unused-variable happens :-)

2018-06-23 Thread U.Mutlu
Here's another one, but different error type, for further inspection, in the same library as before: ../../../gcc_trunk/libitm/method-ml.cc: In member function 'virtual bool {anonymous}::ml_wt_dispatch::supports(unsigned int)': ../../../gcc_trunk/libitm/method-ml.cc:650:35: error: comparison is

Re: 1x -Werror=unused-variable happens :-)

2018-06-23 Thread Jonathan Wakely
On Sat, 23 Jun 2018 at 12:39, U.Mutlu wrote: > > Hi, > when building the languages=c,c++ with "-g0 -DNDEBUG", then the following > error happens: > > ../../../gcc_trunk/libitm/method-serial.cc: In member function 'void > GTM::gtm_thread::serialirr_mode()': > ../../../gcc_trunk/libitm/method-serial.

Re: 1x -Werror=unused-variable happens :-)

2018-06-23 Thread U.Mutlu
Jonathan Wakely wrote on 06/23/2018 07:14 PM: On Sat, 23 Jun 2018 at 12:39, U.Mutlu wrote: Hi, when building the languages=c,c++ with "-g0 -DNDEBUG", then the following error happens: ../../../gcc_trunk/libitm/method-serial.cc: In member function 'void GTM::gtm_thread::serialirr_mode()': ../..

Re: 1x -Werror=unused-variable happens :-)

2018-06-23 Thread U.Mutlu
U.Mutlu wrote on 06/23/2018 09:25 PM: Jonathan Wakely wrote on 06/23/2018 07:14 PM: On Sat, 23 Jun 2018 at 12:39, U.Mutlu wrote: Hi, when building the languages=c,c++ with "-g0 -DNDEBUG", then the following error happens: ../../../gcc_trunk/libitm/method-serial.cc: In member function 'void GT

Re: 1x -Werror=unused-variable happens :-)

2018-06-23 Thread U.Mutlu
U.Mutlu wrote on 06/23/2018 02:10 PM: Here's another one, but different error type, for further inspection, in the same library as before: ../../../gcc_trunk/libitm/method-ml.cc: In member function 'virtual bool {anonymous}::ml_wt_dispatch::supports(unsigned int)': ../../../gcc_trunk/libitm/meth

Re: 1x -Werror=unused-variable happens :-)

2018-06-23 Thread Jonathan Wakely
On Sat, 23 Jun 2018 at 22:11, U.Mutlu wrote: > > U.Mutlu wrote on 06/23/2018 09:25 PM: > > Jonathan Wakely wrote on 06/23/2018 07:14 PM: > >> On Sat, 23 Jun 2018 at 12:39, U.Mutlu wrote: > >>> > >>> Hi, > >>> when building the languages=c,c++ with "-g0 -DNDEBUG", then the following > >>> error hap