public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/43333]  New: __is_pod seems broken
@ 2010-03-11 16:04 matz at gcc dot gnu dot org
  2010-03-11 16:24 ` [Bug c++/43333] [4.5 Regression] " rguenth at gcc dot gnu dot org
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: matz at gcc dot gnu dot org @ 2010-03-11 16:04 UTC (permalink / raw)
  To: gcc-bugs

On r157245 (and former revisions) this testcase will abort:
# cat ispod.cc
struct strPOD
{
  const char *const foo;
  const char *const bar;
};
extern "C" void abort (void);
int main ()
{
  if (!__is_pod (strPOD))
    abort ();
  return 0;
}

This manifests itself in blocxx not compiling with gcc 4.5 (due to its use
of tr1::is_pod<> implemented in terms of above).  It still works with a random
gcc 4.3 version.


-- 
           Summary: __is_pod seems broken
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: matz at gcc dot gnu dot org
  GCC host triplet: x86_64-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
@ 2010-03-11 16:24 ` rguenth at gcc dot gnu dot org
  2010-03-11 16:42 ` paolo dot carlini at oracle dot com
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-11 16:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2010-03-11 16:24 -------
Confirmed.  4.4 works as well.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
      Known to work|                            |4.4.3
           Priority|P3                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2010-03-11 16:24:31
               date|                            |
            Summary|__is_pod seems broken       |[4.5 Regression] __is_pod
                   |                            |seems broken
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
  2010-03-11 16:24 ` [Bug c++/43333] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2010-03-11 16:42 ` paolo dot carlini at oracle dot com
  2010-03-11 17:01 ` [Bug c++/43333] New: " Andrew Pinski
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-03-11 16:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from paolo dot carlini at oracle dot com  2010-03-11 16:41 -------
I would be willing to work on this, of course, but I can't really do it now
because I'm traveling and I don't have with me all the tools I need.

Anyway, we do already have a testcase involving a pair of doubles, and I'm
surprised that now is broken for a pair of pointers, or the issue it really
about the const qualification? In any case, it doesn't look to me as possibly a
problem having to do with the implementation of the trait proper, because it
boils down to just:

    case CPTK_IS_POD:
      return (pod_type_p (type1));

Maybe Jason can help a bit, I think pod_type_p has been recently changed to
deal with std_layout types, etc.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* Re: [Bug c++/43333]  New: __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
  2010-03-11 16:24 ` [Bug c++/43333] [4.5 Regression] " rguenth at gcc dot gnu dot org
  2010-03-11 16:42 ` paolo dot carlini at oracle dot com
@ 2010-03-11 17:01 ` Andrew Pinski
  2010-03-11 17:01 ` [Bug c++/43333] [4.5 Regression] " pinskia at gmail dot com
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Andrew Pinski @ 2010-03-11 17:01 UTC (permalink / raw)
  To: gcc-bugzilla; +Cc: gcc-bugs



Sent from my iPhone

On Mar 11, 2010, at 8:03 AM, "matz at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org 
 > wrote:

> On r157245 (and former revisions) this testcase will abort:
> # cat ispod.cc
> struct strPOD
> {
>  const char *const foo;
>  const char *const bar;
> };

I don't think this is a pod as it requires a non trivial constructor.



