[Bug c/56434] New: document that __attribute__((__malloc__)) assumes returned pointer has BIGGEST_ALIGNMENT

2013-02-22 Thread chip at pobox dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56434 Bug #: 56434 Summary: document that __attribute__((__malloc__)) assumes returned pointer has BIGGEST_ALIGNMENT Classification: Unclassified Product: gcc Version: 4.7.2

[Bug middle-end/56433] [4.8 Regression] ICE in expand_asm_operands, at stmt.c:910

2013-02-22 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56433 --- Comment #1 from Andrew Pinski 2013-02-23 05:23:08 UTC --- AV_RN32(buf + 5)) I bet http://gcc.gnu.org/ml/gcc-patches/2013-02/msg00965.html fixes this issue too.

[Bug c++/56403] [4.6/4.7/4.8 Regression] internal compiler error: in build_zero_init_1, at cp/init.c:279

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56403 --- Comment #6 from Jason Merrill 2013-02-23 05:22:22 UTC --- (In reply to comment #4) > Alternatively build_zero_init_1 could use RECORD_OR_UNION_CODE_P (TREE_CODE > (type)) instead of CLASS_TYPE_P (type). That makes sense to me.

[Bug middle-end/56433] New: ICE in expand_asm_operands, at stmt.c:910

2013-02-22 Thread doko at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56433 Bug #: 56433 Summary: ICE in expand_asm_operands, at stmt.c:910 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/55308] /usr/ports/lang/gcc48/work/build/sparc64-portbld-freebsd10.0/libstdc++-v3/src/.libs/libstdc++.so.6: Undefined symbol "__emutls_v._ThreadRuneLocale"

2013-02-22 Thread N8GCBP7SHNBTI79GINADGKJPRTLOCO2A at cmx dot ietfng.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55308 --- Comment #8 from N8GCBP7SHNBTI79GINADGKJPRTLOCO2A at cmx dot ietfng.org 2013-02-23 03:13:27 UTC --- If I do not remove the -32 from configure and do a straight build out of the ports tree, I see this in my gcc/config.log: configure:234

[Bug go/56432] New: libgo check should behave like the check target for all other target libraries

2013-02-22 Thread doko at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56432 Bug #: 56432 Summary: libgo check should behave like the check target for all other target libraries Classification: Unclassified Product: gcc Version: 4.8.0

[Bug c++/40405] [4.6/4.7/4.8 Regression] ICE with invalid initialization of template member

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40405 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/56359] [4.8 regression] Bogus "error: no matching function for call to ..."

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56359 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/56377] [4.8 Regression] template args in substitution-failure diagnostics

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56377 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/56395] [4.7/4.8 Regression] ICE, Segmentation fault in tsubst

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56395 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread kristian.spangsege at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #17 from Kristian Spangsege 2013-02-23 01:35:02 UTC --- Dude, you are insulting my ego! :-) Anyway, thanks for pointing me to [temp.deduct]/8. SFINAE certainly does not apply in my example.

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #16 from Jonathan Wakely 2013-02-23 00:31:00 UTC --- Or see http://isocpp.org/forums

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #15 from Jonathan Wakely 2013-02-23 00:29:17 UTC --- [temp.deduct]/8 This is not the right place to learn C++, please use the gcc-help mailing list or another site.

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread kristian.spangsege at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #14 from Kristian Spangsege 2013-02-23 00:02:55 UTC --- Jonathan, you say that: "Foo::type exists unconditionally, so SFINAE doesn't apply. The invalid type is not in the immediate context of the substitution." Could you p

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread kristian.spangsege at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #13 from Kristian Spangsege 2013-02-22 23:46:04 UTC --- Jonathan, "The complete set" is the set *before* the number of arguments is considered to find the viable subset. To synthesize the declaration Foo::type must be known,

[Bug go/56431] New: -lpthread should be added to -lgo

2013-02-22 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56431 Bug #: 56431 Summary: -lpthread should be added to -lgo Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Prior

[Bug tree-optimization/54000] [4.6/4.7/4.8 Regression] Performance breakdown for gcc-4.{6,7} vs. gcc-4.5 using std::vector in matrix vector multiplication (IVopts / inliner)

