[Bug fortran/66942] New: trans-expr.c:5701 runtime error: member call on null pointer of type 'struct vec'

2015-07-20 Thread zeccav at gmail dot com
NCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- ! gcc-5.2.0/gcc/fortran/trans-expr.c:5701:19: runtime error: member call on null pointer of type &

[Bug fortran/66942] trans-expr.c:5701 runtime error: member call on null pointer of type 'struct vec'

2015-07-20 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66942 --- Comment #2 from Vittorio Zecca --- 1) No explicit options, just the default ones, -S will suffice. 2) Sorry, I did not specify the target is x86-64, but I got the same with -m32 3) sub is not needed, the code should just be compiled to exhibi

[Bug fortran/66942] trans-expr.c:5701 runtime error: member call on null pointer of type 'struct vec'

2015-07-21 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66942 --- Comment #4 from Vittorio Zecca --- Did you put the gcc_assert line in the source? If you have not a sanitized version you will not see the null pointer dereferencing Anyway this is what you asked me: (please not the runtime error: sanitizer m

[Bug rtl-optimization/61657] Undefined behavior in loop-iv.c

2015-07-21 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61657 --- Comment #4 from Vittorio Zecca --- I am having the same problem in 5.2.0: /* must be compiled with -O[1] -funroll-loops -foptimize-sibling-calls -finline-small-functions */ /* target x86_64-unknown-linux-gnu */ /* Fedora 21 */ /*gcc-5.2.0/gcc

[Bug rtl-optimization/61657] Undefined behavior in loop-iv.c

2015-07-21 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61657 --- Comment #5 from Vittorio Zecca --- Just confirmed adding printf("up=%li down=%li up-down=%li\n", up,down,up-down); before line 2670. Output is up=123 down=-9223372036854775808 up-down=-9223372036854775685 You could probably get an ICE with g

[Bug fortran/66942] trans-expr.c:5701 runtime error: member call on null pointer of type 'struct vec'

2015-07-21 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66942 --- Comment #7 from Vittorio Zecca --- I confirm the patch works

[Bug fortran/66942] trans-expr.c:5701 runtime error: member call on null pointer of type 'struct vec'

2015-07-22 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66942 --- Comment #9 from Vittorio Zecca --- I should have written that I tried it not only on the test case I sent but on the whole fortran testsuite in gcc/testsuite.

[Bug ipa/66896] ipa-prop.c:2479 runtime error: member call on null pointer of type 'struct ipa_polymorphic_call_context'

2015-07-23 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66896 --- Comment #6 from Vittorio Zecca --- I just found the same issue at line 2479: dst_ctx->combine_with (ctx); dst_ctx is again NULL Maybe the same patch should be applied here? Namely: if (!dst_ctx) {

[Bug ipa/66896] ipa-prop.c:2479 runtime error: member call on null pointer of type 'struct ipa_polymorphic_call_context'

2015-07-24 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66896 --- Comment #8 from Vittorio Zecca --- Created attachment 36052 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36052&action=edit To be compiled with -O2

[Bug ipa/66896] ipa-prop.c:2479 runtime error: member call on null pointer of type 'struct ipa_polymorphic_call_context'

2015-07-24 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66896 --- Comment #9 from Vittorio Zecca --- At line 2473 of ipa-prop.c I have if (!ctx.useless_p ()) I changed it into if (!ctx.useless_p () || !dst_ctx) Now the sanitizer runtime error message disappears. I am attaching another source, gccerr20-b

[Bug ipa/66896] ipa-prop.c:2479 runtime error: member call on null pointer of type 'struct ipa_polymorphic_call_context'

2015-07-24 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66896 --- Comment #11 from Vittorio Zecca --- I have a version of gcc 5.2.0 compiled with the -fsanitize=undefined option. This sanitized version gave me a runtime error due to dereferencing the pointer dst_ctx which was NULL. After the change I sugges

[Bug sanitizer/65828] [LTO] ICE in streamer_get_builtin_tree, at tree-streamer-in.c:1127

2015-07-30 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65828 Vittorio Zecca changed: What|Removed |Added CC||zeccav at gmail dot com --- Comment #6

[Bug ipa/66896] ipa-prop.c:2479 runtime error: member call on null pointer of type 'struct ipa_polymorphic_call_context'

2015-08-05 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66896 --- Comment #13 from Vittorio Zecca --- I see only two NULL dereferencing in ipa-prop.c my lines 2479 and 2545 same statement dst_ctx->combine_with (ctx); Did you take care of both of them?

