[Bug c++/52957] Missing suggestions on '=' and '==' confusion

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52957 --- Comment #6 from davidxl 2012-04-13 05:01:56 UTC --- I think you indirectly proved my point (see below) :) (In reply to comment #5) > Maintainers (those who decide) are too few and they either do not care or do > not have time to fix these th

[Bug target/52941] SH Target: Add support for movco.l / movli.l atomics on SH4A

2012-04-12 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52941 --- Comment #3 from Kazumoto Kojima 2012-04-13 03:29:25 UTC --- (In reply to comment #2) > One more thing regarding movco/movli ... do you think it's OK to use them also > to do atomics on types < SImode? As far as I can see it should be safe to

[Bug c++/24985] caret diagnostics

2012-04-12 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24985 --- Comment #33 from Paolo Carlini 2012-04-13 02:25:48 UTC --- Thanks Manu for the reminder, I have a couple of pending things in my TODO and then I will resurrect it for the great 'caret times' ;)

[Bug c/52946] Unable to define a Block variable

2012-04-12 Thread lunfis at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52946 --- Comment #3 from Lund 2012-04-13 01:08:12 UTC --- OK, my mistake. I did not realize Apple's gcc was that different. In case, anyone else comes across this issue, I was able to work around it by installing clang/LLVM and get the 'blocks' librar

[Bug c++/52957] Missing suggestions on '=' and '==' confusion

2012-04-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52957 --- Comment #5 from Manuel López-Ibáñez 2012-04-13 01:03:28 UTC --- Maintainers (those who decide) are too few and they either do not care or do not have time to fix these things. Existing or new contributors that are paid to do something specifi

[Bug fortran/52968] New: Call to type-bound procedure produces wrongly rejected

2012-04-12 Thread reubendb at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52968 Bug #: 52968 Summary: Call to type-bound procedure produces wrongly rejected Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/52967] Segmentation fault on std::vector destruction

2012-04-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52967 Andrew Pinski changed: What|Removed |Added Component|libstdc++ |c++ --- Comment #1 from Andrew Pinski 20

[Bug c++/52955] Missing warning on wrong sizeof usage

2012-04-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52955 --- Comment #1 from Andrew Pinski 2012-04-13 00:09:12 UTC --- http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00158.html

[Bug libstdc++/52967] New: Segmentation fault on std::vector destruction

2012-04-12 Thread karlicoss at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52967 Bug #: 52967 Summary: Segmentation fault on std::vector destruction Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pr

[Bug c++/52966] New: ill-formed template constexpr functions are accepted?

2012-04-12 Thread drwowe at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52966 Bug #: 52966 Summary: ill-formed template constexpr functions are accepted? Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: minor

[Bug c++/52957] Missing suggestions on '=' and '==' confusion

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52957 --- Comment #4 from davidxl 2012-04-12 23:28:38 UTC --- (In reply to comment #3) > Yep, a dup. > > I am sorry David, but many of these deficiencies are well-known. What GCC > sorely needs is people working on fixing them, and that is an issue th

[Bug c++/52964] No warning on negative array size in template instantatiation

2012-04-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52964 --- Comment #5 from Manuel López-Ibáñez 2012-04-12 23:25:36 UTC --- (In reply to comment #4) > (In reply to comment #3) > > With -fsyntax-only, the warning is not emitted -- any reason for that? > > Yes because -fsyntax-only does not do templat

[Bug c++/52964] No warning on negative array size in template instantatiation

2012-04-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52964 --- Comment #4 from Andrew Pinski 2012-04-12 23:23:31 UTC --- (In reply to comment #3) > With -fsyntax-only, the warning is not emitted -- any reason for that? Yes because -fsyntax-only does not do template instantatiations at all IIRC.

[Bug c++/52961] Missing warning on empty if

2012-04-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52961 Manuel López-Ibáñez changed: What|Removed |Added CC||gdr at gcc dot gnu.org,

[Bug c++/52964] No warning on negative array size in template instantatiation

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52964 --- Comment #3 from davidxl 2012-04-12 23:19:33 UTC --- (In reply to comment #2) > And with trunk we print: > > pr52964.cc: In instantiation of ‘struct S1<4>’: > pr52964.cc:2:49: required from ‘struct S2’ > pr52964.cc:3:45: required from ‘vo