2013-02-22 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54000 --- Comment #10 from Steven Bosscher 2013-02-22 23:42:03 UTC --- (In reply to comment #9) > 4.8 r196182 with "--param early-inlining-insns=2" (2 x the default value): "--param early-inlining-insns=22"

[Bug tree-optimization/54000] [4.6/4.7/4.8 Regression] Performance breakdown for gcc-4.{6,7} vs. gcc-4.5 using std::vector in matrix vector multiplication (IVopts / inliner)

2013-02-22 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54000 Steven Bosscher changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread kristian.spangsege at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #12 from Kristian Spangsege 2013-02-22 23:38:47 UTC --- Yes, so far so good, but where does the standard say that if synthesis fails for a particular candidate function template declaration, during overload resolution, then the

[Bug libstdc++/56430] In __airy: return-statement with a value, in function returning 'void'.

2013-02-22 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56430 --- Comment #2 from Paolo Carlini 2013-02-22 23:23:16 UTC --- Normally we don't keep around functions like this. The issue is better resolved by simply removing it, for 4.8.0 and a corresponding patch is preapproved. In the future please d

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #11 from Jonathan Wakely 2013-02-22 23:20:28 UTC --- as explained in comment 6

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread kristian.spangsege at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #10 from Kristian Spangsege 2013-02-22 23:11:13 UTC --- Daniel - excuse me :-)

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread kristian.spangsege at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #9 from Kristian Spangsege 2013-02-22 23:09:59 UTC --- Daniell, would you do me the favour of explaining exactly why you think my example is ill-formed?

[Bug fortran/55117] Programs fails to read namelist (contains derived types objects)

2013-02-22 Thread t...@tilo-schwarz.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55117 --- Comment #12 from Tilo Schwarz 2013-02-22 22:40:11 UTC --- (In reply to comment #11) > Running above program on all two line combinations of the namelist gives > different errors using > 4.7.2 and > gcc version 4.

[Bug rtl-optimization/56131] [4.8 regression] gcc.dg/pr56035.c ICEs gcc on sparc-linux

2013-02-22 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56131 --- Comment #17 from vries at gcc dot gnu.org 2013-02-22 22:37:04 UTC --- > patch below. Bootstrapped and reg-tested on x86_64 (ada inclusive).

[Bug libstdc++/56430] In __airy: return-statement with a value, in function returning 'void'.

2013-02-22 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56430 --- Comment #1 from Ed Smith-Rowland <3dw4rd at verizon dot net> 2013-02-22 22:33:37 UTC --- Created attachment 29526 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29526 Patch with better test case. Added checks for new template fu

[Bug libstdc++/56430] New: In __airy: return-statement with a value, in function returning 'void'.

2013-02-22 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56430 Bug #: 56430 Summary: In __airy: return-statement with a value, in function returning 'void'. Classification: Unclassified Product: gcc Version: 4.8.0 Statu

[Bug c++/40405] [4.6/4.7/4.8 Regression] ICE with invalid initialization of template member

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40405 --- Comment #8 from Jason Merrill 2013-02-22 22:26:38 UTC --- Author: jason Date: Fri Feb 22 22:26:20 2013 New Revision: 196233 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196233 Log: PR c++/40405 * pt.c (push_templ

[Bug c++/56395] [4.7/4.8 Regression] ICE, Segmentation fault in tsubst

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56395 --- Comment #9 from Jason Merrill 2013-02-22 22:26:19 UTC --- Author: jason Date: Fri Feb 22 22:26:08 2013 New Revision: 196232 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196232 Log: PR c++/56395 * tree.c (strip_ty

[Bug c++/40405] [4.6/4.7/4.8 Regression] ICE with invalid initialization of template member

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40405 --- Comment #7 from Jason Merrill 2013-02-22 22:24:52 UTC --- Author: jason Date: Fri Feb 22 22:24:40 2013 New Revision: 196231 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196231 Log: PR c++/40405 * pt.c (push_templ

[Bug c++/56377] [4.8 Regression] template args in substitution-failure diagnostics

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56377 --- Comment #3 from Jason Merrill 2013-02-22 22:24:40 UTC --- Author: jason Date: Fri Feb 22 22:24:27 2013 New Revision: 196230 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196230 Log: PR c++/56377 * pt.c (fn_type_un

