public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/97217] New: C++ program compiled with GCC crashes
@ 2020-09-27 15:09 carsten.schmidt-achim at gmx dot de
2020-09-27 20:17 ` [Bug c++/97217] " redi at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: carsten.schmidt-achim at gmx dot de @ 2020-09-27 15:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97217
Bug ID: 97217
Summary: C++ program compiled with GCC crashes
Product: gcc
Version: 10.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: carsten.schmidt-achim at gmx dot de
Target Milestone: ---
Created attachment 49277
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49277&action=edit
Example assembly listing causing the crash.
During development of my vector/matrix library using template meta programming,
I discovered that my test program crashes on some occasions when being compiled
with GCC.
When inspecting the assembly code generated by GCC, the instruction crashing
the program
seems to be unrelated to the data flow of the program.
I will attach the generated assembly of one of my test cases, which crashes the
program.
Please let me know if you would like to investigate further and how I can be of
service!
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/97217] C++ program compiled with GCC crashes
2020-09-27 15:09 [Bug c++/97217] New: C++ program compiled with GCC crashes carsten.schmidt-achim at gmx dot de
@ 2020-09-27 20:17 ` redi at gcc dot gnu.org
2020-09-28 17:19 ` carsten.schmidt-achim at gmx dot de
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2020-09-27 20:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97217
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2020-09-27
Status|UNCONFIRMED |WAITING
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Please read https://gcc.gnu.org/bugs/ as requested when creating a bug report.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/97217] C++ program compiled with GCC crashes
2020-09-27 15:09 [Bug c++/97217] New: C++ program compiled with GCC crashes carsten.schmidt-achim at gmx dot de
2020-09-27 20:17 ` [Bug c++/97217] " redi at gcc dot gnu.org
@ 2020-09-28 17:19 ` carsten.schmidt-achim at gmx dot de
2020-09-28 17:20 ` carsten.schmidt-achim at gmx dot de
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: carsten.schmidt-achim at gmx dot de @ 2020-09-28 17:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97217
--- Comment #2 from Carsten Schmidt <carsten.schmidt-achim at gmx dot de> ---
Created attachment 49281
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49281&action=edit
The *.ii files generated.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/97217] C++ program compiled with GCC crashes
2020-09-27 15:09 [Bug c++/97217] New: C++ program compiled with GCC crashes carsten.schmidt-achim at gmx dot de
2020-09-27 20:17 ` [Bug c++/97217] " redi at gcc dot gnu.org
2020-09-28 17:19 ` carsten.schmidt-achim at gmx dot de
@ 2020-09-28 17:20 ` carsten.schmidt-achim at gmx dot de
2020-09-28 17:21 ` carsten.schmidt-achim at gmx dot de
2020-09-28 19:44 ` redi at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: carsten.schmidt-achim at gmx dot de @ 2020-09-28 17:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97217
--- Comment #3 from Carsten Schmidt <carsten.schmidt-achim at gmx dot de> ---
Created attachment 49282
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49282&action=edit
Complete output of the compiler run; including version information.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/97217] C++ program compiled with GCC crashes
2020-09-27 15:09 [Bug c++/97217] New: C++ program compiled with GCC crashes carsten.schmidt-achim at gmx dot de
` (2 preceding siblings ...)
2020-09-28 17:20 ` carsten.schmidt-achim at gmx dot de
@ 2020-09-28 17:21 ` carsten.schmidt-achim at gmx dot de
2020-09-28 19:44 ` redi at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: carsten.schmidt-achim at gmx dot de @ 2020-09-28 17:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97217
--- Comment #4 from Carsten Schmidt <carsten.schmidt-achim at gmx dot de> ---
Sorry for the inconvenience!
o the exact version of GCC
o the system type
o the options given when GCC was configured/built
Please confer to file output.txt.
o the complete command line that triggers the bug
The program needs to be invoked either
unittest_array.exe [direction]
OR
unittest_array.exe [inverse]
Both test cases crash the program; other test cases do not seem to be affected.
o the compiler output (error messages, warnings, etc.)
Again, please confer to file output.txt.
o the preprocessed file (*.i*) that triggers the bug
Please see the attached archive ii_files.zip.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/97217] C++ program compiled with GCC crashes
2020-09-27 15:09 [Bug c++/97217] New: C++ program compiled with GCC crashes carsten.schmidt-achim at gmx dot de
` (3 preceding siblings ...)
2020-09-28 17:21 ` carsten.schmidt-achim at gmx dot de
@ 2020-09-28 19:44 ` redi at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2020-09-28 19:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97217
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |UNCONFIRMED
Ever confirmed|1 |0
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Thanks!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-09-28 19:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-27 15:09 [Bug c++/97217] New: C++ program compiled with GCC crashes carsten.schmidt-achim at gmx dot de
2020-09-27 20:17 ` [Bug c++/97217] " redi at gcc dot gnu.org
2020-09-28 17:19 ` carsten.schmidt-achim at gmx dot de
2020-09-28 17:20 ` carsten.schmidt-achim at gmx dot de
2020-09-28 17:21 ` carsten.schmidt-achim at gmx dot de
2020-09-28 19:44 ` redi 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).