[Bug bootstrap/48102] [4.6 Regression] Bootstrap failure: error: macro "build_cloog_prog" requires 4 arguments, but only 3 given

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48102 --- Comment #5 from Jakub Jelinek 2011-03-14 08:18:57 UTC --- Author: jakub Date: Mon Mar 14 08:18:52 2011 New Revision: 170933 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170933 Log: PR bootstrap/48102 * graphite-cloog-compat.

[Bug bootstrap/48102] [4.6 Regression] Bootstrap failure: error: macro "build_cloog_prog" requires 4 arguments, but only 3 given

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48102 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug lto/48108] lto should be containerized in a single mach-o section on darwin

2011-03-14 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48108 --- Comment #3 from Iain Sandoe 2011-03-14 09:00:52 UTC --- (In reply to comment #2) > Another fix might be to have pure elf .o files... ld I think will read elf .o > files... [s] Don't tell anyone I said that. If not, we might be able

[Bug bootstrap/42566] Bootstrap fails in stage3 building the libstdc++ PCH

2011-03-14 Thread fxcoudert at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42566 Francois-Xavier Coudert changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48098 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48098 --- Comment #3 from Jakub Jelinek 2011-03-14 09:29:02 UTC --- Smaller testcase: void foo (int n) { static char *__restrict *p; int i; p = __builtin_malloc (n); for (i = 0; i < n; i++) p[i] = 0; } The reason why the conversion betwee

[Bug objc/48109] New: Objective-C class defs/refs are lost under LTO on Darwin for ABI0/1

2011-03-14 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48109 Summary: Objective-C class defs/refs are lost under LTO on Darwin for ABI0/1 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48098 Jakub Jelinek changed: What|Removed |Added Priority|P1 |P3 Target Milestone|4.6.0

[Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48098 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48098 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1

[Bug lto/48094] ld: warning: section has unexpectedly large size errors in objc/obj-c++ lto

2011-03-14 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48094 --- Comment #5 from Iain Sandoe 2011-03-14 09:40:07 UTC --- (In reply to comment #3) > (In reply to comment #2) > > > (b) the second needs more checking - the tests pass on darwin9 (and darwin10 > > with 3.2.5 - last time I tried) > > it looks

[Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48098 --- Comment #5 from Jakub Jelinek 2011-03-14 09:59:32 UTC --- Just swapping the order of arguments to useless_type_conversion_p works too. If we consider build_vector_from_val as conversion from sc's type to the inner type of the vector, then vec

[Bug tree-optimization/48052] loop not vectorized if index is "unsigned int"

2011-03-14 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48052 --- Comment #9 from vincenzo Innocente 2011-03-14 10:08:29 UTC --- It is interesting to note that in case of fixed size (such as in these trivial or template examples) vectorization works also for unsigned int void loop10( double const * __restr

[Bug objc/48109] Objective-C class defs/refs are lost under LTO on Darwin for ABI0/1

2011-03-14 Thread mikestump at comcast dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48109 --- Comment #1 from Mike Stump 2011-03-14 10:23:19 UTC --- Not sure it matters, but, marking them as used should be enough... Note, there are a couple of ways to mark things. TREE_USED and the lto incantation.

[Bug target/48077] [Code Improvement] Poor expansion of multiply on powerpc64-linux

2011-03-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48077 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug target/48082] Problem compiling function that returns va_list on 64 bit system.

2011-03-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48082 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug objc/48109] Objective-C class defs/refs are lost under LTO on Darwin for ABI0/1

2011-03-14 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48109 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/48088] -Werror=frame-larger-than=100 does not work as expected

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

[Bug middle-end/48110] New: __attribute__ ((optimize(...))) version of -Ofast

2011-03-14 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48110 Summary: __attribute__ ((optimize(...))) version of -Ofast Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assigne

[Bug target/48090] [4.5 Regression] gcc 4.5.2 miscompilation when building on arm

2011-03-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 Richard Guenther changed: What|Removed |Added Keywords||wrong-code Component|c

[Bug c/48091] No warning when given function arguments mismatch earlier, old style K&R function definition

2011-03-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48091 --- Comment #1 from Richard Guenther 2011-03-14 10:33:21 UTC --- That's how K&R works. The function definition isn't a prototype.

