[Bug c++/46824] [4.6 Regression] chromium-compile failed because error: no match for ‘operator*’ in

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

[Bug c++/46824] [4.6 Regression] chromium-compile failed because error: no match for ‘operator*’ in

2011-03-11 Thread dodji at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46824 --- Comment #13 from Dodji Seketeli 2011-03-12 07:28:26 UTC --- Author: dodji Date: Sat Mar 12 07:28:20 2011 New Revision: 170897 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170897 Log: PR c++/46824 gcc/cp/ * call.c (add_builtin_

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

2011-03-11 Thread cgd at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48088 Summary: -Werror=frame-larger-than=100 does not work as expected Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/47125] [4.5/4.6 Regression] ICE occurs in combination with partial specialization and invalid template function.

2011-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47125 --- Comment #3 from Jason Merrill 2011-03-12 06:49:01 UTC --- Author: jason Date: Sat Mar 12 06:48:57 2011 New Revision: 170896 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170896 Log: PR c++/47125 * pt.c (tsubst) [TYPENAME_TYPE

[Bug c++/48087] New: -Wall -Werror adds warnings over and above those generated by -Wall

2011-03-11 Thread cgd at google dot com
: /tmp/x.cc:22:1: error: control reaches end of non-void function $ -> 4 errors. Huh? GCC pre-4.6 (svn trunk as of yesterday): $ inst/bin/gcc --version | head -1 gcc (GCC) 4.6.0 20110311 (experimental) $ $ inst/bin/gcc -c /tmp/x.cc -Wall /tmp/x.cc: In function 'bool DeltaTwo(bool)&#

[Bug target/47997] gcc on macosx: "ld: warning: -fwritable-strings not compatible with literal CF/NSString"

2011-03-11 Thread anatol.pomozov at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997 --- Comment #8 from Anatol 2011-03-12 04:50:22 UTC --- What are the plans? Are you going to submit the fix to 4.6? How can I help you with testing?

[Bug target/48084] [x32] internal compiler error: in copy_to_mode_reg, at explow.c:630

2011-03-11 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48084 --- Comment #3 from H.J. Lu 2011-03-12 04:04:49 UTC --- Another one: [hjl@gnu-6 ilp32-31]$ cat f.i void _mm_clflush (void const *__A) { __builtin_ia32_clflush (__A); } [hjl@gnu-6 ilp32-31]$ /export/build/gnu/gcc-x32/build-x86_64-linux/gcc/xgcc

[Bug lto/48086] bootstrap-lto creates c-common.s with too many sections on x86_64-apple-darwin10

2011-03-11 Thread howarth at nitro dot med.uc.edu
/gcc4.6/libexec/gcc/x86_64-apple-darwin10.7.0/4.6.0/lto-wrapper Target: x86_64-apple-darwin10.7.0 Configured with: ../gcc-4.6-20110311/configure --prefix=/sw --prefix=/sw/lib/gcc4.6 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.6/info --enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp

[Bug target/48084] [x32] internal compiler error: in copy_to_mode_reg, at explow.c:630

2011-03-11 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48084 --- Comment #2 from H.J. Lu 2011-03-12 02:23:35 UTC --- Another one: [hjl@gnu-6 ilp32-31]$ cat m.i void _mm_monitor (void const * __P, unsigned int __E, unsigned int __H) { __builtin_ia32_monitor (__P, __E, __H); } [hjl@gnu-6 ilp32-31]$ /expo

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

2011-03-11 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48082 --- Comment #4 from Andrew Pinski 2011-03-12 02:20:31 UTC --- (In reply to comment #3) > Ok, for the sake of my curiosity, could you explain why it is only an "issue" > when compiling with the 64 bit libraries? Because va_list is target specific

[Bug c++/47874] Multiple Inheritance - Virtual Function - Segfault

2011-03-11 Thread isahib at xtra dot co.nz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47874 Ibaidul Sahib changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #7 from Ibaidul Sahib

