[Bug c++/50084] [C++0x] ICE: decltype + remove_reference + new

2011-08-30 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50084 --- Comment #2 from Jason Merrill 2011-08-30 21:27:39 UTC --- Author: jason Date: Tue Aug 30 21:27:36 2011 New Revision: 178340 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178340 Log: PR c++/50084 * cp-tree.h (cp_decl_specifier

[Bug c++/50089] [C++0x] ICE when calling a qualified base class member function within a lambda expr without "this->"

2011-08-30 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50089 --- Comment #2 from Jason Merrill 2011-08-30 21:27:31 UTC --- Author: jason Date: Tue Aug 30 21:27:27 2011 New Revision: 178339 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178339 Log: PR c++/50089 * semantics.c (finish_id_expre

[Bug c++/50114] ICE with declaration inside for statement

2011-08-30 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50114 --- Comment #6 from Jason Merrill 2011-08-30 21:27:23 UTC --- Author: jason Date: Tue Aug 30 21:27:18 2011 New Revision: 178338 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178338 Log: PR c++/50114 * decl.c (poplevel): Disable f

[Bug fortran/45044] Different named COMMON block size: No warning

2011-08-30 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45044 --- Comment #4 from Tobias Burnus 2011-08-30 21:33:18 UTC --- I was thinking of using: gfc_gsymbol *gsym; gsym = gfc_get_gsymbol (com->name); gcc_assert (gsym->type == GSYM_COMMON); gfc_warning ("Named COM

[Bug libfortran/50192] Wrong character comparision with wide strings

2011-08-30 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50192 --- Comment #5 from Thomas Koenig 2011-08-30 21:36:53 UTC --- Author: tkoenig Date: Tue Aug 30 21:36:48 2011 New Revision: 178341 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178341 Log: 2011-08-30 Thomas Koenig Backport from tr

[Bug c++/50084] [C++0x] ICE: decltype + remove_reference + new

2011-08-30 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50084 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/50089] [C++0x] ICE when calling a qualified base class member function within a lambda expr without "this->"

2011-08-30 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50089 --- Comment #3 from Jason Merrill 2011-08-30 21:48:28 UTC --- Author: jason Date: Tue Aug 30 21:48:24 2011 New Revision: 178342 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178342 Log: PR c++/50089 * semantics.c (finish_id_expre

[Bug c++/50207] [4.7 Regression] G++ segv's on reduced test case

2011-08-30 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50207 --- Comment #9 from Jason Merrill 2011-08-30 21:48:38 UTC --- Author: jason Date: Tue Aug 30 21:48:34 2011 New Revision: 178343 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178343 Log: PR c++/50207 * class.c (finish_struct_1): C

[Bug c++/50089] [C++0x] ICE when calling a qualified base class member function within a lambda expr without "this->"

2011-08-30 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50089 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/50114] ICE with declaration inside for statement

2011-08-30 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50114 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/49051] [C++0x] Doesn't SFINAE away an invalid substitution into toplevel parameter type "T[N]"

2011-08-30 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49051 --- Comment #6 from Jason Merrill 2011-08-30 21:56:42 UTC --- This will eventually be issue 1322, http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_active.html#1322 but the issues list hasn't been updated yet. In Bloomington we assigned it pri

[Bug fortran/45044] Different named COMMON block size: No warning

2011-08-30 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45044 --- Comment #5 from Tobias Burnus 2011-08-30 22:09:55 UTC --- Author: burnus Date: Tue Aug 30 22:09:49 2011 New Revision: 178344 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178344 Log: 2011-08-30 Tobias Burnus PR fortran/45

[Bug c++/50244] New: wcstold not available for C++0x

2011-08-30 Thread lcid-fire at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50244 Bug #: 50244 Summary: wcstold not available for C++0x Classification: Unclassified Product: gcc Version: 4.5.3 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/50244] wcstold not available for C++0x

2011-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50244 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/50244] wcstold not available for C++0x

2011-08-30 Thread lcid-fire at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50244 --- Comment #2 from lcid-fire at gmx dot net 2011-08-30 23:13:07 UTC --- Created attachment 25141 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25141 Filtered output

