[Bug target/92669] [10 Regression] ICE in pre_and_rev_post_order_compute_fn at gcc/cfganal.c:1034 since r278666

2019-11-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92669 --- Comment #1 from Andrew Pinski --- fma-steering is an aarch64 specific pass so this is a target issue.

[Bug inline-asm/92597] std::fma gives nan using -march=sandybridge+ with asm volatile

2019-11-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92597 --- Comment #11 from Andrew Pinski --- (In reply to Klaus Leppkes from comment #9) > > g++ -c error_large_lvalue.cpp > error_large_lvalue.cpp: In function ‘void DoNotOptimize(Tp&) [with Tp = > Large]’: > error_large_lvalue.cpp:16:48: error: inc

[Bug c++/92642] Enhance shift-count-overflow output

2019-11-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92642 --- Comment #5 from Andrew Pinski --- (In reply to Jonny Grant from comment #4) > This test case for similar does have a nice warning. > > Interestingly, G++ does not indicate that 5147483647 is already 34 bits long: > 1001100101101010111011

[Bug c/92673] OCaml fails to link with recent trunk

2019-11-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92673 --- Comment #3 from Andrew Pinski --- (In reply to Jürgen Reuter from comment #2) > (In reply to Richard Biener from comment #1) > > Try -fcommon, it's default recently was swapped to -fno-common. > > The default for gcc was changed? Which commi

[Bug c/92684] bitfield behavior not matching the declared type

2019-11-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92684 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/92684] bitfield behavior not matching the declared type

2019-11-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92684 --- Comment #2 from Andrew Pinski --- bit-fields in C is a type. while in C++, it is not. So: st.v2 << 3 This is not ((long)st.v2) << 3 but rather (long:45)<<3. So it gets truncated. C11: fff8 0xfff8 1ffffff8 1 2 f

[Bug c/92684] bitfield behavior not matching the declared type

2019-11-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92684 --- Comment #3 from Andrew Pinski --- There is a defect report dealing with this in C and such. Both are correct for C11 but would be incorrect for C90 which defines bit-field types because of the defect report. GCC decided to follow the C90 way

[Bug target/91602] GCC fails to build for riscv in a combined tree due to misconfigured leb128 support

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91602 Andrew Pinski changed: What|Removed |Added Keywords|easyhack| --- Comment #8 from Andrew Pinski ---

[Bug libstdc++/92688] including introduce the name index to global namespace scope

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92688 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/6257] [DR 456] C-library symbols enter global namespace

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6257 Andrew Pinski changed: What|Removed |Added CC||boostcpp at gmail dot com --- Comment #31

[Bug libstdc++/92688] including introduce the name index to global namespace scope

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92688 --- Comment #2 from Andrew Pinski --- index was the POSIX name for strchr (because issue 6 marked as legacy): https://pubs.opengroup.org/onlinepubs/009695399/functions/index.html GCC does not have full control over glibc and even then read the o

[Bug tree-optimization/92689] Improve stmt_may_clobber_ref_p_1 on constant memory reference

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92689 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Andrew P

[Bug libstdc++/92688] including introduce the name index to global namespace scope

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92688 --- Comment #4 from Andrew Pinski --- See PR 11196 and PR 2082 for that issue ...

[Bug libstdc++/92688] including introduce the name index to global namespace scope

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92688 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > See PR 11196 and PR 2082 for that issue ... More to the point is glibc still does not do the right thing for what is needed to support C++11 and above: https://s

[Bug tree-optimization/92689] Improve stmt_may_clobber_ref_p_1 on constant memory reference

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92689 --- Comment #3 from Andrew Pinski --- The argument p could have been a non const when it was passed to foo. That is outside of the this TU: static int t; void (void) { foo (&t); } void fn(void) { t++; }

