[Bug bootstrap/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 Andrew Pinski changed: What|Removed |Added Keywords||build, wrong-code Status|NEW

[Bug bootstrap/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #3 from Andrew Pinski --- One question I have is which stage fails? Is it stage 2 or stage 3? Because if it is stage 3, then stage 2 is miscompiled which is causing a different miscompile in stage 3.

[Bug bootstrap/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > One question I have is which stage fails? Is it stage 2 or stage 3? > Because if it is stage 3, then stage 2 is miscompiled which is causing a > different misco

[Bug tree-optimization/92645] Hand written vector code is 450 times slower when compiled with GCC compared to Clang

2020-03-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92645 --- Comment #22 from Andrew Pinski --- (In reply to Richard Biener from comment #20) > where SLP vectorization is confused about (char) _19 vs. BIT_FIELD_REF > but also wouldn't handle BIT_FIELD_REFs. It neither vectorizes the > store to a store

[Bug c/94055] Segmentation fault in memet function

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

[Bug c/94053] Segmentation fault in default Optimization, but works well in O1 ~ Os

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

[Bug target/94054] wrong inliine asm generated for 'w' constraint on neon

2020-03-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94054 --- Comment #1 from Andrew Pinski --- You need to use the operand modifier P here: __asm__ __volatile__ ( "vld1.f32 {d0,d1}, [%[src]]! \n\t" "vtbl.8 d2, {d0,d1}, %P[t0] \n\t" "vtbl.8

[Bug target/94054] wrong inliine asm generated for 'w' constraint on neon

2020-03-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94054 --- Comment #2 from Andrew Pinski --- related to PR PR 84343.

[Bug target/94054] wrong inliine asm generated for 'w' constraint on neon

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

[Bug inline-asm/37188] Missing documentation about the use of ARM NEON quad registers in inline asm arguments

2020-03-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37188 Andrew Pinski changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #4

[Bug target/94052] Paradoxical subregs out of expand causes ICE with multi register modes at -O2 or higher

2020-03-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94052 Andrew Pinski changed: What|Removed |Added Blocks||89967 --- Comment #2 from Andrew Pinski

[Bug target/94052] Paradoxical subregs out of expand causes ICE with multi register modes at -O2 or higher

2020-03-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94052 Andrew Pinski changed: What|Removed |Added Blocks||89057 --- Comment #3 from Andrew Pinski

[Bug target/89967] Inefficient code generation for vld2q_lane_u8 under aarch64

2020-03-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89967 Andrew Pinski changed: What|Removed |Added Depends on||89057 --- Comment #2 from Andrew Pinski

[Bug target/94052] Paradoxical subregs out of expand causes ICE with multi register modes at -O2 or higher

2020-03-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94052 --- Comment #4 from Andrew Pinski --- (In reply to Tamar Christina from comment #1) > I don't believe this ever worked.. At least testing 8,9 and 10 all ICE. So I > didn't put a regression label on it. (and couldn't figure out the format for > kn

[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

2020-03-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755 Andrew Pinski changed: What|Removed |Added Keywords||ice-checking --- Comment #11 from Andrew

[Bug target/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #16 from Andrew Pinski --- (In reply to Martin Liška from comment #15) > Started with r10-6919-gf3ce088645e5305d932380c7520809181b2d2eb9. This should just change the costs of the register usage. Which means it might be a latent bug

[Bug target/94059] [10 Regression] m68k: Bootstrap fails configuring libiberty with 'cannot compute sizeof (long long)'

2020-03-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94059 Andrew Pinski changed: What|Removed |Added Keywords||build, wrong-code Target Milestone|---

[Bug c++/94064] O0 vs O1/O2/O3 different output

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

[Bug target/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #20 from Andrew Pinski --- The return value of the first _Z11tsubst_exprP9tree_nodeS0_iS0_b.part.0 was being copied into r8 and then copied back into r3 (return value), but not r0 is used and that r0 is used for mtlr (moving back the

[Bug target/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #24 from Andrew Pinski --- (In reply to Martin Liška from comment #23) > (In reply to Andrew Pinski from comment #20) > > The return value of the first _Z11tsubst_exprP9tree_nodeS0_iS0_b.part.0 was > > being copied into r8 and then co

[Bug middle-end/94083] inefficient soft-float x!=Inf code

2020-03-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94083 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|n

[Bug libstdc++/94080] -mabi=ieeelongdouble and -mfloat128 cause libstc++ header breakage

2020-03-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94080 Andrew Pinski changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #1 from Andrew Pin

[Bug tree-optimization/94084] Optimizer produces suboptimal code related to loop-invariant

2020-03-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94084 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|tree-optimization Severity|nor

[Bug c/94075] When using linker-generated list, bad optimization performed in -O2

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

[Bug target/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #35 from Andrew Pinski --- (In reply to Martin Liška from comment #15) > Started with r10-6919-gf3ce088645e5305d932380c7520809181b2d2eb9. This change goes against what HONOR_REG_ALLOC_ORDER is documented on doing (I Mean the false ca

[Bug tree-optimization/94084] Optimizer produces suboptimal code related to loop-invariant

2020-03-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94084 --- Comment #3 from Andrew Pinski --- (In reply to vfdff from comment #2) > thanks very much, you are right. The same problem is here.

[Bug c++/85079] Segfault While Compiling DXX-Rebirth Project

2020-03-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85079 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug target/78636] PPC Optimization Bug in Libelemental unit test

2020-03-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78636 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug tree-optimization/94086] Missed optimization when converting a bitfield to an integer on x86-64

2020-03-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94086 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org

[Bug target/94087] std::random_device often fails when used from multiple threads

2020-03-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94087 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > >The bug is *not* present on on Fedora:31 where the compiler reports: > > I doubt it is version based but rather based on what the CPU you are running > on. I M

[Bug target/94087] std::random_device often fails when used from multiple threads

2020-03-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94087 --- Comment #1 from Andrew Pinski --- >The bug is *not* present on on Fedora:31 where the compiler reports: I doubt it is version based but rather based on what the CPU you are running on.

[Bug target/94087] std::random_device often fails when used from multiple threads

2020-03-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94087 --- Comment #3 from Andrew Pinski --- https://software.intel.com/sites/default/files/managed/98/4a/DRNG_Software_Implementation_Guide_2.1.pdf 5.3.1 Retry Recommendations ... If only one thread is calling RDSEED infrequently, it is very unlikely

[Bug bootstrap/94089] fixincludes of breaks gcc after glibc-2.31 upgrade

2020-03-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94089 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/94092] Code size and performance degradations after -ftree-loop-distribute-patterns was enabled at -O[2s]+

2020-03-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94092 --- Comment #1 from Andrew Pinski --- >For coremark, this is not only harmful to performance, but also code size. Bad, very bad benchmark SPEC CPU is closer to real code but still bad benchmarks.

[Bug tree-optimization/94092] Code size and performance degradations after -ftree-loop-distribute-patterns was enabled at -O[2s]+

2020-03-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94092 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > >For coremark, this is not only harmful to performance, but also code size. > > > Bad, very bad benchmark Coremark only handles very very small data sets b

[Bug tree-optimization/94092] Code size and performance degradations after -ftree-loop-distribute-patterns was enabled at -O[2s]+

2020-03-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94092 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/94093] -malign-double changes alignment of double type only and not long double

2020-03-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94093 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2020-03-09 Status|UNCONFIRME

[Bug target/94093] -malign-double changes alignment of double type only and not long double

2020-03-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94093 --- Comment #2 from Andrew Pinski --- This might be just like PR 47120.

[Bug target/94095] Modifier 'a' do not work as described

2020-03-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94095 --- Comment #1 from Andrew Pinski --- The problem is just 'a' in the first (Modifier) column is wrong, it should have been 'A'. I will commit the patch in a few minutes. Operand column is correct to use 'A'.

[Bug target/94095] Modifier 'a' do not work as described

2020-03-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94095 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug middle-end/94103] Wrong optimization: reading value of a variable changes its representation for optimizer

2020-03-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94103 --- Comment #2 from Andrew Pinski --- long double has padding bits on x86_64 so that is not shocking there. _Decimal3 is a different issue all together.

[Bug inline-asm/94113] Apparently incorrect register allocation in inline asm when using CMOV.

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

[Bug inline-asm/31386] wrong registers used in cmov instruction

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

[Bug c++/94067] [10 Regression] ICE on rotate with -Wconversion since r10-6527

2020-03-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94067 Andrew Pinski changed: What|Removed |Added CC||antonio.di.monaco at sap dot com --- Co

[Bug c++/94116] GCC regression - unexpected AST of kind lrotate_expr

2020-03-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94116 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug tree-optimization/94125] [9/10 Regression] wrong code at -O3 on x86_64-linux-gnu

2020-03-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94125 Andrew Pinski changed: What|Removed |Added Summary|wrong code at -O3 on|[9/10 Regression] wrong

[Bug web/94118] Undocumented inline assembly [target] operand modifiers

2020-03-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94118 Andrew Pinski changed: What|Removed |Added Depends on||37188 --- Comment #1 from Andrew Pinski

[Bug rtl-optimization/94133] GCC loses track of SHIFT optimization

2020-03-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94133 --- Comment #2 from Andrew Pinski --- In the first example combine is able to combine: Trying 13 -> 14: 13: {r96:SI=r103:SI&0x3f;clobber flags:CC;} REG_DEAD r103:SI REG_UNUSED flags:CC 14: {r97:TI=r95:TI<

[Bug c++/94132] Valid usage of flexible array member failing to compile

2020-03-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94132 --- Comment #1 from Andrew Pinski --- >Can we make this check more robust so valid usage isn't rejected? Why do you think it is valid?

[Bug target/94133] GCC loses track of SHIFT optimization

2020-03-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94133 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|target Target|

[Bug target/94134] pdp11-aout puts initial variable into .text section rather than .data

2020-03-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94134 Andrew Pinski changed: What|Removed |Added CC||coryan+gccbugzilla at google dot c

[Bug target/94085] pdp11-aout puts initial variable into .text section rather than .data

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

[Bug target/94134] pdp11-aout puts initial variable into .text section rather than .data

2020-03-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94134 --- Comment #3 from Andrew Pinski --- Most targets output .lcommon or similar for this case.

[Bug target/94095] Modifier 'a' do not work as described

2020-03-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94095 --- Comment #4 from Andrew Pinski --- (In reply to Martin Liška from comment #3) I did not notice the git to bugzilla comment connection was not working until yesterday and then forgot to update this one. THanks for doing it.

[Bug middle-end/94146] [10 Regression] Merging functions with same bodies stopped working

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

[Bug target/94158] Expanded strlen causes out-of-bounds read on AMD64 target

2020-03-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94158 --- Comment #1 from Andrew Pinski --- A pointer returned from strdup has to be valid to be able pass to free. Your testcase makes that invalid.

[Bug target/94158] Expanded strlen causes out-of-bounds read on AMD64 target

2020-03-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94158 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug target/94158] Expanded strlen causes out-of-bounds read on AMD64 target

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

[Bug target/94158] Expanded strlen causes out-of-bounds read on AMD64 target

2020-03-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94158 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > (In reply to Parker Thompson from comment #3) > > As for alloc alignment, glibc strdup() does not use aligned_alloc, just > > malloc. Which by my read of the spe

[Bug rtl-optimization/94026] combine missed opportunity to simplify comparisons with zero

2020-03-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026 --- Comment #3 from Andrew Pinski --- I think part of this optimization should be done on the tree level.

[Bug tree-optimization/94163] [8/9 Regression] internal compiler error: in set_ptr_info_alignment, at tree-ssanames.c:671

2020-03-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94163 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|---

[Bug middle-end/94172] [arm-none-eabi] ICE in expand_debug_locations, at cfgexpand.c:5403

2020-03-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94172 --- Comment #1 from Andrew Pinski --- >GNU Tools for Arm Embedded Processors 8-2019-q3-update You should report this to ARM really.

[Bug other/94182] Document -Wchar-subscripts

2020-03-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94182 --- Comment #2 from Andrew Pinski --- Considering it is documented in another place where char is signed or unsigned. I don't know if this needs to change. https://gcc.gnu.org/onlinedocs/gcc-9.3.0/gcc/Characters-implementation.html#Characters-

[Bug c++/94184] Global variable inline constructor elision.

2020-03-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94184 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug driver/94198] Placement of source file in GCC command line has impact on whether the link succeeds

2020-03-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94198 Andrew Pinski changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRMED

[Bug target/94200] -mabi=ibmlongdouble and -mlong-double-128 produces error

2020-03-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94200 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/94206] Wrong optimization: memset of n-bit integer types (from bit-fields) is truncated to n bits (instead of sizeof)

