public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7363: bogus __alignof__ implementation
@ 2002-07-20 14:57 gdr
  0 siblings, 0 replies; 3+ messages in thread
From: gdr @ 2002-07-20 14:57 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gdr, gdr, nobody

Synopsis: bogus __alignof__ implementation

Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Sat Jul 20 14:57:55 2002
Responsible-Changed-Why:
    Working on a patch
State-Changed-From-To: open->analyzed
State-Changed-By: gdr
State-Changed-When: Sat Jul 20 14:57:55 2002
State-Changed-Why:
    Analyzed.  A regression from 2.95.x

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7363


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c++/7363: bogus __alignof__ implementation
@ 2002-10-29 13:14 mmitchel
  0 siblings, 0 replies; 3+ messages in thread
From: mmitchel @ 2002-10-29 13:14 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gdr, gdr

Synopsis: bogus __alignof__ implementation

State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Tue Oct 29 13:14:39 2002
State-Changed-Why:
    Fixed in GCC 3.2.1.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7363


^ permalink raw reply	[flat|nested] 3+ messages in thread

* c++/7363: bogus __alignof__ implementation
@ 2002-07-20 11:46 gdr
  0 siblings, 0 replies; 3+ messages in thread
From: gdr @ 2002-07-20 11:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7363
>Category:       c++
>Synopsis:       bogus __alignof__ implementation
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 20 11:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Gabriel Dos Reis <gdr@nerim.net>
>Release:        all GCC-3.x series.
>Organization:
>Environment:
Plateform independent
>Description:
__alignof__ fails to (implictly) instantiate a specialization
where appropriate before computing the desired value.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="alignof.C"
Content-Disposition: inline; filename="alignof.C"

template<typename T>
int my_alignof()
{
    return __alignof__(T);
}

template<typename>
struct X { };

int main()
{
    return my_alignof<X<void> >();
}


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-29 21:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-20 14:57 c++/7363: bogus __alignof__ implementation gdr
  -- strict thread matches above, loose matches on Subject: below --
2002-10-29 13:14 mmitchel
2002-07-20 11:46 gdr

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