Bug 152116 - long double compile failure on ppc
Summary: long double compile failure on ppc
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Development (show other bugs)
Version: Beta 4
Hardware: PowerPC Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: GCC Development Team at SuSE
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-19 21:45 UTC by Dirk Mueller
Modified: 2006-02-19 22:34 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Mueller 2006-02-19 21:45:37 UTC
I'm not sure if the long double patches for ppc are upstream meanwhile, thats why I report here first. 

I see a compile failure in dietlibc, reduced testcase: 

=== Cut ===
static const double  coeff[] = {1.0l/6 };
=== Cut ===

gives: 

testcase.c:3: error: initializer element is not constant
Comment 1 Dirk Mueller 2006-02-19 22:00:11 UTC
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26374
Comment 2 Richard Biener 2006-02-19 22:18:42 UTC
This can be worked around using 1.0/6 as initializer.  It is unlikely that this
will be fixed in time for CODE10.
Comment 3 Dirk Mueller 2006-02-19 22:34:05 UTC
yes, I've installed that workaround. I see it already tracked upstream. lets resolve it then...