[Bug target/72782] AVX512: No support for scalar broadcasts

2018-10-18 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72782 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Oct 18 20:38:41 2018 New Revision: 265288 URL: https://gcc.gnu.org/viewcvs?rev=265288=gcc=rev Log: i386: Enable AVX512 memory broadcast for FMA Many AVX512 vector operations

[Bug target/87537] Redundant vmovaps

2018-10-18 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87537 --- Comment #2 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Oct 18 08:18:42 2018 New Revision: 265260 URL: https://gcc.gnu.org/viewcvs?rev=265260=gcc=rev Log: Simplify subreg of vec_merge of vec_duplicate We can simplify (subreg

[Bug target/87599] Broadcasting scalar to vector uses stack unnecessarily on x86

2018-10-14 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87599 --- Comment #9 from hjl at gcc dot gnu.org --- Author: hjl Date: Sun Oct 14 20:39:05 2018 New Revision: 265151 URL: https://gcc.gnu.org/viewcvs?rev=265151=gcc=rev Log: i386: Add register source to movddup Add register source to movddup so

[Bug target/87572] ICE in emit_move_insn, at expr.c:3722

2018-10-14 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87572 --- Comment #2 from hjl at gcc dot gnu.org --- Author: hjl Date: Sun Oct 14 20:30:02 2018 New Revision: 265150 URL: https://gcc.gnu.org/viewcvs?rev=265150=gcc=rev Log: i386: Also disable AVX512IFMA/AVX5124FMAPS/AVX5124VNNIW Also disable

[Bug target/87517] Typo in avx512fintrin.h

2018-10-12 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87517 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Oct 12 12:38:28 2018 New Revision: 265091 URL: https://gcc.gnu.org/viewcvs?rev=265091=gcc=rev Log: i386: Correct _mm512_mask3_fmaddsub_round_pd Define

[Bug target/87522] LTO incorrectly merges target specific options

2018-10-12 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87522 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Oct 12 12:34:36 2018 New Revision: 265090 URL: https://gcc.gnu.org/viewcvs?rev=265090=gcc=rev Log: i386: Don't pass -msse2avx to assembler for -mavx With gcc -O2 -fPIC -flto

[Bug target/87370] [7/8/9 Regression] Inefficient return code of struct values

2018-10-09 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87370 --- Comment #8 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Oct 9 17:23:06 2018 New Revision: 264989 URL: https://gcc.gnu.org/viewcvs?rev=264989=gcc=rev Log: i386: Use TImode for BLKmode values in 2 integer registers When passing

[Bug target/87370] [7/8/9 Regression] Inefficient return code of struct values

2018-10-09 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87370 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Oct 9 17:17:41 2018 New Revision: 264987 URL: https://gcc.gnu.org/viewcvs?rev=264987=gcc=rev Log: i386: Use TImode for BLKmode values in 2 integer registers When passing

[Bug target/87517] Typo in avx512fintrin.h

2018-10-08 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87517 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Oct 8 15:23:48 2018 New Revision: 264937 URL: https://gcc.gnu.org/viewcvs?rev=264937=gcc=rev Log: i386: Correct _mm512_mask3_fmaddsub_round_pd Define

[Bug target/87517] Typo in avx512fintrin.h

2018-10-08 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87517 --- Comment #2 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Oct 8 15:20:08 2018 New Revision: 264936 URL: https://gcc.gnu.org/viewcvs?rev=264936=gcc=rev Log: i386: Correct _mm512_mask3_fmaddsub_round_pd Define

[Bug target/87517] Typo in avx512fintrin.h

2018-10-08 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87517 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Oct 8 14:54:53 2018 New Revision: 264935 URL: https://gcc.gnu.org/viewcvs?rev=264935=gcc=rev Log: i386: Correct _mm512_mask3_fmaddsub_round_pd Define

[Bug target/87522] LTO incorrectly merges target specific options

2018-10-05 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87522 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Oct 5 11:40:59 2018 New Revision: 264867 URL: https://gcc.gnu.org/viewcvs?rev=264867=gcc=rev Log: i386: Don't pass -msse2avx to assembler for -mavx With gcc -O2 -fPIC -flto

[Bug target/87522] LTO incorrectly merges target specific options

2018-10-05 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87522 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Oct 5 11:31:45 2018 New Revision: 264865 URL: https://gcc.gnu.org/viewcvs?rev=264865=gcc=rev Log: i386: Don't pass -msse2avx to assembler for -mavx With gcc -O2 -fPIC -flto