[Bug c++/52962] Column number incorrect in error

2012-04-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52962 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comment

[Bug c/52958] Missing warning on missed parehthesis

2012-04-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52958 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug c++/52964] No warning on negative array size in template instantatiation

2012-04-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52964 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comment

[Bug c++/52961] Missing warning on empty if

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52961 --- Comment #3 from davidxl 2012-04-12 23:11:10 UTC --- (In reply to comment #2) > Yes, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36478 . thanks. I tried -Wempty-body, gcc gives warning as expected: emptyif.cpp: In function 'int test(int

[Bug c++/52957] Missing suggestions on '=' and '==' confusion

2012-04-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52957 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/29280] misleading warning for assignment used as truth construct

2012-04-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29280 Manuel López-Ibáñez changed: What|Removed |Added CC||xinliangli at gmail dot com --- Com

[Bug libstdc++/52938] std::string::reserve request is not maintained if object is used in other object copy ctor

2012-04-12 Thread abdul.tohmaz at emc dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52938 --- Comment #12 from Abdul Tohmaz 2012-04-12 23:07:32 UTC --- (In reply to comment #11) > The benefits and problems of reference-counted strings are well known and it's > not going to be changed now, std::string is stable and effectively frozen

[Bug c++/52962] Column number incorrect in error

2012-04-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52962 --- Comment #1 from Andrew Pinski 2012-04-12 23:06:20 UTC --- That requires tracking of macros.

[Bug c++/52964] No warning on negative array size in template instantatiation

2012-04-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52964 --- Comment #1 from Andrew Pinski 2012-04-12 23:04:05 UTC --- pinskia@server:~$ ~/treecombine-gcc/bin/gcc t.cc t.cc: In instantiation of ‘struct S1<4>’: t.cc:4:49: required from ‘struct S2’ t.cc:5:45: required from ‘void foo(T) [with T = int]

[Bug c++/52959] Missing typo suggestions

2012-04-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52959 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comment

[Bug libstdc++/52604] mt allocator crashes on multi-threaded

2012-04-12 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52604 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/52957] Missing suggestions on '=' and '==' confusion

2012-04-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52957 --- Comment #2 from Andrew Pinski 2012-04-12 22:59:55 UTC --- If it is about how clear suggestion the warning gives, then it is a dup of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29280 .

[Bug c++/52965] c++11 - subclass is private, but g++ ignores access modifier when using auto

2012-04-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52965 --- Comment #1 from Jonathan Wakely 2012-04-12 22:56:05 UTC --- I don't think it's a bug. G++ doesn't ignore access checking, you never use the name PVT so there's no violation. The type exists, you just can't access the name PVT. But you can

[Bug c++/52957] Missing suggestions on '=' and '==' confusion

2012-04-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52957 --- Comment #1 from Andrew Pinski 2012-04-12 22:54:23 UTC --- Works for me: pinskia@server:~$ ~/treecombine-gcc/bin/gcc t.c -W -S -Wall t.c: In function ‘test’: t.c:5:2: warning: suggest parentheses around assignment used as truth value [-Wparen

[Bug c++/52959] Missing typo suggestions

2012-04-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52959 --- Comment #1 from Andrew Pinski 2012-04-12 22:51:47 UTC --- I think this is the same as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52277 .

[Bug c++/52961] Missing warning on empty if

2012-04-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52961 --- Comment #2 from Andrew Pinski 2012-04-12 22:49:24 UTC --- Yes, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36478 .

[Bug c++/52965] New: c++11 - subclass is private, but g++ ignores access modifier when using auto

2012-04-12 Thread jwcacces at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52965 Bug #: 52965 Summary: c++11 - subclass is private, but g++ ignores access modifier when using auto Classification: Unclassified Product: gcc Version: 4.6.2 Status: UN

[Bug c++/52961] Missing warning on empty if

2012-04-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52961 --- Comment #1 from Andrew Pinski 2012-04-12 22:47:23 UTC --- I think we had this warning and then removed it. Let me find the history which I think is in bugzilla already.