[Bug tree-optimization/92689] Improve stmt_may_clobber_ref_p_1 on constant memory reference

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92689 --- Comment #4 from Andrew Pinski --- Actually the testcase which causes the return true to be correct would be: extern int data; void (void) { foo (&data); } void fn(void) { data++; } CUT --- I think you need either a better testca

[Bug target/92692] New: Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements)

2019-11-27 Thread pinskia at gcc dot gnu.org
Keywords: wrong-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Target: aarch64-linux-gnu Created attachment 47375

[Bug target/92692] [9/10 Regression] Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements)

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692 Andrew Pinski changed: What|Removed |Added See Also||https://sourceware.org/bugz

[Bug preprocessor/92696] #pragma GCC diagnostic ... interferes with if/else

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92696 --- Comment #2 from Andrew Pinski --- Also #pragma are considered statements. There is another issue like this but instead using _Pragma .

[Bug target/92693] Inconsistency between __UINTPTR_TYPE__ and __UINT32_TYPE__ on ARM

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92693 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/92692] [9/10 Regression] Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements)

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692 --- Comment #1 from Andrew Pinski --- >it turns out the issue is a gcc issue and a glibc issue. NOTE I had missed out a word here: This should have read: it turns out the issue is a gcc issue and NOT a glibc issue.

[Bug preprocessor/92696] #pragma GCC diagnostic ... interferes with if/else

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92696 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Also #pragma are considered statements. There is another issue like this > but instead using _Pragma . I should say some Pragmas are considered statements. See

[Bug target/92692] [9/10 Regression] Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements)

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692 Andrew Pinski changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org --- Comment

[Bug target/92692] [9/10 Regression] Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements)

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692 --- Comment #4 from Andrew Pinski --- (In reply to Wilco from comment #3) > (In reply to Andrew Pinski from comment #2) > > I think this has been a latent bug since revision 243200: > > [AArch64] Separate shrink wrapping hooks implementation

[Bug target/92692] [9/10 Regression] Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements)

2019-11-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692 --- Comment #6 from Andrew Pinski --- (In reply to Wilco from comment #5) > Well I'm looking at the latest version > (https://static.docs.arm.com/ddi0487/ea/DDI0487E_a_armv8_arm.pdf) where in > figure B2-5 it explicitly states that a store that d

[Bug c/92716] -Os doesn't inline byteswap function even though it's a single instruction

2019-11-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92716 --- Comment #2 from Andrew Pinski --- Most likely what is happening is the following: inlining happens twice but the detection of bswap does not happen until after both inlining so the cost huestric for byteswap function is high.

[Bug tree-optimization/92716] -Os doesn't inline byteswap function even though it's a single instruction

2019-11-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92716 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Status|U

[Bug c++/92717] precompiled headers non-deterministic

2019-11-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92717 --- Comment #1 from Andrew Pinski --- I don't think this is a bug, __DATE__ is one of the predefined macros and I think it is included in GCC's precompiled headers. Really ccache is broken anyways. >As builds of regular C(++) files are determin

[Bug c/92720] cc1 accepts #include /dev/stdin inline

2019-11-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92720 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/92717] precompiled headers non-deterministic

2019-11-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92717 --- Comment #7 from Andrew Pinski --- (In reply to Richard Biener from comment #6) > Well, pch files essentially contain a memory dump of GCCs internal state so > I very much expect differences for example when address-space randomization > is tu

[Bug bootstrap/92733] linker errors for missing std::__alloc_on_move with a cross-compiler

2019-11-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92733 --- Comment #1 from Andrew Pinski --- This error message does not make sense. Xgcc/xg++ should not be used to link cc1. For a cross. Can you provide how you configured?

[Bug driver/92757] Documentation ambiguous/misleading about interplay of optimization and warning flags

2019-12-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92757 --- Comment #1 from Andrew Pinski --- >is too general and important a piece of information to be buried in the >documentation of individual warning flags. Yes because you should read the whole documentation rather than bits and pieces of it. W

