This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19317] [4.1 Regression] removing a temporary return value when we cannot
- From: "mueller at kde dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Apr 2005 01:10:48 -0000
- Subject: [Bug c++/19317] [4.1 Regression] removing a temporary return value when we cannot
- References: <20050107191510.19317.mueller@kde.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mueller at kde dot org 2005-04-13 01:10 -------
the konqueror startup crash is fixed by:
@@ -3716,7 +3716,7 @@ void KonqMainWindow::initActions()
m_paActivateNextTab = new KAction( i18n( "Activate Next Tab" ), "tab_next",
QApplication::reverseLayout() ? KStdAccel::tabPrev() : KStdAccel::tabNext(),
this, SLOT( slotActivateNextTab() ), actionCollection(), "activatenexttab" );
m_paActivatePrevTab = new KAction( i18n( "Activate Previous Tab" ),
"tab_previous", QApplication::reverseLayout() ? KStdAccel::tabNext() :
KStdAccel::tabPrev(), this, SLOT( slotActivatePrevTab() ), actionCollection(),
"activateprevtab" );
- char actionname[15];
+ char actionname[16];
for (int i=1;i<13;i++) {
sprintf(actionname,"activate_tab_%02d", i);
new KAction(i18n("Activate Tab %1").arg(i), 0, this,
SLOT(slotActivateTab()), actionCollection(), actionname);
so that is mood.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19317