2020-03-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94206 --- Comment #1 from Andrew Pinski --- This again padding bits.

[Bug preprocessor/94207] error: pasting "::" and "ClassFOO1" does not give a valid preprocessing token

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

[Bug preprocessor/94207] error: pasting "::" and "ClassFOO1" does not give a valid preprocessing token

2020-03-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94207 --- Comment #3 from Andrew Pinski --- #define ENUM_CLASS_TEST_INIT(k) \ mEnumClassTest[(int)EnumClassTest :: k] = EnumClassTest :: k;

[Bug target/94200] -mabi=ibmlongdouble and -mlong-double-128 produces error

2020-03-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94200 Andrew Pinski changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug middle-end/94212] [AARCH64] [Regression] Incorrect vectorization of loop with FP calculations

2020-03-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94212 Andrew Pinski changed: What|Removed |Added Component|c |middle-end --- Comment #1 from Andrew Pi

[Bug middle-end/94212] [AARCH64] [Regression] Incorrect vectorization of loop with FP calculations

2020-03-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94212 --- Comment #2 from Andrew Pinski --- >(at least x86_64 is fine) No, just FMA is not enabled by default. If I use -march=skylake-avx512 , I get the same answers as on aarch64_64.

[Bug middle-end/94212] Incorrect vectorization of loop with FP calculations

