aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2018-12-14 12:38:04 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2018-12-14 12:38:04 +0000
commit76c21b271247ccbd681bdb4530426d2fe35dbfa5 (patch)
tree9cc66ec9c0f5de6f878eed0d32c22b2a5329a741 /libgomp/testsuite
parent95f61091a1264856c1128b67791843a791cb415f (diff)
x86: Don't use get_frame_size when finalizing stack frame
get_frame_size () returns used stack slots during compilation, which may be optimized out later. Since ix86_find_max_used_stack_alignment is called by ix86_finalize_stack_frame_flags to check if stack frame is required, there is no need to call get_frame_size () which may give inaccurate final stack frame size. Tested on AVX512 machine configured with --with-arch=native --with-cpu=native gcc/ PR target/88483 * config/i386/i386.c (ix86_finalize_stack_frame_flags): Don't use get_frame_size (). gcc/testsuite/ PR target/88483 * gcc.target/i386/stackalign/pr88483.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267133 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/testsuite')
0 files changed, 0 insertions, 0 deletions