Bug 40636 - Build failed with --enable-build-with-cxx (mingw32 target)
Summary: Build failed with --enable-build-with-cxx (mingw32 target)
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-03 12:38 UTC by Dmitry Gorbachev
Modified: 2009-07-04 22:58 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Gorbachev 2009-07-03 12:38:30 UTC
GCC 4.5.0 20090702

Build failed because the static const structures in config/i386/msformat-c.c (mingw_format_attribute_overrides and mingw_format_attributes) were optimized out.
Also solaris target can be affected (solaris_format_types).
Comment 1 ian@gcc.gnu.org 2009-07-04 22:53:09 UTC
Subject: Bug 40636

Author: ian
Date: Sat Jul  4 22:52:57 2009
New Revision: 149243

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149243
Log:
	PR target/40636
	* config/i386/msformat-c.c (mingw_format_attributes): Declare as
	EXPORTED_CONST.
	(mingw_format_attribute_overrides): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/msformat-c.c

Comment 2 Ian Lance Taylor 2009-07-04 22:58:37 UTC
Thanks for the bug report.  Fixed.