[Bug c++/50244] wcstold not available for C++0x

2011-08-30 Thread lcid-fire at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50244 --- Comment #3 from lcid-fire at gmx dot net 2011-08-30 23:14:01 UTC --- Created attachment 25142 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25142 Generated ii file

[Bug ada/15606] Legal program rejected, RM 8.2(22)

2011-08-30 Thread nicolas.boulenguez at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15606 nicolas.boulenguez at free dot fr changed: What|Removed |Added CC||nicolas.boulenguez at f

[Bug c++/50244] wcstold not available for C++0x

2011-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50244 --- Comment #4 from Jonathan Wakely 2011-08-30 23:21:29 UTC --- is that whole file really necessary? what happens if you just #include ? What's the simplest command that reproduces the error?

[Bug ada/15606] Legal program rejected, RM 8.2(22)

2011-08-30 Thread sam at rfc1149 dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15606 --- Comment #7 from Samuel Tardieu 2011-08-30 23:21:41 UTC --- Je suis absent jusqu'au 5 septembre sans accès à mon courrier électronique. I am on vacation until September 5 without email access.

[Bug libstdc++/50160] vector comparison very slow (no overload)

2011-08-30 Thread de...@the-user.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160 --- Comment #14 from Jonathan Schmidt-Dominé 2011-08-30 23:25:25 UTC --- Created attachment 25143 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25143 bits/stl_vector.h patch moved operator== and operator< inside class, because I want to ov

[Bug libstdc++/50160] vector comparison very slow (no overload)

2011-08-30 Thread de...@the-user.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160 --- Comment #15 from Jonathan Schmidt-Dominé 2011-08-30 23:30:00 UTC --- Created attachment 25144 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25144 b More efficient (non representative benchmark!) implementation of operator< and operator

[Bug libstdc++/50160] vector comparison very slow (no overload)

2011-08-30 Thread de...@the-user.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160 --- Comment #16 from Jonathan Schmidt-Dominé 2011-08-30 23:30:36 UTC --- Added basic patch…

[Bug ada/15611] Invalid program not detected, RM 3.7(11)

2011-08-30 Thread nicolas.boulenguez at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15611 nicolas.boulenguez at free dot fr changed: What|Removed |Added CC||nicolas.boulenguez at f

[Bug libstdc++/50160] vector comparison very slow (no overload)

2011-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160 --- Comment #17 from Jonathan Wakely 2011-08-30 23:34:42 UTC --- (In reply to comment #14) > moved operator== and operator< inside class, because I want to overload them huh, why is that needed? it's not acceptable anyway, it needs to be a non-

[Bug libgcj/50241] Building from the "current" branch - 178337 fails.

2011-08-30 Thread grgoffe at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50241 --- Comment #2 from George R. Goffe 2011-08-30 23:36:49 UTC --- Thank you for your time in looking over this bug report. I am not building from within the source directory. Here's the relevant part of my build script. Do you see something wrong

[Bug libgcj/50241] Building from the "current" branch - 178337 fails.

2011-08-30 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50241 --- Comment #3 from Andrew Pinski 2011-08-30 23:40:15 UTC --- >I am not building from within the source directory. Yes you are in the end with the lndir. Try instead: cd gcc svn up cd .. rm -fr obj-i686-pc-linux-gnu mkdir

[Bug ada/15614] Illegal program not detected, RM 12.1(11)

2011-08-30 Thread nicolas.boulenguez at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15614 nicolas.boulenguez at free dot fr changed: What|Removed |Added CC||nicolas.boulenguez at f

[Bug libstdc++/50160] vector comparison very slow (no overload)

2011-08-30 Thread de...@the-user.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160 --- Comment #18 from Jonathan Schmidt-Dominé 2011-08-30 23:56:38 UTC --- (In reply to comment #17) > (In reply to comment #14) > > moved operator== and operator< inside class, because I want to overload them > > huh, why is that needed? it's no

[Bug ada/15615] Legal program rejected, derived tagged type in child package doesn't see parent's element

2011-08-30 Thread nicolas.boulenguez at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15615 nicolas.boulenguez at free dot fr changed: What|Removed |Added CC||nicolas.boulenguez at f