[Bug target/87522] LTO incorrectly merges target specific options

2018-10-05 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87522 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Oct 5 11:29:44 2018 New Revision: 264864 URL: https://gcc.gnu.org/viewcvs?rev=264864=gcc=rev Log: i386: Don't pass -msse2avx to assembler for -mavx With gcc -O2 -fPIC -flto

[Bug libgcc/85334] Shadow stack isn't unwound properly through signal handler

2018-10-03 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85334 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Wed Oct 3 16:55:06 2018 New Revision: 264814 URL: https://gcc.gnu.org/viewcvs?rev=264814=gcc=rev Log: i386: Remove _Unwind_Frames_Increment CET kernel has been changed to place

[Bug target/82699] ENDBR isn't generated at function entrance (with -mfentry)

2018-10-02 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82699 --- Comment #10 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Oct 2 12:12:18 2018 New Revision: 264782 URL: https://gcc.gnu.org/viewcvs?rev=264782=gcc=rev Log: i386: Insert ENDBR before the profiling counter call ENDBR must

[Bug target/87370] [7/8/9 Regression] Inefficient return code of struct values

2018-09-29 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87370 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Sat Sep 29 21:59:59 2018 New Revision: 264716 URL: https://gcc.gnu.org/viewcvs?rev=264716=gcc=rev Log: i386: Use TImode for BLKmode values in 2 integer registers When passing

[Bug target/82699] ENDBR isn't generated at function entrance (with -mfentry)

2018-09-25 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82699 --- Comment #9 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Sep 25 13:51:45 2018 New Revision: 264569 URL: https://gcc.gnu.org/viewcvs?rev=264569=gcc=rev Log: i386: Compile pr82699-5.c and pr82699-6.c with -fno-pic Compile pr82699-5.c

[Bug testsuite/70150] Additonal test failures with --enable-default-pie

2018-09-25 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 --- Comment #23 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Sep 25 12:25:44 2018 New Revision: 264565 URL: https://gcc.gnu.org/viewcvs?rev=264565=gcc=rev Log: Check pie_enabled target in PIC tests We need to check pie_enabled target

[Bug target/82699] ENDBR isn't generated at function entrance (with -mfentry)

2018-09-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82699 --- Comment #8 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Sep 24 17:20:58 2018 New Revision: 264540 URL: https://gcc.gnu.org/viewcvs?rev=264540=gcc=rev Log: i386: Insert ENDBR before the profiling counter call ENDBR must

[Bug debug/86593] [8/9 Regression] internal compiler error: in based_loc_descr, at dwarf2out.c:14272

2018-09-04 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86593 --- Comment #11 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Sep 4 20:42:06 2018 New Revision: 264096 URL: https://gcc.gnu.org/viewcvs?rev=264096=gcc=rev Log: DWARF: Allow hard frame pointer even if frame pointer isn't used r251028

[Bug bootstrap/86872] [9 Regression] LTO bootstrap failed with profiledbootstrap

2018-08-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86872 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Aug 24 23:37:53 2018 New Revision: 263845 URL: https://gcc.gnu.org/viewcvs?rev=263845=gcc=rev Log: Set start_location to 0 if we ran out of line map space

[Bug middle-end/87092] [9 Regression] internal compiler error: Segmentation fault

2018-08-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87092 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Aug 24 16:58:27 2018 New Revision: 263837 URL: https://gcc.gnu.org/viewcvs?rev=263837=gcc=rev Log: Add a testcase for PR middle-end/87092 PR middle-end/87092

[Bug debug/79342] [6 Regression] ICE in output_index_string, at dwarf2out.c:25635 with -gsplit-dwarf

2018-08-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79342 --- Comment #10 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Aug 24 11:28:40 2018 New Revision: 263831 URL: https://gcc.gnu.org/viewcvs?rev=263831=gcc=rev Log: DWARF: Call set_indirect_string on DW_MACINFO_start_file Since -gsplit

[Bug target/87014] [x32] __builtin_eh_return should use 64-bit mov to set return address

2018-08-21 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87014 --- Comment #10 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Aug 21 16:38:17 2018 New Revision: 263745 URL: https://gcc.gnu.org/viewcvs?rev=263745=gcc=rev Log: x86: Always update EH return address in word_mode On x86, return address

