[Bug middle-end/58585] [4.9 Regression] ICE in ipa with virtual inheritance

2013-10-03 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58585 --- Comment #7 from Jason Merrill --- (In reply to Jan Hubicka from comment #6) > It does not fix the problem, unfortunately. This is what happens: Ah, right. We don't have an A binfo in C's base list. I believe you can distinguish this case b

[Bug c++/58597] [c++11] ICE with lambda in default argument of template function

2013-10-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58597 --- Comment #2 from Paolo Carlini --- Now, Marek, since this is known to fail even with 4.5.0 (with -std=c++0x of course) there is definitely something wrong with your pointing to r180707. I wonder if the fact that before r180707 one couldn't use

[Bug c++/58600] [c++11] ICE on wrong usage of alignas

2013-10-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58600 --- Comment #2 from Paolo Carlini --- Not sure if we want to do much better than below: it's suboptimal from many points of view, but simply rejecting the alignas with the right location for the error message (cmp, clang) as we probably should, re

[Bug java/24242] Redundant null pointer checks generated on refrerences returned by new operator.

2013-10-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24242 Bug 24242 depends on bug 19476, which changed state. Bug 19476 Summary: Missed null checking elimination with new http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19476 What|Removed |Added ---

[Bug tree-optimization/58483] missing optimization opportunity for const std::vector compared to std::array

2013-10-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58483 Bug 58483 depends on bug 19476, which changed state. Bug 19476 Summary: Missed null checking elimination with new http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19476 What|Removed |Added ---

[Bug c++/19476] Missed null checking elimination with new

2013-10-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19476 Marc Glisse changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/58599] [c++11] Trouble with non-static data member initializers in templates

2013-10-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58599 --- Comment #2 from Paolo Carlini --- Marek, can you please double check the revision number? r180707 first blush seems unlikely to have caused the problem.

[Bug c++/19476] Missed null checking elimination with new

2013-10-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19476 --- Comment #18 from Marc Glisse --- Author: glisse Date: Thu Oct 3 23:48:18 2013 New Revision: 203194 URL: http://gcc.gnu.org/viewcvs?rev=203194&root=gcc&view=rev Log: 2013-10-04 Marc Glisse PR c++/19476 gcc/cp/ * decl.c (cxx_init_d

[Bug target/58615] New: [SH] Optimize simple function returns

2013-10-03 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58615 Bug ID: 58615 Summary: [SH] Optimize simple function returns Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target

[Bug target/54682] [SH] Replace constant loads with reg-reg copies

2013-10-03 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54682 --- Comment #3 from Oleg Endo --- A related case from CSiBE, linux-2.4.23-pre3-testplatform/net/ipv4/igmp.c, function _add_grhead: .L275: mov #0,r0 mov.b r11,@r8 mov.b r0,@(1,r8) mov #0,r0<< red

[Bug c++/58606] [4.8/4.9 Regression] [c++11] ICE with specialization in variadic template

2013-10-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58606 Paolo Carlini changed: What|Removed |Added Priority|P3 |P2

[Bug c++/58601] [meta-bug] alignas

2013-10-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58601 Bug 58601 depends on bug 58584, which changed state. Bug 58584 Summary: [c++11] ICE with invalid argument for alignas http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58584 What|Removed |Added ---

[Bug c++/58584] [c++11] ICE with invalid argument for alignas

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

[Bug target/51244] [SH] Inefficient conditional branch and code around T bit

2013-10-03 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51244 Oleg Endo changed: What|Removed |Added Attachment #30889|0 |1 is obsolete|

[Bug c++/58584] [c++11] ICE with invalid argument for alignas

2013-10-03 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58584 --- Comment #5 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Oct 3 22:50:59 2013 New Revision: 203193 URL: http://gcc.gnu.org/viewcvs?rev=203193&root=gcc&view=rev Log: /cp 2013-10-04 Paolo Carlini PR c++/58584 * decl2.c (