[Bug fortran/44348] ICE in build_function_decl

2015-08-14 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44348 --- Comment #9 from Vittorio Zecca --- No, it is not valid, but gfortran should signal this with an error message. Not with a crash.

[Bug c/67279] New: -fsanitize=undefined spurious error: initializer element is not constant

2015-08-19 Thread zeccav at gmail dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- /* gcc -fsanitize=undefined issues spurious error message */ /* OK without sanitizer */ /* Target: x86_64-unknown-linux-gnu */ void

[Bug c/67279] -fsanitize=undefined spurious error: initializer element is not constant

2015-08-19 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67279 --- Comment #2 from Vittorio Zecca --- UB = undefined behaviour? Why then it is only signaled if "static" attribute is requested? This is accepted:"int dec_1 = 1 << 31;" Isn't UB as well if it is not static? I believe gcc should deliver a warning

[Bug c/67279] -fsanitize=undefined spurious error: initializer element is not constant

2015-08-19 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67279 --- Comment #3 from Vittorio Zecca --- The following code has UB at lines 4 and 5 but compiles with -fsanitize=undefined int main() { int test[1],t; t=test[1]; return test[1]; } Its execution it delivers four runtime errors from the sanitizer an

[Bug c/67279] -fsanitize=undefined spurious error: initializer element is not constant

2015-08-20 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67279 --- Comment #6 from Vittorio Zecca --- On my side it has to do with the C standard. Compilation with -ansi or -std=c90 is successful. Compilation with -std=c99 fails. Compiling with g++ is OK. The behaviour I would like to see is a warning at co

[Bug rtl-optimization/61657] Undefined behavior in loop-iv.c

2015-08-21 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61657 --- Comment #6 from Vittorio Zecca --- A shorter source file displaying the same bug: // from pr42049.c // gcc -funroll-loops -O // ../../gcc-5.2.0/gcc/loop-iv.c:2670:14: runtime error: // signed integer overflow: 7 - -9223372036854775808 canno

[Bug rtl-optimization/61657] Undefined behavior in loop-iv.c

2015-08-21 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61657 --- Comment #8 from Vittorio Zecca --- Maybe the easiest way to reproduce the issue is as in the following; gdb ~/local/gcc-5.2.0-sanitized/libexec/gcc/x86_64-unknown-linux-gnu/5.2.0/cc1 GNU gdb (GDB) Fedora 7.8.2-39.fc21 Copyright (C) 2014 Free

[Bug tree-optimization/61943] tree-ssa-loop-ivopts.c:4148 signed integer overflow

2015-08-22 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61943 Vittorio Zecca changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2015-08-22 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 61943, which changed state. Bug 61943 Summary: tree-ssa-loop-ivopts.c:4148 signed integer overflow https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61943 What|Removed |Added

[Bug middle-end/64327] ../../gcc/gcc/rtlanal.c:4881:48: runtime error: shift exponent 4294967295 is too large for 64-bit type 'long unsigned int'

2015-08-22 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64327 --- Comment #6 from Vittorio Zecca --- I "fixed" this one by substituting rtlanal.c:4907 if (bitwidth > HOST_BITS_PER_WIDE_INT ) with if (bitwidth > HOST_BITS_PER_WIDE_INT || !bitwidth)

[Bug middle-end/64920] bootstrap-ubsan [build/gengtype -r gtype.state]: libiberty/regex.c:6970:11: runtime error: left shift of negative value -1

2015-08-23 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64920 Vittorio Zecca changed: What|Removed |Added CC||zeccav at gmail dot com --- Comment #1

[Bug other/66827] [6 Regression] left shifts of negative value warnings due to C++14 switch

2015-08-23 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66827 Vittorio Zecca changed: What|Removed |Added CC||zeccav at gmail dot com --- Comment #2

[Bug c++/50184] Segmentation fault. Copy Constructor.

2015-08-24 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50184 Vittorio Zecca changed: What|Removed |Added CC||zeccav at gmail dot com --- Comment #4

[Bug tree-optimization/62058] Undefined behaviour in tree-data-ref.c with options -O1 -ftree-loop-vectorize

2015-08-24 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62058 --- Comment #4 from Vittorio Zecca --- Still there in GCC 5.2.0

[Bug c/67338] New: fold-const sanitizer runtime error in roundup_loc