[Bug target/87014] [x32] __builtin_eh_return should use 64-bit mov to set return address

2018-08-21 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87014 --- Comment #9 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Aug 21 16:27:22 2018 New Revision: 263744 URL: https://gcc.gnu.org/viewcvs?rev=263744=gcc=rev Log: x86: Always update EH return address in word_mode On x86, return address

[Bug target/87014] [x32] __builtin_eh_return should use 64-bit mov to set return address

2018-08-21 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87014 --- Comment #8 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Aug 21 16:17:35 2018 New Revision: 263743 URL: https://gcc.gnu.org/viewcvs?rev=263743=gcc=rev Log: x86: Always update EH return address in word_mode On x86, return address

[Bug target/87014] [x32] __builtin_eh_return should use 64-bit mov to set return address

2018-08-20 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87014 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Aug 20 19:14:04 2018 New Revision: 263672 URL: https://gcc.gnu.org/viewcvs?rev=263672=gcc=rev Log: x86: Always update EH return address in word_mode On x86, return address

[Bug target/86386] [8/9 Regression] unaligned load from stack with -Os -fno-tree-dce -mstringop-strategy=vector_loop -mavx512bw

2018-08-07 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86386 --- Comment #8 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Aug 7 15:06:01 2018 New Revision: 263359 URL: https://gcc.gnu.org/viewcvs?rev=263359=gcc=rev Log: i386: Set cfun->machine->max_used_stack_alignment if needed cfun-&g

[Bug target/86386] [8/9 Regression] unaligned load from stack with -Os -fno-tree-dce -mstringop-strategy=vector_loop -mavx512bw

2018-08-05 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86386 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Sun Aug 5 12:46:13 2018 New Revision: 263317 URL: https://gcc.gnu.org/viewcvs?rev=263317=gcc=rev Log: i386: Set cfun->machine->max_used_stack_alignment if needed cfun-&g

[Bug libgcc/85334] Shadow stack isn't unwound properly through signal handler

2018-07-27 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85334 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Jul 27 14:40:47 2018 New Revision: 263030 URL: https://gcc.gnu.org/viewcvs?rev=263030=gcc=rev Log: i386: Remove _Unwind_Frames_Increment CET kernel has been changed to place

[Bug target/86560] FAIL: c-c++-common/asan/swapcontext-test-1.c

2018-07-26 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86560 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Jul 26 14:48:55 2018 New Revision: 263009 URL: https://gcc.gnu.org/viewcvs?rev=263009=gcc=rev Log: libsanitizer: Mark REAL(swapcontext) with indirect_return attribute on x86

[Bug target/86560] FAIL: c-c++-common/asan/swapcontext-test-1.c

2018-07-19 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86560 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Jul 19 12:00:59 2018 New Revision: 262878 URL: https://gcc.gnu.org/viewcvs?rev=262878=gcc=rev Log: i386: Test __has_attribute (__indirect_return__) The new indirect_return

[Bug target/86560] FAIL: c-c++-common/asan/swapcontext-test-1.c

2018-07-19 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86560 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Jul 19 10:47:23 2018 New Revision: 262877 URL: https://gcc.gnu.org/viewcvs?rev=262877=gcc=rev Log: i386: Change indirect_return to function type attribute In struct ucontext

[Bug target/84413] [8/9 Regression] -mtune=skylake,skylake-avx512,cannonlake,icelake disable many optimizations

2018-07-13 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84413 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Jul 13 20:36:01 2018 New Revision: 262650 URL: https://gcc.gnu.org/viewcvs?rev=262650=gcc=rev Log: x86: Tune Skylake, Cannonlake and Icelake as Haswell r259399, which added

[Bug target/84413] [8/9 Regression] -mtune=skylake,skylake-avx512,cannonlake,icelake disable many optimizations

2018-07-13 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84413 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Jul 13 20:25:57 2018 New Revision: 262649 URL: https://gcc.gnu.org/viewcvs?rev=262649=gcc=rev Log: x86: Tune Skylake, Cannonlake and Icelake as Haswell r259399, which added

[Bug middle-end/85620] Missing ENDBR after swapcontext

2018-07-03 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85620 --- Comment #8 from hjl at gcc dot gnu.org --- Author: hjl Date: Wed Jul 4 03:01:33 2018 New Revision: 262370 URL: https://gcc.gnu.org/viewcvs?rev=262370=gcc=rev Log: i386: Add indirect_return function attribute On x86, swapcontext may return

