[Bug c/52181] New: [4.7 Regression] merge_decls doesn't handle DECL_USER_ALIGN properly

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52181 Bug #: 52181 Summary: [4.7 Regression] merge_decls doesn't handle DECL_USER_ALIGN properly Classification: Unclassified Product: gcc Version: 4.7.0 Status:

[Bug c/52181] [4.7 Regression] merge_decls doesn't handle DECL_USER_ALIGN properly

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52181 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug libstdc++/51798] [4.7 regression] libstdc++ atomicity performance regression due to __sync_fetch_and_add

2012-02-09 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51798 --- Comment #26 from Benjamin Kosnik bkoz at gcc dot gnu.org 2012-02-09 08:45:10 UTC --- Created attachment 26620 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26620 complete transition to __atomic, modulo config ... and for config, plan

[Bug c/52181] [4.7 Regression] merge_decls doesn't handle DECL_USER_ALIGN properly

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52181 --- Comment #1 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 09:07:20 UTC --- Created attachment 26621 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26621 gcc47-pr52181.patch Untested fix. The testcase shows that the C++ FE has a

[Bug libstdc++/51798] [4.7 regression] libstdc++ atomicity performance regression due to __sync_fetch_and_add

2012-02-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51798 --- Comment #27 from Jonathan Wakely redi at gcc dot gnu.org 2012-02-09 09:16:11 UTC --- Nice. Now that we have an atomic load we can also do: --- a/libstdc++-v3/include/bits/shared_ptr_base.h +++ b/libstdc++-v3/include/bits/shared_ptr_base.h

[Bug c/52182] New: unnamed structs/unions are supported by ISO C99

2012-02-09 Thread jan.kratochvil at redhat dot com
-std=c99 -pedantic stdin:1:34: warning: ISO C99 doesn’t support unnamed structs/unions [-pedantic] FAIL: gcc (GCC) 4.6.3 20120209 (prerelease) FAIL: gcc (GCC) 4.7.0 20120209 (experimental) plus FAIL: gcc (GCC) 4.4.7 20120209 (prerelease) FAIL: gcc (GCC) 4.5.4 20120209 (prerelease) print stdin:1:34

[Bug other/52168] fixinclude test failure for complex.h on netbsd

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52168 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug middle-end/51867] GCC generates inconsistent code for same sources calling builtin calls, like sqrtf

2012-02-09 Thread amker at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51867 --- Comment #4 from amker at gcc dot gnu.org 2012-02-09 09:37:43 UTC --- Author: amker Date: Thu Feb 9 09:37:37 2012 New Revision: 184037 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184037 Log: PR target/51867 * builtins.c

[Bug c++/52183] New: Redeclaration of __this in lambda inside template member function when calling static class function

2012-02-09 Thread stefan.bolus at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52183 Bug #: 52183 Summary: Redeclaration of __this in lambda inside template member function when calling static class function Classification: Unclassified Product: gcc Version:

[Bug target/51106] [4.5/4.6 Regression] ICE in move_insn, at haifa-sched.c:2314

2012-02-09 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51106 --- Comment #9 from Andrey Belevantsev abel at gcc dot gnu.org 2012-02-09 10:10:41 UTC --- Author: abel Date: Thu Feb 9 10:10:36 2012 New Revision: 184038 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184038 Log: 2012-02-09 Andrey

[Bug target/51106] [4.5/4.6 Regression] ICE in move_insn, at haifa-sched.c:2314

2012-02-09 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51106 --- Comment #10 from Andrey Belevantsev abel at gcc dot gnu.org 2012-02-09 10:17:59 UTC --- Author: abel Date: Thu Feb 9 10:17:55 2012 New Revision: 184040 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184040 Log: 2012-02-09 Andrey

[Bug target/51106] [4.5/4.6 Regression] ICE in move_insn, at haifa-sched.c:2314

2012-02-09 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51106 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/52183] Redeclaration of __this in lambda inside template member function when calling static class function

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

[Bug c++/48483] Construct from yourself w/o warning

