[Bug analyzer/113277] New: RFE: analyzer diagnose allocation error leading to pass NULL to snprintf

2024-01-08 Thread aldot at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org Target Milestone: --- Currently the analyzer does not diagnose passing in NULL as first argument to snprintf when NULL might stem from an unchecked

[Bug other/111460] New: -fdiagnostics-generate-patch=/out.diff to specify patch output destination file

2023-09-18 Thread aldot at gcc dot gnu.org via Gcc-bugs
Severity: enhancement Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org CC: dmalcolm at gcc dot gnu.org Target Milestone: --- It would be handy if one could specify a file where the patch(es

[Bug fortran/78798] [cleanup] some int-valued functions should be bool

2023-06-01 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78798 --- Comment #14 from Bernhard Reutner-Fischer --- Not yet fixed completely, Mikael correctly noted: > Why not change the associated subfunctions > (gfc_check_argument_dependency, gfc_check_argument_var_dependency) as well ?

[Bug middle-end/110052] useless local variable not optimized away

2023-05-31 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110052 --- Comment #4 from Bernhard Reutner-Fischer --- (In reply to Bernhard Reutner-Fischer from comment #3) > Note that in this particular case myrealloc() is static, maybe i should have > omitted the noipa attribute for it was only meant to

[Bug middle-end/110052] useless local variable not optimized away

2023-05-31 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110052 --- Comment #3 from Bernhard Reutner-Fischer --- Note that in this particular case myrealloc() is static, maybe i should have omitted the noipa attribute for it was only meant to simplify analysis and there is no such attribute in the original

[Bug middle-end/110052] New: useless local variable not optimized away

2023-05-31 Thread aldot at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org Target Milestone: --- Created attachment 55221 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55221=edit reduced test, v1 A superfluous lo

[Bug fortran/103931] Type name "c_ptr" is ambiguous when iso_c_binding is imported both directly and indirectly

2023-04-25 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103931 --- Comment #21 from Bernhard Reutner-Fischer --- (In reply to anlauf from comment #19) > C_PTR is an intrinsic DT and not a procedure; > so we should not mark it as "generic". Ok, that makes sense indeed. > > As long as a symbol from an

[Bug fortran/109624] New: dump-parse-tree prints attributes with unbalanced braces

2023-04-25 Thread aldot at gcc dot gnu.org via Gcc-bugs
Severity: trivial Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org Target Milestone: --- (gdb) call debug(gfc_current_ns) Namespace: A-H: (REAL 4) I-N: (INTEGER 4) O-Z: (REAL 4) procedure

[Bug fortran/103931] Type name "c_ptr" is ambiguous when iso_c_binding is imported both directly and indirectly

2023-04-24 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103931 --- Comment #18 from Bernhard Reutner-Fischer --- (In reply to Bernhard Reutner-Fischer from comment #17) > (In reply to Bernhard Reutner-Fischer from comment #16) > > > I'm testing a more elaborate test which keeps check_for_ambiguous in the

[Bug fortran/103931] Type name "c_ptr" is ambiguous when iso_c_binding is imported both directly and indirectly

2023-04-24 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103931 --- Comment #17 from Bernhard Reutner-Fischer --- (In reply to Bernhard Reutner-Fischer from comment #16) > I'm testing a more elaborate test which keeps check_for_ambiguous in the > same spot as before, but in that check, looks if the symtree

[Bug fortran/103931] Type name "c_ptr" is ambiguous when iso_c_binding is imported both directly and indirectly

2023-04-14 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103931 --- Comment #16 from Bernhard Reutner-Fischer --- > Under the assumption that we have a generic "c_ptr" in a module, we know (?) > that "c_ptr" is not ambiguous. > > Is that right? When we look at gmodule (when compiled when DModule has a

[Bug fortran/103931] Type name "c_ptr" is ambiguous when iso_c_binding is imported both directly and indirectly

2023-04-13 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103931 --- Comment #15 from Bernhard Reutner-Fischer --- (In reply to Bernhard Reutner-Fischer from comment #13) > I'm testing a patch. I have to admit that this is a mess. It's even more frustrating now as i did some preparatory cleanup for at

[Bug fortran/103931] Type name "c_ptr" is ambiguous when iso_c_binding is imported both directly and indirectly

2023-04-12 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103931 --- Comment #13 from Bernhard Reutner-Fischer --- (In reply to anlauf from comment #12) > Consider the original testcase. Module CModule has no public symbols. > Technically, the "use CModule" in module DModule should not have any effect. >

[Bug fortran/103931] Type name "c_ptr" is ambiguous when iso_c_binding is imported both directly and indirectly

2023-04-02 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103931 --- Comment #11 from Bernhard Reutner-Fischer --- (In reply to Bernhard Reutner-Fischer from comment #10) > (In reply to anlauf from comment #9) > > The reduced testcase compiles for me with today's 13-trunk, but not > > 12-branch. > > However,

[Bug libfortran/109373] New: remove --enable-intermodule from libgfortran configure

2023-04-02 Thread aldot at gcc dot gnu.org via Gcc-bugs
Component: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org Target Milestone: --- r0-103106-gde6ba7aee152a0 removed --enable-intermodule (in favour of LTO) but libgfortran still has it.

[Bug sanitizer/56781] boostrap-asan failure: fixincl fails to link (missing -lasan)

2023-04-02 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56781 Bernhard Reutner-Fischer changed: What|Removed |Added Status|NEW |RESOLVED

[Bug jit/66054] bootstrap comparison failure with --enable-host-shared

2023-04-02 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66054 Bernhard Reutner-Fischer changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/109003] memory leak in module loading (mio_formal_arglist)

