Hi Honza,
I reverted this patch after it was reported that it resulted in
bootstrap compare failure in some targets.
I reproduced it and tracked to a mistake in the patch that introduced it.
That is, in propagate_vr_accross_jump_function, I had:
if (src_lats->m_value_range.bottom_p
2016-11-13 0:57 GMT+01:00 Steve Kargl :
> On Sat, Nov 12, 2016 at 09:13:26PM +0100, Janus Weil wrote:
>>
>> this patch fixes an ICE on invalid code involving class component
>> declarations. The ICE is avoided by moving forward the error check
>> from resolution to parsing stage. For class componen
Hi Jack,
> On darwin15, the proposed patch is insufficient to restore the bootstrap
> (after running genfixes in the fixincludes directory) unless I also apply
> the previously proposed change...
no wonder: it's only been tested on darwin16. Care to explain what
error you're seeing?
Rai
Hi all,
I have just committed an obvious fix for a rejects-valid problem,
where a procedure named 'end' was not properly flagged as a procedure:
https://gcc.gnu.org/viewcvs?rev=242352&root=gcc&view=rev
Cheers,
Janus
Index: gcc/fortran/decl.c
==
> Hi Honza,
>
> I reverted this patch after it was reported that it resulted in
> bootstrap compare failure in some targets.
>
> I reproduced it and tracked to a mistake in the patch that introduced it.
>
> That is, in propagate_vr_accross_jump_function, I had:
>
> if (src_lats->m_value
Hi Mike,
On Sun, Nov 13, 2016 at 01:03:29AM -0500, Michael Meissner wrote:
> * gcc.target/powerpc/vec-set-short.c: Likesie.
Typo here.
> --- gcc/config/rs6000/rs6000.c
> (svn+ssh://meiss...@gcc.gnu.org/svn/gcc/trunk/gcc/config/rs6000)
> (revision 242318)
> +++ gcc/config/rs
This is a regression present on the mainline and 6 branch: for the attached
Ada testcase compiled in LTO mode, the following assertion triggers in
initialize_inlined_parameters during inlining:
if (p)
{
/* No static chain? Seems like a bug in tree-nested.c. */
gcc_assert (sta
This happens with the C++ compiler only.
Tested on x86_64-suse-linux, applied on the mainline.
2016-11-13 Eric Botcazou
c-family/
* c-ada-spec.c (print_ada_declaration): For typedef declarations, look
for nested types only if the type is a record or union and dump SLOC.
201
On Sat, Nov 05, 2016 at 10:50:57PM +0100, Mark Wielaard wrote:
> The attached patch adds an explanation of the new
> -Wshadow=(global|local|compatible-local) to gcc-7/changes.html.
>
> OK to commit?
Ping?
> Index: htdocs/gcc-7/changes.html
> ==
On Sun, Nov 06, 2016 at 07:03:34PM +0100, Mark Wielaard wrote:
> On Sat, 2016-09-10 at 09:51 -0400, Eric Gallager wrote:
> > On 9/10/16, Ian Lance Taylor wrote:
> > > I'm not sure about the patch to configure.ac/configure. The last I
> > > looked -Wshadow would warn if a local variable shadows a
This is a regression present on the mainline and 6 branch: the compiler ICEs
in the gimplifier on a double renaming with a chain of access types because
there is a orphaned PLACEHOLDER_EXPR.
Tested on x86_64-suse-linux, applied on the mainline and 6 branch.
2016-11-13 Eric Botcazou
gigi cannot back-annotate negative values in expressions for the front-end
directly because only non-negative values are supported directly.
Fixed thusly, tested on x86_64-suse-linux, applied on the mainline.
2016-11-13 Eric Botcazou
* gcc-interface/decl.c (annotate_value) : Deal sp
OS -DHAVE_RPC_XDR_H=0 -DHAVE_TIRPC_RPC_XDR_H=0 -I.
-I../../../../gcc-7-20161113/libsanitizer/sanitizer_common -I.. -I
../../../../gcc-7-20161113/libsanitizer/include -isystem
../../../../gcc-7-20161113/libsanitizer/include/system -Wall -W
-Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-
This occurs because System.Address is a private type so you need to invoke
Underlying_Type before testing whether it is unsigned.
Fixed thusly, tested on x86_64-suse-linux, applied on the mainline.
2016-11-13 Eric Botcazou
* gcc-interface/decl.c (gnat_to_gnu_entity):
Look at
Attached patch adds the testcase from (fixed) PR 78248.
2016-11-13 Uros Bizjak
PR rtl-optimization/78232
PR rtl-optimization/78248
* gcc.dg/ubsan/pr78248.c: New test.
Tested on x86_64-linux-gnu {,-m32} and committed to mainline SVN.
Uros.
Index: gcc.dg/ubsan/pr78248.c
Tested on x86_64-suse-linux, applied on all active branches.
2016-11-13 Bob Duff
* gcc-interface/decl.c (gnat_to_gnu_entity): In assertion about known
Esize, protect with !is_type and change !Unknown_Esize to Known_Esize.
--
Eric BotcazouIndex: gcc-interface/decl.c
=
On 2 November 2016 at 23:17, Prathamesh Kulkarni
wrote:
> On 2 November 2016 at 23:07, Jason Merrill wrote:
>> On Wed, Nov 2, 2016 at 1:08 PM, Prathamesh Kulkarni
>> wrote:
>>> On 2 November 2016 at 18:29, Jason Merrill wrote:
Then I'll approve the whole patch.
>>> Thanks!
>>> Trying the p
Tested on Linux-x64.
2016-11-13 Ville Voutilainen
Implement P0403R1, Literal suffixes for basic_string_view.
* include/std/string_view
(operator""sv(const char*, size_t)): New.
(operator""sv(const wchar_t*, size_t)): Likewise.
(operator""sv(const char16_t*, size_t)): Likewi
On 13/11/16 22:41 +0200, Ville Voutilainen wrote:
Implement P0403R1, Literal suffixes for basic_string_view.
* include/std/string_view
(operator""sv(const char*, size_t)): New.
(operator""sv(const wchar_t*, size_t)): Likewise.
(operator""sv(const char16_t*, size_t)): Likewise.
(
On 12/11/16 21:24 +0200, Ville Voutilainen wrote:
+ inline in_place_t in_place{};
+
+ template struct in_place_type_t
+ {
+explicit in_place_type_t() = default;
+ };
+
+ template
+in_place_type_t<_Tp> in_place_type{};
+
+ template struct in_place_index_t
+ {
+explicit in_place_
On 26/10/16 20:10 +0300, Ville Voutilainen wrote:
Use constexpr addressof in optional, SFINAE housekeeping
for any, optional and tuple.
* include/std/any (__do_emplace(_Args&&...)): New.
(__do_emplace(initializer_list<_Up>, _Args&&...)): Likewise.
(__any_constructible): Likewise.
On 13/11/16 21:02 +, Jonathan Wakely wrote:
On 12/11/16 21:24 +0200, Ville Voutilainen wrote:
+ inline in_place_t in_place{};
+
+ template struct in_place_type_t
+ {
+explicit in_place_type_t() = default;
+ };
+
+ template
+in_place_type_t<_Tp> in_place_type{};
+
+ template str
The attach patch allows a procedure with a class result to
be an actual argument to subprogram where the dummy argument
expected to be a class. OK to commit?
2016-11-14 Steven G. Kargl
PR fortran/78300
* resolve.c (resolve_fl_var_and_proc): Allow class procedure an
act
Similarly to x86, PowerPC and SPARC, this enables the use of custom run-time
descriptors in Ada, thus eliminating the need for trampolines and executable
stack in presence of pointers to nested functions.
Tested on Aarch64/Linux, OK for the mainline?
2016-11-13 Eric Botcazou
PR ada
Similarly to x86, PowerPC and SPARC, this enables the use of custom run-time
descriptors in Ada, thus eliminating the need for trampolines and executable
stack in presence of pointers to nested functions.
Unfortunately I don't have access to MIPS hardware any more, but the scheme
was tested on
Similarly to x86, PowerPC and SPARC, this enables the use of custom run-time
descriptors in Ada, thus eliminating the need for trampolines and executable
stack in presence of pointers to nested functions.
This still uses bit 1 for the run-time identification scheme because bumping
the function
It's the note issued by the -Wlto-type-mismatch warning:
q.ads:7:13: warning: type of 'q__proc' does not match original declaration [-
Wlto-type-mismatch]
procedure Proc (A : Arr);
^
q.adb:7:3: note: 'q__proc' was previously declared here
procedure Proc (A : Arr) is begin null;
On 13/11/16 21:10 +, Jonathan Wakely wrote:
On 13/11/16 21:02 +, Jonathan Wakely wrote:
On 12/11/16 21:24 +0200, Ville Voutilainen wrote:
+ inline in_place_t in_place{};
+
+ template struct in_place_type_t
+ {
+explicit in_place_type_t() = default;
+ };
+
+ template
+in_pla
Tested on Linux-x64.
2016-11-13 Ville Voutilainen
Implement P0513R0, Poisoning the Hash.
* include/bits/functional_hash.h (__poison_hash): New.
* include/bits/unique_ptr.h
(hash>): Derive from __poison_hash.
* include/std/optional (hash>): Likewise.
* include/std/varian
On 14 November 2016 at 00:48, Ville Voutilainen
wrote:
> Tested on Linux-x64.
Ah, negative tests incomplete, sending a follow-up soon...
On 14 November 2016 at 00:49, Ville Voutilainen
wrote:
> On 14 November 2016 at 00:48, Ville Voutilainen
> wrote:
>> Tested on Linux-x64.
>
>
> Ah, negative tests incomplete, sending a follow-up soon...
Here:
2016-11-13 Ville Voutilainen
Implement P0513R0, Poisoning the Hash.
* incl
On 20/10/16 15:41 +0100, Jonathan Wakely wrote:
On 20/10/16 13:08 +0100, Jonathan Wakely wrote:
This patch doesn't change very much, except for adding
std::reinterpret_pointer_cast, but it makes it very easy to add array
support to shared_ptr, as defined for the Library Fundamentals TS by
https:
Hello,
this series is a merge from what is ready for trunk in the HSA
branch.
The first patch is self-contained and I intend to commit it
separately, the other three need to be committed together but I split
the change into these pieces, because I believe they will be easier to
review that way an
Hi,
over the last year there have been only two changes to the HSA libgomp
plugin, both are in the following patch. The first change allows
running kernels in HSA grid with multiple dimensions. The second one
changes the way the plugin calls hsa run-time to dynamic shared object
loading, which h
Hello,
this email contains the OpenMP bits of the HSA branch merge. I have
covered the new functionality in my talk at cauldron and in the email
messages announcing commits to the branch, but in short, the patch
below allows gridification standalone distribute constructs if their
step is as big a
Hello,
this patch adds a small file hsa-builtins.def which defines a few
builtins that I then use in OpenMP lowering and expansion.
After we split gridification stuff in omp-low.c to a separate file, we
should be able to only conditionally include the file and remove the
weird conditional ifdef.
Hi,
so this patch bundles together all the various fixes, cleanups and
improvements to the HSAIL generation itself which are far too many to
list here individually, more details can be found in the email
messages that i sent when committing a given change to the branch.
As the HSA maintainer I am
PR libstdc++/78326
* include/experimental/memory_resource (memory_resource::_S_max_align):
Change access to protected.
Tested powerpc64le-linux, committed to trunk. Will backport to
gcc-6-branch too.
commit 8d23f8efca6d181b26f8766a96b081c0e280e434
Author: Jonathan Wakely
On Sun, Nov 13, 2016 at 04:08:50PM -0800, Jerry DeLisle wrote:
> Hi all,
>
> Attached patch implements a fast blocked matrix multiply. The basic algorithm
> is
> derived from netlib.org tuned blas dgemm. See matmul.m4 for reference.
>
> The matmul() function is compiled with -Ofast -funroll-loo
On 11/13/2016 04:55 PM, Steve Kargl wrote:
On Sun, Nov 13, 2016 at 04:08:50PM -0800, Jerry DeLisle wrote:
Hi all,
Attached patch implements a fast blocked matrix multiply. The basic algorithm is
derived from netlib.org tuned blas dgemm. See matmul.m4 for reference.
The matmul() function is com
On 14/11/16 00:55 +0200, Ville Voutilainen wrote:
Implement P0513R0, Poisoning the Hash.
* include/bits/functional_hash.h (__poison_hash): New.
* include/bits/unique_ptr.h
(hash>): Derive from __poison_hash.
* include/std/optional (hash>): Likewise.
* include/std/variant (hash>)
Bug 77531 requests a new warning for calls to allocation functions
(those declared with attribute alloc_size(X, Y)) that overflow the
computation X * Z of the size of the allocated object.
Bug 78284 suggests that detecting and diagnosing other common errors
in calls to allocation functions, such
Hi,
This small patch series addresses a small number of issues around the
`casesi_internal_mips16_' insn discovered in the course of recent
development.
I have also made an attempt to factor the preparatory comparison and
branch out as proper RTL operations from this insn, which is a relativ
Use 64-bit operations consistently for jump table address calculations
across the assembly produced by the `casesi_internal_mips16_' insn
where Pmode and consequently is DImode. Currently we have a
mixture of 64-bit and 32-bit operations, which causes address truncation
or undefined behaviour
* include/std/future (future::share(), future::share())
(future::share()): Add noexcept, as per LWG 2556.
Tested powerpc64le-linux, committed to trunk.
commit a1f6a58629e8ebb02366266790bf5ab748846f4f
Author: Jonathan Wakely
Date: Mon Nov 14 03:17:50 2016 +
Make std::f
The machine operation performed in `casesi_internal_mips16_'s
assembly is SLTU, which just like the `ltu' RTL operation expresses the
less-than operation rather than less-than-or-equal usually performed by
`casesi' patterns. This is because there is no suitable single MIPS16
hardware instructi
* include/bits/move.h (addressof(const _Tp&&)): Add deleted overload,
as per LWG 2598.
Tested powerpc64le-linux, committed to trunk.
commit 5eb75d53b4575e736bf295dbdad313a66839bd9b
Author: Jonathan Wakely
Date: Mon Nov 14 03:28:38 2016 +
Delete addressof for temporari
A typical code sequence produced by the `casesi_internal_mips16_'
insn is like this:
sltu$3, 11 # 16 casesi_internal_mips16_si [length = 32]
bteqz $L2
sll $5, $3, 1
la $3, $L4
addu$5, $3, $5
lh $5, 0($5)
add
Explicitly switch between the JR and JRC instructions for the table jump
in `casesi_internal_mips16_', depending on their availability in
the ISA level chosen, taking away the reliance on assembler relaxation.
Adjust the instruction count accordingly now that we control the length
of this code
Hi,
I'm working on this since some time; I have various extensions to it in
the works (hinted at in the comments), but haven't yet stabilized them.
But this is useful on its own as is, so lets get it out before midnight at
UTC-12 (hey, that's still 7 hours to go) ;) Basically unroll-and-jam
On Wed, Nov 9, 2016 at 8:05 AM, Jakub Jelinek wrote:
> On Wed, Nov 09, 2016 at 01:24:22PM +0100, Jakub Jelinek wrote:
>> The following patch is a WIP on P0217R3 - decomposition declarations.
>> It contains various FIXMEs, Jason, do you think you could finish it up?
Here's what I'm checking in, as
A few things I noticed while working on C++17 decomposition.
* We were omitting any explicit template arguments in the "no match" error.
* We were complaining about a missing nested type rather than an
incomplete enclosing type.
* We weren't printing the new type when an alias-declaration is
redec
Hi,
On Sat, 12 Nov 2016, Segher Boessenkool wrote:
> Hi Michael,
>
> On Thu, Oct 20, 2016 at 04:20:09PM +0200, Michael Matz wrote:
> > PR missed-optimization/77881
> > * combine.c (simplify_comparison): Remove useless subregs
> > also inside the loop, not just after it.
> >
> > test
On Wed, Nov 9, 2016 at 7:24 AM, Jakub Jelinek wrote:
> The match.pd hunk is needed, otherwise the generic folding happily folds
> int arr[2];
> ...
> auto [ x, y ] = arr;
> &x == &arr[0]
> into 0, because it thinks x and arr are distinct VAR_DECLs. Though, if
> such comparisons are required to be
Hi Jerry,
I think this
+ /* Parameter adjustments */
+ c_dim1 = m;
+ c_offset = 1 + c_dim1;
should be
+ /* Parameter adjustments */
+ c_dim1 = rystride;
+ c_offset = 1 + c_dim1;
Regarding options for matmul: It is possible to add the
options to the lines in Make
On Sun, Nov 13, 2016 at 11:53:10PM -0500, Jason Merrill wrote:
> On Wed, Nov 9, 2016 at 8:05 AM, Jakub Jelinek wrote:
> > On Wed, Nov 09, 2016 at 01:24:22PM +0100, Jakub Jelinek wrote:
> >> The following patch is a WIP on P0217R3 - decomposition declarations.
> >> It contains various FIXMEs, Jason
On Mon, Nov 14, 2016 at 08:11:25AM +0100, Jakub Jelinek wrote:
> On Sun, Nov 13, 2016 at 11:53:10PM -0500, Jason Merrill wrote:
> > On Wed, Nov 9, 2016 at 8:05 AM, Jakub Jelinek wrote:
> > > On Wed, Nov 09, 2016 at 01:24:22PM +0100, Jakub Jelinek wrote:
> > >> The following patch is a WIP on P0217
57 matches
Mail list logo