[Bug middle-end/92761] hash_table::expand invokes assignment on invalid objects

2019-12-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92761 --- Comment #2 from Andrew Pinski --- I don't think this is a valid testcase, given: Both KeyId and Value may be non-trivial (non-POD) types provided a suitabe Traits class.

[Bug middle-end/92761] hash_table::expand invokes assignment on invalid objects

2019-12-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92761 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/92762] hash_table::empty_slow invokes assignment on invalid objects

2019-12-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92762 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/92761] hash_table::expand invokes assignment on invalid objects

2019-12-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92761 --- Comment #4 from Andrew Pinski --- *** Bug 92762 has been marked as a duplicate of this bug. ***

[Bug middle-end/92761] hash_table::expand invokes assignment on invalid objects

2019-12-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92761 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/92761] hash_table::expand invokes assignment on invalid objects

2019-12-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92761 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > Only values are being used in the whole of GCC are all PODs.

[Bug tree-optimization/92765] [10 Regression] Wrong code caused by folding of -Wstring-compare since r276773

2019-12-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92765 --- Comment #3 from Andrew Pinski --- But isn't the case magic could be considered a variable length field since it is st the end of the struct?

[Bug c++/92786] [c++11] static constexpr member link error

2019-12-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92786 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug go/92810] New: Compiling GCC go for aarch64_be-marvell-linux-gnu fails

2019-12-04 Thread pinskia at gcc dot gnu.org
Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: pinskia at gcc dot gnu.org CC: cmang at google dot com Target Milestone: --- Target: aarch64_be-marvell-linux-gnu cpugen.go:3:1: error: expected operand

[Bug demangler/92797] cplus_demangle() produces huge amount of output (on trunk)

2019-12-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92797 --- Comment #2 from Andrew Pinski --- (In reply to Tim Ruehsen from comment #1) > BTW, llvm-cxxfilt does not show this behavior. Could it because it does not implement the D demangler?

[Bug bootstrap/92828] array out of bounds access in libcpp/mkdeps.c

2019-12-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92828 Andrew Pinski changed: What|Removed |Added Keywords||build --- Comment #1 from Andrew Pinski

[Bug bootstrap/92828] array out of bounds access in libcpp/mkdeps.c

2019-12-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92828 --- Comment #3 from Andrew Pinski --- Are you saying the warning shows up which causes the bootstrap to fail? Because at runtime there should be no out of bounds access.

[Bug middle-end/92824] Wrong optimization: representation of long doubles not copied even with memcpy

2019-12-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92824 Andrew Pinski changed: What|Removed |Added Target||x86_64-linux-gnu, m68k --- Comment #1 fr

[Bug go/92810] Compiling GCC go for aarch64_be-marvell-linux-gnu fails

2019-12-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92810 --- Comment #3 from Andrew Pinski --- Next error: /bajas/pinskia/src/toolchain-10/scripts/../src/libgo/go/internal/syscall/unix/getrandom_linux.go:35:34: error: reference to undefined name ‘randomTrap’ 35 | r1, _, errno := syscall.Syscall(ran

[Bug go/92810] Compiling GCC go for aarch64_be-marvell-linux-gnu fails

2019-12-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92810 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > Testing that (and see what the next failure is) After the above patch, there are no build failures; I have not tried to run the testsuite yet.

[Bug rtl-optimization/92007] [9/10 Regression] ICE: verify_flow_info failed (error: EH edge crosses section boundary in bb 7)

2019-12-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92007 --- Comment #23 from Andrew Pinski --- (In reply to Maxim Kuvyrkov from comment #21) > > Is there a way to fix the problem gcc-9-branch in less intrusive way? Could this be an alignment issue?

[Bug libstdc++/92850] clang has already supported concepts in latest trunk. However it does not define __cpp_concepts macro. I defined it but crashes clang compiler