[Bug target/85990] Wrong TARGET_THREAD_SPLIT_STACK_OFFSET

2018-06-12 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85990 --- Comment #2 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Jun 12 15:35:22 2018 New Revision: 261501 URL: https://gcc.gnu.org/viewcvs?rev=261501=gcc=rev Log: Linux/x86: Update TARGET_THREAD_SPLIT_STACK_OFFSET comments Glibc 2.18

[Bug libitm/85988] Incorrect offsets of __private_tm and pointer_guard

2018-06-12 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85988 --- Comment #2 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Jun 12 11:08:52 2018 New Revision: 261491 URL: https://gcc.gnu.org/viewcvs?rev=261491=gcc=rev Log: libitm/x86: Correct offsets of __private_tm and pointer_guard In glibc

[Bug target/85829] [8/9 Regression] PARTIAL_REG_DEPENDENCY and MOVX were disabled for Haswell and newer processors

2018-05-31 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85829 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu May 31 15:37:22 2018 New Revision: 261028 URL: https://gcc.gnu.org/viewcvs?rev=261028=gcc=rev Log: x86: Re-enable partial_reg_dependency and movx for Haswell r254152 disabled

[Bug target/85829] [8/9 Regression] PARTIAL_REG_DEPENDENCY and MOVX were disabled for Haswell and newer processors

2018-05-31 Thread hjl at gcc dot gnu.org
improvement of 8.6% (time). fft00data_3 (default) - goodperf: Runtime improvement of 9.0% (time). --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu May 31 15:02:36 2018 New Revision: 261026 URL: https://gcc.gnu.org/viewcvs?rev=261026=gcc=rev Log: x86: Re-enable

[Bug target/85345] Missing ENDBR in IFUNC resolver

2018-05-28 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85345 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon May 28 13:44:18 2018 New Revision: 260849 URL: https://gcc.gnu.org/viewcvs?rev=260849=gcc=rev Log: Don't mark IFUNC resolver as only called directly Since IFUNC resolver

[Bug target/85900] [9 Regression] ICEs after revision r260547 on darwin.

2018-05-28 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85900 --- Comment #9 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon May 28 13:44:18 2018 New Revision: 260849 URL: https://gcc.gnu.org/viewcvs?rev=260849=gcc=rev Log: Don't mark IFUNC resolver as only called directly Since IFUNC resolver

[Bug target/85345] Missing ENDBR in IFUNC resolver

2018-05-26 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85345 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Sat May 26 11:35:31 2018 New Revision: 260792 URL: https://gcc.gnu.org/viewcvs?rev=260792=gcc=rev Log: Don't check ifunc_resolver on error Since ifunc_resolver isn't set when

[Bug target/85900] [9 Regression] ICEs after revision r260547 on darwin.

2018-05-26 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85900 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Sat May 26 11:35:31 2018 New Revision: 260792 URL: https://gcc.gnu.org/viewcvs?rev=260792=gcc=rev Log: Don't check ifunc_resolver on error Since ifunc_resolver isn't set when

[Bug sanitizer/85835] libsanitizer includes unconditionally

2018-05-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85835 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu May 24 20:21:54 2018 New Revision: 260688 URL: https://gcc.gnu.org/viewcvs?rev=260688=gcc=rev Log: libsanitizer: Use pre-computed size of struct ustat for Linux Cherry-pick

[Bug sanitizer/85835] libsanitizer includes unconditionally

2018-05-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85835 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu May 24 20:07:25 2018 New Revision: 260687 URL: https://gcc.gnu.org/viewcvs?rev=260687=gcc=rev Log: libsanitizer: Use pre-computed size of struct ustat for Linux Cherry-pick

[Bug sanitizer/85835] libsanitizer includes unconditionally

2018-05-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85835 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu May 24 19:52:32 2018 New Revision: 260684 URL: https://gcc.gnu.org/viewcvs?rev=260684=gcc=rev Log: libsanitizer: Use pre-computed size of struct ustat for Linux Cherry-pick

[Bug target/85900] [9 Regression] ICEs after revision r260547 on darwin.

2018-05-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85900 --- Comment #2 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu May 24 19:51:09 2018 New Revision: 260683 URL: https://gcc.gnu.org/viewcvs?rev=260683=gcc=rev Log: Check ifunc_resolver only on FUNCTION_DECL Since ifunc_resolver is only

