[Bug target/48127] Program crashes reading a non-aligned variable

2011-03-14 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48127 --- Comment #1 from Dmitry Gorbachev 2011-03-15 06:22:13 UTC --- Works when changing the number of elements in baz to 8.

[Bug libstdc++/48130] [4.7 Regression]: build fails on libsupc++/nested_exception.cc

2011-03-14 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48130 --- Comment #4 from Benjamin Kosnik 2011-03-15 06:19:12 UTC --- Author: bkoz Date: Tue Mar 15 06:19:08 2011 New Revision: 170979 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170979 Log: 2011-03-14 Benjamin Kosnik PR libstdc+

[Bug lto/47891] GCC 4.6/4.7 LTO not worked reliable on Windows target

2011-03-14 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47891 --- Comment #6 from Dmitry Gorbachev 2011-03-15 06:18:47 UTC --- > Since gcc 4.6 branched, gcc trunk and 4.6 branch both have this issue now. It is not a GCC bug, it's a Binutils bug. The patch

[Bug libstdc++/48130] [4.7 Regression]: build fails on libsupc++/nested_exception.cc

2011-03-14 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48130 --- Comment #3 from Benjamin Kosnik 2011-03-15 05:34:18 UTC --- Created attachment 23660 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23660 patch

[Bug libstdc++/48130] [4.7 Regression]: build fails on libsupc++/nested_exception.cc

2011-03-14 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48130 Benjamin Kosnik changed: What|Removed |Added AssignedTo|unassigned at gcc dot |bkoz at gcc dot gnu.org

[Bug libstdc++/48130] [4.7 Regression]: build fails on libsupc++/nested_exception.cc

2011-03-14 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48130 Benjamin Kosnik changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/48130] New: [4.7 Regression]: build fails on libsupc++/nested_exception.cc

2011-03-14 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48130 Summary: [4.7 Regression]: build fails on libsupc++/nested_exception.cc Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug lto/47891] GCC 4.6/4.7 LTO not worked reliable on Windows target

2011-03-14 Thread dongsheng.song at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47891 --- Comment #5 from Dongsheng Song 2011-03-15 03:30:59 UTC --- (In reply to comment #4) > (In reply to comment #3) > > GCC 4.6.0 also generates a correct executable with `-fno-use-linker-plugin' > > option. It's a linker bug. You can try Hongjiu

[Bug lto/47891] GCC 4.6 LTO not worked reliable on Windows target

2011-03-14 Thread dongsheng.song at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47891 --- Comment #4 from Dongsheng Song 2011-03-15 03:30:09 UTC --- (In reply to comment #3) > GCC 4.6.0 also generates a correct executable with `-fno-use-linker-plugin' > option. It's a linker bug. You can try Hongjiu Lu's linker from lto-mixed > br

[Bug regression/48129] New: [4.7 Regression]: gcc.c-torture/execute/builtins/snprintf-chk.c ICE

2011-03-14 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48129 Summary: [4.7 Regression]: gcc.c-torture/execute/builtins/snprintf-chk.c ICE Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity:

[Bug target/48032] PowerPC64 -mcmodel=medium invalid ld offset

2011-03-14 Thread amodra at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48032 --- Comment #3 from Alan Modra 2011-03-15 02:27:53 UTC --- Author: amodra Date: Tue Mar 15 02:27:51 2011 New Revision: 170977 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170977 Log: PR target/48032 * config/rs6000/rs6000.c (off

[Bug target/48032] PowerPC64 -mcmodel=medium invalid ld offset

2011-03-14 Thread amodra at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48032 --- Comment #2 from Alan Modra 2011-03-15 02:19:32 UTC --- Author: amodra Date: Tue Mar 15 02:19:28 2011 New Revision: 170976 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170976 Log: PR target/48032 * config/rs6000/rs6000.c (off

[Bug fortran/47976] [4.5 Regression] Recent gfortran.dg/actual_array_constructor_3.f90 regression on arm-linux-gnueabi

