https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
Jakub Jelinek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
--- Comment #15 from Hongtao.liu ---
Fixed in GCC10.5, GCC11.4,GCC12.3 and GCC13.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
--- Comment #14 from CVS Commits ---
The releases/gcc-10 branch has been updated by hongtao Liu
:
https://gcc.gnu.org/g:ac30c91a1002ae4049a4773d07d5da41e7bd3138
commit r10-11105-gac30c91a1002ae4049a4773d07d5da41e7bd3138
Author: liuhongt
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
--- Comment #13 from CVS Commits ---
The releases/gcc-11 branch has been updated by hongtao Liu
:
https://gcc.gnu.org/g:e6d28f7fd4573988b2417a52acd0a27b7ee91681
commit r11-10404-ge6d28f7fd4573988b2417a52acd0a27b7ee91681
Author: liuhongt
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
--- Comment #12 from CVS Commits ---
The releases/gcc-12 branch has been updated by hongtao Liu
:
https://gcc.gnu.org/g:b7306f02da33695bec90f153f6725a51d7c0ac71
commit r12-8954-gb7306f02da33695bec90f153f6725a51d7c0ac71
Author: liuhongt
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
--- Comment #11 from CVS Commits ---
The master branch has been updated by hongtao Liu :
https://gcc.gnu.org/g:cda29c540037fbcf00a377196050953aab1d3d5b
commit r13-4432-gcda29c540037fbcf00a377196050953aab1d3d5b
Author: liuhongt
Date: Mon Nov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
--- Comment #10 from Hongtao.liu ---
I notice there's TARGET_PROMOTE_PROTOTYPES which can prevent unsigend char 255
be extended to int 255 which is a more perfect solution to this problem. But we
can only get fntype in this hook, ideally we shou
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
--- Comment #9 from Hongtao.liu ---
expand_expr_real_1 generates (const_int 255) without considering the target
mode.
I guess it's on purpose, so I'll leave that alone and only change the expander
in the backend. After applying convert_modes to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
--- Comment #8 from Hongtao.liu ---
(In reply to Hongtao.liu from comment #7)
> > - if (width < HOST_BITS_PER_WIDE_INT)
> > + if (width < HOST_BITS_PER_WIDE_INT
> > + && (mode != QImode || !flag_signed_char))
> typo should be
> + &&
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
--- Comment #7 from Hongtao.liu ---
> - if (width < HOST_BITS_PER_WIDE_INT)
> + if (width < HOST_BITS_PER_WIDE_INT
> + && (mode != QImode || !flag_signed_char))
typo should be
+ && (mode != QImode || flag_signed_char))
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
--- Comment #6 from Hongtao.liu ---
For pattern
(set (reg:QI 607)
(const_int 255 [0xff]))
general_operand return false for op const_int 255 QImode since
trunc_int_for_mode (INTVAL (op), mode) return -1, INVAL (op) is 255.
---cut from gener
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
--- Comment #5 from Hongtao.liu ---
Also I get below from build_common_tree_nodes
/* Define `char', which is like either `signed char' or `unsigned char'
but not the same as either. */
char_type_node
= (signed_char
? make_s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
Hongtao.liu changed:
What|Removed |Added
CC||hjl.tools at gmail dot com
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
Richard Biener changed:
What|Removed |Added
Target||x86_64-*-*
--- Comment #3 from Richard
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
Andrew Pinski changed:
What|Removed |Added
Keywords||FIXME
--- Comment #2 from Andrew Pinski
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107863
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |10.5
Summary|ICE with unreco
16 matches
Mail list logo