[Bug c++/59031] vtable lookup not optimized away

2013-11-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59031 --- Comment #1 from Paolo Carlini --- I recommend always sending patches to the mailing list.

[Bug c++/59030] [4.9 Regression] Caret diagnostic always points to the first line

2013-11-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59030 --- Comment #3 from Paolo Carlini --- Today I can't reproduce this. Please double check.

[Bug c++/59033] cannot control inherited constructors access

2013-11-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59033 Paolo Carlini changed: What|Removed |Added Summary|cannot control inherited|cannot control inherited

[Bug target/59035] New: FAIL: gcc.dg/torture/c99-contract-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test

2013-11-07 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59035 Bug ID: 59035 Summary: FAIL: gcc.dg/torture/c99-contract-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test Product: gcc Version: 4.9.0

[Bug target/59034] [4.9 Regression] FAIL gcc.c-torture/compile/20031208-1.c

2013-11-07 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59034 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Nov 7 09:58:05 2013 New Revision: 204501 URL: http://gcc.gnu.org/viewcvs?rev=204501&root=gcc&view=rev Log: Use Pmode with stack_pointer_rtx gcc/ PR target/59034 * con

[Bug target/59034] [4.9 Regression] FAIL gcc.c-torture/compile/20031208-1.c

2013-11-07 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59034 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Nov 7 10:05:07 2013 New Revision: 204502 URL: http://gcc.gnu.org/viewcvs?rev=204502&root=gcc&view=rev Log: Use Pmode with stack_pointer_rtx gcc/ Backport from mainline

[Bug sanitizer/59029] ICE with builtin function and -fsanitize=address

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

[Bug target/59034] [4.9 Regression] FAIL gcc.c-torture/compile/20031208-1.c

2013-11-07 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59034 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Nov 7 10:09:49 2013 New Revision: 204503 URL: http://gcc.gnu.org/viewcvs?rev=204503&root=gcc&view=rev Log: Use Pmode with stack_pointer_rtx Backport from mainline PR t

[Bug c++/2778] -fdump-translation-unit [Simple patch supplied, needs review]

2013-11-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2778 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug sanitizer/59029] ICE with builtin function and -fsanitize=address

2013-11-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59029 --- Comment #3 from Jakub Jelinek --- (In reply to Yury Gribov from comment #2) > Created attachment 31177 [details] > Draft patch > > Aha, looks like the ICE is caused by destination address being INTEGER_CST > instead of ADDR_EXPR. Attached pat

[Bug rtl-optimization/59036] New: [4.9 regression] Performance degradation after r204212 on 32-bit x86 targets.

2013-11-07 Thread ysrumyan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59036 Bug ID: 59036 Summary: [4.9 regression] Performance degradation after r204212 on 32-bit x86 targets. Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: no

[Bug rtl-optimization/59036] [4.9 regression] Performance degradation after r204212 on 32-bit x86 targets.

2013-11-07 Thread ysrumyan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59036 --- Comment #1 from Yuri Rumyantsev --- Created attachment 31178 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31178&action=edit test-case to reproduce test need to be compiled with -m32 option for any x86 targets.

[Bug c++/12277] Warn on dynamic casts with known NULL results.

2013-11-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12277 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug c++/10619] Error message for no matching function calls does not list explicitly-specified template arguments

2013-11-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10619 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug c++/16386] [ABI] attribute aligned,packed shifting [3.2/3.3/3.4]

2013-11-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16386 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED CC|gcc-bugs at g

[Bug c++/17314] Error message wrongly shows declared rather than inherited access

2013-11-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17314 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|gdr at gcc dot gnu

[Bug rtl-optimization/59036] [4.9 regression] Performance degradation after r204212 on 32-bit x86 targets.

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59036 Richard Biener changed: What|Removed |Added Target||i?86-*-* CC|

[Bug target/59035] [4.9 Regression] FAIL: gcc.dg/torture/c99-contract-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59035 Richard Biener changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org Target Milest

