public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/96225] New: ice in extract_insn, at recog.c:2294
@ 2020-07-16 21:00 dcb314 at hotmail dot com
2020-07-17 6:50 ` [Bug target/96225] " dcb314 at hotmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: dcb314 at hotmail dot com @ 2020-07-16 21:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96225
Bug ID: 96225
Summary: ice in extract_insn, at recog.c:2294
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: ---
Created attachment 48884
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48884&action=edit
gzipped C++ source code
The attached gzipped C++ code, with recent gcc trunk and flags
-march=sapphirerapids -O3 -ansi -ffast-math, does this:
usr/include/endian.h: In member function ‘void
DSODatabase::findVisibleDSOs(DSOHandler&, const Point3d&, const Quatf&, float,
float, float) const’:
/usr/include/endian.h:54245:1: error: unrecognizable insn:
(insn 131 130 132 2 (set (reg:V4DF 252)
(unspec:V4DF [
(reg:V4DF 153 [ vect__170.1094 ])
] UNSPEC_RSQRT)) "/usr/include/endian.h":11544:23 -1
(nil))
during RTL pass: vregs
/usr/include/endian.h:54245:1: internal compiler error: in extract_insn, at
recog.c:2294
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/96225] ice in extract_insn, at recog.c:2294
2020-07-16 21:00 [Bug c++/96225] New: ice in extract_insn, at recog.c:2294 dcb314 at hotmail dot com
@ 2020-07-17 6:50 ` dcb314 at hotmail dot com
2020-07-17 6:52 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: dcb314 at hotmail dot com @ 2020-07-17 6:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96225
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
Reduced C++ code is:
extern "C" double sqrt(double);
template <class> class a {
public:
a();
void b();
double c, m;
};
template <class d> void a<d>::b() {
d e = 1 / sqrt(m);
c = e;
}
class f {
public:
void g() const;
};
class h {
void j() const;
f k;
};
void h::j() const {
a<double> l[1];
for (int i = 0; i < 5; ++i)
l[i].b();
k.g();
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/96225] ice in extract_insn, at recog.c:2294
2020-07-16 21:00 [Bug c++/96225] New: ice in extract_insn, at recog.c:2294 dcb314 at hotmail dot com
2020-07-17 6:50 ` [Bug target/96225] " dcb314 at hotmail dot com
@ 2020-07-17 6:52 ` rguenth at gcc dot gnu.org
2020-07-17 12:02 ` hjl.tools at gmail dot com
2020-07-17 12:03 ` hjl.tools at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-07-17 6:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96225
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|x86_64 |x86_64-*-*
CC| |hjl.tools at gmail dot com
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Sounds awfully close to a similar report involving i386.exp testsuite fails.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/96225] ice in extract_insn, at recog.c:2294
2020-07-16 21:00 [Bug c++/96225] New: ice in extract_insn, at recog.c:2294 dcb314 at hotmail dot com
2020-07-17 6:50 ` [Bug target/96225] " dcb314 at hotmail dot com
2020-07-17 6:52 ` rguenth at gcc dot gnu.org
@ 2020-07-17 12:02 ` hjl.tools at gmail dot com
2020-07-17 12:03 ` hjl.tools at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2020-07-17 12:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96225
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Dup.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/96225] ice in extract_insn, at recog.c:2294
2020-07-16 21:00 [Bug c++/96225] New: ice in extract_insn, at recog.c:2294 dcb314 at hotmail dot com
` (2 preceding siblings ...)
2020-07-17 12:02 ` hjl.tools at gmail dot com
@ 2020-07-17 12:03 ` hjl.tools at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2020-07-17 12:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96225
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |DUPLICATE
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
Dup.
*** This bug has been marked as a duplicate of bug 96186 ***
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-07-17 12:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16 21:00 [Bug c++/96225] New: ice in extract_insn, at recog.c:2294 dcb314 at hotmail dot com
2020-07-17 6:50 ` [Bug target/96225] " dcb314 at hotmail dot com
2020-07-17 6:52 ` rguenth at gcc dot gnu.org
2020-07-17 12:02 ` hjl.tools at gmail dot com
2020-07-17 12:03 ` hjl.tools at gmail dot com
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).