Bug 32852 - [4.3 Regression] g++.old-deja/g++.jason/synth7.C
Summary: [4.3 Regression] g++.old-deja/g++.jason/synth7.C
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: 4.3.0
Assignee: Nathan Sidwell
URL:
Keywords: wrong-code
Depends on:
Blocks:
 
Reported: 2007-07-22 13:38 UTC by H.J. Lu
Modified: 2007-07-25 07:53 UTC (History)
2 users (show)

See Also:
Host:
Target: i?86-*-linux-gnu x86_64-linux-gnu
Build:
Known to work:
Known to fail:
Last reconfirmed: 2007-07-24 20:33:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2007-07-22 13:38:27 UTC
This patch

http://gcc.gnu.org/ml/gcc-cvs/2007-07/msg00385.html

caused

[hjl@gnu-26 bin]$ ./g++ -static ../../src/gcc/testsuite/g++.old-deja/g++.jason/synth7.C
[hjl@gnu-26 bin]$ ./a.out
Segmentation fault
[hjl@gnu-26 bin]$
Comment 1 H.J. Lu 2007-07-22 13:40:20 UTC
It happens on Linux/x86-64 and Linux/ia32.
Comment 2 Andrew Pinski 2007-07-24 00:34:42 UTC
Confirmed, I saw this also.
Comment 3 H.J. Lu 2007-07-24 18:42:20 UTC
It should be fixed by

http://gcc.gnu.org/ml/gcc-cvs/2007-07/msg00744.html
Comment 4 Nathan Sidwell 2007-07-25 07:53:08 UTC
2007-07-24  Nathan Sidwell  <nathan@codesourcery.com>

	* method.c (implicitly_declare_fn): Increase alignment if member
	function pointer format requires it.