[Bug c++/50471] Qualified lookup fails to find template function

2011-09-20 Thread zoltan at epochcapital dot com.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50471 --- Comment #4 from Zoltan Glozik 2011-09-21 06:43:29 UTC --- (In reply to comment #3) > NS::f(t); > Binds at the point at definition because it is qualified. > f(t); > Does not bind and then does argument dependent lookup (ADL) at instan

[Bug c++/50471] Qualified lookup fails to find template function

2011-09-20 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50471 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/50471] Qualified lookup fails to find template function

2011-09-20 Thread zoltan at epochcapital dot com.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50471 --- Comment #2 from Zoltan Glozik 2011-09-21 05:43:44 UTC --- Comment on attachment 25330 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25330 bug #include namespace NS { template struct A { T t; }; template void f(T &t) { std

[Bug c++/50471] Qualified lookup fails to find template function

2011-09-20 Thread zoltan at epochcapital dot com.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50471 --- Comment #1 from Zoltan Glozik 2011-09-21 05:41:57 UTC --- Created attachment 25330 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25330 bug

[Bug c++/50471] New: Qualified lookup fails to find template function

2011-09-20 Thread zoltan at epochcapital dot com.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50471 Bug #: 50471 Summary: Qualified lookup fails to find template function Classification: Unclassified Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal P

[Bug target/50467] Compiler can move stack cleanup before last memory reference involving the stack

2011-09-20 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50467 Alan Modra changed: What|Removed |Added Target|powerpc64-linux |powerpc-linux, powerpc-eabi Stat

[Bug driver/50470] gcc does not respect -nostdlib with regard to search paths

2011-09-20 Thread bugdal at aerifal dot cx
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50470 --- Comment #2 from Rich Felker 2011-09-21 01:34:29 UTC --- The sysroot features may be nice but they're not a substitute for being able to eliminate the default library search path. For example, when using sysroot, -L/new/path will prepend the s

[Bug driver/50470] gcc does not respect -nostdlib with regard to search paths

2011-09-20 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50470 --- Comment #1 from Andrew Pinski 2011-09-21 01:20:48 UTC --- I think this is why GCC created the --with-sysroot option while building GCC itself. And really -nostdlib is not just for "alternate library ecosystem". It is so you can supply all t

[Bug driver/50470] New: gcc does not respect -nostdlib with regard to search paths

2011-09-20 Thread bugdal at aerifal dot cx
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50470 Bug #: 50470 Summary: gcc does not respect -nostdlib with regard to search paths Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/49813] [C++0x] sinh vs asinh vs constexpr

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

[Bug c++/49488] [C++0x] Use 'final' for devirtualization purposes

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

[Bug testsuite/50469] [4.7 Regression] FAIL: gfortran.dg/storage_size_2.f08

2011-09-20 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50469 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug testsuite/50469] [4.7 Regression] FAIL: gfortran.dg/storage_size_2.f08

2011-09-20 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50469 --- Comment #1 from hjl at gcc dot gnu.org 2011-09-20 22:59:53 UTC --- Author: hjl Date: Tue Sep 20 22:59:49 2011 New Revision: 179022 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179022 Log: Replace "must be be" with "must be". 2011-0

[Bug fortran/50469] New: [4.7 Regression] FAIL: gfortran.dg/storage_size_2.f08

2011-09-20 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50469 Bug #: 50469 Summary: [4.7 Regression] FAIL: gfortran.dg/storage_size_2.f08 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug libgomp/50386] [4.7 Regression] libgomp.h:87:5: error: unnamed struct/union that defines no instances

2011-09-20 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 --- Comment #4 from Ramana Radhakrishnan 2011-09-20 22:32:49 UTC --- I think this is a bootstrap issue rather than a problem with libgomp . A reduced testcase of this form fails with the stage2 compiler but is ok with the stage1 compiler. stru

[Bug lto/50394] [meta-bug] Issues with building libreoffice with LTO