[Bug c++/56359] [4.8 regression] Bogus "error: no matching function for call to ..."

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56359 --- Comment #2 from Jason Merrill 2013-02-22 22:24:26 UTC --- Author: jason Date: Fri Feb 22 22:24:10 2013 New Revision: 196229 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196229 Log: PR c++/56359 * call.c (can_conv

[Bug c++/56395] [4.7/4.8 Regression] ICE, Segmentation fault in tsubst

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56395 --- Comment #8 from Jason Merrill 2013-02-22 22:24:05 UTC --- Author: jason Date: Fri Feb 22 22:23:56 2013 New Revision: 196228 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196228 Log: PR c++/56395 * tree.c (strip_ty

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #7 from Daniel Krügler 2013-02-22 22:01:18 UTC --- (In reply to comment #4) > I think 13.3 [over.match] ¶2 and 13.3.1 [over.match.funcs] ¶7 say the > function > template specialization must be generated before the number of argumen

[Bug c++/56429] New: [C++11] Explicitly defaulted private constructor is not private

2013-02-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56429 Bug #: 56429 Summary: [C++11] Explicitly defaulted private constructor is not private Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCON

[Bug c++/56243] [4.8 regression] ICE in tree check: expected field_decl, have identifier_node in fixed_type_or_null, at cp/class.c:6645

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56243 --- Comment #2 from Jason Merrill 2013-02-22 21:02:04 UTC --- Any news on this bug? It's one of only a few P1 regressions left.

[Bug fortran/55117] Programs fails to read namelist (contains derived types objects)