[Bug c++/58614] New: [c++11] ICE with undeclared variable in initializer list

2013-10-03 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58614 Bug ID: 58614 Summary: [c++11] ICE with undeclared variable in initializer list Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priori

[Bug c++/58613] New: [4.9 Regression] [c++1y] ICE with invalid lambda capture

2013-10-03 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58613 Bug ID: 58613 Summary: [4.9 Regression] [c++1y] ICE with invalid lambda capture Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priori

[Bug c++/58612] New: [4.8/4.9 Regression] [c++11] ICE calling non-constexpr from constexpr in template class

2013-10-03 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58612 Bug ID: 58612 Summary: [4.8/4.9 Regression] [c++11] ICE calling non-constexpr from constexpr in template class Product: gcc Version: 4.9.0 Status: UNCONFIRMED Se

[Bug middle-end/58585] [4.9 Regression] ICE in ipa with virtual inheritance

2013-10-03 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58585 --- Comment #6 from Jan Hubicka --- > > Is there way how to keep track of the vtables w/o doing the walk based on > > fields instead of BINFO_BASEs? > > There should be. Your code change makes sense to me; a primary base will > always be at offs

[Bug c++/58611] New: [4.7/4.8/4.9 Regression] [c++11] ICE with invalid constexpr constructor used in array initialization

2013-10-03 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58611 Bug ID: 58611 Summary: [4.7/4.8/4.9 Regression] [c++11] ICE with invalid constexpr constructor used in array initialization Product: gcc Version: 4.9.0 Status: UNCONFIRMED

[Bug c++/58610] New: [4.7/4.8/4.9 Regression] [c++11] ICE with constexpr of class with template constructor

2013-10-03 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58610 Bug ID: 58610 Summary: [4.7/4.8/4.9 Regression] [c++11] ICE with constexpr of class with template constructor Product: gcc Version: 4.9.0 Status: UNCONFIRMED Sev

[Bug c++/58609] New: [4.9 Regression] [c++11] ICE with uninitialized variable in constexpr

2013-10-03 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58609 Bug ID: 58609 Summary: [4.9 Regression] [c++11] ICE with uninitialized variable in constexpr Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/58608] New: Bootstrap fails with rev 202897, undefined references in libstdc++.a

2013-10-03 Thread pthaugen at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58608 Bug ID: 58608 Summary: Bootstrap fails with rev 202897, undefined references in libstdc++.a Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/58607] New: [4.9 Regression] ICE with undeclared variable in constexpr

2013-10-03 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58607 Bug ID: 58607 Summary: [4.9 Regression] ICE with undeclared variable in constexpr Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/58606] New: [4.8/4.9 Regression] [c++11] ICE with specialization in variadic template

2013-10-03 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58606 Bug ID: 58606 Summary: [4.8/4.9 Regression] [c++11] ICE with specialization in variadic template Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/58604] Text truncation in comments of /usr/include/c++/4.7/vector

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

[Bug libstdc++/58604] Text truncation in comments of /usr/include/c++/4.7/vector

2013-10-03 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58604 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Oct 3 20:33:05 2013 New Revision: 203187 URL: http://gcc.gnu.org/viewcvs?rev=203187&root=gcc&view=rev Log: 2013-10-03 John Woolverton PR libstdc++/58604 * inclu

[Bug libstdc++/58605] atomic::atomic() disobeys [atomics.types.operations.req]p4 for types with user-defined default constructors

2013-10-03 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58605 --- Comment #3 from Daniel Krügler --- (In reply to Jeffrey Yasskin from comment #2) It would still make sense to keep this issue open as "Deferred" waiting for the corresponding library issue resolution. I'll attach the issue number here for refe

[Bug libstdc++/58605] atomic::atomic() disobeys [atomics.types.operations.req]p4 for types with user-defined default constructors

