This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Handling aliases in debug information


Both (a) and (c).

I have a current problem with anonymous unions also.
The gdb test script for anon unions has more FAILs with
g++ HEAD than g++ 3.3.1.

g++ has an issue with the variable scopes of 'main' in C++.
'main' is special because the standard explicitly allows 'main'
  to return an 'int' but not have a return statement at the end
  (which returns a success value).
So g++ has a little bit of special code.

I started pursuing this a few months ago and got sidetracked
because my test program made gcc ICE, and by the time that got
fixed, I was working on something else.

Can you separate the two issues -- have your 'main' function
call a different function with the anonymous union in it.
That would help.

The gcc people can't fix PR's if I don't file them!
After gdb 6.0 ships I will get back to debug info regressions
from gcc 3.3.1 to gcc HEAD.

Michael C
GDB QA Guy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]