2013-02-22 Thread t...@tilo-schwarz.de
type d3 type(d3) der namelist /nmlst/ der read (*, nml = nmlst) print nmlst end program namelist Running above program on all two line combinations of the namelist gives different errors using 4.7.2 and gcc version 4.8.0 20130222 (experimental) (GCC) (Details below

[Bug c++/56428] New: [C++11] "is not a constant expression" when comparing non-type template argument to nullptr

2013-02-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56428 Bug #: 56428 Summary: [C++11] "is not a constant expression" when comparing non-type template argument to nullptr Classification: Unclassified Product: gcc Version: 4.8.

[Bug fortran/56385] [4.6/4.7/4.8 Regression] [OOP] ICE with allocatable function result in a procedure-pointer component

2013-02-22 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56385 --- Comment #5 from janus at gcc dot gnu.org 2013-02-22 19:48:15 UTC --- Author: janus Date: Fri Feb 22 19:48:11 2013 New Revision: 196227 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196227 Log: 2013-02-22 Janus Weil

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #6 from Jonathan Wakely 2013-02-22 18:47:55 UTC --- (In reply to comment #5) > Function templates must not be instantiated unless the number of arguments > match. Where does the standard say that? > [C++11: 13.3/2]: >

[Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.

2013-02-22 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11180 Georg-Johann Lay changed: What|Removed |Added Priority|P2 |P4 Severity|enhance

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread kristian.spangsege at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #5 from Kristian Spangsege 2013-02-22 18:04:41 UTC --- (In reply to comment #4) > I think 13.3 [over.match] ¶2 and 13.3.1 [over.match.funcs] ¶7 say the > function > template specialization must be generated before the number of arg

[Bug c++/56427] New: [C++11] template template parameter template parameter pack that depends on another parameter pack

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56427 Bug #: 56427 Summary: [C++11] template template parameter template parameter pack that depends on another parameter pack Classification: Unclassified Product: gcc Version: 4.3.0

[Bug c++/35022] [4.6/4.7/4.8 Regression] ICE with parameter pack in template constant parameter

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35022 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug rtl-optimization/56131] [4.8 regression] gcc.dg/pr56035.c ICEs gcc on sparc-linux

2013-02-22 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56131 --- Comment #16 from Steven Bosscher 2013-02-22 16:33:58 UTC --- (In reply to comment #14) Yes, iff the CFG hasn't been freed, looking at BLOCK_FOR_INSN is of course OK. I was referring to the situation after freeing the CFG. Adding t

[Bug inline-asm/56148] [4.8 Regression] inline asm matching constraint with different mode

2013-02-22 Thread vmakarov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56148 --- Comment #15 from Vladimir Makarov 2013-02-22 16:30:33 UTC --- Author: vmakarov Date: Fri Feb 22 16:30:22 2013 New Revision: 196223 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196223 Log: 2013-02-22 Vladimir Makarov

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #4 from Jonathan Wakely 2013-02-22 16:24:42 UTC --- I think 13.3 [over.match] ¶2 and 13.3.1 [over.match.funcs] ¶7 say the function template specialization must be generated before the number of arguments is checked to see if the can

[Bug sanitizer/55309] gcc's address-sanitizer 66% slower than clang's

2013-02-22 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309 --- Comment #55 from joseph at codesourcery dot com 2013-02-22 16:10:49 UTC --- I believe the arguments to memcmp must point to objects with at least the given number of bytes. (For strcmp, they must point to NUL-terminated strings. For

[Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects

2013-02-22 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56393 --- Comment #21 from Jakub Jelinek 2013-02-22 16:07:46 UTC --- Author: jakub Date: Fri Feb 22 16:07:36 2013 New Revision: 196222 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196222 Log: PR sanitizer/56393 * config/gn

[Bug c/56371] When building GCC from combined tree, configure is making wrong assumptions about 'gas' and 'ld'

2013-02-22 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56371 --- Comment #2 from Karlson2k 2013-02-22 15:59:56 UTC --- There is bug in configure script. Just before 'checking linker for .hidden support', configure detect ld version by: if test $in_tree_ld != yes ; then ld_ver=`$gcc_cv_ld --versi

[Bug c++/56377] [4.8 Regression] template args in substitution-failure diagnostics

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56377 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unas

[Bug c/56368] GCC Configure tests failed for name lister when building from combined tree (GCC+Binutils)

2013-02-22 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56368 --- Comment #3 from Karlson2k 2013-02-22 15:49:37 UTC --- Seems that string objdir=$lt_cv_objdir was put to object directory detection script by mistake. 'objdir' is used in configure only for AR and NM and used in the same way like i

[Bug tree-optimization/56426] [4.8 Regression] Segmentation fault in find_var_scev_info, at tree-scalar-evolution.c:358

2013-02-22 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56426 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/55308] /usr/ports/lang/gcc48/work/build/sparc64-portbld-freebsd10.0/libstdc++-v3/src/.libs/libstdc++.so.6: Undefined symbol "__emutls_v._ThreadRuneLocale"

2013-02-22 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55308 --- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE 2013-02-22 15:48:00 UTC --- There seems to be something totally confused here: when linking libgcc_s.so, there's a reference to libstdc++.so: [...] lc && rm -f /libgcc_s.so && if [ -

[Bug c++/56359] [4.8 regression] Bogus "error: no matching function for call to ..."

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56359 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unas

[Bug c/56368] GCC Configure tests failed for name lister when building from combined tree (GCC+Binutils)

2013-02-22 Thread k2k at narod dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56368 --- Comment #2 from Karlson2k 2013-02-22 15:44:42 UTC --- Created attachment 29524 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29524 Patch for configure for correct work with combined tree Apply patch + regenerate configure

[Bug c++/56395] [4.7/4.8 Regression] ICE, Segmentation fault in tsubst

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56395 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unas

[Bug bootstrap/56258] Please upgrade doc/*.texi to the latest texinfo package(s)

2013-02-22 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56258 Jack Howarth changed: What|Removed |Added CC||howarth at nitro dot

[Bug sanitizer/55309] gcc's address-sanitizer 66% slower than clang's

2013-02-22 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309 --- Comment #54 from Jakub Jelinek 2013-02-22 15:13:34 UTC --- gcc instruments many of the builtins inline, on the assumption that the builtins are often expanded inline and thus the interceptor might not be called at all. Either it isn't

[Bug sanitizer/55309] gcc's address-sanitizer 66% slower than clang's

2013-02-22 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309 --- Comment #53 from Kostya Serebryany 2013-02-22 15:06:25 UTC --- The interceptor we have is conservative: INTERCEPTOR(int, memcmp, const void *a1, const void *a2, uptr size) { if (!asan_inited) return internal_memcmp(a1, a2, size);

[Bug sanitizer/55309] gcc's address-sanitizer 66% slower than clang's

2013-02-22 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309 Jakub Jelinek changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Co

[Bug sanitizer/55309] gcc's address-sanitizer 66% slower than clang's

2013-02-22 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309 --- Comment #51 from Jakub Jelinek 2013-02-22 15:01:08 UTC --- Looks like a real SPEC bug to me. PerlIO_funcs * PerlIO_find_layer(pTHX_ const char *name, STRLEN len, int load) { IV i; if ((SSize_t) len <= 0) len = str

[Bug sanitizer/55309] gcc's address-sanitizer 66% slower than clang's

2013-02-22 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309 --- Comment #50 from Kostya Serebryany 2013-02-22 14:54:24 UTC --- reproducer: #include #include int foo(const char *x, const char *y, int len) { return memcmp(x, y, len); } int main() { printf("%d\n", foo("perlio", "unix", 6

[Bug c++/56419] [4.8 regression] transactions in for-loops disappear

2013-02-22 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56419 --- Comment #3 from Aldy Hernandez 2013-02-22 14:54:32 UTC --- Proposed patch: http://gcc.gnu.org/ml/gcc-patches/2013-02/msg01058.html

[Bug tree-optimization/56426] New: Segmentation fault in find_var_scev_info, at tree-scalar-evolution.c:358

2013-02-22 Thread antoine.balestrat at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: antoine.balest...@gmail.com Using GCC 4.8.0 as of 20130222 : $ cat scev.c int a, *c; void f(void) { int b = 0; for(a = 0;; a

[Bug c++/54440] [c++11] g++ prematurely applying rule that a template parameter pack cannot be followed by a template parameter

2013-02-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54440 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug inline-asm/56148] [4.8 Regression] inline asm matching constraint with different mode

2013-02-22 Thread fm3 at os dot inf.tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56148 Frank Mehnert changed: What|Removed |Added CC||fm3 at os dot |

[Bug sanitizer/56425] debug info is broken with -fsanitize=address

2013-02-22 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56425 --- Comment #3 from Kostya Serebryany 2013-02-22 14:37:06 UTC --- ah yea, sorry. I use vanilla addr2line from ubuntu 12.04

[Bug sanitizer/56425] debug info is broken with -fsanitize=address

2013-02-22 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56425 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug middle-end/56344] ICE for program with very large structs returned by value

2013-02-22 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56344 --- Comment #4 from Marek Polacek 2013-02-22 14:33:37 UTC --- Or probably s/break/continue/, in that case we'd issue error () on every ill-sized parameter. And of course, it's completely untested.

[Bug sanitizer/56425] debug info is broken with -fsanitize=address

2013-02-22 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56425 --- Comment #1 from Kostya Serebryany 2013-02-22 14:29:57 UTC --- clarification: -gdwarf-3 seems to work, but -g is broken

[Bug sanitizer/55309] gcc's address-sanitizer 66% slower than clang's

2013-02-22 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309 --- Comment #49 from Kostya Serebryany 2013-02-22 14:29:27 UTC --- with -gdwarf-3: ==11621== ERROR: AddressSanitizer: global-buffer-overflow on address 0x0078e2a5 at pc 0x4e47d7 bp 0x7fff553d4cc0 sp 0x7fff553d4cb8 READ of size 1 at 0

[Bug middle-end/56344] ICE for program with very large structs returned by value

2013-02-22 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56344 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug sanitizer/56425] New: debug info is broken with -fsanitize=address

2013-02-22 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56425 Bug #: 56425 Summary: debug info is broken with -fsanitize=address Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug sanitizer/55309] gcc's address-sanitizer 66% slower than clang's

2013-02-22 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309 --- Comment #48 from Joost VandeVondele 2013-02-22 13:55:16 UTC --- (In reply to comment #47) > > Interestingly, the symbolization/debuginfo seems to be completely broken :( > I've tried compiling with -gdwarf-3 , with some luck

[Bug sanitizer/55309] gcc's address-sanitizer 66% slower than clang's

2013-02-22 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309 --- Comment #47 from Kostya Serebryany 2013-02-22 13:52:12 UTC --- (In reply to comment #46) > (In reply to comment #43) > > 400.perlbench fails with a global-buffer-overflow which clang does not > > detect. > > I did not investigate why

[Bug rtl-optimization/56131] [4.8 regression] gcc.dg/pr56035.c ICEs gcc on sparc-linux

2013-02-22 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56131 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Co

[Bug sanitizer/55309] gcc's address-sanitizer 66% slower than clang's

2013-02-22 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309 --- Comment #46 from Jakub Jelinek 2013-02-22 13:09:10 UTC --- (In reply to comment #43) > 400.perlbench fails with a global-buffer-overflow which clang does not detect. > I did not investigate why. It could be a gcc false positive or clan

[Bug bootstrap/56424] New: [4.8 Regression] bootstrap fails in libada, gnat1 asserts in declare_return_variable, at tree-inline.c:2833

2013-02-22 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56424 Bug #: 56424 Summary: [4.8 Regression] bootstrap fails in libada, gnat1 asserts in declare_return_variable, at tree-inline.c:2833 Classification: Unclassified P

[Bug target/35294] iwmmxt intrinsics, internal compiler error

2013-02-22 Thread nickc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35294 Nick Clifton changed: What|Removed |Added CC||eliot at sonic dot net --- Comme

[Bug target/36966] arm iwmmxt builtin problem

2013-02-22 Thread nickc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36966 Nick Clifton changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/35294] iwmmxt intrinsics, internal compiler error

2013-02-22 Thread nickc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35294 Nick Clifton changed: What|Removed |Added CC||gfan at sta dot samsung.com ---

[Bug target/36798] internal compiler error: in arm_expand_binop_builtin, at config/arm/arm.c:12548

2013-02-22 Thread nickc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36798 Nick Clifton changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/56079] [4.7/4.8 Regression] ICE with C_PTR renaming and TRANSFER

2013-02-22 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56079 Tobias Burnus changed: What|Removed |Added CC||juno.krahn at nih dot gov --- C

[Bug fortran/55356] ICE with TRANSFER of C_NULL_PTR

2013-02-22 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55356 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #3 from Daniel Krügler 2013-02-22 10:59:28 UTC --- (In reply to comment #2) > Isn't G++ correct? Foo::type exists unconditionally, so SFINAE doesn't apply. > The invalid type is not in the immediate context of the substitution. This

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 --- Comment #2 from Jonathan Wakely 2013-02-22 10:42:05 UTC --- Isn't G++ correct? Foo::type exists unconditionally, so SFINAE doesn't apply. The invalid type is not in the immediate context of the substitution. To make this work you wou

[Bug c++/51707] [c++11] constexpr constructor cannot initialize const reference member

2013-02-22 Thread Martin.vGagern at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51707 Martin von Gagern changed: What|Removed |Added CC||Martin.vGagern at gmx dot

[Bug rtl-optimization/56131] [4.8 regression] gcc.dg/pr56035.c ICEs gcc on sparc-linux

2013-02-22 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56131 --- Comment #14 from vries at gcc dot gnu.org 2013-02-22 10:30:06 UTC --- Steven, thanks for the comments. > Nothing even trying to look at the CFG after freeing it, so the looks at > BLOCK_FOR_INSN in delete_insn are non-sense. AFAI

[Bug c++/56421] Non-matching overload produces template substitution error

2013-02-22 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects

2013-02-22 Thread t-gcc-bugzilla at snowelm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56393 --- Comment #20 from Takaki Makino 2013-02-22 09:01:30 UTC --- I understand why dynamic libasan is important. Still it seems for me -static-libasan can be default, except when -shared is given. (just because I have no idea how the shared

[Bug libfortran/30162] [4.7/4.8 Regression] Unformatted sequential I/O with named pipes does not work

2013-02-22 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #55 from Tobias Burnus 2013-02-22 08:54:30 UTC --- (In reply to comment #54) > I'd suggest to close the unformatted sequential part of this PR as WONTFIX. > [...] Should we document in http://gcc.gnu.org/onlinedocs/gfortran/

[Bug sanitizer/55309] gcc's address-sanitizer 66% slower than clang's

2013-02-22 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309 --- Comment #45 from Kostya Serebryany 2013-02-22 08:36:14 UTC --- > I'm wondering if the failure goes away compiled with -O0 instead ? No, the failure is still present with -O0

[Bug sanitizer/55309] gcc's address-sanitizer 66% slower than clang's

2013-02-22 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat