public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/6235: Using -fpack-struct creats segfaulting code.
@ 2002-04-09  6:46 Panagiotis Issaris
  0 siblings, 0 replies; 2+ messages in thread
From: Panagiotis Issaris @ 2002-04-09  6:46 UTC (permalink / raw)
  To: gcc-gnats, debian-gcc


>Number:         6235
>Category:       c++
>Synopsis:       Using -fpack-struct creats segfaulting code.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 09 06:46:27 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Panagiotis Issaris
>Release:        3.0.3 20011215 (Debian prerelease) (Debian testing/unstable)
>Organization:
>Environment:
System: Linux ares 2.4.17-xfs #5 Sat Mar 16 20:42:21 CET 2002 i586 unknown
Architecture: i586

	
host: i386-pc-linux-gnu
build: i386-pc-linux-gnu
target: i386-pc-linux-gnu
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
>Description:
When compiling a C++ source file with the -fpack-struct flag, code is generated which segfaults when run. When creating
a similar C source file and using the same flag, there's no problem at all. The problem only occurs if there is a struct or class in the source file, if I remove the structs and compile with the flag, it runs just fine. I tried this to rule out the possibility that it had something to do with linking in default libraries or compiling files in <string> or <iostream> which are included in the source file.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/6235: Using -fpack-struct creats segfaulting code.
@ 2002-04-09  7:52 sirl
  0 siblings, 0 replies; 2+ messages in thread
From: sirl @ 2002-04-09  7:52 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, takis

Synopsis: Using -fpack-struct creats segfaulting code.

State-Changed-From-To: open->closed
State-Changed-By: sirl
State-Changed-When: Tue Apr  9 07:52:35 2002
State-Changed-Why:
    Reported fixed in g++ (GCC) 3.1 20020331 (prerelease).

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6235


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-09 14:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-09  6:46 c++/6235: Using -fpack-struct creats segfaulting code Panagiotis Issaris
2002-04-09  7:52 sirl

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).