[Bug libstdc++/52822] [C++11] stable_partition destroys sequence due to inappropriate self-move-assignment

2012-04-12 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52822 Jeffrey Yasskin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug target/52828] powerpc -m32 -Os writes register saves below stack

2012-04-12 Thread amodra at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52828 --- Comment #1 from Alan Modra 2012-04-12 22:26:28 UTC --- Author: amodra Date: Thu Apr 12 22:26:24 2012 New Revision: 186397 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186397 Log: PR target/52828 * config/rs6000/rs6000.c (rs6

[Bug libstdc++/52822] [C++11] stable_partition destroys sequence due to inappropriate self-move-assignment

2012-04-12 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52822 --- Comment #11 from Jeffrey Yasskin 2012-04-12 22:26:08 UTC --- Author: jyasskin Date: Thu Apr 12 22:26:02 2012 New Revision: 186396 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186396 Log: Fix PR52822 by explicitly checking for object

[Bug c++/52964] New: No warning on negative array size in template instantatiation

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52964 Bug #: 52964 Summary: No warning on negative array size in template instantatiation Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug c++/52963] New: Missing error on pack expansion

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52963 Bug #: 52963 Summary: Missing error on pack expansion Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/52962] New: Column number incorrect in error

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52962 Bug #: 52962 Summary: Column number incorrect in error Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/52961] New: Missing warning on empty if

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52961 Bug #: 52961 Summary: Missing warning on empty if Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/52960] New: Missing warnings on ambiguous source : function decl vs local var decl

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52960 Bug #: 52960 Summary: Missing warnings on ambiguous source : function decl vs local var decl Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIR

[Bug c++/52915] [C++11] Deleted default-constructor of anonymous unions not honored

2012-04-12 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52915 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/52959] New: Missing typo suggestions

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52959 Bug #: 52959 Summary: Missing typo suggestions Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug c++/52958] New: Missing warning on missed parehthesis

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52958 Bug #: 52958 Summary: Missing warning on missed parehthesis Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/52957] New: Missing suggestions on '=' and '==' confusion

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52957 Bug #: 52957 Summary: Missing suggestions on '=' and '==' confusion Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/24985] caret diagnostics

2012-04-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24985 --- Comment #32 from Manuel López-Ibáñez 2012-04-12 21:58:59 UTC --- (In reply to comment #31) > The effect of this patch on overload resolution diagnostics is problematic: > wa2.C: In function ‘int main()’: > wa2.C:6:6: error: no matching functi

[Bug c++/52956] New: Missing overflow warning

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52956 Bug #: 52956 Summary: Missing overflow warning Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug c++/52955] New: Missing warning on wrong sizeof usage

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52955 Bug #: 52955 Summary: Missing warning on wrong sizeof usage Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/52954] Missing bounds check warning

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52954 --- Comment #1 from davidxl 2012-04-12 21:56:07 UTC --- Another example: constexpr int arr_size = 42; constexpr int N = 44; void f(int); int test() { int arr[arr_size]; // ... f(arr[N]); // ... if (N < arr_size) return arr[N];

[Bug libstdc++/52604] mt allocator crashes on multi-threaded

2012-04-12 Thread laurent.alfonsi at st dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52604 --- Comment #12 from Laurent Aflonsi 2012-04-12 21:55:42 UTC --- Thanks very much Paolo. It works fine on SH4 also. Is that enough to push the patch ? Laurent

[Bug c++/52954] New: Missing bounds check warning

2012-04-12 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52954 Bug #: 52954 Summary: Missing bounds check warning Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/52953] g++-4.7.0 fails to detect function parameter name redeclarations.

2012-04-12 Thread meng at g dot clemson.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52953 --- Comment #1 from meng at g dot clemson.edu 2012-04-12 21:53:36 UTC --- another example showing violation of c++11 3.3.3/4 BEGIN --- int main () { if (int a = 1) { void a (); // 1 } e

[Bug c++/24985] caret diagnostics

2012-04-12 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24985 --- Comment #31 from Jason Merrill 2012-04-12 21:44:23 UTC --- The effect of this patch on overload resolution diagnostics is problematic: - void f(); void f(int,int); int main() { f(1); } - wa2.C: In function ‘int main()’: wa2.C:6:6

[Bug libstdc++/52822] [C++11] stable_partition destroys sequence due to inappropriate self-move-assignment

2012-04-12 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52822 --- Comment #10 from Jeffrey Yasskin 2012-04-12 21:42:00 UTC --- Author: jyasskin Date: Thu Apr 12 21:41:55 2012 New Revision: 186394 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186394 Log: Fix PR52822 (stable_partition move-assigns ob

[Bug c++/44811] non controllable bogus warning: right/left shift count is negative

2012-04-12 Thread drwowe at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44811 D W changed: What|Removed |Added CC||drwowe at yahoo dot com --- Comment #3 from D W 20

[Bug c++/52953] New: g++-4.7.0 fails to detect function parameter name redeclarations.

2012-04-12 Thread meng at g dot clemson.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52953 Bug #: 52953 Summary: g++-4.7.0 fails to detect function parameter name redeclarations. Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c++/52951] internal compiler error with c++11 initializer lists and C arrays

2012-04-12 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52951 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/31754] Improve column number accuracy in error messages

2012-04-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31754 Manuel López-Ibáñez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c/52952] Wformat location info is bad (wrong column number)

2012-04-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52952 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic Status|UNCON

[Bug c/52952] New: Wformat location info is bad (wrong column number)

2012-04-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52952 Bug #: 52952 Summary: Wformat location info is bad (wrong column number) Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/52775] Change default for using FCFID instruction

2012-04-12 Thread meissner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52775 --- Comment #2 from Michael Meissner 2012-04-12 21:00:17 UTC --- Author: meissner Date: Thu Apr 12 21:00:07 2012 New Revision: 186392 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186392 Log: [gcc] 2012-04-12 Michael Meissner Bac

[Bug libstdc++/52822] [C++11] stable_partition destroys sequence due to inappropriate self-move-assignment

2012-04-12 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52822 --- Comment #9 from Jeffrey Yasskin 2012-04-12 20:59:14 UTC --- Author: jyasskin Date: Thu Apr 12 20:59:09 2012 New Revision: 186391 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186391 Log: Fix PR52822 (stable_partition move-assigns obj

[Bug testsuite/52948] [4.8 Regression] UNRESOLVED: selfassign.c in gcc/g++, one_time_plugin.c in gcc, and dumb_plugin.c in g++

2012-04-12 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52948 --- Comment #3 from Dominique d'Humieres 2012-04-12 20:54:35 UTC --- Indeed, removing the lines TODO_dump_func/* todo_flags_finish */ fixes the PR (I don't have write permissions).

[Bug c++/52951] New: internal compiler error with c++11 initializer lists and C arrays

2012-04-12 Thread drwowe at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52951 Bug #: 52951 Summary: internal compiler error with c++11 initializer lists and C arrays Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c++/46400] g++ Segmentation Fault on heavily templated project.

2012-04-12 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46400 --- Comment #13 from Peter Bergner 2012-04-12 19:16:16 UTC --- Created attachment 27145 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27145 Test case from EMAN2 Here's yet another test case that fails (on powerpc64-linux) and is fixed on m

[Bug c/52946] Unable to define a Block variable

2012-04-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52946 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/52932] AVX2 intrinsic _mm256_permutevar8x32_ps has wrong parameter type

2012-04-12 Thread uros at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52932 --- Comment #9 from uros at gcc dot gnu.org 2012-04-12 18:37:47 UTC --- Author: uros Date: Thu Apr 12 18:37:42 2012 New Revision: 186388 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186388 Log: PR target/52932 * config/i386/avx2in

[Bug target/52775] Change default for using FCFID instruction

2012-04-12 Thread meissner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52775 --- Comment #1 from Michael Meissner 2012-04-12 17:10:38 UTC --- Author: meissner Date: Thu Apr 12 17:10:27 2012 New Revision: 186387 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186387 Log: [gcc] 2012-04-11 Michael Meissner PR

[Bug target/52932] AVX2 intrinsic _mm256_permutevar8x32_ps has wrong parameter type