2023-04-01 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109003 Bernhard Reutner-Fischer changed: What|Removed |Added CC||aldot at gcc dot gnu.org

[Bug fortran/103931] Type name "c_ptr" is ambiguous when iso_c_binding is imported both directly and indirectly

2023-04-01 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103931 --- Comment #10 from Bernhard Reutner-Fischer --- (In reply to anlauf from comment #9) > The reduced testcase compiles for me with today's 13-trunk, but not > 12-branch. > However, the full original testcase fails with varying errors depending

[Bug middle-end/107743] expmed: extract_bit_field_1: maybe-uninitialized warning

2022-11-19 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107743 --- Comment #2 from Bernhard Reutner-Fischer --- --disable-werror --enable-checking=yes --enable-debug --enable-multilib --disable-libstdcxx-pch --enable-bootstrap

[Bug middle-end/107743] New: expmed: extract_bit_field_1: maybe-uninitialized warning

2022-11-17 Thread aldot at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org Target Milestone: --- current trunk around r13-4134 /scratch/obj.x86_64/gcc-13.mine/./prev-gcc/xg++ -B/scratch/obj.x86_64/gcc-13.mine/./prev-gcc/ -B/opt/x86_64

[Bug bootstrap/107739] New: --enable-languages= duplicates yield odd error

2022-11-17 Thread aldot at gcc dot gnu.org via Gcc-bugs
: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org Target Milestone: --- Mere cosmetics, but the error is contradicting it's own hint in a confusing way. $ ../../src/gcc-13.mine/configure --enable-languages=c++,lto,lto configure: error

[Bug fortran/100972] Missing error with "implicit none (external)"

2022-11-14 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100972 Bernhard Reutner-Fischer changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/105656] remove BROKEN_VALUE_INITIALIZATION workaround

2022-05-19 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105656 --- Comment #2 from Bernhard Reutner-Fischer --- Yes, i've seen your bigger patch to remove all of these version conditionals. But please note that this BROKEN_VALUE_INITIALIZATION was explicitly taylored to catch aforementioned GCC versions,

[Bug c++/105656] New: remove BROKEN_VALUE_INITIALIZATION workaround

