[Bug c++/85943] Template function permits derived class access to private base class static variable

2018-05-27 Thread achuah at drwsg dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85943 Anthony Chuah changed: What|Removed |Added Summary|Template function permits |Template function permits

[Bug c++/85944] New: Address of member variable of temporary not considered constexpr at global scope

2018-05-27 Thread david at doublewise dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85944 Bug ID: 85944 Summary: Address of member variable of temporary not considered constexpr at global scope Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug c++/85943] Template function permits outside access to private variable

2018-05-27 Thread achuah at drwsg dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85943 --- Comment #1 from Anthony Chuah --- Clarifications: This bug applies to static variables, not non-static ones. Please use this example instead: https://godbolt.org/g/LzrzDj

[Bug target/85915] ABI incompatibility (multiple definition of `__x86_return_thunk') for static libraries, between GCC 7.3.0 and GCC >=7.4.0, caused by -mfunction-return=thunk

2018-05-27 Thread Arfrever.FTA at GMail dot Com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85915 Arfrever Frehtes Taifersar Arahesis changed: What|Removed |Added Summary|ABI incompatibility |ABI

[Bug c++/85943] New: Template function permits outside access to private variable

2018-05-27 Thread achuah at drwsg dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85943 Bug ID: 85943 Summary: Template function permits outside access to private variable Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal

Res: Site

2018-05-27 Thread Michel
Ol�, tudo bem ? Voc� ainda tem interesse na cria��o do seu site e loja virtual ? Att. http://www.e-assis.com.br/?c=g...@gnu.org Tel: (11) 2378-7244

[Bug fortran/85942] New: ICE with PDTs

2018-05-27 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85942 Bug ID: 85942 Summary: ICE with PDTs Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee:

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-05-27 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 --- Comment #11 from Hans-Peter Nilsson --- (In reply to Hans-Peter Nilsson from comment #10) > Created attachment 44180 [details] > patch to mmix.c > > Builds libgcc. More late this weekend, I hope. I now see the assertion in

Important, Please

2018-05-27 Thread Tridip Acharya
Hello, Did you receive my previous email? Pls inform. Best regards, T. K Acharya

gcc-9-20180527 is now available

2018-05-27 Thread gccadmin
Snapshot gcc-9-20180527 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/9-20180527/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 9 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision

[committed] Disable use of GNU-stack notes on hppa-linux

2018-05-27 Thread John David Anglin
The attached change disables the use of GNU-stack notes on hppa-linux.  The Linux kernel requires an executable stack for syscall restarts and signal returns.  Enabling GNU-stack notes breaks glibc signal handling. Committed to trunk and gcc-8 branch. Dave -- John David Anglin

[Bug target/85939] -mstackrealign does not realign stack with local __m64 variable

2018-05-27 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85939 --- Comment #6 from H.J. Lu --- (In reply to Uroš Bizjak from comment #5) > (In reply to Florian Weimer from comment #3) > > (In reply to Uroš Bizjak from comment #1) > > > Please also use -mincoming-stack-boundary=2 to tell the compiler about >

[Bug target/69616] optimization of 8 movb

2018-05-27 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69616 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/22141] [5/6/7 Regression] Missing optimization when storing structures

2018-05-27 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22141 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||izaberina at gmail dot com

[Bug target/69639] [6/7/8/9 Regression] FAIL: gcc.c-torture/compile/limits-exprparen.c

2018-05-27 Thread pkoning at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69639 pkoning at gcc dot gnu.org changed: What|Removed |Added CC||pkoning at gcc dot gnu.org

[Bug target/85939] -mstackrealign does not realign stack with local __m64 variable

2018-05-27 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85939 Uroš Bizjak changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #5

[Bug target/69616] optimization of 8 movb

2018-05-27 Thread me at xenu dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69616 Tomasz Konojacki changed: What|Removed |Added CC||me at xenu dot pl --- Comment #4

[Bug rtl-optimization/66152] suboptimal load bytes to stack

2018-05-27 Thread me at xenu dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66152 Tomasz Konojacki changed: What|Removed |Added CC||me at xenu dot pl --- Comment #3

[Bug rtl-optimization/85941] Zero extend from QI->SI lost if QI is referred to via subreg:HI

2018-05-27 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85941 Jozef Lawrynowicz changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

Re: Improve std::rotate usages

2018-05-27 Thread François Dumont
Still no chance to review it ? I'd like this one to go in before submitting other algo related patches.     * include/bits/stl_algo.h     (__rotate(_Ite, _Ite, _Ite, forward_iterator_tag))     (__rotate(_Ite, _Ite, _Ite, bidirectional_iterator_tag))     (__rotate(_Ite, _Ite, _Ite,

[PATCH, committed] fix ICE in test suite on pdp11

2018-05-27 Thread Paul Koning
This cures an ICE caused by a wrong pattern that produces invalid register references. gcc/ChangeLog 2018-05-27 Paul Koning * config/pdp11/pdp11.md (truncsihi2): Remove. Index: config/pdp11/pdp11.md ===

Re: Simplify _Rb_tree instantiation

2018-05-27 Thread François Dumont
On 25/05/2018 21:19, Ville Voutilainen wrote: On 25 May 2018 at 22:16, Jonathan Wakely wrote: Why is this patch removing _Compare() calls? That changes the initialization of _Compare from value-initialization to default-initialization, which is a breaking change. The

Re: virtual-stack-vars reference not resolved in vregs

2018-05-27 Thread Paul Koning
> On May 25, 2018, at 2:11 AM, Eric Botcazou wrote: > >> Is this something the back end is responsible for getting right, for example >> via the machine description file? If so, any hints where to start? > > The SUBREG of MEM is invalid at this stage. Thanks. That

Re: [Aarch64] Vector Function Application Binary Interface Specification for OpenMP

2018-05-27 Thread Jeff Law
On 05/26/2018 04:09 AM, Richard Sandiford wrote: > Steve Ellcey writes: >> On Wed, 2018-05-16 at 22:11 +0100, Richard Sandiford wrote: >>>   >>> TARGET_HARD_REGNO_CALL_PART_CLOBBERED is the only current way >>> of saying that an rtl instruction preserves the low part of a >>>

[Bug target/85939] -mstackrealign does not realign stack with local __m64 variable

2018-05-27 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85939 --- Comment #4 from Florian Weimer --- Unfortunately, -mincoming-stack-boundary=2 makes -mstackrealign useless because now any leaf function realigns the stack. The usual effect (no matter what the documentation says) is that -mstackrealign

[Bug target/85939] -mstackrealign does not realign stack with local __m64 variable

2018-05-27 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85939 --- Comment #3 from Florian Weimer --- (In reply to Uroš Bizjak from comment #1) > Please also use -mincoming-stack-boundary=2 to tell the compiler about > possible incoming stack (mis)alignment. This does change the result; alignment is

[Bug target/85939] -mstackrealign does not realign stack with local __m64 variable

2018-05-27 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85939 --- Comment #2 from Uroš Bizjak --- FYI, -mstackrealign applies only to main ().

[Bug target/85939] -mstackrealign does not realign stack with local __m64 variable

2018-05-27 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85939 --- Comment #1 from Uroš Bizjak --- Please also use -mincoming-stack-boundary=2 to tell the compiler about possible incoming stack (mis)alignment.

Re: [PATCH,Fortran] Allow pointer initialization in DATA

2018-05-27 Thread Jerry DeLisle
On 05/24/2018 06:14 PM, Steve Kargl wrote: The attach patch allows for pointer initialization in a DATA statement per F2018. Yes, it's weird that a data-constant-object is not a named parameter. The 'data-constant-object' is required to have the SAVE and TARGET attribute. Built and regression

[Bug rtl-optimization/85941] Zero extend from QI->SI lost if QI is referred to via subreg:HI

2018-05-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85941 --- Comment #3 from Andrew Pinski --- But this pattern: (define_insn "zero_extendqisi2" [(set (match_operand:SI 0 "nonimmediate_operand" "=r") (zero_extend:SI (subreg:HI (match_operand:QI 1 "nonimmediate_operand" "rm") 0)))] Is

Re: [PATCH] [MSP430] Allow interrupt handers to be static and fix __interrupt__ attribute causing an ICE

2018-05-27 Thread Jozef Lawrynowicz
On 27/05/18 14:19, Jozef Lawrynowicz wrote: If the patch is acceptable, I would appreciate if someone would commit it for me, as I don't have write access. "msp430.md" in the ChangeLog entry should be "msp430.c".

[PATCH] [MSP430] Allow interrupt handers to be static and fix __interrupt__ attribute causing an ICE

2018-05-27 Thread Jozef Lawrynowicz
Some users have a preference for declaring interrupt handlers as static functions, as this enforces that interrupts should not be called directly (from other source files at least). This patch allows interrupt handlers to be declared as static and also fixes an assertion failure when the

[Bug objc/50909] Process "#pragma options align=reset" correctly on Mac OS X

2018-05-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50909 --- Comment #13 from Eric Gallager --- (In reply to Rudolf from comment #12) > This is still an issue... 7 YEARS LEATER!? > > I tried to change the permission on USB.h just to get around this bug... > > with something like this: > #if

[Bug rtl-optimization/85941] Zero extend from QI->SI lost if QI is referred to via subreg:HI

2018-05-27 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85941 --- Comment #2 from Jozef Lawrynowicz --- Created attachment 44192 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44192=edit correct assembly output

[Bug rtl-optimization/85941] Zero extend from QI->SI lost if QI is referred to via subreg:HI

2018-05-27 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85941 --- Comment #1 from Jozef Lawrynowicz --- Created attachment 44191 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44191=edit incorrect assembly output

[Bug rtl-optimization/85941] New: Zero extend from QI->SI lost if QI is referred to via subreg:HI

2018-05-27 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85941 Bug ID: 85941 Summary: Zero extend from QI->SI lost if QI is referred to via subreg:HI Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

Re: Enabling -ftree-slp-vectorize on -O2/Os

2018-05-27 Thread Allan Sandfeld Jensen
On Sonntag, 27. Mai 2018 03:23:36 CEST Segher Boessenkool wrote: > On Sun, May 27, 2018 at 01:25:25AM +0200, Allan Sandfeld Jensen wrote: > > On Sonntag, 27. Mai 2018 00:05:32 CEST Segher Boessenkool wrote: > > > On Sat, May 26, 2018 at 11:32:29AM +0200, Allan Sandfeld Jensen wrote: > > > > I