2013-10-03 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58605 --- Comment #2 from Jeffrey Yasskin --- Thanks, Daniel. I think it would be totally reasonable to call this a bug in C++ rather than a bug in libstdc++.

[Bug libstdc++/58605] atomic::atomic() disobeys [atomics.types.operations.req]p4 for types with user-defined default constructors

2013-10-03 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58605 --- Comment #1 from Daniel Krügler --- Re initialization: I would think that the usage of "uninitialized state" is a wording issue that should better be clarified by a library issue. I don't think that the reference to C compatibility can be appli

[Bug middle-end/58585] [4.9 Regression] ICE in ipa with virtual inheritance

2013-10-03 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58585 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #5 f

[Bug libstdc++/58605] New: atomic::atomic() disobeys [atomics.types.operations.req]p4 for types with user-defined default constructors

2013-10-03 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58605 Bug ID: 58605 Summary: atomic::atomic() disobeys [atomics.types.operations.req]p4 for types with user-defined default constructors Product: gcc Version: 4.9.0

[Bug preprocessor/47857] Pragma once warning when compiling PCH

2013-10-03 Thread ripzonetriton at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47857 Joao Matos changed: What|Removed |Added CC||ripzonetriton at gmail dot com --- Comment #

[Bug c++/33911] attribute deprecated vs. templates

2013-10-03 Thread eraman at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33911 --- Comment #11 from eraman at gcc dot gnu.org --- Author: eraman Date: Thu Oct 3 17:39:35 2013 New Revision: 203174 URL: http://gcc.gnu.org/viewcvs?rev=203174&root=gcc&view=rev Log: 2013-10-03 Easwaran Raman PR c++/33911 * pa

[Bug regression/58603] [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia

2013-10-03 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603 --- Comment #4 from John David Anglin --- /usr/include/sys/sysmacros.h:#define m_slot(x) (int)((unsigned)(x)>>16&0xf) Header is included.

[Bug libstdc++/58604] Text truncation in comments of /usr/include/c++/4.7/vector

2013-10-03 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58604 --- Comment #2 from Jonathan Wakely --- It happened with the merge of the profile mode branch, in r152431

[Bug c++/58604] Text truncation in comments of /usr/include/c++/4.7/vector

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

[Bug c++/58604] New: Text truncation in comments of /usr/include/c++/4.7/vector

2013-10-03 Thread jdwoolverton at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58604 Bug ID: 58604 Summary: Text truncation in comments of /usr/include/c++/4.7/vector Product: gcc Version: 4.7.3 Status: UNCONFIRMED Severity: trivial Pri

[Bug regression/58603] [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia

2013-10-03 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603 --- Comment #3 from John David Anglin --- Created attachment 30952 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30952&action=edit Preprocessed source

[Bug regression/58603] [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia

2013-10-03 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603 --- Comment #2 from dave.anglin at bell dot net --- On 10/3/2013 12:39 PM, John David Anglin wrote: > Attached trans.ii.gz file. Sorry, .ii is too big to upload.

[Bug c++/58510] [4.9 Regression] [c++11] ICE with multiple non-static data initializations in union

2013-10-03 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58510 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/58510] [4.9 Regression] [c++11] ICE with multiple non-static data initializations in union

2013-10-03 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58510 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Thu Oct 3 16:33:23 2013 New Revision: 203165 URL: http://gcc.gnu.org/viewcvs?rev=203165&root=gcc&view=rev Log: PR c++/58510 cp/ * init.c (sort_mem_initializers): Splice when gi

[Bug c++/19476] Missed null checking elimination with new

2013-10-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19476 --- Comment #17 from Marc Glisse --- Author: glisse Date: Thu Oct 3 16:13:54 2013 New Revision: 203163 URL: http://gcc.gnu.org/viewcvs?rev=203163&root=gcc&view=rev Log: 2013-10-03 Marc Glisse PR c++/19476 gcc/c-family/ * c.opt (fchec

[Bug middle-end/58585] [4.9 Regression] ICE in ipa with virtual inheritance

2013-10-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58585 --- Comment #4 from Jan Hubicka --- This is the code I am playing with: /* Walk bases. */ for (i = 0; BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) /* Walking bases that have no virtual method is pointless excercise. */ if (polymor

[Bug middle-end/58585] [4.9 Regression] ICE in ipa with virtual inheritance

2013-10-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58585 Jan Hubicka changed: What|Removed |Added CC||jason at redhat dot com Blocks|

[Bug other/58545] [4.7/4.8/4.9 Regression] error: unable to find a register to spill in class 'POINTER_REGS'

2013-10-03 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58545 --- Comment #4 from Jorn Wolfgang Rennecke --- Created attachment 30951 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30951&action=edit patch currently under test

[Bug regression/58603] [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia

2013-10-03 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603 --- Comment #1 from Jonathan Wakely --- That error suggests that either slot_ or limit_ is defined as a macro somewhere

[Bug other/58545] [4.7/4.8/4.9 Regression] error: unable to find a register to spill in class 'POINTER_REGS'

2013-10-03 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58545 Jorn Wolfgang Rennecke changed: What|Removed |Added CC||amylaar at gcc dot gnu.org --- C

[Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia

2013-10-03 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603 Bug ID: 58603 Summary: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severi

Invocation mismatch - some data files may have been removed

2013-10-03 Thread prakharhp4
Hi, I am contacting you because i saw your responses related to some query that I am interested in. I hope you can help me out here. While executing shell script (*.sh) I am seeing some warnings. It is not letting my program run. Is this because of file mismatch or due to cup/copy of files.

[Bug c++/58596] [4.8/4.9 Regression] [c++11] ICE with decltype in non-static data member initializer

2013-10-03 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58596 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug target/58460] Error: shift amount out of range 0 to 4 at operand 3 -- `sub sp,x1,x0,lsl 9'

2013-10-03 Thread mshawcroft at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58460 mshawcroft at gcc dot gnu.org changed: What|Removed |Added CC||mshawcroft at gcc dot gnu.o

[Bug rtl-optimization/50749] Auto-inc-dec does not find subsequent contiguous mem accesses

2013-10-03 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50749 --- Comment #16 from Oleg Endo --- (In reply to bin.cheng from comment #15) > There must be another scenario for the example, and in this case example: > > int test_0 (char* p, int c) > { > int r = 0; > r += *p++; > r += *p++; > r += *p++

[Bug c++/58597] [c++11] ICE with lambda in default argument of template function

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

[Bug c++/58597] [c++11] ICE with lambda in default argument of template function

2013-10-03 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58597 --- Comment #1 from Marek Polacek --- Started with r180707.

[Bug c++/58600] [c++11] ICE on wrong usage of alignas

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

[Bug c++/58599] [c++11] Trouble with non-static data member initializers in templates

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

[Bug gcov-profile/58602] New: .gcno files not truncated at gcov_close

2013-10-03 Thread laurent.alfonsi at st dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58602 Bug ID: 58602 Summary: .gcno files not truncated at gcov_close Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-pro

[Bug rtl-optimization/55190] [SH] ivopts causes loop setup bloat

2013-10-03 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55190 --- Comment #4 from Oleg Endo --- (In reply to bin.cheng from comment #3) > ARM can benefit from doloop structure too, but it is implemented in > different way. ARM backend defines special addsi_compare pattern and let > combine pass combine decre

[Bug c++/58503] [c++11] ICE with invalid range in range-based for-loop

2013-10-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58503 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/58464] [4.9 Regression] Crashes with SIGSEGV (infinite recursion in phi_translate)

2013-10-03 Thread Ganesh.Gopalasubramanian at amd dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58464 GGanesh changed: What|Removed |Added CC||Ganesh.Gopalasubramanian@am |