2022-05-19 Thread aldot at gcc dot gnu.org via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org Target Milestone: --- BROKEN_VALUE_INITIALIZATION was added for PR89494, a bootstrap failure of gcc-10 with a gcc-4.2 system compiler. Since at least gcc-13, maybe gcc-12, we require a stage1 c

[Bug fortran/47720] problems with makefile dependency generation using -M

2021-11-21 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47720 Bernhard Reutner-Fischer changed: What|Removed |Added CC||aldot at gcc dot gnu.org

[Bug fortran/102043] Wrong array types used for negative stride accesses

2021-11-14 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 --- Comment #17 from Bernhard Reutner-Fischer --- Do we want to address arrays always at position 0 (maybe to help graphite ?) or would it be sufficient to just not dereference the array "before" the first position like Mikael suggests in

[Bug fortran/102043] Wrong array types used for negative stride accesses

2021-11-14 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 --- Comment #16 from Bernhard Reutner-Fischer --- In addition to comment #1 here's an excerpt of an existing test with just one dimension: $ cat f_pr86389.f90 ! PR 19239. Check for various kinds of vector subscript. In this test, ! all

[Bug fortran/83646] (PDT) Use statement with PDTs excludes the specific instances.

2021-11-12 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83646 Bernhard Reutner-Fischer changed: What|Removed |Added CC||aldot at gcc dot gnu.org

[Bug fortran/102043] Wrong array types used for negative stride accesses

2021-11-10 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 Bernhard Reutner-Fischer changed: What|Removed |Added CC||aldot at gcc dot gnu.org

[Bug fortran/101919] Inconsistent -Wstringop-overread warning with -flto

2021-11-09 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101919 Bernhard Reutner-Fischer changed: What|Removed |Added CC||aldot at gcc dot gnu.org

[Bug fortran/68800] Fortran FE produces many memory leaks

2021-11-09 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68800 --- Comment #6 from Bernhard Reutner-Fischer --- at least a few down with r12-5073: == LEAK SUMMARY: -==definitely lost: 9,471 bytes in 14 blocks -==indirectly lost: 18,267 bytes in 364 blocks +==definitely lost: 6,472 bytes in 8

[Bug middle-end/103102] [12 Regression] pr81175.f fails since r12-4946-ga79fe53d6ce6074d083e925b6b19773e45817405

2021-11-06 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103102 --- Comment #2 from Bernhard Reutner-Fischer --- gfortran.dg/pr101267.f90 ICEs similar to gfortran.dg/pr81175.f

[Bug middle-end/103102] [12 Regression] pr81175.f fails since r12-4946-ga79fe53d6ce6074d083e925b6b19773e45817405

2021-11-06 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103102 Bernhard Reutner-Fischer changed: What|Removed |Added CC||aldot at gcc dot gnu.org

[Bug fortran/103112] New: ICE in gfc_get_descriptor_field for gfortran.dg/coarray_alloc_comp_4.f08 caf single

2021-11-06 Thread aldot at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org Target Milestone: --- gfortran.dg/coarray_alloc_comp_4.f08 compiles fine with -fcoarray=lib but ICEs with -fcoarray=single in pristine

[Bug c/103104] New: missing warning about superfluous forward declaration -Wsuperfluous-forward-declaration

2021-11-05 Thread aldot at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org Target Milestone: --- It would be nice to have a -Wextra to warn about superfluous forward declarations. Random example from gcc/incpath.c

[Bug fortran/101337] gfortran doesn't diagnose all operands with constraint violations

2021-10-31 Thread aldot at gcc dot gnu.org via Gcc-bugs
||https://gcc.gnu.org/piperma ||il/gcc-patches/2021-October ||/582983.html CC||aldot at gcc dot gnu.org Status|UNCONFIRMED

[Bug fortran/100991] [OpenMP] firstprivate for optional arguments is mishandled