[Bug target/59034] [4.9 Regression] FAIL gcc.c-torture/compile/20031208-1.c

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59034 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/59031] [4.8/4.9 Regression] vtable lookup not optimized away

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59031 Richard Biener changed: What|Removed |Added Target Milestone|--- |4.8.3 Summary|vtable lookup n

[Bug c++/59032] [4.8/4.9 Regression] ICE incrementing vector type

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59032 Richard Biener changed: What|Removed |Added Target Milestone|--- |4.8.3

[Bug c++/59030] [4.9 Regression] Caret diagnostic always points to the first line

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59030 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/59014] [4.9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2013-11-07 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59014 Marek Polacek changed: What|Removed |Added Keywords||wrong-code Status|NEW

[Bug tree-optimization/59025] [4.9 Regression] Revision 203979 causes failure in CPU2006 benchmark 435.gromacs

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59025 Richard Biener changed: What|Removed |Added Target Milestone|--- |4.9.0 Summary|Revision 203979

[Bug tree-optimization/59025] [4.9 Regression] Revision 203979 causes failure in CPU2006 benchmark 435.gromacs

2013-11-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59025 --- Comment #3 from Jakub Jelinek --- Can you please narrow it down to a file and routine? I guess I can look at it afterwards using cross-compilers, the patch wasn't meant do any code generation changes, only that sometimes a new stmt is created

[Bug libstdc++/59027] std::is_signed does not include check for is_arithmetic

2013-11-07 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59027 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug sanitizer/58994] asan.exp regressions on x86_64 darwin at -m64 but not -m32 at r204372

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

[Bug c++/59033] cannot control inherited constructors access

2013-11-07 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59033 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug sanitizer/59029] ICE with builtin function and -fsanitize=address

2013-11-07 Thread ygribov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59029 --- Comment #4 from ygribov at gcc dot gnu.org --- Author: ygribov Date: Thu Nov 7 12:04:45 2013 New Revision: 204508 URL: http://gcc.gnu.org/viewcvs?rev=204508&root=gcc&view=rev Log: Allow integer literals as addresses in instrumented builtins.

[Bug sanitizer/59029] ICE with builtin function and -fsanitize=address

2013-11-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59029 --- Comment #5 from Jakub Jelinek --- (In reply to ygribov from comment #4) > URL: http://gcc.gnu.org/viewcvs?rev=204508&root=gcc&view=rev > Log: > Allow integer literals as addresses in instrumented builtins. Note, patches should still go to gcc

[Bug c++/59033] cannot control inherited constructors access

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

[Bug c++/59030] [4.9 Regression] Caret diagnostic always points to the first line

2013-11-07 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59030 --- Comment #5 from Volker Reichelt --- The offending patch got reverted: http://gcc.gnu.org/ml/gcc-cvs/2013-11/msg00212.html

[Bug middle-end/59037] New: ICE when accessing invalid element (nelts + 1) of vector

2013-11-07 Thread matthew.leach at arm dot com
d model: posix gcc version 4.9.0 20131107 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O3' '-mtune=generic' '-march=x86-64' /work/gcc-trunk/gcc/install-native/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/cc1 -E -quiet -v -imultilib .

[Bug tree-optimization/59038] New: [4.9 Regression] r204398 causes 186.crafty init.c to be miscompiled

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59038 Bug ID: 59038 Summary: [4.9 Regression] r204398 causes 186.crafty init.c to be miscompiled Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug tree-optimization/59038] [4.9 Regression] r204398 causes 186.crafty init.c to be miscompiled

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59038 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/59037] ICE when accessing invalid element (nelts + 1) of vector

2013-11-07 Thread matthew.leach at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59037 --- Comment #1 from Matthew Leach --- Having a quick dig around the code, I think fold-const.c:16718 looks suspicious: if (offset/part_widthi <= TYPE_VECTOR_SUBPARTS (op00type)) Likewise in cp/semantics.c:9122 and gimple-fold.c:3407. Should thi

[Bug middle-end/59037] ICE when accessing invalid element (nelts + 1) of vector

2013-11-07 Thread jgreenhalgh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59037 jgreenhalgh at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug sanitizer/59029] ICE with builtin function and -fsanitize=address