> extern "C" void abort (void);
> int main ()
> {
>  if (!__is_pod (strPOD))
>    abort ();
>  return 0;
> }
>
> This manifests itself in blocxx not compiling with gcc 4.5 (due to  
> its use
> of tr1::is_pod<> implemented in terms of above).  It still works  
> with a random
> gcc 4.3 version.
>
>
> -- 
>           Summary: __is_pod seems broken
>           Product: gcc
>           Version: 4.5.0
>            Status: UNCONFIRMED
>          Severity: normal
>          Priority: P3
>         Component: c++
>        AssignedTo: unassigned at gcc dot gnu dot org
>        ReportedBy: matz at gcc dot gnu dot org
>  GCC host triplet: x86_64-linux
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333
>


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-03-11 17:01 ` [Bug c++/43333] New: " Andrew Pinski
@ 2010-03-11 17:01 ` pinskia at gmail dot com
  2010-03-11 17:12 ` redi at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gmail dot com @ 2010-03-11 17:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gmail dot com  2010-03-11 17:01 -------
Subject: Re:   New: __is_pod seems broken



Sent from my iPhone

On Mar 11, 2010, at 8:03 AM, "matz at gcc dot gnu dot org"
<gcc-bugzilla@gcc.gnu.org 
 > wrote:

> On r157245 (and former revisions) this testcase will abort:
> # cat ispod.cc
> struct strPOD
> {
>  const char *const foo;
>  const char *const bar;
> };

I don't think this is a pod as it requires a non trivial constructor.



> extern "C" void abort (void);
> int main ()
> {
>  if (!__is_pod (strPOD))
>    abort ();
>  return 0;
> }
>
> This manifests itself in blocxx not compiling with gcc 4.5 (due to  
> its use
> of tr1::is_pod<> implemented in terms of above).  It still works  
> with a random
> gcc 4.3 version.
>
>
> -- 
>           Summary: __is_pod seems broken
>           Product: gcc
>           Version: 4.5.0
>            Status: UNCONFIRMED
>          Severity: normal
>          Priority: P3
>         Component: c++
>        AssignedTo: unassigned at gcc dot gnu dot org
>        ReportedBy: matz at gcc dot gnu dot org
>  GCC host triplet: x86_64-linux
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333
>


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-03-11 17:01 ` [Bug c++/43333] [4.5 Regression] " pinskia at gmail dot com
@ 2010-03-11 17:12 ` redi at gcc dot gnu dot org
  2010-03-11 21:12 ` hjl dot tools at gmail dot com
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu dot org @ 2010-03-11 17:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from redi at gcc dot gnu dot org  2010-03-11 17:12 -------
it's both trivial and standard layout, so is a POD


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2010-03-11 17:12 ` redi at gcc dot gnu dot org
@ 2010-03-11 21:12 ` hjl dot tools at gmail dot com
  2010-03-12  2:36 ` jason at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-03-11 21:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from hjl dot tools at gmail dot com  2010-03-11 21:12 -------
It is caused by revision 149721:

http://gcc.gnu.org/ml/gcc-cvs/2009-07/msg00602.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2010-03-11 21:12 ` hjl dot tools at gmail dot com
@ 2010-03-12  2:36 ` jason at gcc dot gnu dot org
  2010-03-12  2:49 ` jason at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-03-12  2:36 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-03-11 16:24:31         |2010-03-12 02:36:38
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2010-03-12  2:36 ` jason at gcc dot gnu dot org
@ 2010-03-12  2:49 ` jason at gcc dot gnu dot org
  2010-03-12  2:55 ` jason at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-03-12  2:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jason at gcc dot gnu dot org  2010-03-12 02:48 -------
strPOD isn't trivial; its copy assignment operator is ill-formed/deleted.  This
is a change in PODness between C++98 and C++0x which may not have been
intended.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|jason at gcc dot gnu dot org|unassigned at gcc dot gnu
                   |                            |dot org
             Status|ASSIGNED                    |NEW


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2010-03-12  2:49 ` jason at gcc dot gnu dot org
@ 2010-03-12  2:55 ` jason at gcc dot gnu dot org
  2010-03-15 17:23 ` paolo dot carlini at oracle dot com
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-03-12  2:55 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-03-12 02:36:38         |2010-03-12 02:55:29
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2010-03-12  2:55 ` jason at gcc dot gnu dot org
@ 2010-03-15 17:23 ` paolo dot carlini at oracle dot com
  2010-03-22 16:34 ` matz at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-03-15 17:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from paolo dot carlini at oracle dot com  2010-03-15 17:23 -------
An additional remark: irrespective of the C++1x PODness, the *TR1* is_pod
cannot be broken, because essentially N1836, not requiring compiler support,
allows for any behavior outside scalar types (see 4.9/8).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2010-03-15 17:23 ` paolo dot carlini at oracle dot com
@ 2010-03-22 16:34 ` matz at gcc dot gnu dot org
  2010-03-22 16:43 ` paolo dot carlini at oracle dot com
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: matz at gcc dot gnu dot org @ 2010-03-22 16:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from matz at gcc dot gnu dot org  2010-03-22 16:34 -------
Re comment #6: well, then we still need to fix the c++98 case.
Re comment #7: note carefully how I have avoided is_pod<> in the testcase,
but instead used the internal mean to implement the former.  That's the
regression I'm interested about.  (well, to tell the truth I would also
consider it a regression of is_pod<>, if not by the letter of the standard,
then as quality of implementation, because we _do_ have compiler support)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2010-03-22 16:34 ` matz at gcc dot gnu dot org
@ 2010-03-22 16:43 ` paolo dot carlini at oracle dot com
  2010-03-22 16:54 ` matz at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-03-22 16:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from paolo dot carlini at oracle dot com  2010-03-22 16:43 -------
Michael, I'm not sure to follow all the philosophical details of the issue. To
be sure:
1- __is_pod implements, to date, the correct C++0x semantics, modulo ISO DRs
(probably forthcoming, but a resolution seems quite far)
2- Thus, by definition, __is_pod is the right way to implement std::is_pod.
3- About tr1::is_pod, the issue is a little more muddled, but given my Comment
#7, we cannot really do wrong as regards TR1 is concerned (and, frankly I don't
care much about TR1). Note that the semantics of tr1::is_pod already changed
once, when __is_pod started to be used as an implementation detail.

All in all, if you ask me, until the ISO DR issue is resolved I don't think we
should do anything here.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2010-03-22 16:43 ` paolo dot carlini at oracle dot com
@ 2010-03-22 16:54 ` matz at gcc dot gnu dot org
  2010-03-22 17:07 ` paolo dot carlini at oracle dot com
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: matz at gcc dot gnu dot org @ 2010-03-22 16:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from matz at gcc dot gnu dot org  2010-03-22 16:54 -------
Hmm, well, but there's code out there that expects the "old" TR1 semantic,
namely blocxx, and if the definition is indeed muddled than IMNSHO we should
retain the behaviour as it was in older GCC versions, instead of breaking
existing code.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2010-03-22 16:54 ` matz at gcc dot gnu dot org
@ 2010-03-22 17:07 ` paolo dot carlini at oracle dot com
  2010-03-22 20:39 ` jason at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-03-22 17:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from paolo dot carlini at oracle dot com  2010-03-22 17:07 -------
We discussed a bit the issue with Jason in Pittsburgh *before* realizing that
likely the C++1x WD is wrong about not categorizing strPOD as POD, which now
seems the real issue. My personal point of view is still that all the builtins
should reflect, consistently, the ISO C++1x semantics. As an interim solution,
until the ISO defect is resolved, we could have an __is_cxx98_pod and an
__is_pod. That would be my preference. Jason - again, before realizing that we
have a real ISO issue - proposed changing back __is_pod to the c++98 semantics
and using __is_trivially_copyable and __is_standard_layout to implement
std::is_pod. Frankly, long term, I don't think this is the most consistent and
clear solution, in particular to people using the naked builtins, which then
would have to learn that *all* the builtins reflect the C++1x semantics
*beside* __is_pod. But what can I say, if you really think this is the best
interim solution, I can live with it, only let's make **really** sure an ISO
issue is opened and resolved quickly, clarifying the mess + let's document
those semantics.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  2010-03-22 17:07 ` paolo dot carlini at oracle dot com
@ 2010-03-22 20:39 ` jason at gcc dot gnu dot org
  2010-03-22 20:49 ` jason at gcc dot gnu dot org
  2010-03-25 16:41 ` hjl at gcc dot gnu dot org
  16 siblings, 0 replies; 18+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-03-22 20:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from jason at gcc dot gnu dot org  2010-03-22 20:39 -------
Subject: Bug 43333

Author: jason
Date: Mon Mar 22 20:38:57 2010
New Revision: 157652

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157652
Log:
        PR c++/43333
        * tree.c (pod_type_p): Use old meaning in C++98 mode.

Added:
    trunk/gcc/testsuite/g++.dg/ext/is_pod_98.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/ext/is_pod.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
                   ` (14 preceding siblings ...)
  2010-03-22 20:39 ` jason at gcc dot gnu dot org
@ 2010-03-22 20:49 ` jason at gcc dot gnu dot org
  2010-03-25 16:41 ` hjl at gcc dot gnu dot org
  16 siblings, 0 replies; 18+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-03-22 20:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from jason at gcc dot gnu dot org  2010-03-22 20:49 -------
Fixed by reverting to old semantics in C++98 mode.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

* [Bug c++/43333] [4.5 Regression] __is_pod seems broken
  2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
                   ` (15 preceding siblings ...)
  2010-03-22 20:49 ` jason at gcc dot gnu dot org
@ 2010-03-25 16:41 ` hjl at gcc dot gnu dot org
  16 siblings, 0 replies; 18+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-03-25 16:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from hjl at gcc dot gnu dot org  2010-03-25 16:40 -------