2021-10-31 Thread aldot at gcc dot gnu.org via Gcc-bugs
|UNCONFIRMED |NEW CC||aldot at gcc dot gnu.org Last reconfirmed||2021-10-31

[Bug fortran/100972] Missing error with "implicit none (external)"

2021-10-31 Thread aldot at gcc dot gnu.org via Gcc-bugs
|1 Keywords||patch Last reconfirmed||2021-10-31 CC||aldot at gcc dot gnu.org URL||https://gcc.gnu.org/piperma

[Bug fortran/99884] Double spaces in warning message

2021-10-31 Thread aldot at gcc dot gnu.org via Gcc-bugs
|1 Last reconfirmed||2021-10-31 CC||aldot at gcc dot gnu.org URL||https://gcc.gnu.org/piperma ||il/gcc

[Bug fortran/98426] find_symbol in module.c traverses O(N) part of a search tree

2021-10-29 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98426 Bernhard Reutner-Fischer changed: What|Removed |Added CC||aldot at gcc dot gnu.org

[Bug fortran/103001] New: missing simplify of (CAF) get_team

2021-10-29 Thread aldot at gcc dot gnu.org via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org Target Milestone: --- As noted here: https://gcc.gnu.org/pipermail/fortran/2021-October/056793.html ---8<--- - delete unused gfc_simplify_get_team or wire it up in intrinsics, get_team handling (inst

[Bug fortran/102973] New: possible inconsistency in procptr_assignment handling when matching ASSOCIATE

2021-10-27 Thread aldot at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org Target Milestone: --- As noted in https://gcc.gnu.org/pipermail/fortran/2018-September/050809.html i spotted one (pre-existing) possible

[Bug middle-end/102519] [12 Regression] VRP Jump threader memory explosion

2021-09-29 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102519 Bernhard Reutner-Fischer changed: What|Removed |Added CC||aldot at gcc dot gnu.org

[Bug fortran/87734] ICE in is_illegal_recursion check for character len= parameter

2018-10-24 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87734 Bernhard Reutner-Fischer changed: What|Removed |Added Keywords||ice-on-valid-code Known

[Bug fortran/87734] New: ICE in is_illegal_recursion check for character len= parameter

2018-10-24 Thread aldot at gcc dot gnu.org
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org Target Milestone: --- Created attachment 44891 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44891=edit reduced from flibs-svncode/trunk/src/stri

[Bug fortran/68800] Fortran FE produces many memory leaks

2018-10-15 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68800 Bernhard Reutner-Fischer changed: What|Removed |Added CC||aldot at gcc dot gnu.org

[Bug testsuite/52665] scan-assembler output produces wrong FAIL due to matching .ident

2018-09-05 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52665 --- Comment #4 from Bernhard Reutner-Fischer --- Author: aldot Date: Wed Sep 5 15:31:13 2018 New Revision: 264128 URL: https://gcc.gnu.org/viewcvs?rev=264128=gcc=rev Log: PR52665 do not let .ident confuse assembler scan tests A branch with a

[Bug driver/83016] gnat1: warning: command line option ‘-nostdinc++’ is valid for C++/ObjC++ but not for Ada

2017-11-16 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83016 --- Comment #2 from Bernhard Reutner-Fischer --- ../../src/gcc-8.0.mine/configure \ -v \

[Bug driver/83016] New: gnat1: warning: command line option ‘-nostdinc++’ is valid for C++/ObjC++ but not for Ada

2017-11-16 Thread aldot at gcc dot gnu.org
Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org CC: charlet at adacore dot com, derodat at adacore dot com, ebotcazou at libertysurf dot fr Target

[Bug rtl-optimization/70703] [6/7 regression] Regression in register usage on x86

2016-06-14 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70703 Bernhard Reutner-Fischer changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug rtl-optimization/70703] [6/7 regression] Regression in register usage on x86