[Bug libstdc++/50160] vector comparison very slow (no overload)

2011-08-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160 --- Comment #19 from Paolo Carlini 2011-08-31 00:04:36 UTC --- I'm wondering if processing an unsigned long at a time wouldn't be a step in the right direction. Then, a compiler intrinsics would be the right place for that, would naturally fit in

[Bug bootstrap/50245] New: Compile of cross compiler for M68HC11 fails in libgcc, "internal compiler error: Segmentation fault"

2011-08-30 Thread dreid at aptina dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50245 Bug #: 50245 Summary: Compile of cross compiler for M68HC11 fails in libgcc, "internal compiler error: Segmentation fault" Classification: Unclassified Product: gcc Version: 4.5.

[Bug ada/15798] Bug box in Gigi, code=201, on legal program with tasking

2011-08-30 Thread nicolas.boulenguez at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15798 nicolas.boulenguez at free dot fr changed: What|Removed |Added CC||nicolas.boulenguez at f

[Bug bootstrap/50245] Compile of cross compiler for M68HC11 fails in libgcc, "internal compiler error: Segmentation fault"

2011-08-30 Thread dreid at aptina dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50245 --- Comment #1 from Don Reid 2011-08-31 00:11:58 UTC --- Created attachment 25146 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25146 stderr from command with "-v -save-temps" added

[Bug tree-optimization/50246] New: SRA: Writes to class members are not combined

2011-08-30 Thread justin at fathomdb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50246 Bug #: 50246 Summary: SRA: Writes to class members are not combined Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pr

[Bug ada/15799] Legal program rejected, using 'Base

2011-08-30 Thread nicolas.boulenguez at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15799 nicolas.boulenguez at free dot fr changed: What|Removed |Added CC||nicolas.boulenguez at f

[Bug libstdc++/50160] vector comparison very slow (no overload)

2011-08-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160 --- Comment #20 from Paolo Carlini 2011-08-31 00:26:49 UTC --- Largely irrelevant here, but partial specialization of function templates simply does not exist. We have been talking about adding an overload like: template bool operator<(co

[Bug libstdc++/50160] vector comparison very slow (no overload)

2011-08-30 Thread de...@the-user.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160 --- Comment #21 from Jonathan Schmidt-Dominé 2011-08-31 00:30:58 UTC --- It would indeed be nice to have such a builtin function (8, 16, 32, 64 bit reversing), currently there is none in gcc, only bytewise reversing iirc. Should that be put as wi

[Bug libstdc++/50160] vector comparison very slow (no overload)

2011-08-30 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160 --- Comment #22 from Andrew Pinski 2011-08-31 00:33:52 UTC --- Can't you do ~a < ~b ?

[Bug libstdc++/50160] vector comparison very slow (no overload)

2011-08-30 Thread de...@the-user.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160 --- Comment #23 from Jonathan Schmidt-Dominé 2011-08-31 00:34:28 UTC --- @Paolo Okay, I am sometimes overcautious with function-templates, because I often had a lot of errors because of partial specialisation when it was indeed necessary (functi

[Bug libstdc++/50160] vector comparison very slow (no overload)

2011-08-30 Thread de...@the-user.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160 --- Comment #24 from Jonathan Schmidt-Dominé 2011-08-31 00:39:57 UTC --- @Andrew Nope: 1001 > 0001 (lexicographically) 1001 > 0001 (as little-endian) 0110 < 1110 (as little-endian)

[Bug ada/15800] SIGSEGV on mutually recursive record type declarations

2011-08-30 Thread nicolas.boulenguez at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15800 nicolas.boulenguez at free dot fr changed: What|Removed |Added CC||nicolas.boulenguez at f

[Bug ada/15840] Illegal program not detected, RM 3.7(14)

2011-08-30 Thread nicolas.boulenguez at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15840 nicolas.boulenguez at free dot fr changed: What|Removed |Added CC||nicolas.boulenguez at f

[Bug libstdc++/50160] vector comparison very slow (no overload)

2011-08-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160 --- Comment #25 from Paolo Carlini 2011-08-31 00:56:42 UTC --- I think a separate Bugzilla requesting as an enhancement such intrinsics would be certainly appropriate. I'm sure other code could exploit those. Note, in the meanwhile we could as w