Subject: Bug 43333

Author: hjl
Date: Thu Mar 25 16:39:51 2010
New Revision: 157726

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157726
Log:
Backport regression testcases from mainline.

2010-03-25  H.J. Lu  <hongjiu.lu@intel.com>

        Backport from mainline:
        2010-03-22  Jason Merrill  <jason@redhat.com>

        PR c++/43333
        * g++.dg/ext/is_pod_98.C: New.

        2010-03-22  Michael Matz  <matz@suse.de>

        PR middle-end/43475
        * gfortran.dg/pr43475.f90: New testcase.

        2010-03-22  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/43390
        * gfortran.fortran-torture/execute/pr43390.f90: New testcase.

        2010-03-20  Dodji Seketeli  <dodji@redhat.com>

        PR c++/43375
        * g++.dg/abi/mangle42.C: New test.

        2010-03-19  Andrew Pinski  <andrew_pinski@caviumnetworks.com>

        PR C/43211
        * gcc.dg/pr43211.c: New test.

        2010-03-18  Martin Jambor  <mjambor@suse.cz>

        PR middle-end/42450
        * g++.dg/torture/pr42450.C: New test.

        2010-03-18  Michael Matz  <matz@suse.de>

        PR tree-optimization/43402
        * gcc.dg/pr43402.c: New testcase.

        2010-03-17  Peter Bergner  <bergner@vnet.ibm.com>

        PR target/42427
        * gcc.dg/pr42427.c: New test.

        2010-03-16  Richard Guenther  <rguenther@suse.de>

        PR middle-end/43379
        * gcc.dg/pr43379.c: New testcase.

        2010-03-15  Michael Matz  <matz@suse.de>

        PR middle-end/43300
        * gcc.dg/pr43300.c: New testcase.

        2010-03-15  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/43367
        * gcc.c-torture/compile/pr43367.c: New testcase.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/abi/mangle42.C
      - copied unchanged from r157725,