2011-09-20 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50394 --- Comment #17 from Jan Hubicka 2011-09-20 22:19:38 UTC --- > I haven't found out exactly what libs are affected yet, because I've copied > them in large chunks. Hmm, this is quite weird. I am not aware of any really important LTO related wrong

[Bug lto/50468] New: ICE in force_type_die when compiling binutils with -flto -O[12]

2011-09-20 Thread matt at use dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50468 Bug #: 50468 Summary: ICE in force_type_die when compiling binutils with -flto -O[12] Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c++/45114] implement C++0x alias-declaration

2011-09-20 Thread dodji at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45114 Dodji Seketeli changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned a

[Bug target/50467] Compiler can move stack cleanup before last memory reference involving the stack

2011-09-20 Thread meissner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50467 --- Comment #1 from Michael Meissner 2011-09-20 21:04:17 UTC --- Created attachment 25329 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25329 Code from the libquantum benchmark.

[Bug target/50467] New: Compiler can move stack cleanup before last memory reference involving the stack

2011-09-20 Thread meissner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50467 Bug #: 50467 Summary: Compiler can move stack cleanup before last memory reference involving the stack Classification: Unclassified Product: gcc Version: 4.6.2 Status

[Bug c/50466] Compiled code behaves differently with "-O2 -fPIC" flag combination

2011-09-20 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50466 --- Comment #1 from Andrew Pinski 2011-09-20 21:00:55 UTC --- 4.3.x is no longer maintained and had at least one known strict aliasing bug. Try 4.5.x or 4.6.x.

[Bug c/50466] New: Compiled code behaves differently with "-O2 -fPIC" flag combination

2011-09-20 Thread hmiller at gluster dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50466 Bug #: 50466 Summary: Compiled code behaves differently with "-O2 -fPIC" flag combination Classification: Unclassified Product: gcc Version: 4.3.4 Status: UNCONFIRMED

[Bug c++/50442] [4.6 regression] Constructing T from implicit conversion to T& ambiguous in C++0x mode, not C++98

2011-09-20 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50442 --- Comment #6 from Jason Merrill 2011-09-20 19:25:36 UTC --- Author: jason Date: Tue Sep 20 19:25:32 2011 New Revision: 179015 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179015 Log: PR c++/50442 * g++.dg/overload/ref-conv1.C:

[Bug rtl-optimization/42575] arm-eabi-gcc 64-bit multiply weirdness

2011-09-20 Thread jules at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42575 jules at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Bug target/50464] Using -Ofast -march=bdver1 results in internal compiler error: in extract_insn, at recog.c:2109

2011-09-20 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50464 Uros Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at g

[Bug target/50465] [avr] Use insn attribute to depict if and how instruction lengths have to be adjusted

2011-09-20 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50465 Georg-Johann Lay changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug target/50465] New: [avr] Use insn attribute to depict if and how instruction lengths have to be adjusted

2011-09-20 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50465 Bug #: 50465 Summary: [avr] Use insn attribute to depict if and how instruction lengths have to be adjusted Classification: Unclassified Product: gcc Version: 4.7.0 S

[Bug target/50464] Using -Ofast -march=bdver1 results in internal compiler error: in extract_insn, at recog.c:2109

2011-09-20 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50464 Uros Bizjak changed: What|Removed |Added Target||x86 Status|UNCONFIRMED

[Bug fortran/50463] [4.6/4.7 Regression] -ftree-dse leeds to wrong code with gfortran

2011-09-20 Thread manz at intes dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50463 --- Comment #5 from manz at intes dot de 2011-09-20 17:11:56 UTC --- (In reply to comment #2) > I confirm the problem on 4.6.1 and trunk, but the code seems to work as > expected with 4.5.3 and 4.4.6. > It also works if I merge the three files in o

[Bug fortran/50463] [4.6/4.7 Regression] -ftree-dse leeds to wrong code with gfortran

2011-09-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50463 --- Comment #4 from Dominique d'Humieres 2011-09-20 16:57:28 UTC --- This is caused/exposed by revision 165422 Author: rguenth Date: Wed Oct 13 13:03:31 2010 New Revision: 165422 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165422 Log:

