public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11797] New: Change in inlining behavior vs. previous versions
@ 2003-08-04 22:40 mruff at chiaro dot com
2003-08-04 23:46 ` [Bug c++/11797] " pinskia at physics dot uc dot edu
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: mruff at chiaro dot com @ 2003-08-04 22:40 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11797
Summary: Change in inlining behavior vs. previous versions
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mruff at chiaro dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
Hey all,
I worked though the Icarus Verilog build issues with GCC3.3. I just
want verification that this change in behavior is expected. This is
not target specific since my redhat7.2 GCC3.3 build fails similarly.
Please peek at:
http://gcc.gnu.org/ml/gcc-help/2003-07/msg00303.html
http://gcc.gnu.org/ml/gcc-help/2003-07/msg00306.html
http://gcc.gnu.org/ml/gcc-help/2003-07/msg00307.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11797] Change in inlining behavior vs. previous versions
2003-08-04 22:40 [Bug c++/11797] New: Change in inlining behavior vs. previous versions mruff at chiaro dot com
@ 2003-08-04 23:46 ` pinskia at physics dot uc dot edu
2003-08-05 0:20 ` mruff at chiaro dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-04 23:46 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11797
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-04 23:46 -------
The code is invalid as it declears svector<string>::svector<string>(unsigned size) as
extern add static or inline in front of it.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11797] Change in inlining behavior vs. previous versions
2003-08-04 22:40 [Bug c++/11797] New: Change in inlining behavior vs. previous versions mruff at chiaro dot com
2003-08-04 23:46 ` [Bug c++/11797] " pinskia at physics dot uc dot edu
@ 2003-08-05 0:20 ` mruff at chiaro dot com
2003-08-05 0:22 ` pinskia at physics dot uc dot edu
2003-08-05 0:29 ` mruff at chiaro dot com
3 siblings, 0 replies; 5+ messages in thread
From: mruff at chiaro dot com @ 2003-08-05 0:20 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11797
------- Additional Comments From mruff at chiaro dot com 2003-08-05 00:20 -------
Subject: RE: Change in inlining behavior vs. previous versions
I should have mentioned that I tried static, but...
static svector<string>::svector<string>(unsigned size)
: nitems_(size), items_(new string[size])
{
}
produces...
GCC:3.2.2
In file included from PTask.h:26,
from PTask.cc:25:
svector.h:105: cannot declare member function `svector<TYPE>::svector(unsigned
int) [with TYPE = std::string]' to have static linkage
GCC3.3:
In file included from PTask.h:26,
from PTask.cc:25:
svector.h:105: error: cannot declare member function `
svector<TYPE>::svector(unsigned int) [with TYPE = std::string]' to have
static linkage
I know this is not the place to learn C++, but :-) how would one
declare the member function to be out of line but with file scope?
> -----Original Message-----
> From: pinskia at physics dot uc dot edu
> [mailto:gcc-bugzilla@gcc.gnu.org]
> Sent: Monday, August 04, 2003 6:47 PM
> To: Michael Ruff
> Subject: [Bug c++/11797] Change in inlining behavior vs. previous
> versions
>
>
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT*
> gcc-bugs@gcc.gnu.org.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11797
>
>
> pinskia at physics dot uc dot edu changed:
>
> What |Removed |Added
> --------------------------------------------------------------
> --------------
> Status|UNCONFIRMED |RESOLVED
> Resolution| |INVALID
>
>
> ------- Additional Comments From pinskia at physics dot uc
> dot edu 2003-08-04 23:46 -------
> The code is invalid as it declears
> svector<string>::svector<string>(unsigned size) as
> extern add static or inline in front of it.
>
>
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11797] Change in inlining behavior vs. previous versions
2003-08-04 22:40 [Bug c++/11797] New: Change in inlining behavior vs. previous versions mruff at chiaro dot com
2003-08-04 23:46 ` [Bug c++/11797] " pinskia at physics dot uc dot edu
2003-08-05 0:20 ` mruff at chiaro dot com
@ 2003-08-05 0:22 ` pinskia at physics dot uc dot edu
2003-08-05 0:29 ` mruff at chiaro dot com
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-05 0:22 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11797
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-05 00:22 -------
Use inline then as I had suggested.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11797] Change in inlining behavior vs. previous versions
2003-08-04 22:40 [Bug c++/11797] New: Change in inlining behavior vs. previous versions mruff at chiaro dot com
` (2 preceding siblings ...)
2003-08-05 0:22 ` pinskia at physics dot uc dot edu
@ 2003-08-05 0:29 ` mruff at chiaro dot com
3 siblings, 0 replies; 5+ messages in thread
From: mruff at chiaro dot com @ 2003-08-05 0:29 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11797
------- Additional Comments From mruff at chiaro dot com 2003-08-05 00:29 -------
Subject: RE: Change in inlining behavior vs. previous versions
We already have thanks... We were just curious if
this behavior change is expected. Since it's invalid code
I think YES would be the proper response... I'll let
Steve pursue the out of line definition.
> -----Original Message-----
> From: pinskia at physics dot uc dot edu
> [mailto:gcc-bugzilla@gcc.gnu.org]
> Sent: Monday, August 04, 2003 7:23 PM
> To: Michael Ruff
> Subject: [Bug c++/11797] Change in inlining behavior vs. previous
> versions
>
>
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT*
> gcc-bugs@gcc.gnu.org.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11797
>
>
>
> ------- Additional Comments From pinskia at physics dot uc
> dot edu 2003-08-05 00:22 -------
> Use inline then as I had suggested.
>
>
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-08-05 0:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-04 22:40 [Bug c++/11797] New: Change in inlining behavior vs. previous versions mruff at chiaro dot com
2003-08-04 23:46 ` [Bug c++/11797] " pinskia at physics dot uc dot edu
2003-08-05 0:20 ` mruff at chiaro dot com
2003-08-05 0:22 ` pinskia at physics dot uc dot edu
2003-08-05 0:29 ` mruff at chiaro dot com
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).