[Bug target/85345] Missing ENDBR in IFUNC resolver

2018-05-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85345 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu May 24 19:51:09 2018 New Revision: 260683 URL: https://gcc.gnu.org/viewcvs?rev=260683=gcc=rev Log: Check ifunc_resolver only on FUNCTION_DECL Since ifunc_resolver is only

[Bug target/85345] Missing ENDBR in IFUNC resolver

2018-05-22 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85345 --- Comment #2 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue May 22 19:10:34 2018 New Revision: 260547 URL: https://gcc.gnu.org/viewcvs?rev=260547=gcc=rev Log: Don't mark IFUNC resolver as only called directly Since IFUNC resolver

[Bug target/85473] internal compiler error: in emit_move_insn, at expr.c:3722

2018-04-25 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85473 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Wed Apr 25 17:31:20 2018 New Revision: 259654 URL: https://gcc.gnu.org/viewcvs?rev=259654=gcc=rev Log: x86: Correct movdir64b builtin function gcc/ChangeLog: Backport

[Bug bootstrap/85490] Missing STAGE4_CFLAGS in bootstrap-cet.mk

2018-04-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85490 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Apr 24 22:12:46 2018 New Revision: 259620 URL: https://gcc.gnu.org/viewcvs?rev=259620=gcc=rev Log: x86/CET: Add -fcf-protection to STAGE4_CFLAGS Since profiledbootstrap uses

[Bug target/85485] Remove -mcet

2018-04-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85485 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Apr 24 16:56:04 2018 New Revision: 259613 URL: https://gcc.gnu.org/viewcvs?rev=259613=gcc=rev Log: x86/CET: Remove the -mcet command-lint option With revision 259496: commit

[Bug target/85485] Remove -mcet

2018-04-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85485 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Apr 24 16:54:35 2018 New Revision: 259612 URL: https://gcc.gnu.org/viewcvs?rev=259612=gcc=rev Log: x86/CET tests: Remove -mcet/-mno-cet or replace -mcet with -mshstk

[Bug target/85485] Remove -mcet

2018-04-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85485 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Apr 24 16:47:24 2018 New Revision: 259611 URL: https://gcc.gnu.org/viewcvs?rev=259611=gcc=rev Log: Don't bootstrap GCC with -mcet With revision 259496: commit

[Bug target/85485] Remove -mcet

2018-04-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85485 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Apr 24 16:41:01 2018 New Revision: 259608 URL: https://gcc.gnu.org/viewcvs?rev=259608=gcc=rev Log: x86/CET: Build target libraries with -mshstk With revision 259522: commit

[Bug libitm/85489] config/x86/sjlj.S should use unsigned integer to unwind shadow stack

2018-04-23 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85489 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 23 12:29:00 2018 New Revision: 259559 URL: https://gcc.gnu.org/viewcvs?rev=259559=gcc=rev Log: x86/cet: Use unsigned integer to unwind shadow stack Use unsigned integer

[Bug target/85469] -mibt is unused

2018-04-20 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85469 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Apr 20 13:30:13 2018 New Revision: 259522 URL: https://gcc.gnu.org/viewcvs?rev=259522=gcc=rev Log: Define __CET__ for -fcf-protection and remove -mibt With revision 259496

[Bug libgcc/85334] Shadow stack isn't unwound properly through signal handler

2018-04-19 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85334 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Apr 19 17:05:39 2018 New Revision: 259502 URL: https://gcc.gnu.org/viewcvs?rev=259502=gcc=rev Log: libgcc/CET: Skip signal frames when unwinding shadow stack When -fcf

[Bug target/85397] -mcet -fcf-protection doesn't work with label in nested function

2018-04-19 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Apr 19 16:36:34 2018 New Revision: 259500 URL: https://gcc.gnu.org/viewcvs?rev=259500=gcc=rev Log: i386: Add save_stack_nonlocal and restore_stack_nonlocal Define

[Bug target/85404] -fcf-protection -mcet doesn't work with -fleading-underscore

2018-04-19 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85404 --- Comment #2 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Apr 19 15:24:53 2018 New Revision: 259498 URL: https://gcc.gnu.org/viewcvs?rev=259498=gcc=rev Log: x86/cet: Properly output labels in property note section Replace

[Bug libgcc/85379] Missing ENDBR in __stack_split_initialize

