--- Comment #15 from rguenth at gcc dot gnu dot org 2006-10-17 08:27
---
Subject: Bug 28906
Author: rguenth
Date: Tue Oct 17 08:27:26 2006
New Revision: 117821
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117821
Log:
2006-10-17 Richard Guenther [EMAIL PROTECTED]
--- Comment #13 from pinskia at gcc dot gnu dot org 2006-09-08 02:49
---
Subject: Bug 28906
Author: pinskia
Date: Fri Sep 8 02:49:11 2006
New Revision: 116776
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116776
Log:
006-09-07 Andrew Pinski [EMAIL PROTECTED]
PR
--- Comment #14 from pinskia at gcc dot gnu dot org 2006-09-08 02:49
---
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28906
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-08-31 10:59 ---
Yes this was casued by that patch.
Anyways we do:
1627 /* ??? The middle-end will error on us for building a VLA outside
a
1628 function context. Methinks that's not it's purvey. So we'll
do
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-08-31 11:06 ---
Doing:
Index: init.c
===
--- init.c (revision 116553)
+++ init.c (working copy)
@@ -1628,7 +1628,7 @@ build_new_1 (tree placement, tree type,
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-08-31 11:18 ---
Mine, we want/need to use build_distinct_type_copy instead but other than that
it should be ok.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28906
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org
--- Comment #8 from tbm at cyrius dot com 2006-08-31 20:10 ---
Is this the same bug?
(sid)59:[EMAIL PROTECTED]: ~/delta/bin] /usr/lib/gcc-snapshot/bin/g++ -c mini.c
mini.c:40: error: variable-size type declared outside of any function
mini.c:40: error: variable-size type declared
--- Comment #9 from tbm at cyrius dot com 2006-08-31 20:21 ---
Created an attachment (id=12163)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12163action=view)
preprocessed source
Actually, can you please check when you get home if this is the same bug?
--
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-09-01 04:01
---
(In reply to comment #9)
Actually, can you please check when you get home if this is the same bug?
Yes this is the same bug as my patch (which I am about to submut) fixes it.
--
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-09-01 04:49
---
I did not add a testcase for one that just ICE but I did add two testcases, one
for the wrong code and one for the rejecting valid. The ICE is because of
templates which I don't feel like needing a testcase for
--- Comment #12 from patchapp at dberlin dot org 2006-09-01 04:51 ---
Subject: Bug number PR C++/28906
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-09/msg7.html
--
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-30 17:18 ---
*** Bug 28907 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28906
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-30 17:20 ---
This also causes wrong code:
extern char machineMain[];
void sort (long len)
{
new char[100];
}
char machineMain[] = main;
int main(void)
{
if (sizeof(machineMain)!=sizeof(main))
__builtin_abort();
}
--
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Severity|normal |blocker
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28906
16 matches
Mail list logo