2020-03-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94212 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > >(at least x86_64 is fine) > No, just FMA is not enabled by default. > If I use -march=skylake-avx512 , I get the same answers as on aarch64_64. Note I am runn

[Bug middle-end/94212] Incorrect vectorization of loop with FP calculations

2020-03-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94212 --- Comment #4 from Andrew Pinski --- Note also using -ffp-contract=off will also change the value.

[Bug target/94218] Different __builtin_setjmp/__builtin_longjmp buffer layout is suggested in case of cet.

2020-03-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94218 --- Comment #2 from Andrew Pinski --- __builtin_setjmp/__builtin_longjmp really should not be used. They are normally used internally for Exception handling if dwarf2 eh is not enabled.

[Bug target/94218] Different __builtin_setjmp/__builtin_longjmp buffer layout is suggested in case of cet.

2020-03-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94218 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/94218] Different __builtin_setjmp/__builtin_longjmp buffer layout is suggested in case of cet.

2020-03-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94218 --- Comment #3 from Andrew Pinski --- https://gcc.gnu.org/onlinedocs/gcc-9.3.0/gcc/Nonlocal-Gotos.html#index-_005f_005fbuiltin_005fsetjmp "You should use the standard C library functions declared in in user code instead of the builtins"

[Bug target/94218] Different __builtin_setjmp/__builtin_longjmp buffer layout is suggested in case of cet.

