[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2022-01-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-31 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 --- Comment #12 from Hongtao.liu --- Fixed in GCC12.

[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 --- Comment #11 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:508fa61b6319377e48cbee98da221aacd475fd10 commit r12-3276-g508fa61b6319377e48cbee98da221aacd475fd10 Author: liuhongt Date: Tue

[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-31 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 --- Comment #10 from Mikael Pettersson --- (In reply to Hongtao.liu from comment #2) > But failed to configure for target mcore, i didn't find any reference in > https://gcc.gnu.org/install/specific.html > > --target=mcore results in > ***

[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 --- Comment #9 from Richard Biener --- SUBREGs are not wanted for DECL_RTL

[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 --- Comment #8 from Hongtao.liu --- (In reply to Hongtao.liu from comment #7) > Since we also allow something like (concat:(subreg) (subreg)), should we > also allow subreg outside? > >gcc_checking_assert (!x > ||

[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 --- Comment #7 from Hongtao.liu --- Since we also allow something like (concat:(subreg) (subreg)), should we also allow subreg outside? gcc_checking_assert (!x || !(TREE_CODE (t) == SSA_NAME || is_gimple_reg (t))

[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 --- Comment #6 from Hongtao.liu --- The difference of insn sequence is like good one: (insn 5 4 6 (clobber (reg/v:DF 153)) "/scratch/jmyers/glibc/many12/src/gcc/libgcc/libgcc2.c":1948:1 -1 (nil)) (insn 6 5 7 (set (subreg:SI (reg/v:DF 153)

[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 --- Comment #5 from Hongtao.liu --- (In reply to Hongtao.liu from comment #4) > > > > and it hit REG_P (XEXP (x, 1)), XEXP (x, 1) is invalid for subreg, so > > set_rtl here doesn't accept subreg? > > typo, it hit gcc_assert that if X is not

[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 --- Comment #4 from Hongtao.liu --- > > and it hit REG_P (XEXP (x, 1)), XEXP (x, 1) is invalid for subreg, so > set_rtl here doesn't accept subreg? typo, it hit gcc_assert that if X is not REG, it must be CONCAT or PARALLEL, but here is

[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 --- Comment #3 from Hongtao.liu --- static inline void set_rtl (tree t, rtx x) { gcc_checking_assert (!x || !(TREE_CODE (t) == SSA_NAME || is_gimple_reg (t)) || (use_register_for_decl (t)

[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 --- Comment #2 from Hongtao.liu --- I successfully reproduce error related to 32-bit SPARC libgcc But failed to configure for target mcore, i didn't find any reference in https://gcc.gnu.org/install/specific.html --target=mcore results in ***

[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #1

[Bug middle-end/102133] [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC

2021-08-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102133 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0