2019-12-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92850 --- Comment #1 from Andrew Pinski --- The crash itself should report to llvm project for sure. Are you sure concepts are fully implemented in clang?

[Bug c++/92855] -fvisibility-inlines-hidden failing to hide out-of-line copies of certain inline member functions

2019-12-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92855 --- Comment #1 from Andrew Pinski --- The libstdc++ headers have visibility extern on them. Looks like the symbol you are pointing out would be one of those.

[Bug c++/92855] -fvisibility-inlines-hidden failing to hide out-of-line copies of certain inline member functions

2019-12-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92855 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/92822] [10 Regression] testsuite failures on aarch64 after r278938

2019-12-08 Thread pinskia at gcc dot gnu.org
|UNCONFIRMED |NEW Last reconfirmed||2019-12-09 CC||pinskia at gcc dot gnu.org Target Milestone|--- |10.0 Summary|regressions on aarch64 |[10 Regression] testsuite

[Bug c/92857] -Wsign-conversion flag issues false positives for expression using typedef'ed unsigned types

2019-12-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92857 --- Comment #4 from Andrew Pinski --- (In reply to Joshua Saxby from comment #2) > (In reply to Richard Biener from comment #1) > > I think the warning is about foo - bar being carried out in type 'int' due > > to > > integer promotion and that

[Bug c++/92869] g++ wrongly reports aggregate type as not-aggregate (when explicitly defaulted ctors are added)

2019-12-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92869 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from Andrew Pi

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2019-12-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 Andrew Pinski changed: What|Removed |Added Target||i?86-linux-gnu Depends on|

[Bug tree-optimization/92879] incorrect warning of __builtin_memset offset is out of the bounds on zero-size allocation and initialization

2019-12-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92879 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Target|

[Bug web/92880] Documentation for Built-in Vector-Extensions should mention C99 Fixed-width ints as base types

2019-12-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92880 --- Comment #1 from Andrew Pinski --- Because the fixed types in C99 are just typedef of normal types. So it really does not need to describe that.

[Bug tree-optimization/92891] [10 Regression] ice in decompose, at wide-int.h:984

2019-12-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92891 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Component|c

[Bug target/92889] [8/9 only] GCC-8 considers the _mm_gf2p8affine_epi64_epi8 intrinsic to be symmetric

2019-12-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92889 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug target/92892] [AARCH64] TBL-based permutations can be implemented more efficiently for 2-element vectors

2019-12-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92892 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Component|r

[Bug target/92892] [AARCH64] TBL-based permutations can be implemented more efficiently for 2-element vectors

2019-12-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92892 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/92902] gcc 9.2 puts "jump tables" in the .text section

2019-12-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92902 --- Comment #1 from Andrew Pinski --- This is a target specific issue. That is each target decides where to put the jump table. On some targets, it is already done not in the text section but the rodata section. It seems like sparc is not one

[Bug tree-optimization/92903] Cannot elide byteswap when only needed to compare to multiple constants

2019-12-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92903 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Component|c

[Bug tree-optimization/92903] Cannot elide byteswap when only needed to compare to multiple constants

2019-12-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92903 --- Comment #3 from Andrew Pinski --- There are a lot of bswap optimizations missing I think.

[Bug tree-optimization/92903] Cannot elide byteswap when only needed to compare to multiple constants

2019-12-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92903 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/92915] msys issue couldn't commit memory for cygwin heap

2019-12-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92915 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/92902] jump tables are put into the text section

2019-12-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92902 --- Comment #16 from Andrew Pinski --- (In reply to Jean-Christophe Dubois from comment #15) > Am I missing something? YES. Most likely it will not be loaded in the instruction cache as it is larger than the cache line size.

[Bug tree-optimization/86659] [9 regression] gnat.dg/sso/q[23].adb FAIL

2019-12-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86659 --- Comment #8 from Andrew Pinski --- I have a C testcase which I will be adding by the end of the week.