2012-04-12 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52932 --- Comment #8 from Uros Bizjak 2012-04-12 17:10:31 UTC --- (In reply to comment #5) > Uros, I've slightly updated your patch: idx and vector were intermixed. The same cure should be applied to vpermd insn. Fortunately, this allowed us to vecto

[Bug target/52932] AVX2 intrinsic _mm256_permutevar8x32_ps has wrong parameter type

2012-04-12 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52932 --- Comment #7 from Uros Bizjak 2012-04-12 17:07:56 UTC --- Created attachment 27144 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27144 Even more updated patch Patch that also fixes vpermd insn.

[Bug middle-end/52939] [4.7/4.8 Regression] ice in gimple_get_virt_method_for_binfo with -O3

2012-04-12 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52939 --- Comment #3 from Martin Jambor 2012-04-12 17:05:01 UTC --- Created attachment 27143 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27143 Simple testcase This should be a simpler testcase. What happens is that we are attempting to devirt

[Bug libstdc++/52950] New: --enable-symvers=gnu-versioned-namespace exports symbol twice.

2012-04-12 Thread pluto at agmk dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52950 Bug #: 52950 Summary: --enable-symvers=gnu-versioned-namespace exports symbol twice. Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED

[Bug inline-asm/49611] Inline asm should support input/output of flags

2012-04-12 Thread scovich at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49611 --- Comment #3 from Ryan Johnson 2012-04-12 16:39:32 UTC --- FYI: based on a discussion from quite some time ago [1], it seems that the Linux kernel folks would be "tickled pink" to have this feature, and discussed several potential ways to imple

[Bug target/46072] AIX linker chokes on debug info for uninitialized static variables

2012-04-12 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46072 Daniel Richard G. changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug libstdc++/52604] mt allocator crashes on multi-threaded

2012-04-12 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52604 --- Comment #11 from Paolo Carlini 2012-04-12 16:29:32 UTC --- In mainline, for x86_64-linux, the below patchlet indeed avoids the valgrind errors and passes make check, make check-performance. Index: src/c++98/mt_allocator.cc ==

[Bug tree-optimization/52734] [4.7/4.8 Regression] Incorrect optimization of uClibc sbrk()

2012-04-12 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52734 --- Comment #15 from vries at gcc dot gnu.org 2012-04-12 16:25:28 UTC --- Created attachment 27142 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27142 pr52734.2.patch Another tentative patch. Also not precise, but a simpler approach. Now te

[Bug c/52946] Unable to define a Block variable

2012-04-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52946 Andrew Pinski changed: What|Removed |Added Severity|major |enhancement --- Comment #1 from Andrew Pi

[Bug tree-optimization/18589] could optimize FP multiplies better

2012-04-12 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18589 William J. Schmidt changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/18589] could optimize FP multiplies better

2012-04-12 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18589 --- Comment #9 from William J. Schmidt 2012-04-12 16:15:24 UTC --- Author: wschmidt Date: Thu Apr 12 16:15:13 2012 New Revision: 186384 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186384 Log: gcc: 2012-04-12 Bill Schmidt PR tr

[Bug c++/52949] decltype too sensitive to order of declarations?

2012-04-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52949 --- Comment #2 from Jonathan Wakely 2012-04-12 16:12:15 UTC --- this is no different to; struct Vector { static const int i = sizeof(member_); // error int member_; static const int j = sizeof(member_); // ok };

[Bug c++/52949] decltype too sensitive to order of declarations?

2012-04-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52949 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug other/52944] [4.5/4.6 Regression] __builtin_object_size(..., 1) no longer returns (size_t)-1 for consecutive flexible/zero-length array members

2012-04-12 Thread vapier at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52944 --- Comment #4 from Mike Frysinger 2012-04-12 15:42:49 UTC --- (In reply to comment #3) wouldn't it though ? there's still a top level union there surrounding all the members. so flattening it, i'd get three choices: - th_block; th_data - th

[Bug libstdc++/52604] mt allocator crashes on multi-threaded

2012-04-12 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52604 Paolo Carlini changed: What|Removed |Added CC|jakub at redhat dot com |paolo.carlini at oracle dot