2020-03-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94218 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > "This can make __builtin_setjmp and __builtin_longjmp more efficient than > their library counterparts in some cases, but it can also cause incorrect > and myster

[Bug target/94218] Different __builtin_setjmp/__builtin_longjmp buffer layout is suggested in case of cet.

2020-03-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94218 --- Comment #6 from Andrew Pinski --- Also: "GCC provides the built-in functions __builtin_setjmp and __builtin_longjmp which are similar to, but not interchangeable with, the C library functions setjmp and longjmp."

[Bug target/94218] Different __builtin_setjmp/__builtin_longjmp buffer layout is suggested in case of cet.

2020-03-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94218 --- Comment #8 from Andrew Pinski --- (In reply to gsdrtge6h from comment #7) > Okay, but why the current layout is any better than the suggested layout. Because these are not useful for anything really. The suggested layout might require big c

[Bug c/94222] Architecture dependent problem with vsnprintf

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

[Bug c/94222] Architecture dependent problem with vsnprintf

2020-03-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94222 --- Comment #3 from Andrew Pinski --- (In reply to Jaroslav Fojtík from comment #2) > Sorry, it worked for many years without any problems. I has been fixed a > problem in my WP2LaTeX now. Well it depends on the ABI for va_list . On the targets

[Bug fortran/94228] Preprocessor inconsistency for macros when invoked from gfortran