2016-06-14 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70703 Bernhard Reutner-Fischer changed: What|Removed |Added Last reconfirmed||2016-6-14

[Bug rtl-optimization/70703] [6/7 regression] Regression in register usage on x86

2016-04-20 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70703 Bernhard Reutner-Fischer changed: What|Removed |Added CC||aldot at gcc dot gnu.org

[Bug target/30354] -Os doesn't optimize a/CONST even if it saves size.

2016-04-20 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30354 --- Comment #19 from Bernhard Reutner-Fischer --- (In reply to Denis Vlasenko from comment #17) > Any chance of this being finally done? > > I proposed a simple, working patch in 2007, it's 2016 now and all these > years users of -Os suffer

[Bug c/68656] [4.9/5/6 Regression] warning about disabled var-tracking uses odd location info

2015-12-02 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68656 --- Comment #2 from Bernhard Reutner-Fischer --- (In reply to Richard Biener from comment #1) > Which version worked ok? I think these warnings should simply not output 4.7.4 worked ok. 4.8.5 onward behave like current trunk a.k.a 6.0 > any

[Bug middle-end/65534] tailcall not optimized away

2015-12-02 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65534 --- Comment #3 from Bernhard Reutner-Fischer --- (In reply to Bernhard Reutner-Fischer from comment #2) > (In reply to Jan Hubicka from comment #1) > > > #ifndef OPTIMIZE_MANUALLY > > > void setutent(void) { > > > ((void)0); > > >

[Bug jit/66054] bootstrap comparison failure with --enable-host-shared

2015-12-02 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66054 Bernhard Reutner-Fischer changed: What|Removed |Added Target Milestone|--- |7.0

[Bug c/68656] New: [4.8, 4.9, 5.0, 6.0 Regression] warning about disabled var-tracking uses odd location info

2015-12-02 Thread aldot at gcc dot gnu.org
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org CC: dodji at gcc dot gnu.org Target Milestone: --- echo "/* This is a bugreport about using odd locations. */" &

[Bug middle-end/66741] loops not fused nor vectorized

2015-07-09 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66741 --- Comment #4 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org --- Created attachment 35940 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35940action=edit Manually expanded variant expanding builtins early should arrive at that

[Bug middle-end/66741] loops not fused nor vectorized

2015-07-09 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66741 --- Comment #6 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org --- Created attachment 35942 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35942action=edit Variant demonstrating strcpy+tolower fused loop, vectorized, SSE4.x Code like

[Bug middle-end/66741] loops not fused nor vectorized

2015-07-09 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66741 --- Comment #5 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org --- Created attachment 35941 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35941action=edit Variant perusing builtins This is (essentially) the motivating real-world

[Bug middle-end/66741] loops not fused nor vectorized

2015-07-09 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66741 --- Comment #7 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org --- folding tolower (and toupper while at it) gives: for i in 0 1 2;do gcc -o tolower_strcpy-$i tolower_strcpy-$i.c -Ofast -W -Wall -Wextra -pedantic -DMAIN -msse4.2 done

[Bug middle-end/65534] tailcall not optimized away

2015-07-09 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65534 --- Comment #2 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org --- (In reply to Jan Hubicka from comment #1) #ifndef OPTIMIZE_MANUALLY void setutent(void) { ((void)0); __setutent_unlocked(); ((void)0); } #else

[Bug middle-end/66741] New: loops not fused nor vectorized

2015-07-02 Thread aldot at gcc dot gnu.org
Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org Blocks: 53947 Target Milestone: --- I would have hoped that the strcpy loop and ~0x20 loop would be fused, perusing some masked store for the tolower. $ cat

[Bug middle-end/66741] loops not fused nor vectorized

2015-07-02 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66741 --- Comment #1 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org --- i.e. maybe something more along the lines of $ cat EOF | gcc-5 -xc -S - -o - -Ofast -fomit-frame-pointer -minline-all-stringops -mstringop-strategy=unrolled_loop -fdump

