public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/39674] New: Error compiling with SUN cc compiler
@ 2009-04-07 13:02 Philippe dot Poilbarbe at cls dot fr
2009-04-07 13:03 ` [Bug c++/39674] " Philippe dot Poilbarbe at cls dot fr
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: Philippe dot Poilbarbe at cls dot fr @ 2009-04-07 13:02 UTC (permalink / raw)
To: gcc-bugs
When trying to build on Sparc/Sun-Solaris 2.8 with cc command from SUN Forte
6.2, we have compilation error because of assignation between const and non
const variables.
I have patched the source code with problem (2 files) in order to compile it.
The patch file is joined with this bug report to allow you to analyze it.
--
Summary: Error compiling with SUN cc compiler
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Philippe dot Poilbarbe at cls dot fr
GCC build triplet: sparc-sun-solaris2.8-gcc
GCC host triplet: sparc-sun-solaris2.8-gcc
GCC target triplet: sparc-sun-solaris2.8-gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/39674] Error compiling with SUN cc compiler
2009-04-07 13:02 [Bug c++/39674] New: Error compiling with SUN cc compiler Philippe dot Poilbarbe at cls dot fr
@ 2009-04-07 13:03 ` Philippe dot Poilbarbe at cls dot fr
2009-04-07 13:14 ` paolo dot carlini at oracle dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Philippe dot Poilbarbe at cls dot fr @ 2009-04-07 13:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from Philippe dot Poilbarbe at cls dot fr 2009-04-07 13:03 -------
Created an attachment (id=17599)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17599&action=view)
Modofed source files in order to compile on Sun/Solaris 2.8 with forte 6.2 C
compiler
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/39674] Error compiling with SUN cc compiler
2009-04-07 13:02 [Bug c++/39674] New: Error compiling with SUN cc compiler Philippe dot Poilbarbe at cls dot fr
2009-04-07 13:03 ` [Bug c++/39674] " Philippe dot Poilbarbe at cls dot fr
@ 2009-04-07 13:14 ` paolo dot carlini at oracle dot com
2009-04-07 13:20 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-04-07 13:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from paolo dot carlini at oracle dot com 2009-04-07 13:13 -------
This Bugzilla is for *GCC*, which has nothing to do with the Sun compiler.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/39674] Error compiling with SUN cc compiler
2009-04-07 13:02 [Bug c++/39674] New: Error compiling with SUN cc compiler Philippe dot Poilbarbe at cls dot fr
2009-04-07 13:03 ` [Bug c++/39674] " Philippe dot Poilbarbe at cls dot fr
2009-04-07 13:14 ` paolo dot carlini at oracle dot com
@ 2009-04-07 13:20 ` rguenth at gcc dot gnu dot org
2009-04-07 13:22 ` paolo dot carlini at oracle dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-07 13:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-04-07 13:20 -------
But the patch is against gcc and we support building with other host compilers.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/39674] Error compiling with SUN cc compiler
2009-04-07 13:02 [Bug c++/39674] New: Error compiling with SUN cc compiler Philippe dot Poilbarbe at cls dot fr
` (2 preceding siblings ...)
2009-04-07 13:20 ` rguenth at gcc dot gnu dot org
@ 2009-04-07 13:22 ` paolo dot carlini at oracle dot com
2009-04-07 13:25 ` Philippe dot Poilbarbe at cls dot fr
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-04-07 13:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from paolo dot carlini at oracle dot com 2009-04-07 13:22 -------
Ah, by *compile* they mean *building* GCC iself ;) Ok, then this PR should be
tweaked quite a bit (C++?)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/39674] Error compiling with SUN cc compiler
2009-04-07 13:02 [Bug c++/39674] New: Error compiling with SUN cc compiler Philippe dot Poilbarbe at cls dot fr
` (3 preceding siblings ...)
2009-04-07 13:22 ` paolo dot carlini at oracle dot com
@ 2009-04-07 13:25 ` Philippe dot Poilbarbe at cls dot fr
2009-04-07 13:28 ` paolo dot carlini at oracle dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Philippe dot Poilbarbe at cls dot fr @ 2009-04-07 13:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from Philippe dot Poilbarbe at cls dot fr 2009-04-07 13:25 -------
Yes, but building GCC (as said) with Sun compiler (or other) has to do with
GCC.
(In reply to comment #2)
> This Bugzilla is for *GCC*, which has nothing to do with the Sun compiler.
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/39674] Error compiling with SUN cc compiler
2009-04-07 13:02 [Bug c++/39674] New: Error compiling with SUN cc compiler Philippe dot Poilbarbe at cls dot fr
` (4 preceding siblings ...)
2009-04-07 13:25 ` Philippe dot Poilbarbe at cls dot fr
@ 2009-04-07 13:28 ` paolo dot carlini at oracle dot com
2009-04-07 13:36 ` [Bug c++/39674] Error building with SUN cc (forte 6.2) compiler Philippe dot Poilbarbe at cls dot fr
2009-04-28 23:11 ` [Bug bootstrap/39674] " pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-04-07 13:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from paolo dot carlini at oracle dot com 2009-04-07 13:28 -------
Yes, but please fix your report: the issue has nothing to do with c++, I guess.
Also Host / Target / Build should likely be just sparc-sun-solaris2.8, no?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/39674] Error building with SUN cc (forte 6.2) compiler
2009-04-07 13:02 [Bug c++/39674] New: Error compiling with SUN cc compiler Philippe dot Poilbarbe at cls dot fr
` (5 preceding siblings ...)
2009-04-07 13:28 ` paolo dot carlini at oracle dot com
@ 2009-04-07 13:36 ` Philippe dot Poilbarbe at cls dot fr
2009-04-28 23:11 ` [Bug bootstrap/39674] " pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: Philippe dot Poilbarbe at cls dot fr @ 2009-04-07 13:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from Philippe dot Poilbarbe at cls dot fr 2009-04-07 13:35 -------
(In reply to comment #6)
> Yes, but please fix your report: the issue has nothing to do with c++, I guess.
> Also Host / Target / Build should likely be just sparc-sun-solaris2.8, no?
>
I don't know if it is C++, I am not very aware of this; the files involved are:
gcc/fixed-value.c and gcc/tree-ssa-loop-ivopts.c
I saw compilation errors on this files and tried to fix it: it was only
assignment errors (there is many other warnings about assignment error). I only
said that it is gcc (built for c, c++ and fortran languages only) and I don't
know which part of the gcc suite they belong to.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/39674] Error building with SUN cc (forte 6.2) compiler
2009-04-07 13:02 [Bug c++/39674] New: Error compiling with SUN cc compiler Philippe dot Poilbarbe at cls dot fr
` (6 preceding siblings ...)
2009-04-07 13:36 ` [Bug c++/39674] Error building with SUN cc (forte 6.2) compiler Philippe dot Poilbarbe at cls dot fr
@ 2009-04-28 23:11 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-28 23:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2009-04-28 23:11 -------
/* This was a conditional expression but it triggered a bug in
Sun C 5.5. */
if (subtract_p)
temp = double_int_neg (b->data);
else
temp = b->data;
/* This was a conditional expression but it triggered a bug in
Sun C 5.5. */
if (ivs->bad_uses)
return infinite_cost;
else
return ivs->cost;
Fixed by:
2008-12-08 Andrew Haley <aph@redhat.com>
Kamaraju Kusumanchi <raju.mailinglists@gmail.com>
* gimple.h (gimple_build_try): Fix declaration.
* builtins.c (fold_builtin_sqrt): Don't use a conditional operator.
* fixed-value.c (do_fixed_add): Likewise.
* tree-ssa-loop-ivopts.c (iv_ca_cost): Likewise.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39674
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-04-28 23:11 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-07 13:02 [Bug c++/39674] New: Error compiling with SUN cc compiler Philippe dot Poilbarbe at cls dot fr
2009-04-07 13:03 ` [Bug c++/39674] " Philippe dot Poilbarbe at cls dot fr
2009-04-07 13:14 ` paolo dot carlini at oracle dot com
2009-04-07 13:20 ` rguenth at gcc dot gnu dot org
2009-04-07 13:22 ` paolo dot carlini at oracle dot com
2009-04-07 13:25 ` Philippe dot Poilbarbe at cls dot fr
2009-04-07 13:28 ` paolo dot carlini at oracle dot com
2009-04-07 13:36 ` [Bug c++/39674] Error building with SUN cc (forte 6.2) compiler Philippe dot Poilbarbe at cls dot fr
2009-04-28 23:11 ` [Bug bootstrap/39674] " pinskia at gcc dot gnu dot org
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).