This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [patch] Disable if_conversion2 for Og
- From: "Joey Ye" <joey dot ye at arm dot com>
- To: "Richard Earnshaw" <Richard dot Earnshaw at arm dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 16 Apr 2014 18:02:06 +0800
- Subject: RE: [patch] Disable if_conversion2 for Og
- Authentication-results: sourceware.org; auth=none
- References: <000001cf584e$66102060$32306120$ at arm dot com> <534E50F2 dot 2000606 at arm dot com>
> -----Original Message-----
> From: Richard Earnshaw
> Sent: Wednesday, April 16, 2014 5:44 PM
> To: Joey Ye
> Cc: gcc-patches@gcc.gnu.org
> Subject: Re: [patch] Disable if_conversion2 for Og
>
> Arguably, this is a bug in gdb. The debugger should understand when a
> breakpointed conditional instruction is not going to execute and silently
> continue. That preserves the illusion of not executing the code without
> requiring the compiler to de-optimize things.
>
> R.
Or compiler just optimizes it, and emits generic DWARFx information to help
GDB handle it in more target independently?
- Joey