public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/114226] New: ICE on valid vanilla code when xtheadvector enabled
@ 2024-03-04 10:03 bruce at hoult dot org
  2024-03-04 10:14 ` [Bug c/114226] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bruce at hoult dot org @ 2024-03-04 10:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114226

            Bug ID: 114226
           Summary: ICE on valid vanilla code when xtheadvector enabled
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bruce at hoult dot org
  Target Milestone: ---

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c/114226] ICE on valid vanilla code when xtheadvector enabled
  2024-03-04 10:03 [Bug c/114226] New: ICE on valid vanilla code when xtheadvector enabled bruce at hoult dot org
@ 2024-03-04 10:14 ` rguenth at gcc dot gnu.org
  2024-03-04 10:16 ` bruce at hoult dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-03-04 10:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114226

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2024-03-04
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The bugreport seems incomplete.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c/114226] ICE on valid vanilla code when xtheadvector enabled
  2024-03-04 10:03 [Bug c/114226] New: ICE on valid vanilla code when xtheadvector enabled bruce at hoult dot org
  2024-03-04 10:14 ` [Bug c/114226] " rguenth at gcc dot gnu.org
@ 2024-03-04 10:16 ` bruce at hoult dot org
  2024-03-04 10:32 ` bruce at hoult dot org
  2024-03-04 14:14 ` [Bug c/114226] ICE on valid vanilla code when RVV " pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: bruce at hoult dot org @ 2024-03-04 10:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114226

--- Comment #2 from Bruce Hoult <bruce at hoult dot org> ---
Created attachment 57601
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57601&action=edit
compiler output

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c/114226] ICE on valid vanilla code when xtheadvector enabled
  2024-03-04 10:03 [Bug c/114226] New: ICE on valid vanilla code when xtheadvector enabled bruce at hoult dot org
  2024-03-04 10:14 ` [Bug c/114226] " rguenth at gcc dot gnu.org
  2024-03-04 10:16 ` bruce at hoult dot org
@ 2024-03-04 10:32 ` bruce at hoult dot org
  2024-03-04 14:14 ` [Bug c/114226] ICE on valid vanilla code when RVV " pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: bruce at hoult dot org @ 2024-03-04 10:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114226

Bruce Hoult <bruce at hoult dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                URL|                            |https://godbolt.org/z/7x4rM
                   |                            |hvW1

--- Comment #3 from Bruce Hoult <bruce at hoult dot org> ---
gah! It deleted the description, URL, keywords etc I was in the middle of
writing when I added an attachment of the compiler output! Sorry!

Code:

    void *memset();
    void a(void *b){ memset(b, 0, 1lu); }

Compile command:

    riscv64-unknown-elf-gcc -O -c -march=rv64gc_xtheadvector bug.c

GCC version: 14.0.1 self compiled 306a4c322353 Mar 2 Daily bump.

System type: RISC-V.

Happens on LicheePi 4A, VisionFive 2, QEMU, and cross-compiler on Godbolt.

The original code was the main program for a program that used RVV intrinsics
in other files, but not in this one. For simplicity the same options were
passed for all source files.

Compiler build options (local .. I don't know what Godbolt uses):

/root/riscv-gnu-toolchain/gcc/configure --target=riscv64-unknown-elf
--prefix=/root/_install --disable-shared --disable-threads
--enable-languages=c,c++ --with-pkgversion=g --with-system-zlib --enable-tls
--with-newlib --with-sysroot=/root/_install/riscv64-unknown-elf
--with-native-system-header-dir=/include --disable-libmudflap --disable-libssp
--disable-libquadmath --disable-libgomp --disable-nls
--disable-tm-clone-registry --src=.././gcc --disable-multilib --with-abi=lp64d
--with-arch=rv64imafdc --with-tune=rocket --with-isa-spec=20191213
'CFLAGS_FOR_TARGET=-Os    -mcmodel=medlow' 'CXXFLAGS_FOR_TARGET=-Os   
-mcmodel=medlow'

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c/114226] ICE on valid vanilla code when RVV xtheadvector enabled
  2024-03-04 10:03 [Bug c/114226] New: ICE on valid vanilla code when xtheadvector enabled bruce at hoult dot org
                   ` (2 preceding siblings ...)
  2024-03-04 10:32 ` bruce at hoult dot org
@ 2024-03-04 14:14 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-04 14:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114226

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup.

*** This bug has been marked as a duplicate of bug 114194 ***

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-04 14:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-04 10:03 [Bug c/114226] New: ICE on valid vanilla code when xtheadvector enabled bruce at hoult dot org
2024-03-04 10:14 ` [Bug c/114226] " rguenth at gcc dot gnu.org
2024-03-04 10:16 ` bruce at hoult dot org
2024-03-04 10:32 ` bruce at hoult dot org
2024-03-04 14:14 ` [Bug c/114226] ICE on valid vanilla code when RVV " 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).