You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/09/13 01:29:32 UTC
[jira] Commented: (STDCXX-551) [Sun C++ 5.9/x86_64] ube assertion
[ https://issues.apache.org/jira/browse/STDCXX-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526940 ]
Martin Sebor commented on STDCXX-551:
-------------------------------------
Adding a copy ctor to class B::C works around the problem:
$ diff -u t.cpp.~0~ t.cpp
--- t.cpp.~0~ Wed Sep 12 17:27:21 2007
+++ t.cpp Wed Sep 12 17:26:40 2007
@@ -4,6 +4,7 @@
struct C {
int *x_;
int y_;
+ C (const C &c): x_ (c.x_), y_ (c.y_) { }
C (int *x = 0, int y = 0): x_ (x), y_ (y) { }
};
struct D: C, A { D (int *x = 0, int y = 0): C (x, y) { } };
> [Sun C++ 5.9/x86_64] ube assertion
> ----------------------------------
>
> Key: STDCXX-551
> URL: https://issues.apache.org/jira/browse/STDCXX-551
> Project: C++ Standard Library
> Issue Type: Bug
> Components: External
> Environment: Sun C++ 5.9/x86_64
> Reporter: Martin Sebor
>
> -------- Original Message --------
> Subject: Your Report (Review ID: 1065078) - Sun C++ 5.9/x86 assertion in ube
> Date: Wed, 12 Sep 2007 14:07:41 -0600 (MDT)
> From: IncidentDaemon@sun.com <In...@sun.com>
> To: sebor@roguewave.com
> Dear Sun Studio Developer,
> Thank you for your interest in improving the quality of Sun Studio
> product.
> Your report has been assigned an internal review ID of 1065078.
> Please be aware that the large volume of reports we receive sometimes
> prevents us from responding individually to each message.
> If the information is determined to be a new Bug or Request for
> Enhancement (RFE), or a duplicate of a known Bug or RFE, you will
> receive a followup email containing a seven digit bug number. By
> using this seven digit bug number, you may search for, view, or vote
> for this bug in the Bug Database at http://bugs.sun.com/. Please note
> that we cannot promise to fix all reported bugs.
> If you just reported an issue that could have a major impact on your
> project and require a timely response, please consider purchasing
> one of the support offerings described at
> http://developers.sun.com/prodtech/cc/support/support_services.jsp.
> The Sun Developer Network (http://developers.sun.com) is a free service
> that Sun offers. To join, visit http://developers.sun.com/global/join_sdn.html.
> Regards,
> Sun Studio Developer Bug Report Review Team
> ---------------------------------------------------------------
> Date Created: Wed Sep 12 14:07:38 MDT 2007
> Type: bug
> Customer Name: Martin Sebor
> Customer Email: sebor@roguewave.com
> SDN ID:
> status: Waiting
> Category: c++
> Subcategory: other
> Company: Rogue Wave Software
> release: studio12
> hardware: x64
> OSversion: solaris_10
> priority: 4
> Synopsis: Sun C++ 5.9/x86 assertion in ube
> Description:
> FULL PRODUCT VERSION :
> ADDITIONAL OS VERSION INFORMATION :
> SunOS 5.10 i386
> A DESCRIPTION OF THE PROBLEM :
> The ube optimizer fails with an assertion on the attached test case.
> REGRESSION. Last worked in version studio11
> STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
> Compile the attached test case as follows:
> CC -O -V -m64 t.cpp
> EXPECTED VERSUS ACTUAL BEHAVIOR :
> EXPECTED -
> No error.
> ACTUAL -
> CC: Sun C++ 5.9 SunOS_i386 2007/05/03
> ir2hf: Sun Compiler Common 12 SunOS_i386 2007/05/03
> ube: Sun Compiler Common 12 SunOS_i386 2007/05/03
> "t.cpp", [__1cBBDfoo6Mn0ABD__v_]:ube: error: Assert has been violated at '/set/mars/builds.intel-S2/nightly.Thu/intel-S2/lang/ube/machine/src/abi_call.c 172'.
> ERROR MESSAGES/STACK TRACES THAT OCCUR :
> "t.cpp", [__1cBBDfoo6Mn0ABD__v_]:ube: error: Assert has been violated at '/set/mars/builds.intel-S2/nightly.Thu/intel-S2/lang/ube/machine/src/abi_call.c 172'.
> REPRODUCIBILITY :
> This bug can be reproduced always.
> ---------- BEGIN SOURCE ----------
> struct A { };
> struct B {
> struct C {
> int *x_;
> int y_;
> C (int *x = 0, int y = 0): x_ (x), y_ (y) { }
> };
> struct D: C, A { D (int *x = 0, int y = 0): C (x, y) { } };
> void foo (D);
> };
> void B::foo (D) { }
> int main () {
> B vb;
> vb.foo (B::D ());
> }
> ---------- END SOURCE ----------
> workaround:
> comments: (company - Rogue Wave Software , email - sebor@roguewave.com)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.