[Bug tree-optimization/86659] [9 regression] gnat.dg/sso/q[23].adb FAIL

2019-12-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86659 --- Comment #9 from Andrew Pinski --- Author: pinskia Date: Fri Dec 13 08:31:42 2019 New Revision: 279338 URL: https://gcc.gnu.org/viewcvs?rev=279338&root=gcc&view=rev Log: Add C testcases for PR 86659 testsuite/ChangeLog: 2019-12-13 Andrew P

[Bug tree-optimization/86659] [9 regression] gnat.dg/sso/q[23].adb FAIL

2019-12-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86659 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > I have a C testcase which I will be adding by the end of the week. Done: https://gcc.gnu.org/ml/gcc-patches/2019-12/msg00924.html https://gcc.gnu.org/ml/gcc-cvs

[Bug target/92922] [10 regression] [ilp32] FAIL: gcc.target/aarch64/sve/acle/asm/ldnt1_u32.c -std=c90 -O1 -g -DTEST_FULL (internal compiler error)

2019-12-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92922 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Target

[Bug inline-asm/92921] Feature request: Automatic transliteration of AT&T inline asm into Intel syntax

2019-12-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92921 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/92934] mips jump to invalid address

2019-12-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92934 --- Comment #3 from Andrew Pinski --- The gcc patch that is attached has incorrect definition for allegrex_madd and allegrex_msub. It uses match_dup when it should really be using match_operand and the constraint of "0".

[Bug target/92934] mips jump to invalid address

2019-12-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92934 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #4 from Andrew Pi

[Bug target/92934] mips jump to invalid address

2019-12-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92934 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/92932] Optimizers generate wrong code due to aggressive data optimization.

2019-12-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92932 --- Comment #1 from Andrew Pinski --- Dup of at least PR92294 and PR54666; I thought there was a much older bug dealing with the alias attribute but I can't seem to find it right now.

[Bug tree-optimization/92938] constprop function is assigned to a different section than the original function

2019-12-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92938 --- Comment #2 from Andrew Pinski --- I don't think this is a GCC bug. The reasoning is bitmap_replace is not marked as being in the section .init_* at all. GCC decides to clone it for constant-prop. Really any function which is marked as __gnu

[Bug tree-optimization/92938] constprop function is assigned to a different section than the original function

2019-12-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92938 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/92949] New: bswap/store merging does not handle BIT_INSERT_EXPR

2019-12-15 Thread pinskia at gcc dot gnu.org
: enhancement Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- While working on lowering bit-field accesses (to allow better optimizations on the tree level rather than just

[Bug tree-optimization/92949] bswap/store merging does not handle BIT_INSERT_EXPR

2019-12-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92949 --- Comment #1 from Andrew Pinski --- Created attachment 47501 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47501&action=edit The current bit-field lowering patch

[Bug tree-optimization/92949] bswap/store merging does not handle BIT_INSERT_EXPR

2019-12-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92949 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Created attachment 47501 [details] > The current bit-field lowering patch I attached the current bit-field lowering patch so if someone wants to work on this, th

[Bug tree-optimization/92949] bswap/store merging does not handle BIT_INSERT_EXPR/BIT_FIELD_REF

2019-12-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92949 Andrew Pinski changed: What|Removed |Added Summary|bswap/store merging does|bswap/store merging does

[Bug tree-optimization/92949] bswap/store merging does not handle BIT_INSERT_EXPR/BIT_FIELD_REF

2019-12-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92949 --- Comment #4 from Andrew Pinski --- Created attachment 47502 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47502&action=edit one testcase This is just one example expanded; note scan-tree-dump-times needed to be updated as I added a few

[Bug c++/92951] extern variable declaration doesn't behave properly for me

2019-12-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92951 --- Comment #1 from Andrew Pinski --- Is the printf before or after main? If before, then the problem is the order of variables initialized from different translational units is unspecified and therefore undefined. If after, then maybe somethin

[Bug target/92953] Undesired if-conversion with overflow builtins

2019-12-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92953 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug c++/92951] extern variable declaration doesn't behave properly for me