2012-02-09 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48483 --- Comment #17 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-02-09 11:35:27 UTC --- Clang++ 3.0 warns with -Wuninitialized /tmp/webcompile/_15338_0.cc:7:5: warning: variable 'a' is uninitialized when used within its own initialization

[Bug debug/52165] [4.7 Regression] ICE in add_var_loc_to_decl, at dwarf2out.c:5430 building libgo on s390/s390x

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52165 --- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 11:41:29 UTC --- Author: jakub Date: Thu Feb 9 11:41:25 2012 New Revision: 184042 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184042 Log: PR debug/52165 *

[Bug fortran/32380] misaligned stores don't get vectorized

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32380 --- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 12:13:25 UTC --- Author: jakub Date: Thu Feb 9 12:13:18 2012 New Revision: 184043 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184043 Log: PR fortran/32380 *

[Bug other/52168] fixinclude test failure for complex.h on netbsd

2012-02-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52168 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2012-02-09 12:19:38 UTC --- NetBSD PR http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=45955 My analysis of the problem was incorrect and it looks as though a fix would be to

[Bug other/52168] fixinclude test failure for complex.h on netbsd

2012-02-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52168 --- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org 2012-02-09 12:24:14 UTC --- (In reply to comment #4) netbsd does too (but I can't test that until later today) or rather, it doesn't ignore the newline, but it does produce the

[Bug rtl-optimization/52175] [4.7 regression] ICE in maybe_record_trace_start after invalid dbr_schedule transformation

2012-02-09 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52175 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.7.0

[Bug middle-end/52177] ICE: verify_gimple failed: non-trivial conversion at assignment with __atomic_is_lock_free()

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

[Bug debug/52165] [4.7 Regression] ICE in add_var_loc_to_decl, at dwarf2out.c:5430 building libgo on s390/s390x

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52165 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug middle-end/48814] [4.4/4.5/4.6/4.7 Regression] Incorrect scalar increment result

2012-02-09 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48814 --- Comment #10 from Richard Guenther rguenth at gcc dot gnu.org 2012-02-09 13:03:25 UTC --- For extern void abort (void); struct S { int i; }; struct S arr[32]; volatile int count = 0; struct S __attribute__((noinline)) incr (void) {

[Bug middle-end/52140] Libdfp testcase encounters ICE when compiled with soft-dfp (no -mcpu).

2012-02-09 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52140 --- Comment #6 from Peter Bergner bergner at gcc dot gnu.org 2012-02-09 14:46:07 UTC --- Author: bergner Date: Thu Feb 9 14:46:02 2012 New Revision: 184045 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184045 Log: gcc/ PR

[Bug middle-end/52140] Libdfp testcase encounters ICE when compiled with soft-dfp (no -mcpu).

2012-02-09 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52140 --- Comment #7 from Peter Bergner bergner at gcc dot gnu.org 2012-02-09 14:56:03 UTC --- Author: bergner Date: Thu Feb 9 14:55:57 2012 New Revision: 184046 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184046 Log: Backport from

[Bug middle-end/52140] Libdfp testcase encounters ICE when compiled with soft-dfp (no -mcpu).

2012-02-09 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52140 --- Comment #8 from Peter Bergner bergner at gcc dot gnu.org 2012-02-09 14:59:51 UTC --- Author: bergner Date: Thu Feb 9 14:59:46 2012 New Revision: 184047 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184047 Log: Backport from

[Bug middle-end/52140] Libdfp testcase encounters ICE when compiled with soft-dfp (no -mcpu).

2012-02-09 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52140 Peter Bergner bergner at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug boehm-gc/52179] boehm-gc incompatible with aslr on darwin11

2012-02-09 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52179 --- Comment #6 from Jack Howarth howarth at nitro dot med.uc.edu 2012-02-09 15:05:50 UTC --- All of these crashes appear in the section in the GC_mark_from subroutine of mark.c commented as... /* Try to prefetch the next pointer to be

[Bug middle-end/52140] Libdfp testcase encounters ICE when compiled with soft-dfp (no -mcpu).