[Bug ada/15843] Illegal program not detected, RM 3.7.2(2)

2011-08-30 Thread nicolas.boulenguez at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15843 nicolas.boulenguez at free dot fr changed: What|Removed |Added CC||nicolas.boulenguez at f

[Bug middle-end/50232] [4.7 Regression] reorg.c:3971: undefined reference to `make_return_insns'

2011-08-30 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50232 --- Comment #5 from dave.anglin at bell dot net 2011-08-31 01:10:16 UTC --- On 30-Aug-11, at 11:06 AM, bernds at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50232 > > --- Comment #4 from Bernd Schmidt > 2011-08-30 15:06

[Bug bootstrap/50237] [4.7 regression] comparison failure caused by HAVE_INITFINI_ARRAY check

2011-08-30 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237 --- Comment #11 from H.J. Lu 2011-08-31 04:21:53 UTC --- (In reply to comment #10) > On Tue, 30 Aug 2011, hjl.tools at gmail dot com wrote: > > > The main issue is mixing input .ctors sections with .init_array sections > > to generate the single

[Bug c++/50239] compiled program segfault when -O0 is used to compile

2011-08-30 Thread eviom at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50239 eviom changed: What|Removed |Added Version|4.7.0 |4.5.2 --- Comment #2 from eviom 2011-08-31 05:42

[Bug middle-end/50232] [4.7 Regression] reorg.c:3971: undefined reference to `make_return_insns'

2011-08-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50232 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/50236] compiler throws internal compiler error: Segmentation fault

2011-08-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50236 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/50234] internal compiler error: in cxx_eval_component_reference, at cp/semantics.c:6527

2011-08-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50234 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/50235] Wrong code with volatile bitfields and -Os

2011-08-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50235 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1 f

[Bug middle-end/29269] missing documentation for "vcond" (vector conditional operation)

2011-08-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29269 Richard Guenther changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned

[Bug tree-optimization/27460] Does not vectorize statements with mixed type COND_EXPRs

2011-08-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27460 Richard Guenther changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned

[Bug c++/2316] g++ fails to overload on language linkage

2011-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2316 --- Comment #21 from Jonathan Wakely 2011-08-30 09:12:23 UTC --- Thanks, Marc! We can (and eventually should) fix anything in libstdc++ that incorrectly relies on this bug. Gthreads might be a little harder, but we could probably overload on langu

[Bug c++/50233] Internal compiler error: in build_value_init_noctor, at cp/init.c:336

2011-08-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50233 --- Comment #2 from Paolo Carlini 2011-08-30 09:14:25 UTC --- Good. 4_6-branch behaves the same. Do we agree that GCC is correct in rejecting this (without ICE-ing of course)?

[Bug c++/50233] Internal compiler error: in build_value_init_noctor, at cp/init.c:336

2011-08-30 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50233 --- Comment #3 from Daniel Krügler 2011-08-30 09:30:48 UTC --- (In reply to comment #2) > Good. 4_6-branch behaves the same. Do we agree that GCC is correct in > rejecting > this (without ICE-ing of course)? I think that gcc is right rejecting

[Bug c++/2316] g++ fails to overload on language linkage

2011-08-30 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2316 --- Comment #22 from Marc Glisse 2011-08-30 09:32:24 UTC --- (In reply to comment #21) > I'll try your patch and see what, if anything, can be changed safely in > libstdc++ right away. Thanks :-) Note that some things are painful to do right wit

[Bug c++/50233] Internal compiler error: in build_value_init_noctor, at cp/init.c:336

2011-08-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50233 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug c++/49171] [C++0x][constexpr] Constant expressions support reinterpret_cast

2011-08-30 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49171 --- Comment #2 from Daniel Krügler 2011-08-30 09:39:43 UTC --- I believe I found a conforming usage of reinterpret_cast in constant expressions useable in C++03: // struct X { X* operator&(); }; X x[2]; const bool p = (reinter

[Bug c++/25137] Warning "missing braces around initializer" causing problems with tr1::array