[Bug lto/48086] bootstrap-lto creates c-common.s with too many sections on x86_64-apple-darwin10

2011-03-11 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48086 --- Comment #1 from Jack Howarth 2011-03-12 02:16:22 UTC --- $ ../gcc-4.6-20110311/configure --prefix=/sw --prefix=/sw/lib/gcc4.6 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.6/info --with-build-config=bootstrap-lto --enable-stage1-languages

[Bug lto/48086] New: bootstrap-lto creates c-common.s with too many sections on x86_64-apple-darwin10

2011-03-11 Thread howarth at nitro dot med.uc.edu
-DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -O2 -mdynamic-no-pic -flto=jobserver -frandom-seed=1 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../gcc-4.6-20110311/gcc -I../../gcc-4.6

[Bug target/48084] [x32] internal compiler error: in copy_to_mode_reg, at explow.c:630

2011-03-11 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48084 --- Comment #1 from H.J. Lu 2011-03-12 02:11:23 UTC --- Another similar one: [hjl@gnu-6 ilp32-31]$ cat z.i typedef int __m64 __attribute__ ((__vector_size__ (8), __may_alias__)); typedef char __v8qi __attribute__ ((__vector_size__ (8))); void _m

[Bug target/48085] New: [x32] Unnecessary zero-extension

2011-03-11 Thread hjl.tools at gmail dot com
length = 2] ret# 20return_internal[length = 1] .cfi_endproc .LFE0: .sizefoo, .-foo .ident"GCC: (GNU) 4.6.0 20110311 (experimental)" .section.note.GNU-stack,"",@progbits [hjl@gnu-6 ilp32-31]$ We don't need to zero-extend 32bit pointer in EDI to RDI.

[Bug target/48084] New: [x32] internal compiler error: in copy_to_mode_reg, at explow.c:630

2011-03-11 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48084 Summary: [x32] internal compiler error: in copy_to_mode_reg, at explow.c:630 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

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

2011-03-11 Thread x.user1372 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48082 --- Comment #3 from VA 2011-03-12 01:35:36 UTC --- Ok, for the sake of my curiosity, could you explain why it is only an "issue" when compiling with the 64 bit libraries?

[Bug c/48083] New: DEPENDENCIES_OUTPUT + -no-integrated-cpp produces bad dependencies

2011-03-11 Thread cgd at google dot com
Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: c...@google.com gcc version 4.6.0 20110311 (experimental) (GCC), but I reproduced this all the way back to 4.2.x. $ : > null.c # Hey, we have an empty file! $ DEPENDENCIES_OUTPUT=/dev/stdout ./gcc -c null.c nul

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

2011-03-11 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48082 Andrew Pinski changed: What|Removed |Added Target||x86_64-linux-gnu Component|c

[Bug libfortran/48047] Incorrect output rounding of double precision numbers

2011-03-11 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48047 --- Comment #10 from Jerry DeLisle 2011-03-12 00:49:55 UTC --- Author: jvdelisle Date: Sat Mar 12 00:49:51 2011 New Revision: 170895 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170895 Log: 2011-03-11 Jerry DeLisle PR libgfortra

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

2011-03-11 Thread x.user1372 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48082 --- Comment #1 from VA 2011-03-12 00:33:10 UTC --- Created attachment 23634 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23634 preprocessor file

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

2011-03-11 Thread x.user1372 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48082 Summary: Problem compiling function that returns va_list on 64 bit system. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/47128] gcc.dg/graphite/pr43012.c ICEs with cloog-parma

2011-03-11 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47128 Sebastian Pop changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/47446] [x32] .quad instead of .long is used for address

2011-03-11 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47446 --- Comment #5 from hjl at gcc dot gnu.org 2011-03-11 23:13:38 UTC --- Author: hjl Date: Fri Mar 11 23:13:35 2011 New Revision: 170889 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170889 Log: Always allow the offsetted memory references