2018-04-19 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85379 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Apr 19 15:22:27 2018 New Revision: 259497 URL: https://gcc.gnu.org/viewcvs?rev=259497=gcc=rev Log: libgcc/CET: Add _CET_ENDBR to __stack_split_initialize Program received

[Bug target/85417] -fcf-protection should provide CET protection on x86

2018-04-19 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Apr 19 15:15:04 2018 New Revision: 259496 URL: https://gcc.gnu.org/viewcvs?rev=259496=gcc=rev Log: x86: Enable -fcf-protection with multi-byte NOPs -fcf-protection -mcet

[Bug target/85388] Missing ENDBR after __morestack call

2018-04-18 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85388 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Wed Apr 18 19:14:28 2018 New Revision: 259475 URL: https://gcc.gnu.org/viewcvs?rev=259475=gcc=rev Log: i386: Insert ENDBR after __morestack call Since __morestack will jump back

[Bug target/84574] Function return thunks shouldn't be aliased to indirect branch thunks

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84574 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 19:11:13 2018 New Revision: 259422 URL: https://gcc.gnu.org/viewcvs?rev=259422=gcc=rev Log: i386: Don't generate alias for function return thunk Function return thunks

[Bug target/84039] x86 retpolines and CFI

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84039 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 19:08:14 2018 New Revision: 259421 URL: https://gcc.gnu.org/viewcvs?rev=259421=gcc=rev Log: i386: Add TARGET_INDIRECT_BRANCH_REGISTER For --- struct C { virtual ~C

[Bug target/84530] -mfunction-return=thunk does not work for simple_return_pop_internal insn

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84530 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 19:06:32 2018 New Revision: 259420 URL: https://gcc.gnu.org/viewcvs?rev=259420=gcc=rev Log: i386: Update -mfunction-return= for return with pop When -mfunction-return

[Bug bootstrap/83839] [8 Regression] bootstrap fails in gcc/config/i386/i386.c on darwin

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83839 --- Comment #10 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 18:55:04 2018 New Revision: 259414 URL: https://gcc.gnu.org/viewcvs?rev=259414=gcc=rev Log: x86: Add -mfunction-return= Add -mfunction-return= option to convert

[Bug target/83905] ix86_expand_epilogue modifies the copy of cfun->machine->frame

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83905 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 18:44:43 2018 New Revision: 259411 URL: https://gcc.gnu.org/viewcvs?rev=259411=gcc=rev Log: i386: Use const reference of struct ix86_frame to avoid copy We can use

[Bug target/82499] x86: small stack initial adjustments could use push

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82499 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 18:42:57 2018 New Revision: 259408 URL: https://gcc.gnu.org/viewcvs?rev=259408=gcc=rev Log: i386: Move struct ix86_frame to machine_function Make ix86_frame available

[Bug middle-end/85403] internal compiler error: ... config/i386/i386.c:32347

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85403 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 11:31:22 2018 New Revision: 259400 URL: https://gcc.gnu.org/viewcvs?rev=259400=gcc=rev Log: i386: Check error_mark_node in multiversioning Since CET is applied

[Bug debug/22318] debug info wrong for doubles followed by bools

2018-04-05 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22318 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Apr 5 17:49:39 2018 New Revision: 259140 URL: https://gcc.gnu.org/viewcvs?rev=259140=gcc=rev Log: Use dlsym to check if libdl is needed for plugin config/plugins.m4 has

[Bug target/85100] __builtin_cpu_supports avx does not verify OS supports it

2018-04-02 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85100 --- Comment #11 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 2 12:09:48 2018 New Revision: 259007 URL: https://gcc.gnu.org/viewcvs?rev=259007=gcc=rev Log: i386: Enable AVX/AVX512 features only if supported by OSXSAVE Enable AVX

[Bug target/85100] __builtin_cpu_supports avx does not verify OS supports it

2018-04-02 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85100 --- Comment #10 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 2 12:03:16 2018 New Revision: 259006 URL: https://gcc.gnu.org/viewcvs?rev=259006=gcc=rev Log: i386: Enable AVX/AVX512 features only if supported by OSXSAVE Enable AVX

[Bug target/85100] __builtin_cpu_supports avx does not verify OS supports it

2018-03-29 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85100 --- Comment #9 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Mar 29 13:14:06 2018 New Revision: 258954 URL: https://gcc.gnu.org/viewcvs?rev=258954=gcc=rev Log: i386: Enable AVX/AVX512 features only if supported by OSXSAVE Enable AVX