2019-12-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92951 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/92951] extern variable declaration doesn't behave properly for me

2019-12-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92951 --- Comment #8 from Andrew Pinski --- NOTE yes there is a missing -Wshadow warning, I will file it in a second.

[Bug c++/92954] New: -Wshadow does not report when a struct member shadows a global

2019-12-16 Thread pinskia at gcc dot gnu.org
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Take: int t; struct g{ int t; void h(void) { t++; } }; CUT --- I would have thought there would be a

[Bug c++/92951] extern variable declaration doesn't behave properly for me

2019-12-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92951 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #11 from Andrew Pins

[Bug c++/92951] extern variable declaration doesn't behave properly for me

2019-12-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92951 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > NOTE yes there is a missing -Wshadow warning, I will file it in a second. PR92954

[Bug target/92953] Undesired if-conversion with overflow builtins

2019-12-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92953 --- Comment #3 from Andrew Pinski --- (In reply to Alexander Monakov from comment #2) > Well, the aarch64 backend does not implement subv4 pattern in the > first place, which would be required for efficient branchy code: > > foo: > subs

[Bug tree-optimization/92963] Optimization with `restrict`: is `p == q ? p : q` "based" on `p`?

2019-12-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92963 --- Comment #1 from Andrew Pinski --- Take: if (p == q) r = p; else r = q; p cannot be q as they cannot be based on each other based on my reading of 6.7.3.1p3. Therefore r is only ever based on q.

[Bug tree-optimization/88739] [7 Regression] Big-endian union bug

2019-12-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88739 --- Comment #63 from Andrew Pinski --- Note match.pd has a similar bug. Here is the patch which fixes it: diff --git a/gcc/match.pd b/gcc/match.pd index 92b93b0..8607abe 100644 --- a/gcc/match.pd +++ b/gcc/match.pd @@ -5676,16 +5676,18 @@ DEFINE

[Bug tree-optimization/92949] bswap/store merging does not handle BIT_INSERT_EXPR/BIT_FIELD_REF

2019-12-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92949 --- Comment #5 from Andrew Pinski --- Note bswap pass is very fragile. In fact if we increase the limit by 1, things dont work any more. There needs to be a better way of handling this. Oh when I was adding bit insert to it, it falls over due

[Bug tree-optimization/92979] New: bswap not finding a bswap with a memory load at the beginging of the instruction stream

2019-12-17 Thread pinskia at gcc dot gnu.org
Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Target: aarch64-linux-gnu Take these two

[Bug tree-optimization/92949] bswap/store merging does not handle BIT_INSERT_EXPR/BIT_FIELD_REF

2019-12-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92949 Andrew Pinski changed: What|Removed |Added Depends on||92979 --- Comment #6 from Andrew Pinski

[Bug tree-optimization/92949] bswap/store merging does not handle BIT_INSERT_EXPR/BIT_FIELD_REF

2019-12-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92949 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Note bswap pass is very fragile. In fact if we increase the limit by 1, > things dont work any more. There needs to be a better way of handling this. PR 92979

[Bug tree-optimization/92980] [miss optimization]redundant load missed by fre.

2019-12-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92980 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Status|U

[Bug tree-optimization/92980] [miss optimization]redundant load missed by fre.

2019-12-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92980 --- Comment #4 from Andrew Pinski --- (In reply to Hongtao.liu from comment #3) > > ptrop ---> src1 + 18446744073709551612; > intop ---> j > > It seems on purpose??? Kinda. What needs to happen is a sign extend rather than a zero extend which

[Bug middle-end/92957] gcc produces a duplicated load, clang doesn't

2019-12-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92957 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #2 from

<    2   3   4   5   6   7   8   9   10   11   >