public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/55926] New: Internal compiler error with static volatile pointer
@ 2013-01-09 22:45 pch at laposte dot net
2013-09-12 18:35 ` [Bug target/55926] " ktietz at gcc dot gnu.org
2015-02-10 17:04 ` ktietz at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: pch at laposte dot net @ 2013-01-09 22:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55926
Bug #: 55926
Summary: Internal compiler error with static volatile pointer
Classification: Unclassified
Product: gcc
Version: 4.7.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: pch@laposte.net
Created attachment 29135
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29135
Preprocessed source file
Following error:
Error.cpp: In function 'void f()':
Error.cpp:3:29: error: unrecognizable insn:
(insn 8 7 9 3 (set (mem/v/f/c:SI (symbol_ref:SI ("_ZL2fd") [flags 0x2]
<var_decl 051d4f60 fd>) [0 fd+0 S4 A32])
(const:SI (plus:SI (symbol_ref:SI ("_iob") [flags 0x440] <var_decl
05152ea0 _iob>)
(const_int 32 [0x20])))) Error.cpp:3 -1
(nil))
Error.cpp:3:29: internal compiler error: in extract_insn, at recog.c:2123
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://tdm-gcc.tdragon.net/bugs> for instructions.
is produced with following version:
Using built-in specs.
COLLECT_GCC=mingw32-gcc
COLLECT_LTO_WRAPPER=c:/mingw32-tdm4.7/bin/../libexec/gcc/mingw32/4.7.1/lto-wrapper.exe
Target: mingw32
Configured with: ../../src/gcc-4.7.1/configure --build=mingw32
--enable-languages=c,c++,ada,fortran,objc,obj-c++ --enable-threads=win32
--enable-libgomp --enable-lto --enable-fully-dynamic-string
--enable-libstdcxx-debug --enable-version-specific-runtime-libs --with-gnu-ld
--disable-nls --disable-win32-registry --disable-symvers
--disable-build-poststage1-with-cxx --disable-werror --prefix=/mingw32tdm
--with-local-prefix=/mingw32tdm --enable-cxx-flags='-fno-function-sections
-fno-data-sections' --with-pkgversion=tdm-1 --enable-sjlj-exceptions
--with-bugurl=http://tdm-gcc.tdragon.net/bugs
Thread model: win32
gcc version 4.7.1 (tdm-1)
with following compilation command:
gcc Error.cpp
when Error.cpp contains only:
#include <stdio.h>
static FILE *volatile fd;
void f(void) { fd = stdout; }
Preprocessing of these 3 lines in attachement
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/55926] Internal compiler error with static volatile pointer
2013-01-09 22:45 [Bug c++/55926] New: Internal compiler error with static volatile pointer pch at laposte dot net
@ 2013-09-12 18:35 ` ktietz at gcc dot gnu.org
2015-02-10 17:04 ` ktietz at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-09-12 18:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55926
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2013-09-12
CC| |ktietz at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Hmm, I tested with 4.8, and with trunk 4.9. It seems to work for me. Does
this error still happens for you with more recent gcc-version?
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/55926] Internal compiler error with static volatile pointer
2013-01-09 22:45 [Bug c++/55926] New: Internal compiler error with static volatile pointer pch at laposte dot net
2013-09-12 18:35 ` [Bug target/55926] " ktietz at gcc dot gnu.org
@ 2015-02-10 17:04 ` ktietz at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: ktietz at gcc dot gnu.org @ 2015-02-10 17:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55926
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #3 from Kai Tietz <ktietz at gcc dot gnu.org> ---
So as I can't reproduce this, and neither we had new comments on this bug, nor
duplicate, I will close it.
So I will close this bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-10 17:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-09 22:45 [Bug c++/55926] New: Internal compiler error with static volatile pointer pch at laposte dot net
2013-09-12 18:35 ` [Bug target/55926] " ktietz at gcc dot gnu.org
2015-02-10 17:04 ` ktietz 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).