[Bug c/46028] Regression from GCC 4.4: "storage size of 'test_array' isn't constant"

2011-03-14 Thread philipp at marek dot priv.at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46028 philipp at marek dot priv.at changed: What|Removed |Added CC||philipp at marek dot

[Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380

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

[Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380

2011-03-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48098 --- Comment #7 from Richard Guenther 2011-03-14 10:50:57 UTC --- It doesn't seem to strip ref-all, that isn't a variant kind.

[Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380

2011-03-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48098 --- Comment #8 from Richard Guenther 2011-03-14 10:58:06 UTC --- Hm, we also want the elements to be trivially convertible to the vector element type. So we really want to assert types_compatible_p. I can't see any real problems with the restri

[Bug lto/48100] [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects

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

[Bug target/48108] lto should be containerized in a single mach-o section on darwin

2011-03-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48108 Richard Guenther changed: What|Removed |Added Keywords||lto Component|lto

[Bug objc/48109] Objective-C class defs/refs are lost under LTO on Darwin for ABI0/1

2011-03-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48109 --- Comment #3 from Richard Guenther 2011-03-14 11:27:31 UTC --- I suppose a special kind of alias could be invented here.

[Bug lto/48100] [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects

2011-03-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48100 Richard Guenther changed: What|Removed |Added Priority|P3 |P2

[Bug fortran/47571] [4.6 Regression] undefined reference to clock_gettime in Linux build of 02/01/2011

2011-03-14 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47571 --- Comment #32 from Janne Blomqvist 2011-03-14 11:34:00 UTC --- Created attachment 23648 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23648 Proposed patch

[Bug objc/48109] Objective-C class defs/refs are lost under LTO on Darwin for ABI0/1

2011-03-14 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48109 --- Comment #4 from Iain Sandoe 2011-03-14 11:36:29 UTC --- (In reply to comment #3) > I suppose a special kind of alias could be invented here. I was thinking of a normal var - tagged with our ObjC meta-data attribute - and then handled in the

[Bug fortran/47571] [4.6 Regression] undefined reference to clock_gettime in Linux build of 02/01/2011

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47571 --- Comment #33 from Jakub Jelinek 2011-03-14 11:41:53 UTC --- I think you should add below the hunk defining conditionally GF_CLOCK_MONOTONIC: #ifndef GF_CLOCK_MONOTONIC #undef HAVE_CLOCK_GETTIME #undef HAVE_CLOCK_GETTIME_LIBRT #endif now that y

[Bug fortran/47571] [4.6 Regression] undefined reference to clock_gettime in Linux build of 02/01/2011

2011-03-14 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47571 --- Comment #34 from Janne Blomqvist 2011-03-14 11:42:47 UTC --- (In reply to comment #31) > > That being said, I'd prefer to postpone this fix to stage 1 due to > > > > - I'm currently moving flats so my stuff is all over and I'm very busy > > -

[Bug fortran/47571] [4.6 Regression] undefined reference to clock_gettime in Linux build of 02/01/2011

2011-03-14 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47571 --- Comment #35 from Janne Blomqvist 2011-03-14 11:50:26 UTC --- (In reply to comment #33) > I think you should add below the hunk defining conditionally > GF_CLOCK_MONOTONIC: > #ifndef GF_CLOCK_MONOTONIC > #undef HAVE_CLOCK_GETTIME > #undef HAVE

[Bug fortran/47571] [4.6 Regression] undefined reference to clock_gettime in Linux build of 02/01/2011

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47571 --- Comment #36 from Jakub Jelinek 2011-03-14 12:07:54 UTC --- CLOCK_REALTIME should be available, at least on POSIX compliant systems, but must it be defined as preprocessor macro? http://pubs.opengroup.org/onlinepubs/009695399/basedefs/time.h.h

[Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380

2011-03-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48098 --- Comment #9 from Richard Guenther 2011-03-14 12:22:32 UTC --- Author: rguenth Date: Mon Mar 14 12:20:48 2011 New Revision: 170934 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170934 Log: 2011-03-14 Richard Guenther PR middle-

[Bug other/48111] New: libquadmath: strtoflt128 bug on MinGW

2011-03-14 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48111 Summary: libquadmath: strtoflt128 bug on MinGW Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@g

[Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380

2011-03-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48098 Richard Guenther changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug fortran/48112] New: generic interface to external function in module

2011-03-14 Thread mhp77 at gmx dot at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48112 Summary: generic interface to external function in module Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo:

[Bug rtl-optimization/47166] [4.5 Regression] SpecCpu2000 Ammp segfaults for ARM with -O3 -mthumb

2011-03-14 Thread rsandifo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47166 --- Comment #31 from rsandifo at gcc dot gnu.org 2011-03-14 13:46:20 UTC --- Author: rsandifo Date: Mon Mar 14 13:46:12 2011 New Revision: 170939 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170939 Log: gcc/testsuite/ PR rtl-optimiz

[Bug rtl-optimization/47166] [4.5 Regression] SpecCpu2000 Ammp segfaults for ARM with -O3 -mthumb

2011-03-14 Thread rsandifo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47166 --- Comment #32 from rsandifo at gcc dot gnu.org 2011-03-14 13:48:48 UTC --- Author: rsandifo Date: Mon Mar 14 13:48:46 2011 New Revision: 170940 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170940 Log: gcc/testsuite/ PR rtl-optimiz

[Bug inline-asm/37895] AVR inline assembly clobbers input value

2011-03-14 Thread Rudolf.Leitgeb at gmx dot at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37895 --- Comment #3 from Rudolf Leitgeb 2011-03-14 13:52:15 UTC --- Wow, it's a while since I reported this issue... and the problem seems to have gone away with newer versions of avr-gcc, I just tried version 4.3.5 which comes with Ubuntu 10.10. So,

[Bug libstdc++/48113] New: [C++0x] bind with tuple argument fails

2011-03-14 Thread martin.kronbichler at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48113 Summary: [C++0x] bind with tuple argument fails Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassig

[Bug libstdc++/48113] [C++0x] bind with tuple argument fails

2011-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48113 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug inline-asm/37895] AVR inline assembly clobbers input value

2011-03-14 Thread eric.weddington at atmel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37895 Eric Weddington changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug libstdc++/48113] [4.6 Regression] [C++0x] bind with tuple argument fails

2011-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48113 Jonathan Wakely changed: What|Removed |Added Summary|[4.6/4.7 Regression]|[4.6 Regression] [C++0x]

[Bug libstdc++/48113] [4.6/4.7 Regression] [C++0x] bind with tuple argument fails

2011-03-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48113 Richard Guenther changed: What|Removed |Added Target Milestone|--- |4.6.0 Summary|[4.6 Regressi

[Bug c++/48046] [4.5/4.6/4.7 Regression] Expected diagnostic "reference to 'type' is ambiguous" not given for function-local static declaration

2011-03-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48046 Richard Guenther changed: What|Removed |Added Target Milestone|--- |4.5.3

[Bug libstdc++/48114] New: binomial_distribution incorrect for p > .5

2011-03-14 Thread aaz at althenia dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 Summary: binomial_distribution incorrect for p > .5 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: un

[Bug libstdc++/48114] binomial_distribution incorrect for p > .5

2011-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 Paolo Carlini changed: What|Removed |Added AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot

[Bug libstdc++/48114] binomial_distribution incorrect for p > .5

2011-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/48114] binomial_distribution incorrect for p > .5

2011-03-14 Thread aaz at althenia dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 --- Comment #3 from Andrey Zholos 2011-03-14 15:23:25 UTC --- I'll add this here since it's in the same place and the test will be similar. For geometric_distribution(.25) the first 10 probabilities are: sample correct p_0 0.000

[Bug libstdc++/48114] binomial_distribution incorrect for p > .5

2011-03-14 Thread aaz at althenia dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 --- Comment #4 from Andrey Zholos 2011-03-14 15:25:14 UTC --- Created attachment 23652 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23652 Probability table for geometric_distribution.

[Bug rtl-optimization/48037] Missed optimization: unnecessary register moves

2011-03-14 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48037 --- Comment #4 from Jeffrey A. Law 2011-03-14 15:39:53 UTC --- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/09/11 05:01, ebotcazou at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48037 > > Eric Botcazou changed:

[Bug rtl-optimization/48037] Missed optimization: unnecessary register moves

2011-03-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48037 --- Comment #5 from Richard Guenther 2011-03-14 15:45:53 UTC --- (In reply to comment #4) > > --- Comment #3 from Eric Botcazou 2011-03-09 > > 12:01:10 UTC --- > >> As of the register moves you are seeing, we have the long-time known > >> prob

[Bug rtl-optimization/48037] Missed optimization: unnecessary register moves

2011-03-14 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48037 --- Comment #6 from Jeffrey A. Law 2011-03-14 15:54:57 UTC --- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/14/11 09:46, rguenth at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48037 > > --- Comment #5 from Richar

[Bug other/46542] GCC 4.7 pending patches meta-bug

2011-03-14 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46542 --- Comment #4 from Jeffrey A. Law 2011-03-14 15:57:29 UTC --- http://gcc.gnu.org/ml/gcc-patches/2011-03/msg00609.html Patch to improve XOR optimizations.

[Bug other/46542] GCC 4.7 pending patches meta-bug

2011-03-14 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46542 --- Comment #5 from Jeffrey A. Law 2011-03-14 15:58:57 UTC --- http://gcc.gnu.org/ml/gcc-patches/2011-02/msg01443.html Vlad approved this on the main gcc list in Mar 2011.

[Bug other/46542] GCC 4.7 pending patches meta-bug

2011-03-14 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46542 --- Comment #6 from Jeffrey A. Law 2011-03-14 16:00:44 UTC --- http://gcc.gnu.org/ml/gcc/2011-03/msg00098.html Minor IRA patch from Vlad.

[Bug c++/48115] New: [4.6/4.7 Regression] [C++0x] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:2482

2011-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48115 Summary: [4.6/4.7 Regression] [C++0x] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:2482 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords:

[Bug c++/48115] [4.6/4.7 Regression] [C++0x] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:2482

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

[Bug libstdc++/48113] [4.6/4.7 Regression] [C++0x] bind with tuple argument fails

2011-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48113 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #3

[Bug libstdc++/48114] binomial_distribution incorrect for p > .5

2011-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 --- Comment #5 from Paolo Carlini 2011-03-14 16:30:34 UTC --- Thanks, the second issue is ultimately due to the fact that we have been implementing, at variance with the Standard, a slightly different definition, see the formula before the class.

[Bug libstdc++/48114] binomial_distribution incorrect for p > .5

2011-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 --- Comment #6 from Paolo Carlini 2011-03-14 16:31:46 UTC --- I meant geometric, of course.

[Bug libstdc++/48114] binomial_distribution incorrect for p > .5

2011-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 --- Comment #7 from Paolo Carlini 2011-03-14 16:36:06 UTC --- ... and the reason is, the code has been too blindly adapted from the TR1 version.

[Bug c++/48115] [4.6/4.7 Regression] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:2482

2011-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48115 Jonathan Wakely changed: What|Removed |Added Summary|[4.6/4.7 Regression]|[4.6/4.7 Regression]

[Bug c/48116] New: -Wreturn-type does not work as advertised

2011-03-14 Thread tromey at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48116 Summary: -Wreturn-type does not work as advertised Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@g

[Bug c/48116] -Wreturn-type does not work as advertised

2011-03-14 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48116 --- Comment #1 from Andrew Pinski 2011-03-14 17:18:20 UTC --- apinski@apinskidesktop:~$ gcc t.c -W -Wall -pedantic -S t.c: In function ‘y’: t.c:2: warning: ISO C forbids ‘return’ with expression, in function returning void

[Bug c/48116] -Wreturn-type does not work as advertised

2011-03-14 Thread tromey at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48116 --- Comment #2 from Tom Tromey 2011-03-14 17:20:47 UTC --- Thanks, but I think it is still a bug as-is. I don't see why -pedantic should be required here.

[Bug libstdc++/48113] [4.6/4.7 Regression] [C++0x] bind with tuple argument fails

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

[Bug libstdc++/48113] [4.6/4.7 Regression] [C++0x] bind with tuple argument fails

2011-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48113 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|NEW AssignedTo|jason at gcc dot g

[Bug libstdc++/48114] [C++0x] binomial_distribution incorrect for p > .5 and geometric_distribution wrongly implements the TR1 definition

2011-03-14 Thread aaz at althenia dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 --- Comment #8 from Andrey Zholos 2011-03-14 17:34:01 UTC --- Ah, yes, I only looked at the C++0x formulas. By the way, testcases for these don't need to sample probabilities. They can just check, say, the first 100 values drawn using a determin

[Bug libstdc++/48114] [C++0x] binomial_distribution incorrect for p > .5 and geometric_distribution wrongly implements the TR1 definition

2011-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 --- Comment #9 from Paolo Carlini 2011-03-14 17:43:33 UTC --- Yes, but really I'd like to have something quite serious in terms of testing, for 4.7.0 at this point. I even have some half-baked code around. By the way, if you are interested in con

[Bug libstdc++/48113] [4.6/4.7 Regression] [C++0x] bind with tuple argument fails

2011-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48113 --- Comment #6 from Paolo Carlini 2011-03-14 17:55:53 UTC --- I suspect Jon reduced the testcase a bit too much, because we have been through this kind of discussion/misunderstanding already, indeed normally we have only function *templates* in t

[Bug libstdc++/48114] [C++0x] binomial_distribution incorrect for p > .5 and geometric_distribution wrongly implements the TR1 definition

2011-03-14 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 --- Comment #10 from paolo at gcc dot gnu.org 2011-03-14 17:57:53 UTC --- Author: paolo Date: Mon Mar 14 17:57:48 2011 New Revision: 170946 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170946 Log: 2011-03-14 Andrey Zholos PR lib

[Bug libstdc++/48113] [4.6/4.7 Regression] [C++0x] bind with tuple argument fails

2011-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48113 --- Comment #7 from Jonathan Wakely 2011-03-14 18:01:51 UTC --- Doh, yes I got carried away reducing it and made it no longer a template function, so of course SFINAE doesn't apply - sorry! Should it apply in the case below? template T declval(

[Bug libstdc++/48114] [C++0x] binomial_distribution incorrect for p > .5 and geometric_distribution wrongly implements the TR1 definition

2011-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 --- Comment #11 from Paolo Carlini 2011-03-14 18:02:41 UTC --- In 4_5-branch I'm going to fix only the first issue.

[Bug libstdc++/48113] [4.6/4.7 Regression] [C++0x] bind with tuple argument fails

2011-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48113 --- Comment #8 from Jonathan Wakely 2011-03-14 18:03:52 UTC --- (In reply to comment #7) > Currently Bind::f() volatile gives an error during overload resolution but the > other overload doesn't. Will your fix make both fail? brain really not f

[Bug libstdc++/48114] [C++0x] binomial_distribution incorrect for p > .5 and geometric_distribution wrongly implements the TR1 definition

2011-03-14 Thread aaz at althenia dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 --- Comment #12 from Andrey Zholos 2011-03-14 18:07:22 UTC --- The double __p also fixes an infinite (maybe) loop in both binomial_distribution(100, .75) and binomial_distribution(100, .25) when _GLIBCXX_USE_C99_MATH_TR1 is defined. I guess th

[Bug libstdc++/48114] [C++0x] binomial_distribution incorrect for p > .5 and geometric_distribution wrongly implements the TR1 definition

2011-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 --- Comment #13 from Paolo Carlini 2011-03-14 18:08:35 UTC --- Good idea, yes, something like that.

[Bug libstdc++/48114] [C++0x] binomial_distribution incorrect for p > .5 and geometric_distribution wrongly implements the TR1 definition

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #15

[Bug libstdc++/48113] [4.6/4.7 Regression] [C++0x] bind with tuple argument fails

2011-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48113 --- Comment #9 from Jonathan Wakely 2011-03-14 18:10:19 UTC --- here's one even closer to what we actually have in the library, where the default template argument R involves the deduced type A as well: template T declval(); struct tuple { };

[Bug libstdc++/48114] [C++0x] binomial_distribution incorrect for p > .5 and geometric_distribution wrongly implements the TR1 definition

2011-03-14 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 --- Comment #16 from paolo at gcc dot gnu.org 2011-03-14 18:17:55 UTC --- Author: paolo Date: Mon Mar 14 18:17:51 2011 New Revision: 170951 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170951 Log: 2011-03-14 Andrey Zholos PR lib

[Bug objc/48109] Objective-C class defs/refs are lost under LTO on Darwin for ABI0/1

2011-03-14 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48109 --- Comment #5 from Iain Sandoe 2011-03-14 18:20:15 UTC --- Created attachment 23653 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23653 possible fix - shifting the special case output of objc_class_name_ to the back-end. this solves t

[Bug libstdc++/48114] [C++0x] binomial_distribution incorrect for p > .5 and geometric_distribution wrongly implements the TR1 definition

2011-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 --- Comment #17 from Paolo Carlini 2011-03-14 18:20:33 UTC --- Jakub thanks for reminding me, luckily I noticed your message to the mailing list announcing the branching. Anyway, I went ahead and applied both fixes to 4_6 too, if you want me to

[Bug libstdc++/48114] [C++0x] binomial_distribution incorrect for p > .5 and geometric_distribution wrongly implements the TR1 definition

2011-03-14 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 --- Comment #14 from paolo at gcc dot gnu.org 2011-03-14 18:10:47 UTC --- Author: paolo Date: Mon Mar 14 18:10:36 2011 New Revision: 170950 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170950 Log: 2011-03-14 Andrey Zholos PR lib

[Bug libstdc++/48114] [C++0x] binomial_distribution incorrect for p > .5 and geometric_distribution wrongly implements the TR1 definition

2011-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48114 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug fortran/48117] New: ICE: OpenMP; in build_int_cst_wide, at tree.c:1178

2011-03-14 Thread longb at cray dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48117 Summary: ICE: OpenMP; in build_int_cst_wide, at tree.c:1178 Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedT

[Bug objc/48109] Objective-C class defs/refs are lost under LTO on Darwin for ABI0/1

2011-03-14 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48109 Iain Sandoe changed: What|Removed |Added Target Milestone|--- |4.6.1 --- Comment #6 from Iain Sandoe 2011

[Bug c++/48118] New: g++ sometimes incorrectly allows copying a volatile trivially-copyable class

2011-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48118 Summary: g++ sometimes incorrectly allows copying a volatile trivially-copyable class Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/48118] [4.3/4.4/4.5/4.6/4.7 regression] g++ sometimes allows copying a volatile class

2011-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48118 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug rtl-optimization/47899] [4.5 Regression] ICE in get_loop_body, at cfgloop.c:831

2011-03-14 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47899 Zdenek Sojka changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment #10 fr

[Bug c++/48113] [4.6/4.7 Regression] [C++0x] bind with tuple argument fails

2011-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48113 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Component|libstdc++

[Bug c++/48113] [4.6/4.7 Regression] [C++0x] bind with tuple argument fails

2011-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48113 --- Comment #11 from Jonathan Wakely 2011-03-14 18:59:45 UTC --- (In reply to comment #10) > That is indeed a SFINAE bug. phew! cos I'm all out of better ideas for fixing std::bind ;) Thanks for your help, sorry for the mixup with my overeager

[Bug c++/48115] [4.6/4.7 Regression] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:2482

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48115 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/48119] New: -Wtype-limits should warn when bit masking cannot possibly be true due to type size

2011-03-14 Thread eteran at alum dot rit.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48119 Summary: -Wtype-limits should warn when bit masking cannot possibly be true due to type size Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: enhancement

[Bug target/48053] ICE in in build_int_cst_wide, when building cpu2000 galgel/equake/ammp/fma3d/sixtrack

2011-03-14 Thread meissner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48053 --- Comment #6 from Michael Meissner 2011-03-14 19:37:14 UTC --- Created attachment 23654 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23654 Patch to fix 32-bit error on splititng loading 0 into VSX register After this patch was installed

[Bug fortran/48117] [4.5 Regression] ICE: OpenMP; in build_int_cst_wide, at tree.c:1178

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

[Bug fortran/48117] [4.5 Regression] ICE: OpenMP; in build_int_cst_wide, at tree.c:1178

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48117 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at

[Bug bootstrap/48120] New: libpwl test must use g++

2011-03-14 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48120 Summary: libpwl test must use g++ Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.or

  1   2   >