public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/112791] New: error: 'TYPE_CANONICAL' is not compatible
@ 2023-11-30 21:22 dcb314 at hotmail dot com
2023-11-30 21:34 ` [Bug c/112791] " muecker at gwdg dot de
2023-11-30 21:36 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: dcb314 at hotmail dot com @ 2023-11-30 21:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112791
Bug ID: 112791
Summary: error: 'TYPE_CANONICAL' is not compatible
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
This C source code:
typedef abi_ulong __attribute__((aligned(2)));
abi_ulong extramask[];
when compiled by recent gcc trunk, does this:
$ ../gcc/results.20231126/bin/gcc -c -g -w bug986.c
bug986.c:2:1: error: 'TYPE_CANONICAL' is not compatible
2 | abi_ulong extramask[];
| ^~~~~~~~~
<array_type 0x76b057e0
type <integer_type 0x76f853c0 int public SI
size <integer_cst 0x769dbee8 constant 32>
unit-size <integer_cst 0x769dbf00 constant 4>
align:32 warn_if_not_align:0 symtab:1990149344 alias-set -1
canonical-ty
pe 0x76f853c0 precision:32 min <integer_cst 0x769ed138 -2147483648> max
<integer
_cst 0x769ed150 2147483647>
This is on a Raspberry PI 3.
dcb@raspberrypi:~ $ ~/gcc/results.20231126/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/home/dcb/gcc/results.20231126/bin/gcc
COLLECT_LTO_WRAPPER=/home/dcb/gcc/results.20231126/libexec/gcc/arm-linux-gnueabihf/14.0.0/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../trunk/configure --prefix=/home/dcb/gcc/results.20231126
--disable-bootstrap --disable-multilib --disable-werror
--with-pkgversion=e40a13eaca4d87ec --enable-checking=yes
--enable-languages=c,c++ --with-cpu=cortex-a72 --with-fpu=neon-fp-armv8
--with-float=hard --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf
--target=arm-linux-gnueabihf
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 14.0.0 20231126 (experimental) (e40a13eaca4d87ec)
dcb@raspberrypi:~ $
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/112791] error: 'TYPE_CANONICAL' is not compatible
2023-11-30 21:22 [Bug c/112791] New: error: 'TYPE_CANONICAL' is not compatible dcb314 at hotmail dot com
@ 2023-11-30 21:34 ` muecker at gwdg dot de
2023-11-30 21:36 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: muecker at gwdg dot de @ 2023-11-30 21:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112791
Martin Uecker <muecker at gwdg dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |muecker at gwdg dot de
--- Comment #1 from Martin Uecker <muecker at gwdg dot de> ---
Also on RISC V (64 bit9 https://godbolt.org/z/3bEc5j34E
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/112791] error: 'TYPE_CANONICAL' is not compatible
2023-11-30 21:22 [Bug c/112791] New: error: 'TYPE_CANONICAL' is not compatible dcb314 at hotmail dot com
2023-11-30 21:34 ` [Bug c/112791] " muecker at gwdg dot de
@ 2023-11-30 21:36 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-11-30 21:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112791
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup.
*** This bug has been marked as a duplicate of bug 97323 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-30 21:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-30 21:22 [Bug c/112791] New: error: 'TYPE_CANONICAL' is not compatible dcb314 at hotmail dot com
2023-11-30 21:34 ` [Bug c/112791] " muecker at gwdg dot de
2023-11-30 21:36 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).