[Bug c++/39413] static_assert and SFINAE

2009-11-04 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2009-11-04 22:29 --- Subject: Bug 39413 Author: jason Date: Wed Nov 4 22:29:35 2009 New Revision: 153920 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153920 Log: PR c++/39413 * search.c (lookup_base): Don't comp

[Bug c++/39413] static_assert and SFINAE

2009-11-04 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2009-11-04 22:31 --- Fixed for 4.5.0. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASS

[Bug c++/8858] Gcc "rebinds" template member names.

2009-11-04 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2009-11-04 22:34 --- 14.7.1 [temp.local] Like normal (non-template) classes, class templates have an injected-class-name (Clause 9). The injected-class-name can be used with or without a template-argument-list. When it is used without a t

[Bug c++/41884] diagnostics: error vs. context

2009-11-04 Thread jason at gcc dot gnu dot org
--- Comment #12 from jason at gcc dot gnu dot org 2009-11-04 22:36 --- Paolo's point about -Wfatal-errors makes me inclined to leave this alone. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41884

[Bug rtl-optimization/41903] [4.5 Regression] Segmentation fault in bitmap_clear

2009-11-04 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Ever Confirmed|0 |1 Last reconfi

[Bug c++/36912] [4.3/4.4/4.5 regression] ICE with "-frounding-math -g"

2009-11-04 Thread jason at gcc dot gnu dot org
--- Comment #13 from jason at gcc dot gnu dot org 2009-11-04 23:13 --- Subject: Bug 36912 Author: jason Date: Wed Nov 4 23:13:23 2009 New Revision: 153921 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153921 Log: PR c++/36912 * varasm.c (initializer_constant_va

[Bug rtl-optimization/41903] [4.5 Regression] Segmentation fault in bitmap_clear

2009-11-04 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-11-04 23:24 --- I'm reducing this one for a C testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41903

[Bug c++/10291] error referencing a static local from a local struct in template code

2009-11-04 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2009-11-04 23:27 --- The problem is that we use a local_specializations hash table to look up locals when instantiating a template, and i isn't in bar()'s local_specializations, so we fail. We need to make static locals their own temploid

[Bug c++/35067] [4.3/4.4/4.5 Regression] multiple definition of virtual thunk

2009-11-04 Thread vincent dot riviere at freesbee dot fr
--- Comment #16 from vincent dot riviere at freesbee dot fr 2009-11-04 23:41 --- Hello, I've just tested with GCC trunk, it seems to be fixed ! Thanks, Jason. -- vincent dot riviere at freesbee dot fr changed: What|Removed |Added -

[Bug c/27065] error: array type has incomplete element type

2009-11-04 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-11-05 00:42 --- Actually this is valid C99 code after all. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/27065] [4.3/4.4/4.5 Regression] error: array type has incomplete element type

2009-11-04 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-11-05 00:45 --- 6.7.5.3/4 says: After adjustment, the parameters in the a parameter type list in a function declarator that is part of a definition of that function shall not have incomplete type. But the adjustment is the decaying

[Bug bootstrap/41709] Failing bootstrap in stage 2 while building Ada + C

2009-11-04 Thread anhvofrcaus at gmail dot com
--- Comment #7 from anhvofrcaus at gmail dot com 2009-11-05 01:00 --- I did look at it. However, I do not understand it thinks ./a.exe has bad file number as shown in the fragment of the /intl/config.log. The question is how can I fix this problem? Thanks. [...] configure:2947: /c/Gcc

[Bug c/27065] [4.3/4.4/4.5 Regression] error: array type has incomplete element type

2009-11-04 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-11-05 01:08 --- Actually I take that back, C99 explicitly says arrays cannot be an incomplete type. See 6.7.5.2/1. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug libstdc++/38875] parallel fill and copy in the parallel version of libstdc++

2009-11-04 Thread bkoz at gcc dot gnu dot org
--- Comment #6 from bkoz at gcc dot gnu dot org 2009-11-05 02:15 --- Created an attachment (id=18970) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18970&action=view) patch for parallel fill and fill_n -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38875

[Bug libstdc++/38875] parallel fill and copy in the parallel version of libstdc++

2009-11-04 Thread bkoz at gcc dot gnu dot org
--- Comment #7 from bkoz at gcc dot gnu dot org 2009-11-05 02:16 --- Here's how parallel fill would look, based on Johannes patch. -benjamin -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38875

[Bug libstdc++/38875] parallel fill and copy in the parallel version of libstdc++

2009-11-04 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2009-11-05 02:33 --- Cool. Now it would be nice to benchmark it a bit, somehow, a version of it with the actual code not commented out, I mean ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38875

[Bug middle-end/41924] graphite miscompiles aermod

2009-11-04 Thread lifeng at gcc dot gnu dot org
--- Comment #2 from lifeng at gcc dot gnu dot org 2009-11-05 02:38 --- (In reply to comment #1) > What are the options that you used to produce this? > I am not able to reproduce the failing clast with -O2, nor with -O3 with the > current graphite branch. I produce this with -O2. It see

[Bug c/41946] New: tree-vrp eliminates needed conditioanl

2009-11-04 Thread kevfox at cisco dot com
# 1 "strcmp.c" # 1 "" # 1 "" # 1 "strcmp.c" int strcmp (const char *, const char *); int strcmp (const char *s1, const char *s2) { if ((!s1 && s2) || (s1 && !s2)) return (int) (s1 - s2); if (s1 == s2) return 0; while (*s1 == *s2++) if (*s1++ == '\0')

[Bug libstdc++/38875] parallel fill and copy in the parallel version of libstdc++

2009-11-04 Thread bkoz at gcc dot gnu dot org
--- Comment #9 from bkoz at gcc dot gnu dot org 2009-11-05 02:52 --- Yes, of course. Just providing the framework, since that was a bit tricky. I should add all the steps here to the parallel mode docs to make this less confusing for people trying to experiment. best, benjamin --

[Bug bootstrap/41771] Bootstrap with Sun Studio 12.1 fails

2009-11-04 Thread ghazi at gcc dot gnu dot org
--- Comment #9 from ghazi at gcc dot gnu dot org 2009-11-05 02:55 --- (In reply to comment #8) > > Say I have a silly question, how is gmp.h getting pulled into gcc.c in the > > first place? It's supposed to come in via real.h which should only get > > included by middle-end files linki

<    1   2