2013-11-07 Thread y.gribov at samsung dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59029 --- Comment #6 from Yury Gribov --- (In reply to Jakub Jelinek from comment #5) > Note, patches should still go to gcc-patches, even when you just say in > subject > [committed] and in the description that it has been preapproved in the PR. Got i

[Bug c++/58176] ICE in output_constant, at varasm.c:4658

2013-11-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58176 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug other/59039] New: Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 Bug ID: 59039 Summary: Undocumented __builtin_longjmp/__builtin_setjmp Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ot

[Bug libstdc++/59027] std::is_signed does not include check for is_arithmetic

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

[Bug tree-optimization/59038] [4.9 Regression] r204398 causes 186.crafty init.c to be miscompiled

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59038 --- Comment #1 from Richard Biener --- extern void abort (void); unsigned char first_ones_8bit[256]; unsigned char connected_passed[256]; int main () { int i, j; for (i=0;i<256;i++){ connected_passed[i]=0; first_ones_8bit[i]=0;

[Bug target/59040] New: [4.9 Regression] r203937 caused: FAIL: gcc.dg/torture/memcpy-1.c -O0 (internal compiler error)

2013-11-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59040 Bug ID: 59040 Summary: [4.9 Regression] r203937 caused: FAIL: gcc.dg/torture/memcpy-1.c -O0 (internal compiler error) Product: gcc Version: 4.9.0 Sta

[Bug target/59040] [4.9 Regression] r203937 caused: FAIL: gcc.dg/torture/memcpy-1.c -O0 (internal compiler error)

2013-11-07 Thread izamyatin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59040 Igor Zamyatin changed: What|Removed |Added CC||izamyatin at gmail dot com --- Comment #1

[Bug c++/56710] Using reserved double underscore variable name in a lambda causes internal compiler error

2013-11-07 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56710 --- Comment #3 from Jonathan Wakely --- That testcase shows this is an ice-on-valid-code bug. Reduced: struct Dummy { void getDummy() const { } }; template void eachDummy(F closure) { Dummy d; closure(d); } template void iterateD

[Bug target/59035] [4.9 Regression] FAIL: gcc.dg/torture/c99-contract-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test

2013-11-07 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59035 --- Comment #2 from joseph at codesourcery dot com --- If -ffp-contract=off is set for any object (whether explicitly, or implicitly by an option such as -std=c99), the safe option for LTO would be to set -ffp-contract=off at link time as well.

[Bug target/59040] [4.9 Regression] r203937 caused: FAIL: gcc.dg/torture/memcpy-1.c -O0 (internal compiler error)

2013-11-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59040 --- Comment #2 from H.J. Lu --- (In reply to Igor Zamyatin from comment #1) > Dup of 588​53 There is no PR588​53.

[Bug target/59040] [4.9 Regression] r203937 caused: FAIL: gcc.dg/torture/memcpy-1.c -O0 (internal compiler error)

2013-11-07 Thread izamyatin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59040 --- Comment #3 from Igor Zamyatin --- Hmm... http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58853

[Bug target/59040] [4.9 Regression] r203937 caused: FAIL: gcc.dg/torture/memcpy-1.c -O0 (internal compiler error)

2013-11-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59040 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/58853] [4.9 regression] ICE in expand_set_or_movmem_prologue_epilogue_by_misaligned_moves

2013-11-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58853 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #5 from

[Bug target/59040] [4.9 Regression] r203937 caused: FAIL: gcc.dg/torture/memcpy-1.c -O0 (internal compiler error)

2013-11-07 Thread octoploid at yandex dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59040 octoploid at yandex dot com changed: What|Removed |Added CC||octoploid at yandex dot com

[Bug target/59040] [4.9 Regression] r203937 caused: FAIL: gcc.dg/torture/memcpy-1.c -O0 (internal compiler error)

2013-11-07 Thread octoploid at yandex dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59040 --- Comment #6 from octoploid at yandex dot com --- (In reply to octoploid from comment #5) > (In reply to H.J. Lu from comment #2) > > (In reply to Igor Zamyatin from comment #1) > > > Dup of 588​53 > > > > There is no PR588​53. > > Looks like a

[Bug target/58853] [4.9 regression] ICE in expand_set_or_movmem_prologue_epilogue_by_misaligned_moves

2013-11-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58853 --- Comment #6 from H.J. Lu --- This diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 53e04c4..dd8d943 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -23766,6 +23766,7 @@ ix86_expand_set_or_movmem (rtx dst,

[Bug c++/58176] ICE in output_constant, at varasm.c:4658

2013-11-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58176 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|jason at gcc

[Bug c++/58176] ICE in output_constant, at varasm.c:4658

2013-11-07 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58176 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Nov 7 14:26:17 2013 New Revision: 204514 URL: http://gcc.gnu.org/viewcvs?rev=204514&root=gcc&view=rev Log: 2013-11-07 Paolo Carlini PR c++/58176 * varasm.c (out

[Bug other/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #1 from Richard Biener --- __builtin_longjmp/setjmp are just longjmp(3) setjmp(3) with their constraints. They should not be used directly but should be. The file looks scary.

[Bug other/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #2 from Richard Biener --- I suppose // alloca() to force generation of frame pointer. The argument to alloca // is contrived to prevent the compiler from optimizing it away. This // code should never actually be execute

[Bug other/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/59037] [4.8/4.9 Regression] ICE when accessing invalid element (nelts + 1) of vector

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59037 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 Richard Biener changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org Co

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #5 from Richard Biener --- But it seems cilk depends on implementation details of setjmp/longjmp which looks bogus anyway.

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #6 from H.J. Lu --- (In reply to Richard Biener from comment #4) > Ah, those are the builtins used for SJLJ and they get lowered to > setjmp_setup,dispatcher and longjmp. > > Don't use __builtin_setjmp as I said, use setjmp. > > I su

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #7 from Eric Botcazou --- > Ah, those are the builtins used for SJLJ and they get lowered to > setjmp_setup,dispatcher and longjmp. Right, they are the efficient version of setjmp/longjmp. > I suppose these shouldn't have been made c

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #8 from H.J. Lu --- (In reply to Eric Botcazou from comment #7) > > Ah, those are the builtins used for SJLJ and they get lowered to > > setjmp_setup,dispatcher and longjmp. > > Right, they are the efficient version of setjmp/longjmp.

[Bug rtl-optimization/59036] [4.9 regression] Performance degradation after r204212 on 32-bit x86 targets.

2013-11-07 Thread vmakarov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59036 --- Comment #2 from Vladimir Makarov --- (In reply to Yuri Rumyantsev from comment #0) > After patch to improve register preferencing in IRA and to *remove regmove* > pass we noticed performance degradation on several benchmarks from eembc2.0 > su

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #9 from Eric Botcazou --- > What restrictions do they have? Can they be used within the > same function? Can they be used within functions with parameters? The only restriction I know of is that they cannot be in the same function, it

[Bug tree-optimization/59025] [4.9 Regression] Revision 203979 causes failure in CPU2006 benchmark 435.gromacs

2013-11-07 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59025 --- Comment #4 from Peter Bergner --- Pat was working on that. He reported to me that he had gone through compiling each file with the "bad" options and did not hit the error, so it seems it is an interaction between multiple files and he was in

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #10 from H.J. Lu --- (In reply to Eric Botcazou from comment #9) > > What restrictions do they have? Can they be used within the > > same function? Can they be used within functions with parameters? > > The only restriction I know of

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #11 from Andreas Schwab --- In the latter testcase foo doesn't call a function so there is never a need to save anything.

[Bug target/59041] New: [4.8/4.9 Regression] Unnecessary vzeroupper generated

2013-11-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59041 Bug ID: 59041 Summary: [4.8/4.9 Regression] Unnecessary vzeroupper generated Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug target/59041] [4.8/4.9 Regression] Unnecessary vzeroupper generated

2013-11-07 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59041 --- Comment #1 from Uroš Bizjak --- This one is not unnecessary, it is emitted on purpose from generic mode-switching code: -- gcc/mode-switching.c -- /* Pretend the mode is clobbered across abnormal edges. */ { edge_iterato

[Bug rtl-optimization/59019] [4.9 regression] ICE in advance_target_bb, at sched-rgn.c:3561

2013-11-07 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59019 --- Comment #3 from Jeffrey A. Law --- OK, making a conditional no-return call into an unconditional no-return call would have the same problem. Ugh. The problem I see where is we're going to have to run some kind of cleanup pass after each RTL

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #12 from Eric Botcazou --- > %rdi holds the function parameter 'i'. But when __builtin_longjmp is > called, %rdi can have some random value. GCC doesn't save %rdi first. No, __builtin_longjmp doesn't touch %rdi at all. Don't worry

[Bug rtl-optimization/59019] [4.9 regression] ICE in advance_target_bb, at sched-rgn.c:3561

2013-11-07 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59019 --- Comment #4 from Eric Botcazou --- > The problem I see where is we're going to have to run some kind of cleanup > pass after each RTL pass that might make these transformations (cse, gcse, > cprop, combine and I'm sure others). That seems quit

[Bug libstdc++/59027] std::is_signed does not include check for is_arithmetic

2013-11-07 Thread marc.mutz at kdab dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59027 Marc Mutz changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug target/59041] [4.8/4.9 Regression] Unnecessary vzeroupper generated

2013-11-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59041 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/59027] std::is_signed does not include check for is_arithmetic

2013-11-07 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59027 --- Comment #4 from Daniel Krügler --- (In reply to Marc Mutz from comment #3) > See code posted in http://llvm.org/bugs/show_bug.cgi?id=17834 > is_unsigned fails, !is_signed succeeds. MouseButton is an enum. The assertion of the following code i

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #13 from H.J. Lu --- (In reply to Eric Botcazou from comment #12) > No, __builtin_longjmp doesn't touch %rdi at all. Don't worry too much, the > SJLJ mechanism of the C++ and Ada compilers has been piggybacked on this for > a couple o

[Bug libstdc++/59027] std::is_signed does not include check for is_arithmetic

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

[Bug libstdc++/59042] New: Declaration of back_insert_iterator::value_type is incorrect

2013-11-07 Thread cdodd at acm dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59042 Bug ID: 59042 Summary: Declaration of back_insert_iterator::value_type is incorrect Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Pr

[Bug libstdc++/59042] Declaration of back_insert_iterator::value_type is incorrect

2013-11-07 Thread cdodd at acm dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59042 --- Comment #1 from Chris Dodd --- The other type traits of back_insert_iterator should probably not be void, as well.

[Bug libstdc++/59027] std::is_signed does not include check for is_arithmetic

2013-11-07 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59027 --- Comment #6 from Jonathan Wakely --- (In reply to Marc Mutz from comment #0) > According to N3797 Table 49, both is_signed and is_unsigned should evaluate > to true_type only if the argument is_arithmetic, too. is_unsigned honours > this, but i

[Bug libstdc++/59042] Declaration of back_insert_iterator::value_type is incorrect

2013-11-07 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59042 --- Comment #3 from Jonathan Wakely --- And in [back.insert.iterator] the standard explicitly requires this: template class back_insert_iterator : public iterator{

[Bug tree-optimization/56764] vect_prune_runtime_alias_test_list not smart enough

2013-11-07 Thread congh at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56764 Cong Hou changed: What|Removed |Added CC||congh at google dot com --- Comment #2 from Co

[Bug libstdc++/59042] Declaration of back_insert_iterator::value_type is incorrect

2013-11-07 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59042 --- Comment #2 from Jonathan Wakely --- Your code is not valid, you should be using typename iterator_traits::value_type

[Bug libstdc++/59042] Declaration of back_insert_iterator::value_type is incorrect

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

[Bug tree-optimization/56764] vect_prune_runtime_alias_test_list not smart enough

2013-11-07 Thread congh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56764 --- Comment #3 from congh at gcc dot gnu.org --- Author: congh Date: Thu Nov 7 19:29:45 2013 New Revision: 204538 URL: http://gcc.gnu.org/viewcvs?rev=204538&root=gcc&view=rev Log: 2013-11-07 Cong Hou PR tree-optimization/56764 * tree-

[Bug middle-end/59037] [4.8/4.9 Regression] ICE when accessing invalid element (nelts + 1) of vector

2013-11-07 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59037 --- Comment #3 from Marc Glisse --- (In reply to Matthew Leach from comment #1) > Having a quick dig around the code, I think fold-const.c:16718 looks > suspicious: > > if (offset/part_widthi <= TYPE_VECTOR_SUBPARTS (op00type)) > > Likewise in c

[Bug tree-optimization/58984] [4.8/4.9 Regression] wrong code at -Os and above on x86_64-linux-gnu in 64-bit mode

2013-11-07 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58984 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug sanitizer/58994] asan.exp regressions on x86_64 darwin at -m64 but not -m32 at r204372

2013-11-07 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58994 --- Comment #2 from Dominique d'Humieres --- Note that the tests pass on x86_64-apple-darwin10 for both -m32 and -m64.

[Bug testsuite/59043] New: [4.9 Regression] FAIL: (gcc|++).dg/pubtypes* scan-assembler long.*Length of Public Type Names Info

2013-11-07 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59043 Bug ID: 59043 Summary: [4.9 Regression] FAIL: (gcc|++).dg/pubtypes* scan-assembler long.*Length of Public Type Names Info Product: gcc Version: 4.9.0 Status: UNCONFIRMED

[Bug fortran/58471] [4.8/4.9 Regression] ICE on invalid with missing type constructor and -Wall

2013-11-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58471 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|una

[Bug fortran/58471] [4.8/4.9 Regression] ICE on invalid with missing type constructor and -Wall

2013-11-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58471 --- Comment #6 from janus at gcc dot gnu.org --- Author: janus Date: Thu Nov 7 22:39:15 2013 New Revision: 204547 URL: http://gcc.gnu.org/viewcvs?rev=204547&root=gcc&view=rev Log: 2013-11-07 Janus Weil PR fortran/58471 * primary.c (gf

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #14 from Eric Botcazou --- > This is good to hear. What is each field? I assume that > the first 3 fields are frame address, resume address and > stack address. Are the same for all targets? What are > the maximum number of fields?

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #15 from H.J. Lu --- (In reply to Eric Botcazou from comment #14) > > This is good to hear. What is each field? I assume that > > the first 3 fields are frame address, resume address and > > stack address. Are the same for all targe

[Bug c++/59044] New: Internal compiler error triggers when accessing a typedef in a specialized member class

2013-11-07 Thread decaluwe.t at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59044 Bug ID: 59044 Summary: Internal compiler error triggers when accessing a typedef in a specialized member class Product: gcc Version: 4.8.1 Status: UNCONFIRMED Se

[Bug tree-optimization/56764] vect_prune_runtime_alias_test_list not smart enough

2013-11-07 Thread congh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56764 --- Comment #4 from congh at gcc dot gnu.org --- Author: congh Date: Fri Nov 8 02:08:05 2013 New Revision: 204557 URL: http://gcc.gnu.org/viewcvs?rev=204557&root=gcc&view=rev Log: 2013-11-07 Cong Hou Backport from mainline 2013-11-07

[Bug c++/18969] Invalid return statement diagnosed too late

2013-11-07 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18969 --- Comment #3 from Manuel López-Ibáñez --- It works in clang: test.cc:3:16: error: void function 'foo' should not return a value [-Wreturn-type] void foo() { return 0; } ^ ~

[Bug c++/18969] Invalid return statement diagnosed too late

2013-11-07 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18969 --- Comment #4 from Manuel López-Ibáñez --- Breakpoint 5, check_return_expr (retval=, no_warning=0x7fffdf2f) at /home/manuel/test1/src/gcc/cp/typeck.c:8311 B =>if (processing_template_decl) { current_function_returns_value = 1;

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

2013-11-07 Thread mingjie.xing at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48110 Mingjie Xing changed: What|Removed |Added CC||mingjie.xing at gmail dot com --- Comment

  1   2   >