2011-08-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25137 Paolo Carlini changed: What|Removed |Added CC||dodji at gcc dot gnu.org --- Comment #16

[Bug c++/50233] Internal compiler error: in build_value_init_noctor, at cp/init.c:336

2011-08-30 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50233 --- Comment #5 from Daniel Krügler 2011-08-30 09:52:19 UTC --- I just notice that the current exclusion of reinterpret_cast in constant expressions would make it impossible to define addressof as a constexpr function. C++11 currently invalidates

[Bug libstdc++/50160] vector comparison very slow (no overload)

2011-08-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160 Paolo Carlini changed: What|Removed |Added Summary|vector comparison |vector comparison |very slow

[Bug target/50164] [IRA, 4.7 Regression] Performance degradation due to increased memory instructions count

2011-08-30 Thread enkovich.gnu at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50164 Ilya Enkovich changed: What|Removed |Added Attachment #25083|0 |1 is obsolete|

[Bug c++/2316] g++ fails to overload on language linkage

2011-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2316 --- Comment #23 from Jonathan Wakely 2011-08-30 10:46:51 UTC --- (In reply to comment #22) > Note that some things are painful to do right with extern "C". For instance, > the __stoa helper takes as argument a pointer to a function with a type tha

[Bug target/50164] [IRA, 4.7 Regression] Performance degradation due to increased memory instructions count

2011-08-30 Thread enkovich.gnu at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50164 --- Comment #8 from Ilya Enkovich 2011-08-30 10:50:44 UTC --- I attached a fixed reproducer. It is closer to the original test and has higher registers pressure then the previous version. It has the same problem as the first reproducer. Reprodu

[Bug c++/2316] g++ fails to overload on language linkage

2011-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2316 --- Comment #24 from Jonathan Wakely 2011-08-30 10:49:27 UTC --- (In reply to comment #23) > I think you can do it with a alias-declaration in an extern "C" block: But that might have only worked when I tested it because Clang++ doesn't overload

[Bug c++/2316] g++ fails to overload on language linkage

2011-08-30 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2316 --- Comment #25 from Marc Glisse 2011-08-30 11:28:48 UTC --- (In reply to comment #23) > I think you can do it with a alias-declaration in an extern "C" block: > > extern "C" { > template > using func_type = T (*)(); > } > > extern "C" voi