[Bug target/85044] ENDBR is missing in ix86_trampoline_init

2018-03-27 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85044 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Mar 27 17:18:51 2018 New Revision: 258897 URL: https://gcc.gnu.org/viewcvs?rev=258897=gcc=rev Log: i386: Insert ENDBR to trampoline for -fcf-protection=branch -mibt When -fcf

[Bug target/84574] Function return thunks shouldn't be aliased to indirect branch thunks

2018-03-19 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84574 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Mar 19 16:52:13 2018 New Revision: 258647 URL: https://gcc.gnu.org/viewcvs?rev=258647=gcc=rev Log: i386: Don't generate alias for function return thunk Function return thunks

[Bug target/84574] Function return thunks shouldn't be aliased to indirect branch thunks

2018-03-15 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84574 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Mar 15 17:54:40 2018 New Revision: 258569 URL: https://gcc.gnu.org/viewcvs?rev=258569=gcc=rev Log: i386: Don't generate alias for function return thunk Function return thunks

[Bug other/84821] [8 Regression] ICE (unable to find a register to spill)

2018-03-12 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84821 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Mar 12 13:33:38 2018 New Revision: 258449 URL: https://gcc.gnu.org/viewcvs?rev=258449=gcc=rev Log: Add a testcase for PR 84821 This was introduced by r258390 and fixed

[Bug target/84799] ICE on valid code at -O1: in lra_split_hard_reg_for, at lra-assigns.c:1802

2018-03-12 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84799 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Mar 12 13:32:44 2018 New Revision: 258448 URL: https://gcc.gnu.org/viewcvs?rev=258448=gcc=rev Log: Add a testcase for PR 84799 This was introduced by r258390 and fixed

[Bug other/82352] [7 Regression] comdat-local function called by void h::i() outside its comdat

2018-03-10 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82352 --- Comment #13 from hjl at gcc dot gnu.org --- Author: hjl Date: Sat Mar 10 18:45:55 2018 New Revision: 258418 URL: https://gcc.gnu.org/viewcvs?rev=258418=gcc=rev Log: Backport r256266 from mainline Backport from mainline 2018

[Bug target/84807] i386: typo "Support Control-flow Enforcment Technology"

2018-03-10 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84807 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Sat Mar 10 15:57:10 2018 New Revision: 258414 URL: https://gcc.gnu.org/viewcvs?rev=258414=gcc=rev Log: i386: Fix a typo: Enforcment -> Enforcement PR target/84

[Bug target/84039] x86 retpolines and CFI

2018-03-02 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84039 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Mar 2 13:09:55 2018 New Revision: 258135 URL: https://gcc.gnu.org/viewcvs?rev=258135=gcc=rev Log: i386: Add TARGET_INDIRECT_BRANCH_REGISTER For --- struct C { virtual ~C

[Bug target/84530] -mfunction-return=thunk does not work for simple_return_pop_internal insn

2018-03-02 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84530 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Mar 2 13:05:18 2018 New Revision: 258134 URL: https://gcc.gnu.org/viewcvs?rev=258134=gcc=rev Log: i386: Update -mfunction-return= for return with pop When -mfunction-return

[Bug target/84039] x86 retpolines and CFI

2018-02-26 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84039 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Feb 26 17:00:46 2018 New Revision: 258001 URL: https://gcc.gnu.org/viewcvs?rev=258001=gcc=rev Log: i386: Add TARGET_INDIRECT_BRANCH_REGISTER For --- struct C { virtual ~C

[Bug target/84530] -mfunction-return=thunk does not work for simple_return_pop_internal insn

2018-02-26 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84530 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Feb 26 15:29:30 2018 New Revision: 257992 URL: https://gcc.gnu.org/viewcvs?rev=257992=gcc=rev Log: i386: Update -mfunction-return= for return with pop When -mfunction-return

[Bug target/84176] Need a different thunk for -mindirect-branch=thunk-extern -fcf-protection -mcet

2018-02-22 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84176 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Feb 22 17:09:06 2018 New Revision: 257909 URL: https://gcc.gnu.org/viewcvs?rev=257909=gcc=rev Log: i386: Add __x86_indirect_thunk_nt_reg for -fcf-protection -mcet nocf_check

[Bug testsuite/84243] [8 Regression] gcc.target/i386/cet-intrin-4.c at r257414

