public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/55528] New: g++ 4.5.2 crash when compiling template function containing asm
@ 2012-11-29 9:19 vahagn.khachatryan at gmail dot com
2012-11-29 10:39 ` [Bug c++/55528] " paolo.carlini at oracle dot com
0 siblings, 1 reply; 2+ messages in thread
From: vahagn.khachatryan at gmail dot com @ 2012-11-29 9:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55528
Bug #: 55528
Summary: g++ 4.5.2 crash when compiling template function
containing asm
Classification: Unclassified
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: vahagn.khachatryan@gmail.com
Created attachment 28827
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28827
source file
Hi Folks,
g++ 4.5.2 segfaults when compiling a template function containing inline
assembler.
I have attached the source file.
Here is how it crashes:
[vahagnk@icwb-nemrut test]$ g++ test_i32_overflow.cpp
test_i32_overflow.cpp: In function \u2018C add2(C, C) [with C = int]\u2019:
test_i32_overflow.cpp:63:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[vahagnk@icwb-nemrut test]$
[vahagnk@icwb-nemrut test]$ cat /etc/motd
Linux 2.6.9-89.ELlargesmp x86_64
OS: RedHat Enterprise Linux 4.0 U8
Hostname: icwb-nemrut (vahagnk)
Location: AM04
CPU: 24 x 2666 MHz, Intel(R)Xeon(R) (2 socket, six core, HT)
Memory: 48 GB RAM, 82 GB Swap
QSC: QSC-F
[vahagnk@icwb-nemrut test]$ g++ --version
g++ (GCC) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Regard,
Vahagn
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/55528] g++ 4.5.2 crash when compiling template function containing asm
2012-11-29 9:19 [Bug c++/55528] New: g++ 4.5.2 crash when compiling template function containing asm vahagn.khachatryan at gmail dot com
@ 2012-11-29 10:39 ` paolo.carlini at oracle dot com
0 siblings, 0 replies; 2+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-11-29 10:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55528
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Known to work| |4.7.2, 4.8.0
Resolution| |WORKSFORME
Severity|minor |normal
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-29 10:39:26 UTC ---
I can reproduce in 4.5.x branch but that branch isn't maintained anymore.
Active branches are fine.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-29 10:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-29 9:19 [Bug c++/55528] New: g++ 4.5.2 crash when compiling template function containing asm vahagn.khachatryan at gmail dot com
2012-11-29 10:39 ` [Bug c++/55528] " paolo.carlini at oracle 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).