[Bug target/48904] x86_64-knetbsd-gnu fails to build

2015-05-08 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48904 --- Comment #4 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org --- Author: aldot Date: Fri May 8 07:33:42 2015 New Revision: 222903 URL: https://gcc.gnu.org/viewcvs?rev=222903root=gccview=rev Log: PR target/48904 x86_64-knetbsd-gnu

[Bug target/48904] x86_64-knetbsd-gnu fails to build

2015-05-08 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48904 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added Known to work||6.0

[Bug jit/66054] New: bootstrap comparison failure with --enable-host-shared

2015-05-07 Thread aldot at gcc dot gnu.org
Priority: P3 Component: jit Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org CC: dmalcolm at gcc dot gnu.org Target Milestone: --- Bootstrapping with --enable-host-shared fails stage2/3 comparison for all but crt files

[Bug target/48904] x86_64-knetbsd-gnu fails to build

2015-04-22 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48904 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug target/55144] opening glibc-c.o: No such file or directory

2015-04-22 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55144 --- Comment #2 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org --- Author: aldot Date: Wed Apr 22 08:25:40 2015 New Revision: 222313 URL: https://gcc.gnu.org/viewcvs?rev=222313root=gccview=rev Log: PR target/55144 building all-gcc

[Bug target/47122] vax-*-openbsd* configuration purports to require openbsd-pthread.h

2015-04-22 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47122 --- Comment #1 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org --- Author: aldot Date: Wed Apr 22 08:30:15 2015 New Revision: 222314 URL: https://gcc.gnu.org/viewcvs?rev=222314root=gccview=rev Log: PR target/47122: vax-*-openbsd

[Bug target/47098] i686-openbsd3.0: OBSD_LIB_SPEC missing

2015-04-22 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47098 --- Comment #3 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org --- Author: aldot Date: Wed Apr 22 08:41:13 2015 New Revision: 222315 URL: https://gcc.gnu.org/viewcvs?rev=222315root=gccview=rev Log: PR target/47098 OBSD_LIB_SPEC on i686

[Bug target/47098] i686-openbsd3.0: OBSD_LIB_SPEC missing

2015-04-22 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47098 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added Known to work||6.0

[Bug target/55144] opening glibc-c.o: No such file or directory

2015-04-22 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55144 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug target/47122] vax-*-openbsd* configuration purports to require openbsd-pthread.h

2015-04-22 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47122 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug middle-end/55035] reload1.c:3766:41: error: ‘orig_dup[0]’ may be used uninitialized in this function (for fr30, microblaze, moxie, rl78)

2015-04-09 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55035 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed|2014-07-27 00:00:00 |2015