[Bug middle-end/50232] [4.7 Regression] reorg.c:3971: undefined reference to `make_return_insns'

2011-08-30 Thread bernds at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50232 --- Comment #2 from Bernd Schmidt 2011-08-30 11:31:34 UTC --- Ugh, code prettyfication gone wrong. Will fix. However, you'll probably also want to add "return" patterns to PA for optimization.

[Bug tree-optimization/48571] [4.5/4.6/4.7 Regression] Missed data-dependence for (bogus?) reconstructed array-refs

2011-08-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48571 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/50163] [4.4/4.5/4.6/4.7 Regression] ICE: initialization expression

2011-08-30 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50163 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/2316] g++ fails to overload on language linkage

2011-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2316 --- Comment #26 from Jonathan Wakely 2011-08-30 12:17:47 UTC --- (In reply to comment #25) > (In reply to comment #23) > > > We could solve it with an alternative syntax for language linkage > > using attributes: > > > > void f( [[extern(C)]]

[Bug c++/2316] g++ fails to overload on language linkage

2011-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2316 --- Comment #27 from Jonathan Wakely 2011-08-30 12:19:23 UTC --- this is DR13 btw http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#13 I don't know if that's been reconsidered now we have attributes

[Bug fortran/50231] Fatal Error: Wrong module version '5' (expected '4') for file 'sizes.mod'

2011-08-30 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50231 Tobias Burnus changed: What|Removed |Added Status|NEW |WAITING --- Comment #5 from Tobias Burnus

[Bug c++/2316] g++ fails to overload on language linkage

2011-08-30 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2316 --- Comment #28 from Marc Glisse 2011-08-30 12:34:20 UTC --- (In reply to comment #27) > this is DR13 btw > http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#13 > I don't know if that's been reconsidered now we have attributes Gah, I lo

[Bug libstdc++/50143] Doxygen API documentation is invalid

2011-08-30 Thread giecrilj at stegny dot 2a.pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50143 --- Comment #22 from Christopher Yeleighton 2011-08-30 13:10:38 UTC --- (In reply to comment #21) > (In reply to comment #20) > > Please publish your result (just one page will do). > > I've deleted it now, you can see for yourself using the (ab

[Bug bootstrap/50237] New: [4.7 regression] comparison failure caused by HAVE_INITFINI_ARRAY check

2011-08-30 Thread ebotcazou at gcc dot gnu.org
ls --disable-libmudflap Thread model: posix gcc version 4.7.0 20110830 (experimental) [trunk revision 178287] (GCC) A workaround would be to get rid of the __attribute__((constructor)) in lex.c but someone should sit down and write a correct HAVE_INITFINI_ARRAY check.

[Bug fortran/45045] Named COMMON with different size: No warning with -fwhole-file

2011-08-30 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45045 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug fortran/45044] Different named COMMON block size: No warning

2011-08-30 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45044 Bug 45044 depends on bug 45045, which changed state. Bug 45045 Summary: Named COMMON with different size: No warning with -fwhole-file http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45045 What|Old Value |New Value -

[Bug libstdc++/50143] Doxygen API documentation is invalid

2011-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50143 --- Comment #23 from Jonathan Wakely 2011-08-30 13:25:17 UTC --- Did you alter the Doxyfile as I described in Comment 20 here? Otherwise you're not getting valid XHTML, and you're not getting the treeview that caused the problem when I tested it

[Bug fortran/45044] Different named COMMON block size: No warning

2011-08-30 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45044 --- Comment #3 from Tobias Burnus 2011-08-30 13:26:23 UTC --- Simple patch to print also a warning if a smaller named common block follows a larger one. TODO: Print the location of the other COMMON block. One can recover the line number via DECL

[Bug libstdc++/50143] Doxygen API documentation is invalid

2011-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50143 --- Comment #24 from Jonathan Wakely 2011-08-30 13:27:37 UTC --- (In reply to comment #23) > Did you alter the Doxyfile as I described in Comment 20 here? Comment 18, rather

[Bug testsuite/50185] [4.7 Regression] Bad AVX2 tests

2011-08-30 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50185 --- Comment #6 from hjl at gcc dot gnu.org 2011-08-30 13:28:26 UTC --- Author: hjl Date: Tue Aug 30 13:28:21 2011 New Revision: 178302 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178302 Log: Rename avx2-vmovmskb-2.c to avx2-vpmovmskb-2

[Bug bootstrap/50237] [4.7 regression] comparison failure caused by HAVE_INITFINI_ARRAY check

2011-08-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237 Richard Guenther changed: What|Removed |Added Priority|P3 |P1

[Bug bootstrap/50237] [4.7 regression] comparison failure caused by HAVE_INITFINI_ARRAY check

2011-08-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237 Richard Guenther changed: What|Removed |Added CC||hjl at gcc dot gnu.org Target Milest

[Bug bootstrap/50237] [4.7 regression] comparison failure caused by HAVE_INITFINI_ARRAY check

2011-08-30 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237 H.J. Lu changed: What|Removed |Added CC|hjl at gcc dot gnu.org |hjl.tools at gmail dot com --- Comment #1 from

[Bug bootstrap/50237] [4.7 regression] comparison failure caused by HAVE_INITFINI_ARRAY check

2011-08-30 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237 --- Comment #2 from Eric Botcazou 2011-08-30 13:50:28 UTC --- > HAVE_INITFINI_ARRAY is supposed to check the binutils/glibc feature, > independent of compiler. AFAICS it doesn't, it compiles everything with the host compiler, which will use in p

[Bug libstdc++/50143] Doxygen API documentation is invalid

2011-08-30 Thread giecrilj at stegny dot 2a.pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50143 --- Comment #25 from Christopher Yeleighton 2011-08-30 13:51:39 UTC --- Well, the original documentation now shows up in Konqueror after a little delay, so the original failure might have been due do a network problem (e.g. a failed script downlo

[Bug bootstrap/50237] [4.7 regression] comparison failure caused by HAVE_INITFINI_ARRAY check

2011-08-30 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237 --- Comment #3 from H.J. Lu 2011-08-30 13:57:46 UTC --- (In reply to comment #2) > > HAVE_INITFINI_ARRAY is supposed to check the binutils/glibc feature, > > independent of compiler. > > AFAICS it doesn't, it compiles everything with the host co

[Bug tree-optimization/48571] [4.5/4.6/4.7 Regression] Missed data-dependence for (bogus?) reconstructed array-refs

2011-08-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48571 --- Comment #5 from Richard Guenther 2011-08-30 14:06:07 UTC --- Author: rguenth Date: Tue Aug 30 14:06:00 2011 New Revision: 178312 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178312 Log: 2011-08-30 Richard Guenther PR middle-

[Bug tree-optimization/48571] [4.5/4.6 Regression] Missed data-dependence for (bogus?) reconstructed array-refs

2011-08-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48571 Richard Guenther changed: What|Removed |Added Known to work||4.7.0 Summary|[4.5/4.6/4.7

[Bug bootstrap/50237] [4.7 regression] comparison failure caused by HAVE_INITFINI_ARRAY check

2011-08-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237 --- Comment #4 from Richard Guenther 2011-08-30 14:09:08 UTC --- Only stage2/3 binutils need to be the same and those are relevant for feature tests.

[Bug c++/50234] internal compiler error: in cxx_eval_component_reference, at cp/semantics.c:6527

2011-08-30 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50234 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at

[Bug bootstrap/50237] [4.7 regression] comparison failure caused by HAVE_INITFINI_ARRAY check

2011-08-30 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237 --- Comment #5 from H.J. Lu 2011-08-30 14:23:05 UTC --- (In reply to comment #4) > Only stage2/3 binutils need to be the same and those are relevant for > feature tests. How does stage 2 binutils fail the test?

[Bug middle-end/50232] [4.7 Regression] reorg.c:3971: undefined reference to `make_return_insns'

