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]
Other format: [Raw text]

[Bug debug/41988] [4.5 Regression] FAIL: g++.dg/debug/*.C -gdwarf-2 -g1 (internal compiler error)



------- Comment #4 from pinskia at gcc dot gnu dot org  2009-11-13 16:56 -------
(In reply to comment #3)
> Is this a regression or a new test? They are OK on Linux.
> 
> BTW, stack alignment was checked in a long time ago. 

The tests are old, they are from 2003 :).
The patch which I was talking about was:
2009-10-30  H.J. Lu  <hongjiu.lu@intel.com>

        PR target/40838
        * cfgexpand.c (expand_stack_alignment): Call update_stack_boundary
        first.  Move assert on stack_alignment_estimated just before
        setting stack_realign_needed.
        (gimple_expand_cfg): Initialize stack_alignment_estimated to 0.
        Don't call update_stack_boundary.

        * config/i386/i386.c (ix86_minimum_incoming_stack_boundary): New.
        (verride_options): Don't check ix86_force_align_arg_pointer here.
        (ix86_function_ok_for_sibcall): Use it.
        (ix86_update_stack_boundary): Likewise.

        * config/i386/i386.h (STACK_REALIGN_DEFAULT): Update comments.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41988


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