--- Comment #4 from bangerth at dealii dot org 2006-10-12 01:47 ---
I can confirm that this is apparently fixed now.
W.
--
bangerth at dealii dot org changed:
What|Removed |Added
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-12 01:49 ---
I think this is a dup of bug 28169.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29437
--- Comment #3 from bangerth at dealii dot org 2006-10-12 01:49 ---
Confirmed.
--
bangerth at dealii dot org changed:
What|Removed |Added
Status|UNCONFIRMED
--- Comment #5 from bangerth at dealii dot org 2006-10-12 01:50 ---
gcc is correct. It is true that the result of the ?: operator is
a reference to the Base object of the Derived object created in the
second arm. However, the result is an rvalue, and a constant reference
is initialized w
--- Comment #2 from bangerth at dealii dot org 2006-10-12 01:52 ---
It is infact: this is a cleaned up version of that PR, but actually handles
the thing that is wrong, whereas PR 28169 was talking about something that
wasn't a bug at all.
W.
--
http://gcc.gnu.org/bugzilla/show_bug
--- Comment #3 from bangerth at dealii dot org 2006-10-12 02:06 ---
Forget this, the type of the rhs is of course an rvalue of type Base,
there is no need to copy the entire Derived object.
W.
--
bangerth at dealii dot org changed:
What|Removed |A
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P2 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29236
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-12 03:36 ---
Reduced testcase:
template < class T > struct Rgb;
template < int>int Camera1 ()
{
sizeof (Rgb < int>);
}
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-10-12 03:37 ---
The code in comment # 5 is invalid but even if we make it valid like below, it
still ICEs:
template < class T > struct Rgb{};
template < int>int Camera1 ()
{
sizeof (Rgb < int>);
}
--
http://gcc.gnu.org/bugzilla
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-10-12 03:39 ---
Works in 4.0.4 20061011.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-10-12 03:44 ---
I think this was caused by PR 29226.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-10-12 03:48 ---
Also ICEs with 4.2.0 20061012 but did not with 4.2.0 20061002 (which I think
was built before PR 29226 came in).
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-10-12 03:57
---
The problem is that we have not layouted out the type yet, if we had with
something like:
template < class T >
struct Rgb{};
Rgb t;
template < int>int Camera1 ()
{
sizeof (Rgb < int>);
}
We don't crash.
Something
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29408
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-12 04:09 ---
Confirmed, this is an user visable regression in that the code did not ICE in
3.2.3 even though the attribute is ignored.
--
pinskia at gcc dot gnu dot org changed:
What|Removed
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-10-12 04:13 ---
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-10-12 04:13
---
Subject: Bug 28302
Author: pinskia
Date: Thu Oct 12 04:13:36 2006
New Revision: 117657
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117657
Log:
2006-10-11 Andrew Pinski <[EMAIL PROTECTED]>
PR
--- Comment #8 from bangerth at dealii dot org 2006-10-12 04:27 ---
I don't believe the code is valid.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29408
--- Comment #4 from mmitchel at gcc dot gnu dot org 2006-10-12 04:36
---
Subject: Bug 29175
Author: mmitchel
Date: Thu Oct 12 04:35:56 2006
New Revision: 117658
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117658
Log:
PR c++/29175
* decl.c (check_initializer):
--- Comment #5 from mmitchel at gcc dot gnu dot org 2006-10-12 04:39
---
Fixed in 4.2.0.
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
Summa
--- Comment #7 from sgk at troutmask dot apl dot washington dot edu
2006-10-12 04:51 ---
Subject: Re: FAIL: gfortran.fortran-torture/execute/intrinsic_rrspacing.f90
and intrinsic_spacing.f90
On Wed, Oct 11, 2006 at 09:45:02PM -, dave at hiauly1 dot hia dot nrc dot
ca wrote:
>
> >
sunday-go-to-meeting Cutie doinng surpass blowjobb!
http://progblemasdefgo.com
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-12 06:58 ---
if (TARGET_BIG_ENDIAN)\
{ \
builtin_define_std ("MIPSEB");\
builtin_
101 - 123 of 123 matches
Mail list logo