This is the mail archive of the gcc-bugs@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]

Re: native gdb.sum gdb.base/interrupt.exp


> What if we attack the unaligned stack problem in main
> by making main appear use alloca to align the frame?
This sounds like good idea, modulo the pesimization of
code in main. I am not sure how important it is except
for trivial benchmarks.

BTW I believee that the current aligna code keeps stack missaligned and alignes
the returned poitner.  I will check.
> 
> You'd not get an aligned frame for main itself, but
> you would for everything called by it.  That seems a
> lot less likely to confuse gdb...
Yup...
I am going to track the confusion soon, once I hit the
missoptimizations reported, that are more serious
and I am receiving bugreports (especially because of
profiling) few times a day.

Hope it is tracked down by the 5 patches waiting in
queue now.

Honza
> 
> 
> 
> r~


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