[Bug c++/50464] New: Using -Ofast -march=bdver1 results in internal compiler error: in extract_insn, at recog.c:2109

2011-09-20 Thread geir at cray dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50464 Bug #: 50464 Summary: Using -Ofast -march=bdver1 results in internal compiler error: in extract_insn, at recog.c:2109 Classification: Unclassified Product: gcc Version: 4.6.1

[Bug lto/50394] [meta-bug] Issues with building libreoffice with LTO

2011-09-20 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50394 --- Comment #16 from Markus Trippelsdorf 2011-09-20 15:39:41 UTC --- (In reply to comment #15) > BTW since the exception seems to be thrown from libuno_cppuhelpergcc3.so.3 > that sounds like there is some sort of gcc specific magic that has good

[Bug fortran/47023] [4.6/4.7 regression] C_Sizeof: Rejects valid code

2011-09-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47023 --- Comment #5 from Dominique d'Humieres 2011-09-20 15:35:00 UTC --- r158253 is OK r162456 gives the error.

[Bug fortran/47023] [4.6/4.7 regression] C_Sizeof: Rejects valid code

2011-09-20 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47023 --- Comment #4 from kargl at gcc dot gnu.org 2011-09-20 14:57:00 UTC --- (In reply to comment #3) > (In reply to comment #2) > > I'm seeing this bug even for an explicitly interoperable type (hence I'm not > > sure if this is really the same bug -

[Bug fortran/47023] [4.6/4.7 regression] C_Sizeof: Rejects valid code

2011-09-20 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47023 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org K

[Bug tree-optimization/50374] Support vectorization of min/max location pattern

2011-09-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50374 --- Comment #13 from Jakub Jelinek 2011-09-20 14:01:55 UTC --- Ira, thanks for your help, I'll continue working on this now. To vincenzo, this patch isn't finished, so it is premature to test it.

[Bug c++/50462] poor diagnostics for missing parenthesis in call to method

2011-09-20 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50462 --- Comment #1 from Manuel López-Ibáñez 2011-09-20 13:59:47 UTC --- Clang does only marginally better because of its selective typedef unwrapping and avoiding printing back expressions, but then it goes and prints all candidates: /tmp/webcompile

[Bug libgomp/50386] [4.7 Regression] libgomp.h:87:5: error: unnamed struct/union that defines no instances

2011-09-20 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 --- Comment #3 from dave.anglin at bell dot net 2011-09-20 13:46:04 UTC --- On 9/20/2011 6:49 AM, ramana at gcc dot gnu.org wrote: > Do you have some date before when trunk managed bootstraps successfully ? > This is my last successful build: http

[Bug tree-optimization/50374] Support vectorization of min/max location pattern

2011-09-20 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50374 --- Comment #12 from vincenzo Innocente 2011-09-20 13:46:16 UTC --- I'm getting these errors ../.././gcc/optabs.c: In function 'optab_d* optab_for_tree_code(tree_code, const_tree, optab_subtype)': ../.././gcc/optabs.c:470:9: error: cannot conver

[Bug middle-end/50460] [4.7 Regression] __builtin___strcpy_chk/__builtin_object_size don't work

2011-09-20 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50460 H.J. Lu changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #2 from

[Bug fortran/50463] [4.6/4.7 Regression] -ftree-dse leeds to wrong code with gfortran

2011-09-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50463 --- Comment #3 from Dominique d'Humieres 2011-09-20 13:18:35 UTC --- r165415 is OK r165758 gives a wrong code.

[Bug fortran/50463] [4.6/4.7 Regression] -ftree-dse leeds to wrong code with gfortran

2011-09-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50463 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/47011] ICE when using attribute optimize

2011-09-20 Thread mat at lcs dot mit.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47011 --- Comment #3 from Mat Hostetter 2011-09-20 12:32:47 UTC --- I am seeing the same crash with gcc 4.4.[3456], on x86_64. It works on 4.6.1. I encountered this crash when simply upgrading to the latest boost (1.47.0), which uses attribute optimiz

