From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5505 invoked by alias); 19 Jul 2014 19:30:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 5327 invoked by uid 48); 19 Jul 2014 19:30:03 -0000 From: "chengniansun at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/61852] New: Incorrect column number for -Wimplicit-function-declaration Date: Sat, 19 Jul 2014 19:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chengniansun at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg01364.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61852 Bug ID: 61852 Summary: Incorrect column number for -Wimplicit-function-declaration Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com The current version points to the start of the statement containing the undeclared function call.=20 $: cat t.c int f (int a) { int b =3D a + a + a + ff(a); return b; } $: gcc-trunk -Wimplicit-function-declaration -c t.c=20 t.c: In function =E2=80=98f=E2=80=99: t.c:2:3: warning: implicit declaration of function =E2=80=98ff=E2=80=99 [-Wimplicit-function-declaration] int b =3D a + a + a + ff(a); ^ $: clang-trunk -Wimplicit-function-declaration -c t.c=20 t.c:2:23: warning: implicit declaration of function 'ff' is invalid in C99 [-Wimplicit-function-declaration] int b =3D a + a + a + ff(a); ^ 1 warning generated. >>From gcc-bugs-return-456774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jul 19 21:12:38 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30672 invoked by alias); 19 Jul 2014 21:12:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30408 invoked by uid 48); 19 Jul 2014 21:12:22 -0000 From: "danglin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/61853] New: [4.9,4.10 Regression] ICE: SIGSEGV in store_field Date: Sat, 19 Jul 2014 21:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg01365.txt.bz2 Content-length: 2067 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61853 Bug ID: 61853 Summary: [4.9,4.10 Regression] ICE: SIGSEGV in store_field Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu (gdb) r Starting program: /home/dave/gnu/gcc/objdir/stage1-gcc/cc1plus -fpreprocessed ConstituentParticleData.ii -quiet -dumpbase ConstituentParticleData.cc -auxbase-strip .libs/ConstituentParticleData.o -g -O2 -Wpedantic -Wall -Wextra -Wformat=1 -Werror=format-security -ansi -version -fPIC -o ConstituentParticleData.s GNU C++ (GCC) version 4.10.0 20140717 (experimental) [trunk revision 212770] (hppa-linux-gnu) compiled by GNU C version 4.9.0, GMP version 6.0.0, MPFR version 3.1.2-p3, MPC version 1.0.2 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU C++ (GCC) version 4.10.0 20140717 (experimental) [trunk revision 212770] (hppa-linux-gnu) compiled by GNU C version 4.9.0, GMP version 6.0.0, MPFR version 3.1.2-p3, MPC version 1.0.2 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: 03431aebbd62606890d51bba87e8825f Program received signal SIGSEGV, Segmentation fault. 0x00a5870c in store_field (target=0xf7275af0, bitsize=64, bitpos=0, bitregion_start=0, bitregion_end=63, mode=DFmode, exp=0xf6f412d0, alias_set=7, nontemporal=) at ../../gcc/gcc/expr.c:6493 6493 && ((((MEM_ALIGN (target) < GET_MODE_ALIGNMENT (mode)) (gdb) p debug_rtx (target) (parallel:BLK [ (expr_list:REG_DEP_TRUE (reg:DI 101 [ ]) (const_int 0 [0])) ]) $1 = void Maybe one can't store into a BLKmode structure? ICE doesn't occur with 4.8.