Bug 152116

Summary: long double compile failure on ppc
Product: [openSUSE] SUSE Linux 10.1 Reporter: Dirk Mueller <dmueller>
Component: DevelopmentAssignee: GCC Development Team at SuSE <development-gcc>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Beta 4   
Target Milestone: ---   
Hardware: PowerPC   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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