2012-02-09 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52140 Peter Bergner bergner at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.7.0

[Bug middle-end/52140] Libdfp testcase encounters ICE when compiled with soft-dfp (no -mcpu).

2012-02-09 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52140 Peter Bergner bergner at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|CLOSED ---

[Bug middle-end/51752] trans-mem: publication safety violated

2012-02-09 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51752 --- Comment #3 from Aldy Hernandez aldyh at gcc dot gnu.org 2012-02-09 16:23:57 UTC --- Created attachment 26622 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26622 proposed (untested) patch This is a first stab at the problem. It is

[Bug c++/52184] New: Wrong object initialization in

2012-02-09 Thread kamil.holubicki at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52184 Bug #: 52184 Summary: Wrong object initialization in Classification: Unclassified Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: major Priority: P3

[Bug c++/52185] New: Const member function may change the object for which the function is called.

2012-02-09 Thread lsoltysiak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52185 Bug #: 52185 Summary: Const member function may change the object for which the function is called. Classification: Unclassified Product: gcc Version: 4.7.0 Status:

[Bug c++/52184] Wrong object initialization in

2012-02-09 Thread kamil.holubicki at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52184 --- Comment #1 from Kamil kamil.holubicki at gmail dot com 2012-02-09 16:44:01 UTC --- Created attachment 26623 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26623 Short example demonstrating problem

[Bug middle-end/51752] trans-mem: publication safety violated

2012-02-09 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51752 --- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2012-02-09 16:43:40 UTC --- But isn't with __transaction_atomic { for (i = 0; i 10; i++) if (x[i]) x[i] += data; } and __transaction_atomic {

[Bug c++/52185] Const member function may change the object for which the function is called.

2012-02-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52185 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2012-02-09 16:44:20 UTC --- Comeau C++ does not error out either.

[Bug c++/52184] Wrong object initialization in

2012-02-09 Thread kamil.holubicki at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52184 --- Comment #2 from Kamil kamil.holubicki at gmail dot com 2012-02-09 16:46:55 UTC --- Base virtual class object is corrupted when explicitly called auto generated constructor from derived class inititalization list. Attached file demonstrates

[Bug middle-end/51929] [4.7 Regression] ICE: verify_cgraph_node failed with -O2 -fno-guess-branch-probability -fipa-cp-clone

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51929 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug c++/52184] Wrong object initialization in

2012-02-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52184 --- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org 2012-02-09 16:55:12 UTC --- 4.7 prints 8, agreeing with other compilers

[Bug middle-end/51929] [4.7 Regression] ICE: verify_cgraph_node failed with -O2 -fno-guess-branch-probability -fipa-cp-clone

2012-02-09 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51929 --- Comment #4 from Zdenek Sojka zsojka at seznam dot cz 2012-02-09 16:55:28 UTC --- Yes, I marked this PR as a regression after adding the second testcase, along with modifying the summary. The way it behaves in 4.6 is described in the Tested

[Bug c++/48483] Construct from yourself w/o warning

2012-02-09 Thread lisp2d at lisp2d dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48483 --- Comment #18 from Lisp2D lisp2d at lisp2d dot net 2012-02-09 16:59:19 UTC --- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48483#c2 shows that function calling of object before constructor is bad idea and must be strongly forbidden.

[Bug c++/52185] Const member function may change the object for which the function is called.

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

[Bug fortran/52176] Valgrind complains about some realloc on assignment to unallocated LHS

2012-02-09 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52176 --- Comment #1 from Tobias Burnus burnus at gcc dot gnu.org 2012-02-09 17:02:36 UTC --- gfortran generates the following code (original dump). I think, it's if ((real(kind=4)[0:] * restrict) __result-data == 0B) goto L.17;

[Bug c++/48483] Construct from yourself w/o warning

2012-02-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48483 --- Comment #19 from Jonathan Wakely redi at gcc dot gnu.org 2012-02-09 17:04:06 UTC --- Everyone knows it's a bad idea, and everyone agrees there should be a warning. Stop going on about it.