[Bug c++/47144] [4.5 Regression] Doesn't reject attempt to define type in template argument; results in weird parse

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

[Bug c++/47144] [4.5 Regression] Doesn't reject attempt to define type in template argument; results in weird parse

2011-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47144 Jason Merrill changed: What|Removed |Added Target Milestone|4.5.3 |4.6.0 Summary|[4.5/4.6 Regress

[Bug c++/47144] [4.5/4.6 Regression] Doesn't reject attempt to define type in template argument; results in weird parse

2011-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47144 --- Comment #7 from Jason Merrill 2011-03-11 22:48:02 UTC --- Author: jason Date: Fri Mar 11 22:47:59 2011 New Revision: 170888 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170888 Log: PR c++/47144 * parser.c (cp_parser_template

[Bug c++/47144] [4.5/4.6 Regression] Doesn't reject attempt to define type in template argument; results in weird parse

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

[Bug tree-optimization/33763] [4.3/4.4/4.5/4.6 Regression] Bogus inlining failed in call to `xxx': redefined extern inline functions are not considered for inlining

2011-03-11 Thread pthaugen at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33763 Pat Haugen changed: What|Removed |Added CC||pthaugen at gcc dot gnu.org --- Comment #21

[Bug c++/46565] [4.5/4.6 Regression] ICE: SIGSEGV in pop_tinst_level (pt.c:7513) with -gstabs -g on invalid code

2011-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46565 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/47127] gcc.dg/graphite/id-14.c ICEs with cloog-parma

2011-03-11 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47127 Sebastian Pop changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/46803] [4.6 Regression] libstdc++ build errors on invalid OpenBSD system header attributes

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

[Bug c++/46803] [4.6 Regression] libstdc++ build errors on invalid OpenBSD system header attributes

2011-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46803 --- Comment #9 from Jason Merrill 2011-03-11 21:36:04 UTC --- Author: jason Date: Fri Mar 11 21:36:02 2011 New Revision: 170885 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170885 Log: PR c++/46803 * c-common.c (attribute_takes_

[Bug fortran/47552] CTIME: Valgrind warning "depends on uninitialised value"

2011-03-11 Thread fxcoudert at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47552 Francois-Xavier Coudert changed: What|Removed |Added Keywords||patch CC|

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

2011-03-11 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48077 --- Comment #5 from William J. Schmidt 2011-03-11 21:27:25 UTC --- BTW, I mis-entered the optimization level before. The code generation was at -O2 when the mulhw was expanded into shifts/adds with the default P6 tuning. At -O3 and up, the mulh

[Bug middle-end/47127] gcc.dg/graphite/id-14.c ICEs with cloog-parma

2011-03-11 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47127 Sebastian Pop changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #5 from

[Bug tree-optimization/47944] Several graphite tests SEGV on Solaris 10/x86

2011-03-11 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47944 Sebastian Pop changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug target/47446] [x32] .quad instead of .long is used for address

2011-03-11 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47446 --- Comment #4 from H.J. Lu 2011-03-11 21:24:44 UTC --- Another one: /usr/gcc-4.6.0-x32/bin/gcc -S -o x.s -mx32 -funroll-all-loops -O3 -dp x.i /usr/gcc-4.6.0-x32/bin/gcc -mx32 -funroll-all-loops -O3 -dp -c -o x.o x.s x.s: Assembler messages: x

[Bug c++/47125] [4.5/4.6 Regression] ICE occurs in combination with partial specialization and invalid template function.

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

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

2011-03-11 Thread meissner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48077 --- Comment #4 from Michael Meissner 2011-03-11 20:43:20 UTC --- It depends on what the default cpu is for the system. If you say -mcpu=power4, -mcpu=power5, or -mcpu=power7, it generates code similar to what XLC generates with mulhw to get the

[Bug c++/48078] gcc accepts-invalid: taking address of private member function from template function

2011-03-11 Thread cgd at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48078 --- Comment #3 from Chris Demetriou 2011-03-11 19:59:40 UTC --- (In reply to comment #2) > I think this is different enough from any of those others to count as a > distinct bug - confirmed I hadn't seen them when i filed this (didn't match the

[Bug c++/44623] [4.6 Regression] ICE on invalid code

2011-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44623 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/46803] [4.6 Regression] libstdc++ build errors on invalid OpenBSD system header attributes

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

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

2011-03-11 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48077 William J. Schmidt changed: What|Removed |Added Target|powerpc64-linux, others |powerpc64-linux Component|r

[Bug libfortran/48047] Incorrect output rounding of double precision numbers

2011-03-11 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48047 --- Comment #9 from Jakub Jelinek 2011-03-11 19:12:36 UTC --- (In reply to comment #8) > Regression tested OK. Can I get a release manager OK for this? If not, it can > wait for 4.7. This is fine for 4.6.

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

2011-03-11 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48053 --- Comment #3 from Peter Bergner 2011-03-11 19:06:17 UTC --- Author: bergner Date: Fri Mar 11 19:06:14 2011 New Revision: 170883 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170883 Log: gcc/ PR target/48053 * config/rs6000/pred

[Bug tree-optimization/48067] [4.6 Regression] FMA with no add operand produced by convert_mul_to_fma

2011-03-11 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48067 --- Comment #7 from William J. Schmidt 2011-03-11 18:52:45 UTC --- I verified this on branches/ibm/gcc-4_5-branch, and it regtests successfully there as well. Thanks for the quick turnaround!

[Bug libfortran/48047] Incorrect output rounding of double precision numbers

2011-03-11 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48047 --- Comment #8 from Jerry DeLisle 2011-03-11 18:49:30 UTC --- Regression tested OK. Can I get a release manager OK for this? If not, it can wait for 4.7.

[Bug tree-optimization/48067] [4.6 Regression] FMA with no add operand produced by convert_mul_to_fma

2011-03-11 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48067 --- Comment #6 from William J. Schmidt 2011-03-11 18:46:27 UTC --- Author: wschmidt Date: Fri Mar 11 18:46:24 2011 New Revision: 170882 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170882 Log: Backport PR tree-optimization/48067 from ma

[Bug rtl-optimization/48077] [Code Improvement] Use multiplication by magic number for integer division by constant

2011-03-11 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48077 --- Comment #2 from William J. Schmidt 2011-03-11 18:34:41 UTC --- OK, interesting, thanks for the information. It seems the analysis of the cost is not particularly good here. I'll dig into where the expansion is occurring.

[Bug fortran/48059] [4.6 Regression][OOP] ICE in in gfc_conv_component_ref: character function of extended type

2011-03-11 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48059 --- Comment #11 from janus at gcc dot gnu.org 2011-03-11 18:24:01 UTC --- The patch in comment #8 induced a regression in module_read_2.f90, which is fixed by the following update (we must only replace the base type, if the actual argument is polym

[Bug c++/48078] gcc accepts-invalid: taking address of private member function from template function

2011-03-11 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48078 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNCO

[Bug c++/47346] access control for nested type is ignored in class template

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

[Bug c++/46564] [4.6 Regression] ICE: in decl_constant_var_p, at cp/decl2.c:3562 on invalid recursive initialization

2011-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46564 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/45383] [4.5 Regression] Implicit conversion to pointer does no longer automatically generate operator== and operator!=.

2011-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45383 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #9 f

[Bug c++/48078] gcc accepts-invalid: taking address of private member function from template function

2011-03-11 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48078 --- Comment #1 from Jonathan Wakely 2011-03-11 17:38:17 UTC --- Access checking inside templates seems to be completely broken, see PR 47346 and the bugs I listed there, this could be a dup of one of them

[Bug c++/48078] New: gcc accepts-invalid: taking address of private member function from template function

2011-03-11 Thread cgd at google dot com
IU) with pre-4.6 (4.6.0 20110311) (I tested some versions of GCC back to 4.2.x, same problem. They had local mods, but none that should have caused a difference in this regard.) FYI, clang C++ front-end flags an error as expected: devtools/cpp_tests/x.cc:22:24: error: 'APrivateMethod' i

[Bug c++/48029] [4.5 Regression] ICE in finish_member_declaration() with --param ggc-min-expand=0 --param ggc-min-heapsize=0

2011-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48029 --- Comment #11 from Jason Merrill 2011-03-11 17:20:36 UTC --- Author: jason Date: Fri Mar 11 17:20:27 2011 New Revision: 170880 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170880 Log: PR c++/48029 * stor-layout.c (layout_type)

[Bug rtl-optimization/48077] [Code Improvement] Use multiplication by magic number for integer division by constant

2011-03-11 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48077 --- Comment #1 from Andrew Pinski 2011-03-11 17:11:25 UTC --- Actually GCC is expanding the division by a constant into a multiplication but using shifts and adds to do the multiplication based on the cost.

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

2011-03-11 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48053 --- Comment #2 from Peter Bergner 2011-03-11 17:08:33 UTC --- Created attachment 23633 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23633 A related but different test case. Attached is another test case that tweaks a similar bug that Pat'

[Bug c++/47808] [4.6 Regression][C++0x] internal compiler error: in tsubst_copy_and_build, at cp/pt.c:13326

2011-03-11 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47808 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Depends on|46003

[Bug c++/47808] [4.6 Regression][C++0x] internal compiler error: in tsubst_copy_and_build, at cp/pt.c:13326

2011-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47808 --- Comment #15 from Jason Merrill 2011-03-11 16:49:46 UTC --- Author: jason Date: Fri Mar 11 16:49:41 2011 New Revision: 170878 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170878 Log: PR c++/47808 * decl.c (compute_array_index

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

2011-03-11 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47571 --- Comment #31 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-03-11 16:45:31 UTC --- > 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 > - AFAIU 4.6 relea

[Bug rtl-optimization/48077] New: [Code Improvement] Use multiplication by magic number for integer division by constant

2011-03-11 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48077 Summary: [Code Improvement] Use multiplication by magic number for integer division by constant Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/48067] [4.6 Regression] FMA with no add operand produced by convert_mul_to_fma

2011-03-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48067 --- Comment #4 from Richard Guenther 2011-03-11 16:36:22 UTC --- Author: rguenth Date: Fri Mar 11 16:36:16 2011 New Revision: 170877 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170877 Log: 2011-03-11 Richard Guenther PR tree-op

[Bug tree-optimization/48067] [4.6 Regression] FMA with no add operand produced by convert_mul_to_fma

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

[Bug middle-end/48076] Unsafe double checked locking in __emutls_get_address

2011-03-11 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48076 --- Comment #1 from Andrew Pinski 2011-03-11 16:33:49 UTC --- >This looks unlikely on x86, but it may be a much bigger deal on ARM. This code should not be used on GNU/Linux on most targets anyways. ARM Linux supports TLS natively. I am not sa

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

2011-03-11 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773 --- Comment #79 from Jonathan Wakely 2011-03-11 16:09:23 UTC --- (In reply to comment #70) > - needs to remove the overloads on linkage (like bsearch, qsort) in the > solaris > headers because g++ is broken there. So it's linked to from here, th

[Bug middle-end/48076] New: Unsafe double checked locking in __emutls_get_address

2011-03-11 Thread eugeni.stepanov at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48076 Summary: Unsafe double checked locking in __emutls_get_address Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Ass

[Bug c++/48073] ICE with -flto in templated C++ code

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

[Bug c++/48073] ICE with -flto in templated C++ code

2011-03-11 Thread rguenth at gcc dot gnu.org
PR lto/48073 * tree.c (find_decls_types_r): Do not walk types only reachable from IDENTIFIER_NODEs. * g++.dg/lto/20110311-1_0.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/lto/20110311-1_0.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree.c

[Bug c++/47808] [4.6 Regression][C++0x] internal compiler error: in tsubst_copy_and_build, at cp/pt.c:13326

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

[Bug fortran/48059] [4.6 Regression][OOP] ICE in in gfc_conv_component_ref: character function of extended type

2011-03-11 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48059 --- Comment #10 from janus at gcc dot gnu.org 2011-03-11 15:57:47 UTC --- (In reply to comment #9) > That looks like the right way to go. Do you understand how this can > be a regression, whilst the correct interface mapping was previously > not p

[Bug fortran/48059] [4.6 Regression][OOP] ICE in in gfc_conv_component_ref: character function of extended type

2011-03-11 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48059 --- Comment #9 from paul.richard.thomas at gmail dot com 2011-03-11 15:51:31 UTC --- Janus, That looks like the right way to go. Do you understand how this can be a regression, whilst the correct interface mapping was previously not present :-)

[Bug c++/48035] [4.4/4.5 Regression] Mismatch on size of class when initializing hierarchy involving virtual inheritance and empty base classes

2011-03-11 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48035 Jakub Jelinek changed: What|Removed |Added Known to work||4.6.0 Summary|[4.4/4.5/4.6 Reg

[Bug c++/47808] [4.6 Regression][C++0x] internal compiler error: in tsubst_copy_and_build, at cp/pt.c:13326

2011-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47808 --- Comment #13 from Jason Merrill 2011-03-11 15:45:58 UTC --- (In reply to comment #11) > I think it isn't the ?: arms here, but the condition on which > convert_like_real > is called. Same principle applies. > fold_nondependent_expr on the C

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

2011-03-11 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773 --- Comment #78 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-03-11 15:44:59 UTC --- > --- Comment #77 from Paolo Carlini > 2011-03-08 11:19:03 UTC --- > Great Rainer. > > As soon as 4.6.0 branches I guess we should ask Marc to present on the > li

[Bug c++/48035] [4.4/4.5/4.6 Regression] Mismatch on size of class when initializing hierarchy involving virtual inheritance and empty base classes

2011-03-11 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48035 --- Comment #5 from Jakub Jelinek 2011-03-11 15:43:42 UTC --- Author: jakub Date: Fri Mar 11 15:43:37 2011 New Revision: 170874 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170874 Log: PR c++/48035 * init.c (build_zero_init_1):

[Bug c++/48075] New: [trans-mem] infinite loop when compiling

2011-03-11 Thread patrick.marlier at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48075 Summary: [trans-mem] infinite loop when compiling Product: gcc Version: trans-mem Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig

[Bug fortran/48059] [4.6 Regression][OOP] ICE in in gfc_conv_component_ref: character function of extended type

2011-03-11 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48059 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|una

[Bug c++/48074] New: [trans-mem] regular function used instead of clone in a transaction

2011-03-11 Thread patrick.marlier at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48074 Summary: [trans-mem] regular function used instead of clone in a transaction Product: gcc Version: trans-mem Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/36299] spurious and undocumented warning with -Waddress for a == 0 when a is an array

2011-03-11 Thread vincent-gcc at vinc17 dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36299 --- Comment #11 from Vincent Lefèvre 2011-03-11 15:15:16 UTC --- (In reply to comment #10) > If you don't want this warning, please contribute a testcase to > gcc-patc...@gcc.gnu.org, so this warning won't reappear in the future: Done: http://gc

[Bug middle-end/48044] [4.6 Regression] ICE in function_and_variable_visibility, at ipa.c:875

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

[Bug tree-optimization/48067] [4.6 Regression] FMA with no add operand produced by convert_mul_to_fma

2011-03-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48067 --- Comment #3 from Richard Guenther 2011-03-11 14:50:13 UTC --- (In reply to comment #2) > Reproduces on trunk/x86_64 with > > -O2 -ffast-math -mfma4 -fno-tree-forwprop -fno-tree-reassoc > > on trunk both forwprop and reassoc change > > d

[Bug middle-end/48044] [4.6 Regression] ICE in function_and_variable_visibility, at ipa.c:875

2011-03-11 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48044 --- Comment #6 from Jakub Jelinek 2011-03-11 14:47:29 UTC --- Author: jakub Date: Fri Mar 11 14:47:26 2011 New Revision: 170873 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170873 Log: PR middle-end/48044 * ipa.c (cgraph_remove_

[Bug c++/48035] [4.4/4.5/4.6 Regression] Mismatch on size of class when initializing hierarchy involving virtual inheritance and empty base classes

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

[Bug middle-end/48044] [4.6 Regression] ICE in function_and_variable_visibility, at ipa.c:875

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

[Bug c++/48069] [4.6 Regression] FAIL: g++.old-deja/g++.pt/spec26.C

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

[Bug fortran/48059] [4.6 Regression][OOP] ICE in in gfc_conv_component_ref: character function of extended type

2011-03-11 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48059 --- Comment #7 from janus at gcc dot gnu.org 2011-03-11 14:45:22 UTC --- (In reply to comment #6) > I think the inputs to conv_parent_component_references are already wrong. > From the caller of that function (gfc_conv_variable): > > 755

[Bug c++/47808] [4.6 Regression][C++0x] internal compiler error: in tsubst_copy_and_build, at cp/pt.c:13326

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

[Bug c++/48069] [4.6 Regression] FAIL: g++.old-deja/g++.pt/spec26.C

2011-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48069 --- Comment #4 from Jason Merrill 2011-03-11 14:44:53 UTC --- Author: jason Date: Fri Mar 11 14:44:49 2011 New Revision: 170872 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170872 Log: PR c++/48069 * tree.c (type_hash_eq): Use C

[Bug c++/48069] [4.6 Regression] FAIL: g++.old-deja/g++.pt/spec26.C

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

[Bug c++/47198] [4.5 Regression] [C++0x] ICE: tree check: expected var_decl or function_decl, have template_decl in check_bases_and_members, at cp/class.c:4654 on invalid code

2011-03-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47198 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/48073] ICE with -flto in templated C++ code

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

[Bug tree-optimization/48072] Function with __attribute__((used)) is not inlined at -O1 level

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

[Bug c++/46824] [4.6 Regression] chromium-compile failed because error: no match for ‘operator*’ in

2011-03-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46824 --- Comment #12 from Richard Guenther 2011-03-11 14:21:26 UTC --- I checked comment #5 with ICC 12.0 in -strict_ansi mode.

[Bug c++/48073] ICE with -flto in templated C++ code

2011-03-11 Thread tux008 at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48073 --- Comment #2 from tux008 at googlemail dot com 2011-03-11 14:20:49 UTC --- Created attachment 23630 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23630 (almost empty) assembly code file produced by g++-4.6.0 r170867

[Bug c++/48073] ICE with -flto in templated C++ code

2011-03-11 Thread tux008 at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48073 --- Comment #1 from tux008 at googlemail dot com 2011-03-11 14:19:51 UTC --- Created attachment 23629 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23629 preprocessed code

[Bug c++/48073] New: ICE with -flto in templated C++ code

2011-03-11 Thread tux008 at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48073 Summary: ICE with -flto in templated C++ code Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.

[Bug fortran/47768] ICE: printing a derived-type variable with proc-pointer components

2011-03-11 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47768 --- Comment #7 from janus at gcc dot gnu.org 2011-03-11 14:13:52 UTC --- Author: janus Date: Fri Mar 11 14:13:49 2011 New Revision: 170871 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170871 Log: 2011-03-11 Janus Weil PR fortran/4

  1   2   >