[Bug c++/47011] ICE when using attribute optimize

2011-09-20 Thread mat at lcs dot mit.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47011 --- Comment #2 from Mat Hostetter 2011-09-20 12:31:56 UTC --- Created attachment 25327 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25327 bug showing ICE with -O, incorrect code without optimization

[Bug fortran/50463] -ftree-dse leeds to wrong code with gfortran

2011-09-20 Thread manz at intes dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50463 --- Comment #1 from manz at intes dot de 2011-09-20 12:29:47 UTC --- Created attachment 25326 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25326 Fortran testcase code a.f, b.f and c.f

[Bug fortran/50463] New: -ftree-dse leeds to wrong code with gfortran

2011-09-20 Thread manz at intes dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50463 Bug #: 50463 Summary: -ftree-dse leeds to wrong code with gfortran Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: critical Pri

[Bug tree-optimization/50374] Support vectorization of min/max location pattern

2011-09-20 Thread irar at il dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50374 Ira Rosen changed: What|Removed |Added Attachment #25323|0 |1 is obsolete|

[Bug tree-optimization/50374] Support vectorization of min/max location pattern

2011-09-20 Thread irar at il dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50374 Ira Rosen changed: What|Removed |Added Attachment #25322|0 |1 is obsolete|

[Bug tree-optimization/50374] Support vectorization of min/max location pattern

2011-09-20 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50374 --- Comment #9 from vincenzo Innocente 2011-09-20 12:05:01 UTC --- does not compile to me ../.././gcc/tree-vect-loop.c: In function 'vect_is_simple_reduction_1': ../.././gcc/tree-vect-loop.c:2237:35: warning: suggest parentheses around '&&' with

[Bug tree-optimization/50374] Support vectorization of min/max location pattern

2011-09-20 Thread irar at il dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50374 --- Comment #8 from Ira Rosen 2011-09-20 11:47:00 UTC --- Created attachment 25323 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25323 complete patch including my fix

[Bug tree-optimization/50374] Support vectorization of min/max location pattern

2011-09-20 Thread irar at il dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50374 --- Comment #7 from Ira Rosen 2011-09-20 11:45:53 UTC --- Created attachment 25322 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25322 fix Here is the fix (it's a diff relative to your patch).

[Bug c++/50454] Unexpected problems with -pedantic / -pedantic-errors and __int128 and unsigned __int128 specializations

2011-09-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50454 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at

[Bug fortran/47023] C_Sizeof: Rejects valid code

2011-09-20 Thread florian.rathgeber at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47023 florian.rathgeber at gmail dot com changed: What|Removed |Added CC||florian.rathgeber at g

[Bug libgomp/50386] [4.7 Regression] libgomp.h:87:5: error: unnamed struct/union that defines no instances

2011-09-20 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Comm

[Bug c++/50462] New: Particularly painful error message

2011-09-20 Thread chris at bubblescope dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50462 Bug #: 50462 Summary: Particularly painful error message Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: minor Priority: P3

[Bug middle-end/50460] [4.7 Regression] __builtin___strcpy_chk/__builtin_object_size don't work

2011-09-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50460 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target Milesto

[Bug testsuite/49443] gcc.dg/vect/vect-peel-3.c and vect-peel-4.c fail on IA64 after testsuite change

2011-09-20 Thread jye2 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49443 --- Comment #6 from jye2 at gcc dot gnu.org 2011-09-20 09:01:06 UTC --- Author: jye2 Date: Tue Sep 20 09:00:58 2011 New Revision: 179003 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179003 Log: 2011-09-20 Jiangning Liu Backport r1

[Bug tree-optimization/50374] Support vectorization of min/max location pattern

2011-09-20 Thread irar at il dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50374 --- Comment #6 from Ira Rosen 2011-09-20 08:27:08 UTC --- Thanks for working on this! It looks like the problem is with the way the stmts are marked. We don't insert pattern stmts now, so the things are more tricky. I'll try to fix this.

[Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously

2011-09-20 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50461 Bug #: 50461 Summary: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRME