[Bug fortran/61418] [4.9 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread trippels at gcc dot gnu.org
-lto Thread model: posix gcc version 4.9.1 20140605 (prerelease) (GCC) COMPILER_PATH=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.1/:/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.1/:/usr/libexec/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc

[Bug target/50928] m32c ICE building RTEMS

2014-06-05 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50928 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de --- C

[Bug fortran/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 Markus Trippelsdorf changed: What|Removed |Added Known to work||4.7.3, 4.8.3 Target Milestone|--

[Bug lto/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 Markus Trippelsdorf changed: What|Removed |Added Status|REOPENED|NEW CC|

[Bug lto/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 Richard Biener changed: What|Removed |Added Target||x86_64-linux-gnu --- Comment #4 from Ri

[Bug ipa/61393] [trans-mem] O3 optimization level constant propagation problem

2014-06-05 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61393 --- Comment #3 from Martin Jambor --- Author: jamborm Date: Thu Jun 5 09:12:14 2014 New Revision: 211259 URL: http://gcc.gnu.org/viewcvs?rev=211259&root=gcc&view=rev Log: 2014-06-05 Martin Jambor PR ipa/61393 * ipa-cp.c (determine_v

[Bug ipa/61393] [trans-mem] O3 optimization level constant propagation problem

2014-06-05 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61393 --- Comment #4 from Martin Jambor --- Author: jamborm Date: Thu Jun 5 09:13:56 2014 New Revision: 211260 URL: http://gcc.gnu.org/viewcvs?rev=211260&root=gcc&view=rev Log: 2014-06-05 Martin Jambor PR ipa/61393 * ipa-cp.c (determine_v

[Bug lto/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug driver/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 Richard Biener changed: What|Removed |Added Component|lto |driver --- Comment #6 from Richard Bien

[Bug driver/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 --- Comment #7 from Richard Biener --- gfortranspec.c does case OPT_L: if (!spec_file) spec_file = find_spec_file (decoded_options[i].arg); break; ... /* Read the specs file corresponding to libgfortran.

[Bug c/56724] sub-optimal location in error

2014-06-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724 --- Comment #14 from Marek Polacek --- Author: mpolacek Date: Thu Jun 5 09:35:05 2014 New Revision: 211261 URL: http://gcc.gnu.org/viewcvs?rev=211261&root=gcc&view=rev Log: PR c/56724 * c-typeck.c (convert_for_assignment): Use expr_loc

[Bug fortran/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 Richard Biener changed: What|Removed |Added Status|ASSIGNED|NEW Component|driver

[Bug bootstrap/61320] [4.10 regression] ICE in jcf-parse.c:1622 (parse_class_file

2014-06-05 Thread thomas.preudhomme at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61320 --- Comment #28 from Thomas Preud'homme --- (In reply to r...@cebitec.uni-bielefeld.de from comment #22) > > --- Comment #21 from Thomas Preud'homme > > --- > > > > There is a patch for bswap-2.c ready [0]. I'm just waiting for Andreas to > > c

[Bug fortran/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 --- Comment #9 from Richard Biener --- Index: gfortranspec.c === --- gfortranspec.c (revision 211228) +++ gfortranspec.c (working copy) @@ -449,12 +449,6 @@ For more inform

[Bug fortran/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 Richard Biener changed: What|Removed |Added CC|rguenther at suse dot de |rguenth at gcc dot gnu.org ---

[Bug fortran/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug testsuite/61319] The tests c-c++-common/ubsan/float-cast-overflow-(1|2|4).c fail on x86_64-apple-darwin*

2014-06-05 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61319 --- Comment #17 from Kirill Yukhin --- Author: kyukhin Date: Thu Jun 5 10:24:22 2014 New Revision: 211263 URL: http://gcc.gnu.org/viewcvs?rev=211263&root=gcc&view=rev Log: gcc/ PR tree-optimization/61319 * tree-if-conv.c (is_cond_scalar

[Bug c/61419] New: Hello World program compilation leads to internal compiler error

2014-06-05 Thread jerriclynsjohn at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61419 Bug ID: 61419 Summary: Hello World program compilation leads to internal compiler error Product: gcc Version: unknown Status: UNCONFIRMED Severity: blocker

[Bug c/61419] Hello World program compilation leads to internal compiler error

2014-06-05 Thread jerriclynsjohn at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61419 Jerric Lyns John changed: What|Removed |Added Severity|blocker |critical

[Bug c/61419] Hello World program compilation leads to internal compiler error

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61419 --- Comment #1 from Richard Biener --- I suspect that wayland uses a GCC plugin not compatible with GCC 4.8.

[Bug bootstrap/61320] [4.10 regression] ICE in jcf-parse.c:1622 (parse_class_file

2014-06-05 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61320 --- Comment #29 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #28 from Thomas Preud'homme --- > (In reply to r...@cebitec.uni-bielefeld.de from comment #22) >> > --- Comment #21 from Thomas Preud'homme > > com> --- >> > >> > There is

[Bug bootstrap/61320] [4.10 regression] ICE in jcf-parse.c:1622 (parse_class_file

2014-06-05 Thread thomas.preudhomme at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61320 --- Comment #30 from Thomas Preud'homme --- Can you run the test manually under gdb and tell me what is the value for the "out" variable in hex format?

[Bug c++/61038] g++ -E is unusable with UDL strings

2014-06-05 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61038 --- Comment #13 from emsr at gcc dot gnu.org --- Author: emsr Date: Thu Jun 5 11:12:08 2014 New Revision: 211266 URL: http://gcc.gnu.org/viewcvs?rev=211266&root=gcc&view=rev Log: PR c++/61038 I was asked to combine the escape logic for regular c

[Bug c++/61038] g++ -E is unusable with UDL strings

2014-06-05 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61038 --- Comment #14 from emsr at gcc dot gnu.org --- Author: emsr Date: Thu Jun 5 11:17:25 2014 New Revision: 211267 URL: http://gcc.gnu.org/viewcvs?rev=211267&root=gcc&view=rev Log: PR c++/61038 I was asked to combine the escape logic for regular c

[Bug fortran/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 --- Comment #12 from Markus Trippelsdorf --- (In reply to Richard Biener from comment #11) > Patch posted. Hmm, I see no patch. Forgot to post?

[Bug fortran/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 --- Comment #13 from rguenther at suse dot de --- On Thu, 5 Jun 2014, trippels at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 > > --- Comment #12 from Markus Trippelsdorf --- > (In reply to Richard Biener from c

[Bug c++/56961] stack overflow in gimplifier with volatile field

2014-06-05 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56961 --- Comment #5 from Paolo Carlini --- I think this is another manifestation of the issue discussed in cp-gimplify.c: /* Remove any copies of empty classes. We check that the RHS has a simple form so that TARGET_EXPRs and non-

[Bug c++/56961] stack overflow in gimplifier with volatile field

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56961 --- Comment #6 from Richard Biener --- The C++ gimplify langhook gimplifies the gimplifier generated vol.1 = b.fields as vol.1, b.fields; so it isn't a manifestation of the issue but a fallout of the attempt to fix it in the C++ gimplifie

[Bug c++/56961] stack overflow in gimplifier with volatile field

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56961 --- Comment #7 from Richard Biener --- I suggest Index: gcc/cp/cp-gimplify.c === --- gcc/cp/cp-gimplify.c(revision 211262) +++ gcc/cp/cp-gimplify.c(working copy) @@

[Bug c++/56961] stack overflow in gimplifier with volatile field

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56961 --- Comment #8 from Richard Biener --- (In reply to Richard Biener from comment #7) > I suggest > > Index: gcc/cp/cp-gimplify.c > === > --- gcc/cp/cp-gimplify.c(revision 211

[Bug c++/56961] stack overflow in gimplifier with volatile field

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56961 --- Comment #9 from Richard Biener --- (In reply to Richard Biener from comment #8) > (In reply to Richard Biener from comment #7) > > I suggest > > > > Index: gcc/cp/cp-gimplify.c > >

[Bug c++/61004] [4.10 Regression] Spurious warning: dereferencing type-punned pointer

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61004 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/61004] [4.10 Regression] Spurious warning: dereferencing type-punned pointer

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61004 --- Comment #9 from Richard Biener --- Author: rguenth Date: Thu Jun 5 12:42:29 2014 New Revision: 211272 URL: http://gcc.gnu.org/viewcvs?rev=211272&root=gcc&view=rev Log: 2014-06-05 Richard Biener PR c++/61004 * typeck.c (cp_build_

[Bug sanitizer/61408] r205695 breaks packaging step of Firefox 24 ESR on Ubuntu Lucid building with ASan

2014-06-05 Thread gk at torproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61408 --- Comment #7 from Georg Koppen --- (In reply to Jakub Jelinek from comment #6) > I'd say there is no point in doing that. Just build the compiler-rt library > and link it in statically (-static-libasan) with gcc instead of the gcc one. Hmm...

[Bug middle-end/61394] [4.10 regression] ICE in symtab_get_node

2014-06-05 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61394 jgreenhalgh at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/61330] [4.10 Regression] Thumb ICE for case 920507-1.c

2014-06-05 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61330 jgreenhalgh at gcc dot gnu.org changed: What|Removed |Added CC||sch...@linux-m68k.org --

[Bug target/61330] [4.10 Regression] Thumb ICE for case 920507-1.c

2014-06-05 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61330 jgreenhalgh at gcc dot gnu.org changed: What|Removed |Added Target||aarch64*-*-*, arm*-*-*,

[Bug c/61419] Hello World program compilation leads to internal compiler error

2014-06-05 Thread jerriclynsjohn at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61419 --- Comment #2 from Jerric Lyns John --- Its an issue with FC19 and not wayland.

[Bug c/61419] Hello World program compilation leads to internal compiler error

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61419 --- Comment #3 from Richard Biener --- I suggest to file a bug in Fedoras bugzilla then.

[Bug target/61411] [NEON] ICE in reload_cse_simplify_operands, at postreload.c:411

2014-06-05 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61411 --- Comment #2 from Vladimir Makarov --- (In reply to bin.cheng from comment #1) > The patch can fix the issue, but problem is why GCC/lra generated > register-indexing ([reg+reg]) addressing mode for V8HImode in the first > place. Since without

[Bug c++/56961] stack overflow in gimplifier with volatile field

2014-06-05 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56961 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug fortran/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 --- Comment #14 from Richard Biener --- Author: rguenth Date: Thu Jun 5 14:27:20 2014 New Revision: 211280 URL: http://gcc.gnu.org/viewcvs?rev=211280&root=gcc&view=rev Log: 2014-06-05 Richard Biener PR fortran/61418 * gfortranspec.c

[Bug fortran/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

2014-06-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61418 --- Comment #16 from Richard Biener --- Author: rguenth Date: Thu Jun 5 14:28:23 2014 New Revision: 211281 URL: http://gcc.gnu.org/viewcvs?rev=211281&root=gcc&view=rev Log: 2014-06-05 Richard Biener PR fortran/61418 * gfortranspec.c

[Bug ipa/61393] [trans-mem] O3 optimization level constant propagation problem

2014-06-05 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61393 Martin Jambor changed: What|Removed |Added Version|4.8.3 |4.10.0 --- Comment #5 from Martin Jambor

[Bug fortran/61420] New: type bound procedure with pass attribute, that returns a procedure pointer, fails to compile

2014-06-05 Thread robert.rosenberg at nrl dot navy.mil
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61420 Bug ID: 61420 Summary: type bound procedure with pass attribute, that returns a procedure pointer, fails to compile Product: gcc Version: 4.9.0 Status: UNCONFIRMED

[Bug fortran/61420] [4.7/4.8/4.9/4.10 Regression] type bound procedure with pass attribute, that returns a procedure pointer, fails to compile

2014-06-05 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61420 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/61421] New: Invalid -O2 optimization breaks program

2014-06-05 Thread mimamer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 Bug ID: 61421 Summary: Invalid -O2 optimization breaks program Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++

[Bug sanitizer/61422] New: False Asan positive in libopus

2014-06-05 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 Bug ID: 61422 Summary: False Asan positive in libopus Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #1 from Marat Zakirov --- Created attachment 32896 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32896&action=edit Proposed patch Only tested with asan testsuite on x64.

[Bug c/61423] New: Incorrect conversion from unsigned int to floating point

2014-06-05 Thread lvqcl.mail at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61423 Bug ID: 61423 Summary: Incorrect conversion from unsigned int to floating point Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pri

[Bug c/61423] Incorrect conversion from unsigned int to floating point

2014-06-05 Thread lvqcl.mail at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61423 --- Comment #1 from lvqcl.mail at gmail dot com --- Created attachment 32897 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32897&action=edit test program

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #2 from Jakub Jelinek --- Comment on attachment 32896 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32896 Proposed patch Can't reproduce it, are you sure you don't have extra patches in the tree (stringops currently don't use

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #3 from Marat Zakirov --- I fix it.

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #4 from Jakub Jelinek --- If you want a testcase that crashes even for me with current trunk, then e.g.: struct S { char c[16]; } __attribute__((packed)); __attribute__((noinline, noclone)) struct S foo (struct S *p) { asm volatile

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread mimamer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #1 from mimamer at gmail dot com --- A minimalistic version that breaks with all -O2 flags set: Starting from an empty main_list: Node *node; //asm volatile("":::"memory"); while ( (node = main_list.dequeue()) != main_list.end() )

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread mimamer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #2 from mimamer at gmail dot com --- Turns out the problems arise in different places but only in the list2::dequeue() function: inline T *dequeue() { //asm volatile("":::"memory"); T *head = anchor.next; anchor.next = hea

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #5 from Marat Zakirov --- Thank you for your quick response Jacub. Actually I take this issue from existing ffmpeg source so the test is just a truncated version. Following fail in my 4.10 without discovered fix: cat test.c #defin

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #6 from Marat Zakirov --- Created attachment 32898 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32898&action=edit Proposed patch Try this. It is mostly the same. No additional patches is needed. I hope it's reproducible.

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #3 from Andrew Pinski --- This seems alias related. Can you make sure you are not violating c/c++ alias rules. Mainly make sure T and typeof(anchor) can alias.

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #7 from Jakub Jelinek --- You still have: tree shadow_ptr_type = shadow_ptr_types[ real_size_in_bytes == 16 ? 1 : 0]; instead of: tree shadow_ptr_type = shadow_ptr_types[real_size_in_bytes == 16 ? 1 : 0]; And, I can't really repro

[Bug target/46219] Generate indirect jump instruction on x86-64

2014-06-05 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46219 --- Comment #4 from Kai Tietz --- Author: ktietz Date: Thu Jun 5 17:03:52 2014 New Revision: 211283 URL: http://gcc.gnu.org/viewcvs?rev=211283&root=gcc&view=rev Log: 2014-06-05 Kai Tietz Richard Henderson PR target/46219 *

[Bug target/46219] Generate indirect jump instruction on x86-64

2014-06-05 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46219 Kai Tietz changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread mimamer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #4 from mimamer at gmail dot com --- Indeed, this is alias-related. Two questions: (1) What is a concrete solution for this problem when -fstrict-aliasing is being used? How should I change my code? (Sorry, I am no expert on this.) (

[Bug lto/61334] [4.10 Regression] lto-cgraph.c:976:68: error: 'strnlen' was not declared in this scope

2014-06-05 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61334 --- Comment #6 from Rainer Orth --- It would be good to get this patch in now: without it, bootstrap on at least one primary platform is broken. Rainer

[Bug c++/61343] [C++11] Missing default initialization for class with default constructor

2014-06-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61343 --- Comment #1 from Jason Merrill --- Author: jason Date: Thu Jun 5 17:30:51 2014 New Revision: 211284 URL: http://gcc.gnu.org/viewcvs?rev=211284&root=gcc&view=rev Log: PR c++/61343 * decl.c (check_initializer): Maybe clear DECL_INI

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread mimamer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #5 from mimamer at gmail dot com --- T is derived from list2::node, and yes, I'm "up"casting from node to T. There is no other way around it in the implementation, and if this causes a problem with aliasing then I don't know what it's

[Bug c++/56961] stack overflow in gimplifier with volatile field

2014-06-05 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56961 --- Comment #11 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Jun 5 17:34:48 2014 New Revision: 211286 URL: http://gcc.gnu.org/viewcvs?rev=211286&root=gcc&view=rev Log: /cp 2014-06-05 Richard Biener Paolo Carlini P

[Bug c++/56961] stack overflow in gimplifier with volatile field

2014-06-05 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56961 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread mimamer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #6 from mimamer at gmail dot com --- Btw, C++ doesn't give me any aliasing warnings even with -Wstrict-aliasing=1.

[Bug tree-optimization/61289] [4.9/4.10 Regression] Bad jump threading generates infinite loop

2014-06-05 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61289 --- Comment #3 from Jeffrey A. Law --- Author: law Date: Thu Jun 5 18:25:02 2014 New Revision: 211287 URL: http://gcc.gnu.org/viewcvs?rev=211287&root=gcc&view=rev Log: PR tree-optimization/61289 * tree-ssa-threadedge.c (invalidate_equiv

[Bug debug/52472] ICE: in convert_debug_memory_address, at cfgexpand.c:2491

2014-06-05 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52472 --- Comment #9 from Jeffrey A. Law --- Author: law Date: Thu Jun 5 18:34:43 2014 New Revision: 211288 URL: http://gcc.gnu.org/viewcvs?rev=211288&root=gcc&view=rev Log: PR target/52472 * cfgexpand.c (expand_debug_expr): Use address space

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread mimamer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #7 from mimamer at gmail dot com --- Violation of aliasing or not, the problem arises prior to the downcasting from list2::node* to T*: T *head = anchor.next; anchor.next = head->next; head->next->prev = (T *)&anchor; // w

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread mimamer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #8 from mimamer at gmail dot com --- As concerns -fno-strict-aliasing, I have to put it before -O2. Sorry for the mixup.

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2014-06-05 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #12 from Jeffrey A. Law --- Author: law Date: Thu Jun 5 19:36:03 2014 New Revision: 211289 URL: http://gcc.gnu.org/viewcvs?rev=211289&root=gcc&view=rev Log: 2014-06-05 S. Gilles PR c/53119 * c-typeck.c (push_init_level,

[Bug testsuite/61415] PowerPC test gcc.target/powerpc/tfmode_off.c fails if -mlong-double-64

2014-06-05 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61415 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread mimamer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #9 from mimamer at gmail dot com --- Now that I have read enough about aliasing rules I realize that they are considerably fucked up and that their is no way to efficiently downcast without violating strict aliasing rules. In explanati

[Bug libstdc++/61424] New: std::regex matches right to left, not leftmost longest

2014-06-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61424 Bug ID: 61424 Summary: std::regex matches right to left, not leftmost longest Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug libstdc++/61425] New: std::regex ignores backslash when using basic or grep grammars

2014-06-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61425 Bug ID: 61425 Summary: std::regex ignores backslash when using basic or grep grammars Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/61425] std::regex ignores backslash when using basic or grep grammars

2014-06-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61425 --- Comment #1 from Jonathan Wakely --- Correction: it ignores it with -std=gnu++11, it throws regex_error with -std=c++11 So it's treating \| as illegal, which is wrong for a POSIX BRE.

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug libstdc++/61425] std::regex ignores backslash when using basic or grep grammars

2014-06-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61425 --- Comment #2 from Jonathan Wakely --- Hmm, I guess I shouldn't trust man pages, a POSIX BRE doesn't allow \| Both GNU and BSD grep do allow 'a\|b' in a BRE though ... still trying to determine if it should be allowed for the grep grammar or f

[Bug libstdc++/61426] New: [C++11] std::deque requires more from allocator than the standard provides.

2014-06-05 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61426 Bug ID: 61426 Summary: [C++11] std::deque requires more from allocator than the standard provides. Product: gcc Version: unknown Status: UNCONFIRMED Severity: n

[Bug libstdc++/61425] std::regex ignores backslash when using basic or grep grammars

2014-06-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61425 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/61426] [C++11] std::deque requires more from allocator than the standard provides.

2014-06-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61426 --- Comment #1 from Jonathan Wakely --- Yes, this is well known and documented

[Bug libstdc++/61426] [C++11] std::deque requires more from allocator than the standard provides.

2014-06-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61426 --- Comment #2 from Jonathan Wakely --- std::list and std::string don't meet the C++11 allocator reqs either, please don't report them ;-)

[Bug c++/43453] Initialization of char array with string literal fails in mem-initializer

2014-06-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43453 --- Comment #9 from Jason Merrill --- Author: jason Date: Thu Jun 5 20:55:44 2014 New Revision: 211290 URL: http://gcc.gnu.org/viewcvs?rev=211290&root=gcc&view=rev Log: PR c++/43453 * decl.c (check_initializer): Collapse a TREE_LIST her

[Bug libstdc++/61424] std::regex matches right to left, not leftmost longest

2014-06-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61424 --- Comment #1 from Jonathan Wakely --- A slight variation: #include #include using namespace std; int main() { regex_constants::syntax_option_type grammar[] = { regex_constants::ECMAScript, regex_constants::extended, regex_constan

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread mimamer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #11 from mimamer at gmail dot com --- In short form, template class list2 { public: struct node { T*next; T*prev; }; nodeanchor; public: /* API */ } struct Obj : list2::node { /*

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #12 from Andrew Pinski --- (In reply to mimamer from comment #11) > In short form, > > template class list2 > { > public: > struct node { > T *next; > T *prev; > }; > > nod

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread mimamer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #14 from mimamer at gmail dot com --- Can you explain what you mean by "use type node inside the struct node"? Because I still cannot see an (efficient) way for solving this problem.

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #15 from Andrew Pinski --- template class list2 { public: struct node { node*next; node*prev; }; nodeanchor; public: /* API */ } struct Obj : list2::node { /* obj-specific element

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread mimamer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #16 from mimamer at gmail dot com --- Ah ok, but that doesn't solve my problem as I will eventually need to cast a node pointer back to T (either at the caller or the callee side). So there _is_ no efficient solution with strict aliasi

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #17 from Andrew Pinski --- (In reply to mimamer from comment #16) > Ah ok, but that doesn't solve my problem as I will eventually need to cast a > node pointer back to T (either at the caller or the callee side). So there > _is_ no ef

[Bug other/61427] New: Fail to build due to #error GATHER_STATISTICS must be defined

2014-06-05 Thread Torsten at Robitzki dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61427 Bug ID: 61427 Summary: Fail to build due to #error GATHER_STATISTICS must be defined Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/61421] Invalid -O2 optimization breaks program

2014-06-05 Thread mimamer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61421 --- Comment #18 from mimamer at gmail dot com --- Ah? I didn't figure that was allowed per strict aliasing rules. But it still doesn't solve one problem: inline T *dequeue() { node *head = anchor.next; anchor.next = head->next; head->

[Bug libstdc++/61424] std::regex matches right to left, not leftmost longest

2014-06-05 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61424 --- Comment #2 from Tim Shen --- Sorry, the preference of results of "|" is actually arbitrary. I'll fix it later.

[Bug other/61427] Fail to build due to #error GATHER_STATISTICS must be defined

2014-06-05 Thread Torsten at Robitzki dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61427 --- Comment #1 from Torsten Robitzki --- I've tried the same configuration with gcc 4.8.3. The same error occurs in the config.log, but this time the build stops with: g++ -I../../libcpp -I. -I../../libcpp/../include -I./../intl -I../../libcpp/

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2014-06-05 Thread nightstrike at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment #

  1   2   >