[Bug rtl-optimization/52186] New: array out of bounds error when accessing last byte of a struct via char ptr

2012-02-09 Thread alex at aivor dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52186 Bug #: 52186 Summary: array out of bounds error when accessing last byte of a struct via char ptr Classification: Unclassified Product: gcc Version: 4.5.2 Status:

[Bug rtl-optimization/52186] array out of bounds error when accessing last byte of a struct via char ptr

2012-02-09 Thread alex at aivor dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52186 --- Comment #1 from Alex Tomlinson alex at aivor dot com 2012-02-09 17:10:31 UTC --- Created attachment 26625 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26625 output of -save-temps

[Bug rtl-optimization/52186] array out of bounds error when accessing last byte of a struct via char ptr

2012-02-09 Thread alex at aivor dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52186 --- Comment #2 from Alex Tomlinson alex at aivor dot com 2012-02-09 17:11:03 UTC --- Created attachment 26626 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26626 output of -save-temps

[Bug c++/52185] Const member function may change the object for which the function is called.

2012-02-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52185 --- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org 2012-02-09 17:11:40 UTC --- [class.this] says, In a const member function, the object for which the function is called is accessed through a const access path; That doesn't mean the

[Bug rtl-optimization/52186] array out of bounds error when accessing last byte of a struct via char ptr

2012-02-09 Thread alex at aivor dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52186 --- Comment #3 from Alex Tomlinson alex at aivor dot com 2012-02-09 17:12:39 UTC --- Created attachment 26627 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26627 stdout/stderr of gcc with -v -save-temps

[Bug c/51360] [4.6 Regression] spurious unused-but-set-variable warning for var used in OpenMP pragma

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51360 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:15:39 UTC --- Author: jakub Date: Thu Feb 9 17:15:29 2012 New Revision: 184049 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184049 Log: Backported from mainline

[Bug driver/48306] [4.4/4.5/4.6 Regression] presence of gcc subdir with . in PATH causes breakdown

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48306 --- Comment #10 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:16:27 UTC --- Author: jakub Date: Thu Feb 9 17:16:19 2012 New Revision: 184050 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184050 Log: Backported from

[Bug c++/51669] [4.7 Regression] ICE verify-gimple with openmp

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51669 --- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:17:48 UTC --- Author: jakub Date: Thu Feb 9 17:17:36 2012 New Revision: 184051 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184051 Log: Backported from mainline

[Bug debug/51695] NOTE_INSN_VAR_LOCATION notes are sometimes too large

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51695 --- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:18:51 UTC --- Author: jakub Date: Thu Feb 9 17:18:42 2012 New Revision: 184052 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184052 Log: Backported from mainline

[Bug fortran/52162] Bogus -fcheck=bounds with realloc on assignment to unallocated LHS

2012-02-09 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52162 --- Comment #1 from Tobias Burnus burnus at gcc dot gnu.org 2012-02-09 17:17:03 UTC --- a = b The problem is that the LHS is REAL(4) while the RHS is REAL(8). Thus, the expression is not variable A = variable B but variable A =

[Bug middle-end/44777] [4.4/4.5/4.6 Regression] ICE: SIGSEGV with -fprofile-use in gcc.c-torture/execute/comp-goto-2.c

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44777 --- Comment #12 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:20:31 UTC --- Author: jakub Date: Thu Feb 9 17:20:09 2012 New Revision: 184053 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184053 Log: Backported from

[Bug debug/51517] [4.5/4.6 Regression] Wrong debug information for pointers with negative strides.

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51517 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:13:57 UTC --- Author: jakub Date: Thu Feb 9 17:13:50 2012 New Revision: 184048 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184048 Log: Backported from mainline

[Bug middle-end/51768] [4.5/4.6 Regression] ICE with invalid asm goto

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51768 --- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:21:45 UTC --- Author: jakub Date: Thu Feb 9 17:21:15 2012 New Revision: 184054 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184054 Log: Backported from mainline