2011-08-30 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50232 --- Comment #3 from dave.anglin at bell dot net 2011-08-30 14:29:10 UTC --- On 8/30/2011 7:31 AM, bernds at gcc dot gnu.org wrote: > However, you'll probably also want to add "return" patterns to PA for > optimization. > I don't think the condition

[Bug middle-end/49328] [4.5 Regression] Internal compiler error due to explicit array bounds in contained routine argument

2011-08-30 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49328 Tobias Burnus changed: What|Removed |Added Keywords||ice-on-valid-code Component|fort

[Bug c++/50220] [C++0x] [4.7 Regression] ICE when capturing a by-reference template function argument in a lambda

2011-08-30 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50220 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at

[Bug fortran/50050] Internal compiler error free_expr0 at expr.c:3709 via gfc_done_2

2011-08-30 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50050 Tobias Burnus changed: What|Removed |Added Summary|[4.6/4.7 Regression]|Internal compiler error

[Bug bootstrap/50237] [4.7 regression] comparison failure caused by HAVE_INITFINI_ARRAY check

2011-08-30 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237 --- Comment #6 from Eric Botcazou 2011-08-30 15:00:54 UTC --- > How does stage 2 binutils fail the test? It doesn't. Let me explain: - during stage1, the check is made with the host compiler, i.e. the base compiler, so the old binutils are u

[Bug middle-end/50232] [4.7 Regression] reorg.c:3971: undefined reference to `make_return_insns'

2011-08-30 Thread bernds at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50232 --- Comment #4 from Bernd Schmidt 2011-08-30 15:06:05 UTC --- Surely the PA has some kind of return instruction? Most ports define a "return" pattern with an insn condition that requires that the epilogue is empty. In that case, jumps to the end

[Bug c++/50220] [C++0x] [4.7 Regression] ICE when capturing a by-reference template function argument in a lambda

2011-08-30 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50220 --- Comment #1 from Jason Merrill 2011-08-30 15:28:44 UTC --- Author: jason Date: Tue Aug 30 15:28:40 2011 New Revision: 178326 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178326 Log: PR c++/50220 * semantics.c (add_capture): C

  1   2   >