2020-03-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94228 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/94236] -mcmodel=large does not work on aarch64

2020-03-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236 --- Comment #1 from Andrew Pinski --- -mcmodel=large does not control long calls.

[Bug target/94236] -mcmodel=large does not work on aarch64

2020-03-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236 --- Comment #2 from Andrew Pinski --- A patch for -mlong-calls was posted a long time ago but never made it in: https://gcc.gnu.org/legacy-ml/gcc-patches/2014-10/msg02933.html You should not need -mlong-calls really because the linker should ins

[Bug target/94236] -mcmodel=large does not work on aarch64

2020-03-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236 --- Comment #4 from Andrew Pinski --- Do you have a source where you run into a relocation overflowing? Or is there a specific reason why you need long calls here?

[Bug libstdc++/94241] ranges::find_if doesn't like data structures defined in a function

2020-03-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94241 --- Comment #2 from Andrew Pinski --- #include int main() { struct s { int m; }; s r[] = { s{0}, s{1}, s{2}, s{3} }; std::ranges::find_if(r, [](auto const) { return true; }); }

[Bug c++/94241] ranges::find_if doesn't like data structures defined in a function

2020-03-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94241 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid Component|libstdc

[Bug libstdc++/553] Call to sort () results in segfault

2020-03-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=553 Andrew Pinski changed: What|Removed |Added CC||markd at kermodei dot com --- Comment #8 f

[Bug libstdc++/94244] std::sort corrupts memory

2020-03-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94244 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug c/94247] Wrong char-subscripts warning for limited-range index

2020-03-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94247 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from Andrew Pi

[Bug rtl-optimization/94256] Setting max-sched-region-blocks to >48 causes GCC memory usage to explode

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

[Bug c/94258] Warning Correction while using format specifiers %hx and %ho

2020-03-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94258 --- Comment #1 from Andrew Pinski --- Short types are promoted to int when passed to variable arguments functions.

[Bug c/94258] Warning Correction while using format specifiers %hx and %ho

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

[Bug target/94236] -mcmodel=large does not work on aarch64

2020-03-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236 --- Comment #6 from Andrew Pinski --- Note for Threos OS, please don't reuse the same target triplet as elf or linux; use your own triplet. Also adding long calls is not hard and such.

[Bug c/94247] Wrong char-subscripts warning for limited-range index

2020-03-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94247 --- Comment #8 from Andrew Pinski --- (In reply to Martin Sebor from comment #7) > (In reply to Jakub Jelinek from comment #6) > > No, it diagnoses the main bug > > Nope, it does not. -Wchar-subscripts is designed and documented to diagnose > a

[Bug tree-optimization/94293] [missed optimization] Useless statements populating local string not removed

2020-03-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94293 --- Comment #8 from Andrew Pinski --- (In reply to Eyal Rozenberg from comment #6) > (In reply to Richard Biener from comment #5) > > DSE part ... DCE > > DSE = Dead Statement Elimination? DCE = Dead Code Elimination? I thought Dse was dead st

[Bug sanitizer/94299] false positive: AddressSanitizer: stack-use-after-scope on address

2020-03-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94299 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug sanitizer/94299] false positive: AddressSanitizer: stack-use-after-scope on address

2020-03-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94299 --- Comment #2 from Andrew Pinski --- I forgot to say one more thing, GCC is more strict than LLVM when it comes to temps going out of scope too.

[Bug sanitizer/94299] false positive: AddressSanitizer: stack-use-after-scope on address

2020-03-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94299 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

  1   2   3   4   5   6   7   8   9   10   >