2011-03-14 Thread michael.hope at linaro dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47976 Michael Hope changed: What|Removed |Added CC||michael.hope at linaro dot

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

2011-03-14 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46542 Jack Howarth changed: What|Removed |Added CC||howarth at nitro dot |

[Bug rtl-optimization/48128] Excessive code generated for vectorized loop

2011-03-14 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48128 --- Comment #2 from Dmitry Gorbachev 2011-03-15 00:57:30 UTC --- When marking baz as static an compiling with -mno-sse, the result is even more strange...

[Bug rtl-optimization/48128] Excessive code generated for vectorized loop

2011-03-14 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48128 --- Comment #1 from Andrew Pinski 2011-03-15 00:16:10 UTC --- The problem is CSE, is CSEing the address of baz which confuses the register allocator because of not enough registers to work with on x86.

[Bug rtl-optimization/48128] New: Excessive code generated for vectorized loop

2011-03-14 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48128 Summary: Excessive code generated for vectorized loop Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assign

[Bug target/48127] New: Program crashes reading a non-aligned variable

2011-03-14 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48127 Summary: Program crashes reading a non-aligned variable Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: un

[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 #8 from Mike Stump 2011-03-14 23:39:21 UTC --- Seems reasonable to me...

[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 #9 from Michael Meissner 2011-03-14 23:35:14 UTC --- Author: meissner Date: Mon Mar 14 23:35:11 2011 New Revision: 170969 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170969 Log: Fix fix to PR 48053 Modified: branches/g

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

2011-03-14 Thread mikestump at comcast dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48108 --- Comment #4 from Mike Stump 2011-03-14 23:34:38 UTC --- > WDYT? Sounds fine to me.

[Bug target/48126] New: arm_output_sync_loop: misplaced memory barrier, missing clrex / dummy strex

2011-03-14 Thread m.k.edwards at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48126 Summary: arm_output_sync_loop: misplaced memory barrier, missing clrex / dummy strex Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3

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

2011-03-14 Thread cgd at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48088 --- Comment #3 from Chris Demetriou 2011-03-14 22:56:06 UTC --- (In reply to comment #2) > Yeah. Confirmed. > > You need -Wframe-larger-than=500 -Werror=frame-larger-than which hopefully > doesn't reset the value to 1. It doesn't, but not for

[Bug target/47995] ICE of c++ in gcc-4.5.x at FrameLoader.cpp in WebKit build

2011-03-14 Thread jipeng at broadcom dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47995 Jian Peng changed: What|Removed |Added Version|4.5.1 |4.5.4 Severity|normal

[Bug libstdc++/48125] max() and min() member functions of random number engines should be static

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

[Bug middle-end/48124] [4.3/4.4/4.5/4.6/4.7 Regression] likely wrong code bug

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48124 --- Comment #2 from Jakub Jelinek 2011-03-14 22:09:29 UTC --- On the adjusted testcase it started with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115421 Before that the volatile bitfield was accessed just through 32-bit access (and in 4.1 e

possible comment mismatch for __gcov_ior_profiler()

2011-03-14 Thread Németh Márton
Hi, I have downloaded http://robotlab.itk.ppke.hu/gcc/releases/gcc-4.5.2/gcc-core-4.5.2.tar.bz2 and found that the comment before the __gcov_ior_profiler() function in gcc/libgcov.c is the same as before function __gcov_average_profiler(). I think this could be a copy-paste problem. Regards,

[Bug libstdc++/48125] New: max() and min() member functions of random number engines should be static

2011-03-14 Thread john.salmon at deshaw dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48125 Summary: max() and min() member functions of random number engines should be static Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/48124] [4.3/4.4/4.5/4.6/4.7 Regression] likely wrong code bug

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

[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 #8 from Michael Meissner 2011-03-14 21:31:40 UTC --- Author: meissner Date: Mon Mar 14 21:31:37 2011 New Revision: 170964 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170964 Log: Fix fix to PR 48053 Modified: branches/i

[Bug debug/47510] DW_TAG_typedef can have children when designating a naming typedef

2011-03-14 Thread dodji at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47510 --- Comment #4 from Dodji Seketeli 2011-03-14 21:03:35 UTC --- This is because G++ generates struct F::C. The instantiated F::C a typedef. No anonymous struct is generated inside F. What is generated is really the same as for: template class F

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

2011-03-14 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48120 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-03-14 20:51:54 UTC --- > --- Comment #1 from Andrew Pinski 2011-03-14 > 20:43:47 UTC --- > I don't think this is a bug unless --with-host-libstdcxx= option is being > ignored. I've con

[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 #7 from Michael Meissner 2011-03-14 20:51:44 UTC --- Author: meissner Date: Mon Mar 14 20:51:41 2011 New Revision: 170962 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170962 Log: Fix fix to PR 48053 Modified: trunk/gcc/

[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 Attachment #23653|0 |1 is obsolete|

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

2011-03-14 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48120 --- Comment #1 from Andrew Pinski 2011-03-14 20:43:47 UTC --- I don't think this is a bug unless --with-host-libstdcxx= option is being ignored. See the documentation from http://gcc.gnu.org/install/configure.html : --with-host-libstdcxx=linker-

[Bug c/48124] New: likely wrong code bug

2011-03-14 Thread regehr at cs dot utah.edu
Configured with: ../configure --with-libelf=/usr/local --enable-lto --prefix=/home/regehr/z/compiler-install/gcc-r170949-install --program-prefix=r170949- --enable-languages=c,c++ Thread model: posix gcc version 4.7.0 20110314 (experimental) (GCC) [regehr@gamow ~]$ current-gcc -O1 small.c -o small

[Bug middle-end/47917] snprintf(..., "const string") should be optimized into memcpy

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

[Bug middle-end/47917] snprintf(..., "const string") should be optimized into memcpy

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47917 --- Comment #2 from Jakub Jelinek 2011-03-14 20:30:29 UTC --- Author: jakub Date: Mon Mar 14 20:30:24 2011 New Revision: 170959 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170959 Log: PR middle-end/47917 * builtins.c (fold_buil

[Bug libstdc++/48123] New: bits/cpu_defines.h not installed in freestanding mode.

2011-03-14 Thread dougkwan at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48123 Summary: bits/cpu_defines.h not installed in freestanding mode. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ A

[Bug middle-end/38878] [4.4/4.5/4.6/4.7 Regression] gcc.dg/tree-ssa/foldaddr-1.c XFAILed

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

[Bug debug/47946] Dwarf uses 64-bits to refer to a structure offset unnecessarily

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

[Bug middle-end/38878] [4.4/4.5/4.6/4.7 Regression] gcc.dg/tree-ssa/foldaddr-1.c XFAILed

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38878 --- Comment #3 from Jakub Jelinek 2011-03-14 20:12:23 UTC --- Author: jakub Date: Mon Mar 14 20:12:16 2011 New Revision: 170957 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170957 Log: PR middle-end/38878 * fold-const.c (fold_bi

[Bug debug/47946] Dwarf uses 64-bits to refer to a structure offset unnecessarily

2011-03-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47946 --- Comment #5 from Jakub Jelinek 2011-03-14 20:07:29 UTC --- Author: jakub Date: Mon Mar 14 20:07:22 2011 New Revision: 170956 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170956 Log: PR debug/47946 * dwarf2out.c (add_bit_offse

[Bug go/48122] New: crypto/aes test fails on 32-bit Solaris 11/x86

2011-03-14 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48122 Summary: crypto/aes test fails on 32-bit Solaris 11/x86 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go AssignedTo: i...@a

[Bug go/48121] New: websocket and netchan test occasionally fail with EISCONN

2011-03-14 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48121 Summary: websocket and netchan test occasionally fail with EISCONN Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[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

[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 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 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 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 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++/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++/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 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++/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 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 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 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 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 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 --- 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 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 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 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 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++/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 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++/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 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 #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 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 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.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++/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++/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++/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 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 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] 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++/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 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 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 #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++/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 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 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 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 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 #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 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 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 #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 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 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 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 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] 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 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++/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 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]

  1   2   >