2015-08-24 Thread zeccav at gmail dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- Running a sanitized version of gcc 5.2.0 I get the following: // ../../gcc-5.2.0/gcc/fold-const.c:16036:8: runtime error: negation of -2147483648 cannot be represented in

[Bug testsuite/67359] New: struct-layout-1_generate.c undefined behaviour

2015-08-26 Thread zeccav at gmail dot com
: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- Running struct-layout-1_generate.c the sanitized version of gcc finds two undefined statements: At line 1081 m &= (1ULL << e->len) - 1; I get /home/vitti/

[Bug libgcc/67379] New: libgcc2.c negation of -2147483648 cannot be represented in type 'int'

2015-08-28 Thread zeccav at gmail dot com
ity: minor Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- In libgcc2.c:1842 int m; unsigned int n = m < 0 ? -m : m; when m==-2147483648 I get the following message from

[Bug c++/67409] New: tree-cfg.c dereferences a NULL pointer

2015-08-31 Thread zeccav at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- //g++ 5.2.0 sanitizer detects dereferencing a NULL pointer //gcc-5.2.0/gcc/tree-cfg.c:1342:38: runtime error: member access within null pointer of type 'struct basic_block_def&#x

[Bug c/67410] New: c/c-typeck.c references out of bounds array

2015-08-31 Thread zeccav at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- /*sanitizer message*/ /*gcc-5.2.0/gcc/c/c-typeck.c:8266:42: runtime error: load of address 0x7ffc8682b570 with insufficient space for an object of type 'long int'*/ /*gcc-5

[Bug fortran/50069] FORALL fails on a character array

2015-08-31 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50069 --- Comment #5 from Vittorio Zecca --- Still on gfortran 5.2.0

[Bug fortran/50537] explicit interface required (r178939)

2015-08-31 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50537 Vittorio Zecca changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/50539] Internal error gfc_match_entry(): Bad state (r178939)

2015-08-31 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50539 Vittorio Zecca changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/50555] synonymous namelist/statement function dummy argument not allowed (r178939)

2015-08-31 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50555 Vittorio Zecca changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/54070] [4.9/5/6 Regression] Wrong code with allocatable deferred-length (array) function results

2015-08-31 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54070 --- Comment #17 from Vittorio Zecca --- I found it fixed in 5.2.0

[Bug fortran/50555] synonymous namelist/statement function dummy argument not allowed (r178939)

2015-09-01 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50555 --- Comment #4 from Vittorio Zecca --- Sorry, you are right, the compiler should emit an error message instead it wrongly accepts the code. I was confused, this time the right behaviour is to emit an error message.

[Bug fortran/50406] ld undefined reference to __MOD_str

2015-09-02 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50406 --- Comment #2 from Vittorio Zecca --- ! gfortran produces weird ld message undefined reference to `___MOD_str' module m contains function fun(i) character(2), PARAMETER:: str(1) = (/'SD'/) character(

[Bug fortran/50410] [4.9/5/6 Regression] ICE in record_reference

2015-09-02 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50410 --- Comment #19 from Vittorio Zecca --- ICE still there in 5.2.0

[Bug fortran/50541] gfortran should not accept a pointer as a generic-name (r178939)

2015-09-02 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50541 --- Comment #5 from Vittorio Zecca --- Bug still there in 5.2.0

[Bug testsuite/44873] array function not fully defined

2010-07-25 Thread zeccav at gmail dot com
--- Comment #2 from zeccav at gmail dot com 2010-07-25 22:14 --- Subject: Re: array function not fully defined The undefined elements of test are accessed at instruction "a = test(6, 5) - a" however. It is just that the code probably violates any Fortran standard. If the te

[Bug testsuite/44343] New: malloc check in libstdc++-v3/testsuite/22_locale/codecvt/unshift/char/1.cc

2010-05-31 Thread zeccav at gmail dot com
n: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44343

[Bug fortran/44345] New: ICE in fold_convert_loc

2010-05-31 Thread zeccav at gmail dot com
MED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44345

[Bug fortran/44346] New: gfortran accepts illegal arguments to intrinsics

2010-05-31 Thread zeccav at gmail dot com
duct: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gc

[Bug fortran/44347] New: gfortran segmentation violation in gfc_conv_scalarized_array_ref

2010-05-31 Thread zeccav at gmail dot com
Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu

[Bug fortran/44348] New: ICE in build_function_decl

2010-05-31 Thread zeccav at gmail dot com
Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44348

[Bug fortran/44349] New: ICE Bad IO basetype (1)

2010-05-31 Thread zeccav at gmail dot com
: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44349

[Bug fortran/44350] New: accepts illegal fortran in BLOCK DATA

2010-05-31 Thread zeccav at gmail dot com
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla

[Bug fortran/44351] New: ICE in gfc_assign_data_value_range

2010-05-31 Thread zeccav at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44351

[Bug fortran/44352] New: ICE in string_to_single_character

2010-05-31 Thread zeccav at gmail dot com
oduct: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://g

[Bug fortran/44353] New: rejects legal fortran

2010-05-31 Thread zeccav at gmail dot com
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla

[Bug fortran/44354] New: incorrect output at run time

2010-05-31 Thread zeccav at gmail dot com
ion: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44354

[Bug fortran/44345] ICE in fold_convert_loc

2010-05-31 Thread zeccav at gmail dot com
--- Comment #2 from zeccav at gmail dot com 2010-05-31 18:37 --- Subject: Re: ICE in fold_convert_loc In that case gfortran should emit an error message, but it should not crash. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44345

[Bug fortran/44354] incorrect output at run time

2010-05-31 Thread zeccav at gmail dot com
--- Comment #9 from zeccav at gmail dot com 2010-05-31 21:37 --- Subject: Re: incorrect output at run time In my example 'i' is local to the array constructor, while 'I' is global and is initialized with value 5, so that the statement should display '1 2 3 4 5

[Bug fortran/44360] New: gfortran gets confused by synonymous procedure names

2010-06-01 Thread zeccav at gmail dot com
Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44360

[Bug c/44395] New: ICE verify_stmts failed with --enable-checking=yes

2010-06-02 Thread zeccav at gmail dot com
rsion: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44395

[Bug testsuite/44791] New: data_3.f90 accesses uninitialized variable

2010-07-02 Thread zeccav at gmail dot com
: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44791

[Bug testsuite/44792] New: data.f90 accesses undefined variable

2010-07-02 Thread zeccav at gmail dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44792

[Bug testsuite/44792] data.f90 accesses undefined variable

2010-07-03 Thread zeccav at gmail dot com
--- Comment #2 from zeccav at gmail dot com 2010-07-03 09:15 --- Subject: Re: data.f90 accesses undefined variable I believe it should be + if (any(tmp2(1)%t1(1)%a(1:3:2) .ne. (/111,113/))) call abort or (1:4:2) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44792

[Bug testsuite/44797] New: INQUIRE EXIST variable must be default LOGICAL

2010-07-03 Thread zeccav at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44797

[Bug testsuite/44798] New: inconsistent interfaces

2010-07-03 Thread zeccav at gmail dot com
: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44798

[Bug testsuite/44799] New: MAX arguments should have same kind

2010-07-03 Thread zeccav at gmail dot com
same kind Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64

[Bug testsuite/44797] INQUIRE EXIST variable must be default LOGICAL

2010-07-08 Thread zeccav at gmail dot com
--- Comment #5 from zeccav at gmail dot com 2010-07-08 14:49 --- Subject: Re: INQUIRE EXIST variable must be default LOGICAL By the way, the NUMBER variable must be default INTEGER as well. Do you agree there is the same problem as with the EXIST variable? Vittorio

[Bug testsuite/44873] New: array function not fully defined

2010-07-08 Thread zeccav at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44873

[Bug testsuite/44922] New: undefined variable in execute/921202-1.c

2010-07-12 Thread zeccav at gmail dot com
Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44922

[Bug testsuite/44923] New: Access beyond array limit in execute/921202-1.c

2010-07-12 Thread zeccav at gmail dot com
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla

[Bug fortran/50069] New: FORALL fails on a character array

2011-08-13 Thread zeccav at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50069 Bug #: 50069 Summary: FORALL fails on a character array Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: major Priority: P3

[Bug fortran/50070] New: Segmentation fault at size_binop_loc in fold-const.c

2011-08-13 Thread zeccav at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50070 Bug #: 50070 Summary: Segmentation fault at size_binop_loc in fold-const.c Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/50071] New: gfortran does not distinguish labels in different type scoping units

2011-08-13 Thread zeccav at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50071 Bug #: 50071 Summary: gfortran does not distinguish labels in different type scoping units Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRME

[Bug fortran/50072] New: gfortran must not accept same name for external and common

2011-08-13 Thread zeccav at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50072 Bug #: 50072 Summary: gfortran must not accept same name for external and common Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED

[Bug fortran/50073] New: gfortran must not accept function name when result name is present

2011-08-13 Thread zeccav at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50073 Bug #: 50073 Summary: gfortran must not accept function name when result name is present Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED

[Bug fortran/61910] undefined computation in trans-expr.c gfc_conv_cst_int_power

2016-08-11 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61910 --- Comment #7 from Vittorio Zecca --- Still there in gcc 7.0 trunk 239276

[Bug fortran/61907] load of invalid value for 'bool' in trans-array.c trans_array_constructor

2016-08-11 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61907 Vittorio Zecca changed: What|Removed |Added Version|4.9.1 |7.0 --- Comment #6 from Vittorio Zecca

[Bug fortran/61908] load of invalid value for 'expr_t' in interface.c compare_actual_formal

2016-08-11 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61908 Vittorio Zecca changed: What|Removed |Added Version|4.9.1 |7.0 --- Comment #6 from Vittorio Zecca

[Bug fortran/50410] [5/6/7 Regression] ICE in record_reference

2016-08-11 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50410 Vittorio Zecca changed: What|Removed |Added Version|4.8.0 |7.0 --- Comment #26 from Vittorio Zecca

[Bug c/74265] address sanitizer detects stack-buffer-overflow in set_nonincremental_init_from_string in c-typeck.c

2016-08-11 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74265 --- Comment #1 from Vittorio Zecca --- The following is a shorter reproducer: struct B { __CHAR32_TYPE__ S[6]; } d[] = { { { U"foo" } }, [0].S[2] = U'x' };

[Bug java/74750] New: Address sanitizer detects stack-buffer-underflow in GC_push_all_eager in mark.c

2016-08-11 Thread zeccav at gmail dot com
: normal Priority: P3 Component: java Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- While generating 7.0 trunk with sanitized java I get the following in mark.c:1468 "q = *p;" libtool: link: /home

[Bug c++/75860] New: Segmentation violation in tree_check while compiling firefox 48

2016-08-13 Thread zeccav at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- While compiling firefox version 48 with the trunk gcc 7.0 I get the following segmentation violation tree.h:3022 is "if (TREE_CODE (__t) !

[Bug c++/75860] Segmentation violation in tree_check while compiling firefox 48

2016-08-13 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=75860 --- Comment #2 from Vittorio Zecca --- The preprocessed source is too big to be meaningful. I did try to shorten it but still too big and using so many firefox header files. It will be faster if you could download the firefox-48 source and try it

[Bug c++/75860] Segmentation violation in tree_check while compiling firefox 48

2016-08-13 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=75860 --- Comment #4 from Vittorio Zecca --- Created attachment 39369 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39369&action=edit xz-ipped reproducer This is the xzipped test case that is my reproducer for this issue. There are many compila

[Bug c++/75860] Segmentation violation in tree_check while compiling firefox 48

2016-08-13 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=75860 --- Comment #6 from Vittorio Zecca --- Created attachment 39410 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39410&action=edit xz-ipped original firefox source file Original firefox source file in xz format. This one is error free except

[Bug c++/75860] Segmentation violation in tree_check while compiling firefox 48

2016-08-13 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=75860 --- Comment #8 from Vittorio Zecca --- Compiling the big test case, 231025 lines, with trunk level 239276 of August 9th g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/home/vitti/1tb/vitti/local/gcc-7-239276/libexec/gcc/x86_64-

[Bug c++/75860] Segmentation violation in tree_check while compiling firefox 48

2016-08-13 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=75860 --- Comment #11 from Vittorio Zecca --- I applied the fix from bug 72849 and the ICE disappeared. Many thanks for pointing me to the right place!

[Bug middle-end/67485] expmed.c sanitizer detects overflow

2016-08-15 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67485 Vittorio Zecca changed: What|Removed |Added Version|5.2.0 |7.0 --- Comment #3 from Vittorio Zecca

[Bug libgcc/77273] New: 1 << 31 is undefined in gcc/config/i386/cpuid.h:93

2016-08-16 Thread zeccav at gmail dot com
ponent: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- While compiling gcc itself, the sanitizer complains as follows: gcc-trunk-239276/libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shift of 1 by 31 places can

[Bug debug/67482] dwarf2out.c sanitizer detects undefined behaviour negation of -9223372036854775808

2016-08-16 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67482 Vittorio Zecca changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/67496] trans-array.c sanitizer runtime error: load of value 124, which is not a valid value for type 'bool'

2016-08-16 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67496 --- Comment #11 from Vittorio Zecca --- Still in trunk 7.0 gcc-trunk-239276/gcc/fortran/trans-array.c:2243:27: runtime error: load of value 48, which is not a valid value for type 'bool'

[Bug fortran/67496] trans-array.c sanitizer runtime error: load of value 124, which is not a valid value for type 'bool'

2016-08-16 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67496 Vittorio Zecca changed: What|Removed |Added Version|5.2.0 |7.0 Severity|normal

[Bug fortran/77327] New: AddressSanitizer: heap-use-after-free gcc-trunk-239276/gcc/fortran/interface.c:403 in compare_components

2016-08-22 Thread zeccav at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- Compiling the following: subroutine foo(a) type myT

[Bug fortran/77327] AddressSanitizer: heap-use-after-free gcc-trunk-239276/gcc/fortran/interface.c:403 in compare_components

2016-08-24 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77327 --- Comment #4 from Vittorio Zecca --- The reproducer I proposed comes from testcase gfortran.dg/import4.f90

[Bug fortran/77327] AddressSanitizer: heap-use-after-free gcc-trunk-239276/gcc/fortran/interface.c:403 in compare_components

2016-08-24 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77327 --- Comment #5 from Vittorio Zecca --- The test case you propose, dec_structure_13.f90, does not trigger the asan memory checker. As I wrote before, the test case gfortran.dg/import4.f90 does trigger the asan memory checker. In your test case I

[Bug fortran/77327] AddressSanitizer: heap-use-after-free gcc-trunk-239276/gcc/fortran/interface.c:403 in compare_components

2016-08-24 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77327 --- Comment #6 from Vittorio Zecca --- After applying the proposed patch the asan memory checker did not report any memory fault, in particular the heap-use-after-free in interface.c Fritz, do you have a -fsanitize=address version of gfortran, i

[Bug fortran/69604] ICE in gfc_add_modify_loc, at fortran/trans.c:159

2016-08-25 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69604 Vittorio Zecca changed: What|Removed |Added CC||zeccav at gmail dot com --- Comment

[Bug c++/67737] [C++1z] ICE in make_decl_rtl, at varasm.c:1299

2016-08-25 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67737 --- Comment #9 from Vittorio Zecca --- (In reply to Andrew Pinski from comment #8) > (In reply to Vittorio Zecca from comment #7) > > With gcc 6.1.0, maybe a shorter reproducer > > /* gcc -fcheck-pointer-bounds -mmpx p.c */ > > That is a differe