[Bug rtl-optimization/51767] [4.5/4.6 Regression] ICE with degenerated asm goto

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51767 --- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:23:23 UTC --- Author: jakub Date: Thu Feb 9 17:23:13 2012 New Revision: 184055 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184055 Log: Backported from mainline

[Bug rtl-optimization/52186] array out of bounds error when accessing last byte of a struct via char ptr

2012-02-09 Thread alex at aivor dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52186 --- Comment #4 from Alex Tomlinson alex at aivor dot com 2012-02-09 17:23:37 UTC --- Reported to work with gcc 4.6.1: $ gcc -v Using built-in specs. COLLECT_GCC=gcc

[Bug c/52182] unnamed structs/unions are supported by ISO C99

2012-02-09 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52182 --- Comment #1 from joseph at codesourcery dot com joseph at codesourcery dot com 2012-02-09 17:23:59 UTC --- On Thu, 9 Feb 2012, jan.kratochvil at redhat dot com wrote: But ISO C99 says: A structure type describes a sequentially allocated

[Bug libmudflap/40778] [4.5/4.6 Regression] Mudflap instrumentation missing in cloned function.

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40778 --- Comment #14 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:24:57 UTC --- Author: jakub Date: Thu Feb 9 17:24:47 2012 New Revision: 184056 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184056 Log: Backported from

[Bug fortran/52162] Bogus -fcheck=bounds with realloc on assignment to unallocated LHS

2012-02-09 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52162 --- Comment #2 from Tobias Burnus burnus at gcc dot gnu.org 2012-02-09 17:27:26 UTC --- (In reply to comment #1) As expr2-value.function.isym is set (expr2-value.function.isym-id == GFC_ISYM_CONVERSION), the is_alloc_lhs is not set. Hence, the

[Bug target/52129] wrong code to pass parameters to tail call function

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52129 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:27:34 UTC --- Author: jakub Date: Thu Feb 9 17:27:25 2012 New Revision: 184059 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184059 Log: Backported from mainline

[Bug target/52006] [4.7 Regression] ARM ICE with incorrectly peepholed tls_load_dot_plus_eight

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52006 --- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:26:01 UTC --- Author: jakub Date: Thu Feb 9 17:25:47 2012 New Revision: 184057 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184057 Log: Backported from mainline

[Bug middle-end/48071] [4.6 Regression] Blank line after 'all warnings being treated as errors'

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48071 --- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:26:41 UTC --- Author: jakub Date: Thu Feb 9 17:26:29 2012 New Revision: 184058 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184058 Log: Backported from mainline

[Bug rtl-optimization/52060] [4.6 Regression] Invalid constant simplification in combine with parallel result

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52060 --- Comment #12 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:29:52 UTC --- Author: jakub Date: Thu Feb 9 17:29:38 2012 New Revision: 184061 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184061 Log: Backported from

[Bug middle-end/52074] ICE: RTL flag check: MEM_VOLATILE_P used with unexpected rtx code 'plus' in extract_fixed_bit_field, at expmed.c:1734

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52074 --- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:28:30 UTC --- Author: jakub Date: Thu Feb 9 17:28:22 2012 New Revision: 184060 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184060 Log: Backported from mainline

[Bug rtl-optimization/52139] [4.5/4.6 Regression] ICE: in remove_insn, at emit-rtl.c:3960 with -O -fPIC -fno-tree-dominator-opts -fno-tree-fre

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52139 --- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 17:30:51 UTC --- Author: jakub Date: Thu Feb 9 17:30:39 2012 New Revision: 184062 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184062 Log: Backported from mainline

[Bug middle-end/51752] trans-mem: publication safety violated

2012-02-09 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51752 --- Comment #5 from Richard Henderson rth at gcc dot gnu.org 2012-02-09 17:39:51 UTC --- (In reply to comment #4) But isn't with __transaction_atomic { for (i = 0; i 10; i++) if (x[i]) x[i] += data; }

[Bug c/51360] [4.6 Regression] spurious unused-but-set-variable warning for var used in OpenMP pragma

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51360 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c/52182] unnamed structs/unions are supported by ISO C99

