Launchpad has imported 7 comments from the remote bug at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67143.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://documentation.ubuntu.com/launchpad/user/reference/bugs/multi-project-bugs/about-multi-project-bugs/#bugs-in-external-trackers. ------------------------------------------------------------------------ On 2015-08-07T08:53:51+00:00 Doko-v wrote: seen when building mysql trunk using trunk r226068, and gcc-5-branch r226354: $ cat btr0btr.ii long a, c; bool b; int d; void ut_dbg_assertion_failed() __attribute__((noreturn)); long dict_index_is_spatial(int *); void btr_block_get_func(char *); long btr_page_get_level_low(unsigned char *); void btr_validate_level(long p1, bool) { unsigned char *e; while (p1 != btr_page_get_level_low(e)) { if (__builtin_expect(b, 0)) ut_dbg_assertion_failed(); if (dict_index_is_spatial(&d)) while (c != 5535) { __sync_add_and_fetch(&a, 536870912); btr_block_get_func(""); } } for (long i; i; ++i) btr_validate_level(-i, true); } $ g++ -Wno-write-strings -c -g -O3 btr0btr.ii btr0btr.ii: In function 'void btr_validate_level(long int, bool)': btr0btr.ii:21:1: error: could not split insn } ^ (insn 300 298 303 (parallel [ (set (mem/v:DI (reg/f:DI 0 x0 [234]) [-1 S8 A64]) (unspec_volatile:DI [ (plus:DI (mem/v:DI (reg/f:DI 0 x0 [234]) [-1 S8 A64]) (const_int 536870912 [0x20000000])) (const_int 5 [0x5]) ] UNSPECV_ATOMIC_OP)) (clobber (reg:CC 66 cc)) (clobber (reg:DI 1 x1 [490])) (clobber (reg:SI 2 x2 [491])) ]) btr0btr.ii:15 2451 {atomic_adddi} (expr_list:REG_DEAD (reg/f:DI 0 x0 [234]) (expr_list:REG_UNUSED (reg:CC 66 cc) (expr_list:REG_UNUSED (reg:SI 2 x2 [491]) (expr_list:REG_UNUSED (reg:DI 1 x1 [490]) (nil)))))) btr0btr.ii:21:1: internal compiler error: in final_scan_insn, at final.c:3020 0x9eadbf _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ../../src/gcc/rtl-error.c:110 0x80dfc7 final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) ../../src/gcc/final.c:3020 0x80e287 final(rtx_insn*, _IO_FILE*, int) ../../src/gcc/final.c:2089 0x80e78f rest_of_handle_final ../../src/gcc/final.c:4488 0x80e78f execute ../../src/gcc/final.c:4563 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1481333/comments/6 ------------------------------------------------------------------------ On 2015-08-07T11:54:10+00:00 Ktkachov wrote: Seems related to something Matthew has been working on recently? Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1481333/comments/8 ------------------------------------------------------------------------ On 2015-08-07T12:02:13+00:00 Mwahab wrote: (In reply to ktkachov from comment #1) > Seems related to something Matthew has been working on recently? No, it looks like something to do with the <lconst_atomic> constratint introduced by https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=217076 Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1481333/comments/9 ------------------------------------------------------------------------ On 2015-08-14T15:06:14+00:00 Mwahab wrote: Author: mwahab Date: Fri Aug 14 15:05:42 2015 New Revision: 226895 URL: https://gcc.gnu.org/viewcvs?rev=226895&root=gcc&view=rev Log: gcc/ 2015-08-14 Matthew Wahab <[email protected]> PR target/67143 * config/aarch64/atomics.md (atomic_<optab><mode>): Replace 'lconst_atomic' with 'const_atomic'. (atomic_fetch_<optab><mode>): Likewise. (atomic_<optab>_fetch<mode>): Likewise. * config/aarch64/iterators.md (lconst-atomic): Move below 'const_atomic'. (const_atomic): New. gcc/testsuite/ 2015-08-14 Matthew Wahab <[email protected]> Matthias Klose <[email protected]> PR target/67143 * gcc.c-torture/compile/pr67143.c: New * gcc.target/aarch64/atomic-op-imm.c (atomic_fetch_add_negative_RELAXED): New. (atomic_fetch_sub_negative_ACQUIRE): New. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr67143.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/aarch64/atomics.md trunk/gcc/config/aarch64/iterators.md trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/aarch64/atomic-op-imm.c Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1481333/comments/10 ------------------------------------------------------------------------ On 2015-08-20T07:09:23+00:00 Pinskia wrote: Confirmed. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1481333/comments/11 ------------------------------------------------------------------------ On 2015-09-23T09:48:48+00:00 Mwahab wrote: Author: mwahab Date: Wed Sep 23 09:48:16 2015 New Revision: 228037 URL: https://gcc.gnu.org/viewcvs?rev=228037&root=gcc&view=rev Log: [Aarch64][target/PR 67143][5.2] Backport correct constraints for atomic operations. gcc/ 2015-09-23 Matthew Wahab <[email protected]> Backport from mainline 2015-08-14 Matthew Wahab <[email protected]> PR target/67143 * config/aarch64/atomics.md (atomic_<optab><mode>): Replace 'lconst_atomic' with 'const_atomic'. (atomic_fetch_<optab><mode>): Likewise. (atomic_<optab>_fetch<mode>): Likewise. * config/aarch64/iterators.md (lconst-atomic): Move below 'const_atomic'. (const_atomic): New. gcc/testsuite/ 2015-09-23 Matthew Wahab <[email protected]> Backport from mainline 2015-08-14 Matthew Wahab <[email protected]> Matthias Klose <[email protected]> PR target/67143 * gcc.c-torture/compile/pr67143.c: New * gcc.target/aarch64/atomic-op-imm.c (atomic_fetch_add_negative_RELAXED): New. (atomic_fetch_sub_negative_ACQUIRE): New. Added: branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/compile/pr67143.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/aarch64/atomics.md branches/gcc-5-branch/gcc/config/aarch64/iterators.md branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/testsuite/gcc.target/aarch64/atomic-op-imm.c Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1481333/comments/13 ------------------------------------------------------------------------ On 2015-09-30T03:02:26+00:00 Ramana-gcc wrote: Fixed then. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1481333/comments/14 ** Changed in: gcc Status: Unknown => Fix Released ** Changed in: gcc Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1481333 Title: internal compiler error: in final_scan_insn, at final.c:3020 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1481333/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