trunk/gcc/testsuite/g++.dg/abi/mangle42.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/ext/is_pod_98.C
      - copied unchanged from r157725,
trunk/gcc/testsuite/g++.dg/ext/is_pod_98.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/torture/pr42450.C
      - copied unchanged from r157725,
trunk/gcc/testsuite/g++.dg/torture/pr42450.C
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr43367.c
      - copied unchanged from r157725,
trunk/gcc/testsuite/gcc.c-torture/compile/pr43367.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr42427.c
      - copied unchanged from r157725, trunk/gcc/testsuite/gcc.dg/pr42427.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr43211.c
      - copied unchanged from r157725, trunk/gcc/testsuite/gcc.dg/pr43211.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr43300.c
      - copied unchanged from r157725, trunk/gcc/testsuite/gcc.dg/pr43300.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr43379.c
      - copied unchanged from r157725, trunk/gcc/testsuite/gcc.dg/pr43379.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr43402.c
      - copied unchanged from r157725, trunk/gcc/testsuite/gcc.dg/pr43402.c
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/pr43475.f90
      - copied unchanged from r157725,
trunk/gcc/testsuite/gfortran.dg/pr43475.f90
   
branches/gcc-4_4-branch/gcc/testsuite/gfortran.fortran-torture/execute/pr43390.f90
      - copied unchanged from r157725,
trunk/gcc/testsuite/gfortran.fortran-torture/execute/pr43390.f90
Modified:
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43333


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

end of thread, other threads:[~2010-03-25 16:41 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-11 16:04 [Bug c++/43333] New: __is_pod seems broken matz at gcc dot gnu dot org
2010-03-11 16:24 ` [Bug c++/43333] [4.5 Regression] " rguenth at gcc dot gnu dot org
2010-03-11 16:42 ` paolo dot carlini at oracle dot com
2010-03-11 17:01 ` [Bug c++/43333] New: " Andrew Pinski
2010-03-11 17:01 ` [Bug c++/43333] [4.5 Regression] " pinskia at gmail dot com
2010-03-11 17:12 ` redi at gcc dot gnu dot org
2010-03-11 21:12 ` hjl dot tools at gmail dot com
2010-03-12  2:36 ` jason at gcc dot gnu dot org
2010-03-12  2:49 ` jason at gcc dot gnu dot org
2010-03-12  2:55 ` jason at gcc dot gnu dot org
2010-03-15 17:23 ` paolo dot carlini at oracle dot com
2010-03-22 16:34 ` matz at gcc dot gnu dot org
2010-03-22 16:43 ` paolo dot carlini at oracle dot com
2010-03-22 16:54 ` matz at gcc dot gnu dot org
2010-03-22 17:07 ` paolo dot carlini at oracle dot com
2010-03-22 20:39 ` jason at gcc dot gnu dot org
2010-03-22 20:49 ` jason at gcc dot gnu dot org
2010-03-25 16:41 ` hjl 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).