2012-02-09 Thread jan.kratochvil at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52182 Jan Kratochvil jan.kratochvil at redhat dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/52129] wrong code to pass parameters to tail call function

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52129 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug middle-end/48071] [4.6 Regression] Blank line after 'all warnings being treated as errors'

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48071 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug rtl-optimization/52060] [4.6 Regression] Invalid constant simplification in combine with parallel result

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52060 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/43366] [OOP][F2008] Intrinsic assign to polymorphic variable

2012-02-09 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43366 --- Comment #15 from Tobias Burnus burnus at gcc dot gnu.org 2012-02-09 17:48:11 UTC --- Created attachment 26628 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26628 Small patch for the resolve.c. It misses all the real work (trans*.c).

[Bug other/52187] New: armeb-unknown-eabi not recognized as big-endian

2012-02-09 Thread egnor at ofb dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52187 Bug #: 52187 Summary: armeb-unknown-eabi not recognized as big-endian Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal

[Bug target/16350] gcc only understands little endian ARM systems

2012-02-09 Thread egnor at ofb dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350 Dan Egnor egnor at ofb dot net changed: What|Removed |Added CC||egnor at ofb dot net ---

[Bug c++/52184] Wrong object initialization in virtual inhreitance

2012-02-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52184 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/52187] armeb-unknown-eabi not recognized as big-endian

2012-02-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52187 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Component|other |target ---

[Bug target/52187] armeb-unknown-eabi not recognized as big-endian

2012-02-09 Thread egnor at ofb dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52187 --- Comment #2 from Dan Egnor egnor at ofb dot net 2012-02-09 18:06:36 UTC --- This is sort of the opposite of 49448. In 49448, the _Linux_ rule is recognizing a _little endian_ target as _big endian_ because its big-endian glob is too generous.

[Bug tree-optimization/52188] New: [4.7 regression] IPA-CP change broke libstdc++ symbol versioning on Solaris

2012-02-09 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52188 Bug #: 52188 Summary: [4.7 regression] IPA-CP change broke libstdc++ symbol versioning on Solaris Classification: Unclassified Product: gcc Version: 4.7.0 Status:

[Bug c++/52185] Const member function may change the object for which the function is called.

2012-02-09 Thread lsoltysiak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52185 --- Comment #4 from xfg lsoltysiak at gmail dot com 2012-02-09 18:30:34 UTC --- Ok, I understood. Pointers are also quite good examples, to explain that. Thanks Jonathan.

[Bug tree-optimization/52188] [4.7 regression] IPA-CP change broke libstdc++ symbol versioning on Solaris

2012-02-09 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52188 --- Comment #1 from Rainer Orth ro at gcc dot gnu.org 2012-02-09 18:31:18 UTC --- Created attachment 26629 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26629 preprocesed source compile with cc1plus -fpreprocessed locale-inst.ii -quiet -O2

[Bug tree-optimization/52188] [4.7 regression] IPA-CP change broke libstdc++ symbol versioning on Solaris

2012-02-09 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52188 Rainer Orth ro at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P2 Target

[Bug c/52181] [4.7 Regression] merge_decls doesn't handle DECL_USER_ALIGN properly

2012-02-09 Thread uweigand at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52181 Ulrich Weigand uweigand at gcc dot gnu.org changed: What|Removed |Added CC||uweigand at

[Bug tree-optimization/52188] [4.7 regression] IPA-CP change broke libstdc++ symbol versioning on Solaris

2012-02-09 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52188 --- Comment #3 from Rainer Orth ro at gcc dot gnu.org 2012-02-09 18:33:54 UTC --- Created attachment 26631 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26631 assembler output after patch

[Bug tree-optimization/52188] [4.7 regression] IPA-CP change broke libstdc++ symbol versioning on Solaris

2012-02-09 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52188 --- Comment #2 from Rainer Orth ro at gcc dot gnu.org 2012-02-09 18:33:03 UTC --- Created attachment 26630 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26630 asembler output before patch

