public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/61564] New: #pragma GCC optimize ("-fno-lto") causes the compiler to crash
@ 2014-06-19 16:39 t.poechtrager at gmail dot com
2014-06-23 10:25 ` [Bug c++/61564] " rguenth at gcc dot gnu.org
2021-08-08 6:32 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: t.poechtrager at gmail dot com @ 2014-06-19 16:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61564
Bug ID: 61564
Summary: #pragma GCC optimize ("-fno-lto") causes the compiler
to crash
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: t.poechtrager at gmail dot com
Target: Linux x86_64, i686-w64-mingw32 and others
$ cat test.cpp
#pragma GCC push_options
#pragma GCC optimize ("-fno-lto")
int main(void){return 0;}
#pragma GCC pop_options
### GCC 4.9.0 ###
$ LC_ALL=C gcc test.cpp -flto
test.cpp:4:24: internal compiler error: Segmentation fault
#pragma GCC pop_options
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccpuDCNO.out file, please attach this to
your bugreport.
### GCC 4.6.4 ###
$ LC_ALL=C gcc-4.6 test.cpp -flto # no crash
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/61564] #pragma GCC optimize ("-fno-lto") causes the compiler to crash
2014-06-19 16:39 [Bug c/61564] New: #pragma GCC optimize ("-fno-lto") causes the compiler to crash t.poechtrager at gmail dot com
@ 2014-06-23 10:25 ` rguenth at gcc dot gnu.org
2021-08-08 6:32 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-23 10:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61564
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
It's not supposed to be supported to enable/disable LTO with the optimize
pragma.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/61564] #pragma GCC optimize ("-fno-lto") causes the compiler to crash
2014-06-19 16:39 [Bug c/61564] New: #pragma GCC optimize ("-fno-lto") causes the compiler to crash t.poechtrager at gmail dot com
2014-06-23 10:25 ` [Bug c++/61564] " rguenth at gcc dot gnu.org
@ 2021-08-08 6:32 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-08 6:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61564
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |d.g.gorbachev at gmail dot com
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 59332 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-08 6:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-19 16:39 [Bug c/61564] New: #pragma GCC optimize ("-fno-lto") causes the compiler to crash t.poechtrager at gmail dot com
2014-06-23 10:25 ` [Bug c++/61564] " rguenth at gcc dot gnu.org
2021-08-08 6:32 ` 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).