[Bug bootstrap/52947] [4.7/4.8 Regression] bootstrap fails due to wrong include search path composition

2012-04-12 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52947 --- Comment #2 from Rainer Emrich 2012-04-12 15:36:11 UTC --- (In reply to comment #1) > I remember Kai did surgery in this place. Did you identify a patch that > caused > this regression? My bet would be > > 2011-03-25 Kai Tietz > >

[Bug other/52944] [4.5/4.6 Regression] __builtin_object_size(..., 1) no longer returns (size_t)-1 for consecutive flexible/zero-length array members

2012-04-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52944 --- Comment #3 from Richard Guenther 2012-04-12 15:28:10 UTC --- (In reply to comment #2) > if you look at the tftp example, you'd see that your proposed struct does not > work. the protocol needs two flexible array members at different starting

[Bug testsuite/52948] [4.8 Regression] UNRESOLVED: selfassign.c in gcc/g++, one_time_plugin.c in gcc, and dumb_plugin.c in g++

2012-04-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52948 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/52949] New: decltype too sensitive to order of declarations?

2012-04-12 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52949 Bug #: 52949 Summary: decltype too sensitive to order of declarations? Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal P

[Bug other/52944] [4.5/4.6 Regression] __builtin_object_size(..., 1) no longer returns (size_t)-1 for consecutive flexible/zero-length array members

2012-04-12 Thread vapier at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52944 Mike Frysinger changed: What|Removed |Added Known to work||4.4.7 Known to fail|

[Bug c/52862] [4.5/4.6/4.7/4.8 Regression] ICE convert_to_pointer, at convert.c:50

2012-04-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52862 Richard Guenther changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned

[Bug middle-end/52939] [4.7/4.8 Regression] ice in gimple_get_virt_method_for_binfo with -O3

2012-04-12 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52939 Martin Jambor changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at

[Bug other/52937] [4.8 Regression] ICE in several cpu2006 benchmarks with -fprofile-use (assert in get_loop_body)

2012-04-12 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52937 William J. Schmidt changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c/52549] [4.8 Regression] ice in pointer_diff

2012-04-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52549 Richard Guenther changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned

[Bug libstdc++/52604] mt allocator crashes on multi-threaded

2012-04-12 Thread laurent.alfonsi at st dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52604 --- Comment #9 from Laurent Aflonsi 2012-04-12 15:05:25 UTC --- Paolo, I ve discovered that the encoding of M_key is encoded differently for each thread-implementation. On pthread implementation M_key is an integer, whereas on others it is point

[Bug c/52862] [4.5/4.6/4.7/4.8 Regression] ICE convert_to_pointer, at convert.c:50

2012-04-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52862 --- Comment #4 from Richard Guenther 2012-04-12 15:00:25 UTC --- I'm testing Index: convert.c === --- convert.c (revision 186373) +++ convert.c (working copy) @@ -44,11 +44,6 @@

[Bug c++/30431] failure to check for visible declaration of friend function to template class

2012-04-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30431 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/17122] Unable to compile friend operator within template

2012-04-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17122 Jonathan Wakely changed: What|Removed |Added CC||tkapela at poczta dot fm --- Comment #1

[Bug target/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc

2012-04-12 Thread rhabarber1848 at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45053 rhabarber1848 at web dot de changed: What|Removed |Added CC||rhabarber1848 at web dot de

[Bug testsuite/52948] UNRESOLVED: selfassign.c in gcc/g++, one_time_plugin.c in gcc, and dumb_plugin.c in g++

2012-04-12 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52948 Dominique d'Humieres changed: What|Removed |Added Summary|UNRESOLVED: |UNRESOLVED: selfassign.c in

[Bug testsuite/52945] FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto *

2012-04-12 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52945 --- Comment #2 from Dominique d'Humieres 2012-04-12 14:26:04 UTC --- > Indeed, it should be tested only when weak aliases are supposed. There is some > dg trick for that... Which one between '/* { dg-require-alias "" } */' and '/* { dg-require-w

[Bug target/49448] arm-tab-linux-gnu-eabi enableds big endian when it should not

2012-04-12 Thread rearnsha at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49448 Richard Earnshaw changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

  1   2   >