[Bug middle-end/51752] trans-mem: publication safety violated

2012-02-09 Thread torvald at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51752 --- Comment #6 from torvald at gcc dot gnu.org 2012-02-09 18:40:49 UTC --- (In reply to comment #4) But isn't with __transaction_atomic { for (i = 0; i 10; i++) if (x[i]) x[i] += data; } and

[Bug middle-end/51929] [4.7 Regression] ICE: verify_cgraph_node failed with -O2 -fno-guess-branch-probability -fipa-cp-clone

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51929 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 18:43:01 UTC --- Reduced testcase: // { dg-do compile } // { dg-options -O -fno-guess-branch-probability -fipa-cp -fipa-cp-clone --param=max-inline-insns-single=25 } struct A

[Bug libstdc++/52189] New: [4.7 regression] Relaxed gthreads check breaks Solaris 8/9 symbol versioning

2012-02-09 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52189 Bug #: 52189 Summary: [4.7 regression] Relaxed gthreads check breaks Solaris 8/9 symbol versioning Classification: Unclassified Product: gcc Version: 4.7.0 Status:

[Bug c/52190] New: question about atomic intrinsics -- test and documentation vary -- please clarify

2012-02-09 Thread mib.bugzilla at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52190 Bug #: 52190 Summary: question about atomic intrinsics -- test and documentation vary -- please clarify Classification: Unclassified Product: gcc Version: 4.7.0

[Bug libstdc++/52191] New: abi_check should flag additions to released versions

2012-02-09 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52191 Bug #: 52191 Summary: abi_check should flag additions to released versions Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug other/52192] New: GCC_CHECK_TLS doesn't detect native TLS on Solaris 8/9

2012-02-09 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52192 Bug #: 52192 Summary: GCC_CHECK_TLS doesn't detect native TLS on Solaris 8/9 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug other/52192] GCC_CHECK_TLS doesn't detect native TLS on Solaris 8/9

2012-02-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52192 --- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org 2012-02-09 20:01:41 UTC --- (In reply to comment #0) needs to link with -lthread for __tls_get_addr. -pthread knows about this and the necessary contortions, and I do have a patch to

[Bug ada/50942] Bootstrap failure on mingw32

2012-02-09 Thread charlet at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50942 Arnaud Charlet charlet at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug libstdc++/51798] [4.7 regression] libstdc++ atomicity performance regression due to __sync_fetch_and_add

2012-02-09 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51798 Benjamin Kosnik bkoz at gcc dot gnu.org changed: What|Removed |Added Attachment #26620|0 |1 is

[Bug c/52190] question about atomic intrinsics -- test and documentation vary -- please clarify

2012-02-09 Thread amacleod at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52190 Andrew Macleod amacleod at redhat dot com changed: What|Removed |Added CC||amacleod at

[Bug other/52168] fixinclude test failure for complex.h on netbsd

2012-02-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52168 --- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org 2012-02-09 21:31:48 UTC --- Created attachment 26633 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26633 replace 'c' command with 'i' and 'd' this passes the tests on gnu/linux and

[Bug driver/48306] [4.4/4.5 Regression] presence of gcc subdir with . in PATH causes breakdown

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48306 --- Comment #11 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 21:33:15 UTC --- Author: jakub Date: Thu Feb 9 21:33:11 2012 New Revision: 184069 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184069 Log: Backported from

[Bug middle-end/44777] [4.4/4.5 Regression] ICE: SIGSEGV with -fprofile-use in gcc.c-torture/execute/comp-goto-2.c

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44777 --- Comment #13 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 21:34:25 UTC --- Author: jakub Date: Thu Feb 9 21:34:21 2012 New Revision: 184070 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184070 Log: Backported from

[Bug middle-end/51768] [4.5 Regression] ICE with invalid asm goto

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51768 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2012-02-09 21:35:40 UTC --- Author: jakub Date: Thu Feb 9 21:35:36 2012 New Revision: 184071 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184071 Log: Backported from mainline

  1   2   >