Hi, On 11/01/17 16:49, Maciej W. Rozycki wrote: > On Mon, 19 Dec 2016, James Cowgill wrote: >> This bug causes the ADA bootstrap comparison failure in a-except.o >> because the branch delay scheduling operates slightly differently for >> that file if debug information is turned on. > > This looks like a bug to me -- actual code produced is supposed to be the > same regardless of the amount of debug information requested. This is > important for some debugging scenarios, such as when a binary originally > produced with no debug information crashes and a core file is obtained so > that the program can be rebuilt with debug information included and then > matched to the core file previously produced, which may not be easy to > recreate with the rebuilt binary. > > From this consideration I gather you have a program source which can be > used as a test case to reproduce the issue, so can you please file a > problem report and include the source and a recipe to reproduce it? Is > this a GCC issue with generated assembly or a GAS issue with interpreting > it?
Yes I had a testcase which I used to debug this, but it was pretty huge (and written in ADA). When debugging I just diffed it with the debug information toggled to see if the patch fixed it. I'll see if I can find it anyway. The issue was about the assembly GCC generated. James