2018-02-07 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84243 --- Comment #11 from hjl at gcc dot gnu.org --- Author: hjl Date: Wed Feb 7 10:49:53 2018 New Revision: 257445 URL: https://gcc.gnu.org/viewcvs?rev=257445=gcc=rev Log: Use -fcf-protection=return in cet-intrin-4.c Since -fcf-protection

[Bug target/84248] [8 Regression] r257414 failed too bootstrap in libitm

2018-02-07 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84248 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Wed Feb 7 10:48:39 2018 New Revision: 257444 URL: https://gcc.gnu.org/viewcvs?rev=257444=gcc=rev Log: i386: Mask out the CF_SET bit for -fcf-protection check Since

[Bug target/83905] ix86_expand_epilogue modifies the copy of cfun->machine->frame

2018-01-27 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83905 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Sat Jan 27 13:10:24 2018 New Revision: 257123 URL: https://gcc.gnu.org/viewcvs?rev=257123=gcc=rev Log: i386: Use const reference of struct ix86_frame to avoid copy We can use

[Bug target/83905] ix86_expand_epilogue modifies the copy of cfun->machine->frame

2018-01-23 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83905 --- Comment #2 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Jan 23 19:30:32 2018 New Revision: 256996 URL: https://gcc.gnu.org/viewcvs?rev=256996=gcc=rev Log: i386: Use const reference of struct ix86_frame to avoid copy We can use

[Bug bootstrap/83839] [8 Regression] bootstrap fails in gcc/config/i386/i386.c on darwin

2018-01-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83839 --- Comment #8 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Jan 16 11:10:44 2018 New Revision: 256734 URL: https://gcc.gnu.org/viewcvs?rev=256734=gcc=rev Log: x86: Add -mfunction-return= Add -mfunction-return= option to convert

[Bug bootstrap/83839] [8 Regression] bootstrap fails in gcc/config/i386/i386.c on darwin

2018-01-15 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83839 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Jan 15 18:16:01 2018 New Revision: 256704 URL: https://gcc.gnu.org/viewcvs?rev=256704=gcc=rev Log: i386: Don't use ASM_OUTPUT_DEF for TARGET_MACHO ASM_OUTPUT_DEF isn't

[Bug target/83330] [7/8 Regression] generating unaligned store to stack for SSE register with -mno-push-args

2018-01-15 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83330 --- Comment #8 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Jan 15 16:13:23 2018 New Revision: 256703 URL: https://gcc.gnu.org/viewcvs?rev=256703=gcc=rev Log: i386: Align stack frame if argument is passed on stack When a function call

[Bug target/83330] [7/8 Regression] generating unaligned store to stack for SSE register with -mno-push-args

2018-01-11 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83330 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Jan 11 20:44:46 2018 New Revision: 256555 URL: https://gcc.gnu.org/viewcvs?rev=256555=gcc=rev Log: i386: Align stack frame if argument is passed on stack When a function call

[Bug target/83735] [8 Regression] generating unaligned store to stack with vmovaps

2018-01-10 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83735 --- Comment #10 from hjl at gcc dot gnu.org --- Author: hjl Date: Wed Jan 10 15:37:49 2018 New Revision: 256436 URL: https://gcc.gnu.org/viewcvs?rev=256436=gcc=rev Log: i386: Also adjust stack frame for stack slot alignment We should also

[Bug rtl-optimization/78585] unaligned vmovaps memory operand generated for i686 target

2018-01-09 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78585 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Jan 9 23:15:40 2018 New Revision: 256402 URL: https://gcc.gnu.org/viewcvs?rev=256402=gcc=rev Log: i386: Add a test for PR target/78585 PR target/78585 has been fixed for GCC

[Bug c++/83471] [7 regression] internal compiler error: in mark_reachable_handlers, at tree-eh.c:3854

2017-12-19 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83471 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Dec 19 13:40:42 2017 New Revision: 255822 URL: https://gcc.gnu.org/viewcvs?rev=255822=gcc=rev Log: Add a tetst for PR middle-end/83471 Backported from mainline

[Bug c++/83471] [7 regression] internal compiler error: in mark_reachable_handlers, at tree-eh.c:3854

2017-12-19 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83471 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Dec 19 13:38:29 2017 New Revision: 255821 URL: https://gcc.gnu.org/viewcvs?rev=255821=gcc=rev Log: Add a tetst for PR middle-end/83471 PR middle-end/83471 * g

<    1   2   3   4   5   6   7   8   >