The job to do this is final value replacement, not sinking (we do not
sink non-invariant expressions - you'd have to translate them through
the loop-closed SSA exit PHI node, certainly doable, patches
welcome ;)).
Richard,
In final value replacement, expression a + D. can be figured
i'm an amateur programmer that just started learning C. i like most of the
features, specially the c preprocessor that it comes packed with. it's an
extremely portable way of implementing metaprogramming in C.
though i've always thought it lacked a single feature -- an evaluation
feature.
i'm an amateur programmer that just started learning C. i like most of the
features, specially the c preprocessor that it comes packed with. it's an
extremely portable way of implementing metaprogramming in C.
though i've always thought it lacked a single feature -- an evaluation
feature.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51684
Ira Rosen irar at il dot ibm.com changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51685
Bug #: 51685
Summary: FAIL: gcc.dg/tm/pr51472.c (internal compiler error) on
ppc*-*-*, s390*-*-*, spu-*-*
Classification: Unclassified
Product: gcc
Version: 4.7.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51683
Bug #: 51683
Summary: [4.7 Regression] __builtin_memcpy etc. with constant
first argument optimized away by ccp
Classification: Unclassified
Product: gcc
Version: 4.7.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32770
--- Comment #35 from Dominique d'Humieres dominiq at lps dot ens.fr
2011-12-27 11:04:09 UTC ---
Created attachment 26186
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26186
Failures with -fdefault-integer-8 at revision 182676
New summaries
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32957
--- Comment #4 from Dominique d'Humieres dominiq at lps dot ens.fr 2011-12-27
11:14:24 UTC ---
Created attachment 26187
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26187
patch to fix some failures with -fdefault-integer-8
I have this
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51673
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51680
--- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com 2011-12-27
14:15:06 UTC ---
To be honest, this kind of expectation is completely new to me. I may be wrong,
but I don't think we have anything dealing specially with templates from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51683
--- Comment #1 from Jakub Jelinek jakub at gcc dot gnu.org 2011-12-27
11:33:01 UTC ---
Created attachment 26188
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26188
gcc47-pr51683.patch
Untested fix.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48641
--- Comment #5 from Jan Hubicka hubicka at gcc dot gnu.org 2011-12-27
10:42:01 UTC ---
Author: hubicka
Date: Tue Dec 27 10:41:58 2011
New Revision: 182693
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=182693
Log:
PR middle-end/48641
/execute/20111227-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ree.c
trunk/gcc/testsuite/ChangeLog
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51667
Eric Botcazou ebotcazou at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51673
--- Comment #4 from Pawel Sikora pluto at agmk dot net 2011-12-27 09:32:11
UTC ---
i'm using the mt allocator for large std containers with small fixed-size
objects. the mt's flexible pool configuration and alloc/free speed are
an advantage over
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48641
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51684
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
CC||jakub at gcc dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51667
--- Comment #16 from Dominique d'Humieres dominiq at lps dot ens.fr
2011-12-27 11:56:06 UTC ---
I confirm that the patch in comment #15 fixes the PR without visible side
effect so far. Thanks.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51682
Bug #: 51682
Summary: Coarray ICEs when compiling with -fdefault-integer-8
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51681
--- Comment #1 from Uros Bizjak ubizjak at gmail dot com 2011-12-27 11:39:00
UTC ---
Maybe related:
FAIL: gcc.dg/torture/vshuf-v8qi.c -O2 execution test
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51680
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
CC||hubicka at
Privet, gentleman!
If only I could have come up with the right words to express the depth of
the beautiful feeling that I have in my heart www.simpleitislove.in/
The best thing I can do is to show you my deepest dreams and hopes about
love, about our happy relationship and sweetest memories that
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51681
Bug #: 51681
Summary: [4.7 Regression]: ICE in gcc.dg/torture/vshuf-v2si.c
on ia64
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51684
Bug #: 51684
Summary: [4.7 Regression]: ICE in gfortran.dg/maxloc_bounds_5
on ia64
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51680
--- Comment #2 from miles at gnu dot org 2011-12-27 13:54:38 UTC ---
Hmm, I dunno, my impression is that people expect that template'd code is, in
general more inlined -- templates are often used kind of as macro replacement
in C++ -- especially
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49193
--- Comment #3 from uros at gcc dot gnu.org 2011-12-27 09:40:27 UTC ---
Author: uros
Date: Tue Dec 27 09:40:23 2011
New Revision: 182692
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=182692
Log:
PR libgcj/49193
*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51683
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51686
Bug #: 51686
Summary: make install-strip-gcc didn't install liblto-plugin*
files
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51687
Bug #: 51687
Summary: gcc is killed when compiling med-3.0.4
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: major
Priority:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51686
--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2011-12-27
18:04:41 UTC ---
Easy fix:
pinskia@server:~/src/local/gcc$ svn diff Makefile.def
Index: Makefile.def
===
---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51069
--- Comment #5 from Jan Hubicka hubicka at gcc dot gnu.org 2011-12-27
18:32:05 UTC ---
note that remove_path may affect presence of irreducible loops and it already
has logic to update the flags. It seems to be case that gets missed. I am
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51069
--- Comment #6 from Jan Hubicka hubicka at gcc dot gnu.org 2011-12-27
18:50:14 UTC ---
OK,
the problem is that by removing conditional entrance into irreducible region,
the BB becomes part of the region itself.
I am testing the following patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51547
--- Comment #2 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org
2011-12-27 19:04:28 UTC ---
Author: paolo
Date: Tue Dec 27 19:04:24 2011
New Revision: 182695
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=182695
Log:
2011-12-27 Paolo
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51547
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51680
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
CC||jakub at gcc dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51669
--- Comment #1 from Paolo Carlini paolo.carlini at oracle dot com 2011-12-27
20:18:07 UTC ---
Created attachment 26190
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26190
Reduced
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51669
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51688
Bug #: 51688
Summary: libgcc dll is installed in sysroot/lib instead of
sysroot/bin
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42382
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
Keywords|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51244
--- Comment #2 from Oleg Endo oleg.e...@t-online.de 2011-12-27 21:26:33 UTC
---
(In reply to comment #1)
BTW, OT, (a != b || a != c) ? b : c could be reduced to b, I think.
Yes, very much so.
It is reduced to return b for -m2, -m2e, -m2a,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51689
Bug #: 51689
Summary: GCC apparently is inconsistent with warning about
invalid brace-elision use
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51669
--- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com 2011-12-27
22:18:06 UTC ---
This is enough, really simple:
int omp_get_max_threads();
templatetypename _Tp const _Tp min(const _Tp, const _Tp);
void s451_()
{
int i;
#pragma
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51244
--- Comment #3 from Oleg Endo oleg.e...@t-online.de 2011-12-27 22:43:11 UTC
---
Created attachment 26191
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26191
Proposed patch to improve some of the issues.
(In reply to comment #1)
[...]
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51244
--- Comment #4 from Oleg Endo oleg.e...@t-online.de 2011-12-27 23:17:03 UTC
---
(In reply to comment #1)
return a = 0 b = 0 ? c : d;
x = 0 is expanded to the sequence like
ra = not x
rb = -31
rc = ra (neg rb)
T = (rc == 0)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51680
--- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org 2011-12-28
00:42:16 UTC ---
(In reply to comment #3)
To be honest, this kind of expectation is completely new to me.
Me too. Templates are about genericity, not inlining.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51680
--- Comment #6 from miles at gnu dot org 2011-12-28 01:04:05 UTC ---
Well, it's just an impression ... :]
I think one reason is that unlike normal functions, template functions are
implicitly sort of local (by necessity), in that they can have a
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51244
--- Comment #5 from Oleg Endo oleg.e...@t-online.de 2011-12-28 02:44:05 UTC
---
(In reply to comment #2)
(In reply to comment #1)
BTW, OT, (a != b || a != c) ? b : c could be reduced to b, I think.
Yes, very much so.
It is reduced to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51690
Bug #: 51690
Summary: Ada.Finalization with pointer field without explicit
initialization confuses compiler
Classification: Unclassified
Product: gcc
Version: 4.5.3
The patch at
http://gcc.gnu.org/ml/gcc-patches/2011-12/msg01600/vec-tests-avx2_fixes-7.patch
fixes the XPASS, tested on powerpc-apple-darwin9 and x86_64-apple-darwin10.
Thanks,
Dominique
Hello!
No functional change.
2011-12-27 Uros Bizjak ubiz...@gmail.com
PR libgcj/49193
* sysdep/alpha/locks.h (compare_and_swap): Call
__sync_bool_compare_and_swap.
(release_set): Call __sync_synchronize.
Tested on alphaeev68-pc-linux-gnu, committed to mainline
Hi
this patch solves problem with negative frequency that is result of overflow
in profile updating code. The testcase shows quite pathological case where
profile is misguessed and the mistake is propagated across the CFG by jump
threading. I can't of think of much better solution than adding a
.
(find_removable_extensions): Create and destroy the definition map.
(find_and_remove_re): Return void. Change 'long' variables to 'int'.
Do not deal with is_insn_merge_attempted.
2011-12-27 Eric Botcazou ebotca...@adacore.com
* gcc.c-torture/execute/20111227-1.c: New
-freal-4-real-8 is not equivalent to -fdefault-real-8 and -fdefault-double-8.
-freal-4-real-8 interprets any 4-byte real type, whether it is a
default real type or explicitly declared as 4-byte, as a 8-byte double
precision type, and that applies to all variables, functions and
constants.
On Tue, Dec 27, 2011 at 6:52 AM, Dominique Dhumieres domi...@lps.ens.fr wrote:
-freal-4-real-8 is not equivalent to -fdefault-real-8 and -fdefault-double-8.
-freal-4-real-8 interprets any 4-byte real type, whether it is a
default real type or explicitly declared as 4-byte, as a 8-byte double
On Tue, Dec 27, 2011 at 12:52:19PM +0100, Dominique Dhumieres wrote:
-freal-4-real-8 is not equivalent to -fdefault-real-8 and
-fdefault-double-8.
-freal-4-real-8 interprets any 4-byte real type, whether it is a
default real type or explicitly declared as 4-byte, as a 8-byte double
Ok for google branches when tests are done. Update ChangeLog file properly.
David
On Tue, Dec 20, 2011 at 1:55 PM, Harshit Chopra hars...@google.com wrote:
On Fri, Dec 16, 2011 at 3:10 PM, davi...@google.com wrote:
Ok, Cary's explanation makes sense. Please update the comments to make
it
2011/12/21 Jason Merrill ja...@redhat.com:
This seems problematic to me; it could be that a dependent scope ends up
matching a non-dependent base in the end, i.e.
struct A { int x; };
template class T
struct B: A
{
using T::x;
};
BA b;
Very nice indeed, I hadn't thought of that.
This patch to the gcc-specific part of the Go frontend tweaks the debug
info in a couple of ways.
For a named struct or array type, this uses build_distinct_type_copy
rather than build_variant_type_copy. Using build_variant_type_copy
caused trouble because it wound up causing the main variant to
The Go language was changed to prohibit comparing values of func, map,
or slice type, except for comparisons to nil. This patch implements
that in the Go frontend. The patch includes some testsuite updates.
Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
Committed to mainline.
2011/12/27 Jason Merrill ja...@redhat.com:
On 12/27/2011 02:12 PM, Fabien Chêne wrote:
- if (!scope_dependent_p)
+ if (!dependent_scope_p (scope))
I was thinking to change the line
scope_dependent_p = dependent_type_p (scope);
to use dependent_scope_p instead of dependent_type_p.
OK,
OK, thanks.
Jason
Ping
2011/12/15 Dave Korn dave.korn.cyg...@gmail.com:
On 15/12/2011 17:44, Mike Stump wrote:
On Dec 15, 2011, at 1:43 AM, Kai Tietz wrote:
This patch takes care that we are using for operator new/delete
replacement test static version on mingw-targets. As the shared (DLL)
version isn't able
Ping
2011/12/16 Dave Korn dave.korn.cyg...@gmail.com:
On 16/12/2011 09:01, Kai Tietz wrote:
2011/12/15 Dave Korn:
{ dg-options -mno-align-double { target i?86-*-cygwin* i?86-*-mingw* } }
{ dg-additional-options -mno-ms-bitfields { target i?86-*-mingw* } }
... so that MinGW gets both and
63 matches
Mail list logo