[Bug c/77383] New: -fcheck-pointer-bounds -mmpx ICE in make_decl_rtl at varasm.c

2016-08-25 Thread zeccav at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- /* gcc -fcheck-pointer-bounds -mmpx */ int main () { int size = 10; typedef struct { char val[size]; } block; block b; block

[Bug fortran/77327] AddressSanitizer: heap-use-after-free gcc-trunk-239276/gcc/fortran/interface.c:403 in compare_components

2016-08-25 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77327 --- Comment #8 from Vittorio Zecca --- Yes, it seems to me that import4.f90 is sufficient to trigger the asan memory checker. How strange, even without "implicit none" the loader should have complained that "sub2" was referenced but undefined. T

[Bug d/99337] New: Sanitizer detect heap-buffer-overflow in checkModFileAlias

2021-03-02 Thread zeccav at gmail dot com via Gcc-bugs
Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: zeccav at gmail dot com Target Milestone: --- The address sanitizer detects the following running /home/vitti/gcc-150221-full-address/gcc/gdc -B/home/vitti/gcc-150221-full-address/gcc compilable

[Bug d/99337] Sanitizer detect heap-buffer-overflow in checkModFileAlias

2021-03-02 Thread zeccav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99337 --- Comment #1 from Vittorio Zecca --- This issue was found with the address sanitizer, while issues in bug 63426 were found with the undefined behavior sanitizer.

[Bug fortran/52622] heap-use-after-free with instrumented compiler

2021-03-02 Thread zeccav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52622 Vittorio Zecca changed: What|Removed |Added CC||zeccav at gmail dot com --- Comment

<    1   2   3   4   5   6   >