[Bug target/55143] vms-c.o:(.toc+0x0): undefined reference to `c_default_pointer_mode' (building cc1plus)

2015-04-08 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55143 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug middle-end/35341] Early exit loop with short known trip count not unrolled

2015-03-23 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35341 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added CC||aldot

[Bug c/65534] New: tailcall not optimized away

2015-03-23 Thread aldot at gcc dot gnu.org
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org CC: hubicka at ucw dot cz, rguenth at gcc dot gnu.org Maybe this could be optimized by a thunk or by creating the alias automatically or the like? Or is tailcall

[Bug preprocessor/59805] invalid preprocessing directive not diagnosed with assembler-with-cpp

2014-10-01 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59805 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added CC

[Bug rtl-optimization/59858] New: [4.8/4.9 Regression] ICE: assign_by_spills, at lra-assigns.c:1283

2014-01-17 Thread aldot at gcc dot gnu.org
-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org CC: vmakarov at redhat dot com Target: arm Created attachment 31870 -- http

[Bug rtl-optimization/59858] [4.8/4.9 Regression] ICE: assign_by_spills, at lra-assigns.c:1283

2014-01-17 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59858 --- Comment #1 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org --- Created attachment 31873 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31873action=edit slightly reduced

[Bug preprocessor/59805] New: invalid preprocessing directive not diagnosed with assembler-with-cpp

2014-01-14 Thread aldot at gcc dot gnu.org
: diagnostic Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org CC: tromey at redhat dot com -x assembler-with-cpp remains silent instead of emitting some kind

[Bug target/56716] during gcc 4.8.0 build on Cygwin: bid128_fma.c:4460:1: internal compiler error: Segmentation fault

2013-04-27 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56716 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added CC|aldot at gcc dot gnu.org

[Bug sanitizer/56781] boostrap-asan failure: fixincl fails to link (missing -lasan)

2013-04-04 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56781 --- Comment #2 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org 2013-04-04 11:41:08 UTC --- (In reply to comment #1) Please try http://gcc.gnu.org/git/?p=gcc.git;a=commit;h=61be6ebfe22f9ce5799dac2679541911eb744a86 http

[Bug sanitizer/56781] New: boostrap-asan failure: fixincl fails to link (missing -lasan)

2013-03-29 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56781 Bug #: 56781 Summary: boostrap-asan failure: fixincl fails to link (missing -lasan) Classification: Unclassified Product: gcc Version: 4.9.0 Status:

[Bug target/56716] during gcc 4.8.0 build on Cygwin: bid128_fma.c:4460:1: internal compiler error: Segmentation fault

2013-03-27 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56716 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added Target|i686-pc-cygwin |i686

[Bug middle-end/36282] Spurious warning asm declaration ignored due to conflict with previous rename

2013-03-22 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36282 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added CC

[Bug middle-end/36282] [4.7/4.8/4.9 Regression] Spurious warning asm declaration ignored due to conflict with previous rename

2013-03-22 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36282 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added Known to work

[Bug middle-end/36282] Spurious warning asm declaration ignored due to conflict with previous rename

2013-03-21 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36282 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug target/55431] Invalid auxv search in ppc linux-unwind code.

2013-02-11 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55431 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added CC

[Bug target/53803] New: --enable-target-optspace gives undefined references to restgpr_*_x

2012-06-29 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53803 Bug #: 53803 Summary: --enable-target-optspace gives undefined references to restgpr_*_x Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED

[Bug target/32219] optimizer causes wrong code in pic/hidden/weak symbol checking.

2012-06-28 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32219 --- Comment #13 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org 2012-06-28 22:49:52 UTC --- Created attachment 27716 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27716 testcase This was (accidentally) fixed on for at least 4.7 ff

[Bug target/30354] -Os doesn't optimize a/CONST even if it saves size.

2012-06-28 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30354 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added Keywords||missed

[Bug target/40657] allocate local variables with fewer instructions

2012-06-20 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40657 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added CC||aldot

[Bug target/53735] New: thumb1 spill failure with -Os

2012-06-20 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53735 Bug #: 53735 Summary: thumb1 spill failure with -Os Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Keywords: assemble-failure, ice-on-valid-code

[Bug target/53735] thumb1 spill failure with -Os

2012-06-20 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53735 --- Comment #1 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org 2012-06-20 18:58:06 UTC --- Created attachment 27668 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27668 reduced source

[Bug bootstrap/52840] bootstrap fails in libstdc++, missing compatibility.lo

2012-04-05 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52840 --- Comment #4 from Bernhard Reutner-Fischer aldot at gcc dot gnu.org 2012-04-05 07:00:41 UTC --- Author: aldot Date: Thu Apr 5 07:00:30 2012 New Revision: 186156 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=186156 Log: PR bootstrap

[Bug bootstrap/52840] bootstrap fails in libstdc++, missing compatibility.lo

2012-04-05 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52840 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED

[Bug bootstrap/52840] New: bootstrap fails in libstdc++, missing compatibility.lo

2012-04-03 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52840 Bug #: 52840 Summary: bootstrap fails in libstdc++, missing compatibility.lo Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

  1   2   >