[Bug c/77888] New: Missing -Wparentheses diagnostic

2016-10-06 Thread jan.sm...@alcatel-lucent.com
Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Target Milestone: --- int main(void) { int zone = 5; int MinChassisFanZoneNum = 4; int MaxChassisFanZoneNum = 10; # if 0 for (int i = (zone?zone:MinChassisFanZoneNum); i <= (z

[Bug sanitizer/71498] New: ubsan bounds checking influenced by surrounding code

2016-06-10 Thread jan.sm...@alcatel-lucent.com
Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Target Milestone: --- $ gcc -c /tmp

[Bug middle-end/70871] questionable optimisation in fold-const.c

2016-05-25 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70871 --- Comment #4 from Jan Smets <jan.sm...@alcatel-lucent.com> --- Ping

[Bug middle-end/70871] questionable optimisation in fold-const.c

2016-04-29 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70871 Jan Smets <jan.sm...@alcatel-lucent.com> changed: What|Removed |Added Attachment #38376|0

[Bug middle-end/70871] questionable optimisation in fold-const.c

2016-04-29 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70871 --- Comment #2 from Jan Smets <jan.sm...@alcatel-lucent.com> --- Created attachment 38376 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38376=edit possible solution I have not extensively tested this, but it seems to work for my testcase.

[Bug middle-end/70871] New: questionable optimisation in fold-const.c

2016-04-29 Thread jan.sm...@alcatel-lucent.com
-end Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Target Milestone: --- typedef struct X { void *a; long int b; int c; int d; unsigned int e[3]; unsigned short f; unsigned char g; unsigned char h

[Bug c++/70714] New: ICE: Segmentation fault

2016-04-18 Thread jan.sm...@alcatel-lucent.com
: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Target Milestone: --- struct UINT; typedef struct { UINT TYPES } eType; fn1(eType) { gcc version 5.3.1 20160411 (GCC) = gcc-5-branch @ 0efe1cc72d37ff1173b52cf6bc3f17bd0ccb59f3 target = x86_64-unknown-linux-gnu

[Bug c++/70617] internal compiler error: Segmentation fault

2016-04-15 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70617 --- Comment #7 from Jan Smets <jan.sm...@alcatel-lucent.com> --- Should I open a different issue for that?

[Bug c++/70336] [5 regression] Incorrect Wconversion warning

2016-04-14 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70336 Jan Smets <jan.sm...@alcatel-lucent.com> changed: What|Removed |Added Severity|normal |minor

[Bug debug/56805] DW_TAG_typedef missing when -fdebug-types-section is used (and -fno-eliminate-unused-debug-types)

2016-04-14 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56805 Jan Smets <jan.sm...@alcatel-lucent.com> changed: What|Removed |Added Status|ASSIGNED|RE

[Bug target/66920] ICE in expand_debug_locations, at cfgexpand.c:3826

2016-04-14 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66920 --- Comment #4 from Jan Smets <jan.sm...@alcatel-lucent.com> --- Seems fixed.

[Bug target/66931] ICE in convert_move, at expr.c:316

2016-04-14 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66931 Jan Smets <jan.sm...@alcatel-lucent.com> changed: What|Removed |Added Status|NEW |RE

[Bug rtl-optimization/63629] ICE in fix_loop_structure, at loop-init.c:251

2016-04-14 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63629 Jan Smets <jan.sm...@alcatel-lucent.com> changed: What|Removed |Added Status|UNCONFIRMED |RE

[Bug c++/70617] internal compiler error: Segmentation fault

2016-04-11 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70617 --- Comment #5 from Jan Smets <jan.sm...@alcatel-lucent.com> --- Reduced test case by creduce struct UINT; typedef struct { UINT TYPES } eType; fn1(eType) { gcc version 5.3.1 20160411 (GCC) = gcc-5-

[Bug c++/70617] internal compiler error: Segmentation fault

2016-04-10 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70617 --- Comment #3 from Jan Smets <jan.sm...@alcatel-lucent.com> --- output is the same

[Bug c++/70617] internal compiler error: Segmentation fault

2016-04-10 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70617 --- Comment #1 from Jan Smets <jan.sm...@alcatel-lucent.com> --- with checking=all ../pchip_code/vfp_combined_c.cpp:85:1: internal compiler error: Segmentation fault 0xd42735 crash_signal .././gcc-5.3.1/gcc/toplev.c:383 0x

[Bug c++/70617] New: internal compiler error: Segmentation fault

2016-04-10 Thread jan.sm...@alcatel-lucent.com
++ Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Target Milestone: --- gcc (GCC) 5.3.1 20160404 Unfortunately I have been unable to get a reduced testcase to upload. Creduce keeps running in loops and minor modifications to the source make

[Bug c++/70336] New: Incorrect Wconversion warning

2016-03-21 Thread jan.sm...@alcatel-lucent.com
++ Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Target Milestone: --- void bla(unsigned char * buffer, int offset, int position) { buffer[position/8] |= (unsigned char)(0x80 >> offset); } /tmp/test.c: In function 'bla': /tmp/test.c:3:27: w

[Bug middle-end/69975] New: Missing uninitilized warning / optimized to use wrong value

2016-02-25 Thread jan.sm...@alcatel-lucent.com
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Target Milestone: --- #include int X; int foo(int yyy, int zzz) { int xxx; if (yyy) { printf("in y\n");

[Bug bootstrap/69352] [6 Regression] profiledbootstrap failure with --with-build-config=bootstrap-lto

2016-01-19 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69352 --- Comment #4 from Jan Smets <jan.sm...@alcatel-lucent.com> --- compile with : -xc -c pr69352.best -w -o /dev/null -O1 $ cat pr69352.best typedef enum { REG_HSTRH, REG_HSTRL, REG_HFAERH, REG_HFAERL, REG_HIMRH, REG

[Bug c/68513] [5/6 Regression] ICE in gimplify_expr, at gimplify.c:8832, c_maybe_const_expr in IL

2016-01-19 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68513 --- Comment #13 from Jan Smets <jan.sm...@alcatel-lucent.com> --- I don't think is fixed in 5.x-branch

[Bug bootstrap/69352] [6 Regression] profiledbootstrap failure with --with-build-config=bootstrap-lto

2016-01-18 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69352 Jan Smets <jan.sm...@alcatel-lucent.com> changed: What|Removed |Added CC||

[Bug target/63679] [5/6 Regression][AArch64] Failure to constant fold.

2016-01-18 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63679 Jan Smets <jan.sm...@alcatel-lucent.com> changed: What|Removed |Added CC||

[Bug c++/69277] New: ICE (Segmentation fault) used but never defined

2016-01-14 Thread jan.sm...@alcatel-lucent.com
++ Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Target Milestone: --- $GCC -fpreprocessed -S -xc++ -c testcase.best -o /dev/null -mabi=64 (mips64 cross compiler was used) testcase.best:14:52: warning: '{anonymous}::unique_ptr {anonymous

[Bug c/68513] [5/6 Regression] ICE in gimplify_expr, at gimplify.c:8832, c_maybe_const_expr in IL

2015-12-03 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68513 --- Comment #11 from Jan Smets <jan.sm...@alcatel-lucent.com> --- Thanks. Can this also be backported to 5.x? Thanks

[Bug rtl-optimization/68636] unnecessary unaligned load on mips o32

2015-12-02 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68636 --- Comment #2 from Jan Smets <jan.sm...@alcatel-lucent.com> --- The vreg pass is different OLD ode_label 16 9 17 6 2 "" [1 uses]) (note 17 16 18 6 [bb 6] NOTE_INSN_BASIC_BLOCK) (insn 18 17 0 6 (set (mem/v:SI (reg/f:SI 194

[Bug c/68513] [5/6 Regression] ICE in gimplify_expr, at gimplify.c:8832, c_maybe_const_expr in IL

2015-12-02 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68513 --- Comment #9 from Jan Smets <jan.sm...@alcatel-lucent.com> --- Could you please tell me in which commit the issue was fixed. Thanks.

[Bug rtl-optimization/68636] New: unnecessary unaligned load on mips o32

2015-12-01 Thread jan.sm...@alcatel-lucent.com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Target Milestone: --- typedef unsigned long uintptr_t;; volatile unsigned int x; void testTestTest(void) { x = *((volatile unsigned int *) (((volatile void *)((uintptr_t

[Bug rtl-optimization/68547] New: incorrect optimization

2015-11-25 Thread jan.sm...@alcatel-lucent.com
Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Target Milestone: --- Created attachment 36841 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36841=edit test case $ g++ test.cc -o test -O2 -Wall && ./test DEL element[1]=200 volatile DE

[Bug c/68513] New: ICE in gimplify_expr, at gimplify.c:8832

2015-11-24 Thread jan.sm...@alcatel-lucent.com
Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Target Milestone: --- Created attachment 36819 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36819=edit testcase Test case attached. Simply compile without any optimizations.

[Bug middle-end/66920] ICE in expand_debug_locations, at cfgexpand.c:3826

2015-07-18 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66920 --- Comment #1 from Jan Smets jan.sm...@alcatel-lucent.com --- Likely related/identical to 66931

[Bug middle-end/66931] New: ICE in convert_move, at expr.c:316

2015-07-18 Thread jan.sm...@alcatel-lucent.com
Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Target Milestone: --- Compile with -xc++ -w -m32 -gdwarf-4 -mno-sse test.cpp Likely related/identical to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66920 typedef long v2di __attribute__

[Bug middle-end/66920] New: ICE in expand_debug_locations, at cfgexpand.c:3826

2015-07-17 Thread jan.sm...@alcatel-lucent.com
Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Target Milestone: --- Compile with -xc++ -w -m32 -gdwarf-4 -mno-sse -O1 test.cpp test.cpp: In function 'bool test_sp(Desc*, data*)': test.cpp:29:1: internal compiler error

[Bug c++/63629] New: ICE in fix_loop_structure, at loop-init.c:251

2014-10-23 Thread jan.sm...@alcatel-lucent.com
++ Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Created attachment 33795 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33795action=edit ice in fix_loop_structure, at loop-init.c:251 /tmp/gcc50-new/x86_64-wrs-vxworks/x86_64-unknown-linux-gnu

[Bug middle-end/63221] New: symbol with section attribute ends up in common

2014-09-10 Thread jan.sm...@alcatel-lucent.com
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com extern int sharedTop; int sharedTop __attribute__ ((section (.cvmx_shared))); sharedTop ends up in COM with trunk, GCC 4.8 puts it in .cvmx_shared as one would expect.

[Bug tree-optimization/59132] Missing aggressive array based optimisation warning

2014-04-23 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59132 --- Comment #1 from Jan Smets jan.sm...@alcatel-lucent.com --- Ping

[Bug middle-end/58970] [4.7 Regression] internal compiler error: in get_bit_range, at expr.c:4562

2014-04-23 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58970 Jan Smets jan.sm...@alcatel-lucent.com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug sanitizer/60861] New: out of bounds access of global var in .rodata/.bss not detected

2014-04-16 Thread jan.sm...@alcatel-lucent.com
Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org gcc version

[Bug sanitizer/60861] out of bounds access of global var in .rodata/.bss not detected

2014-04-16 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60861 --- Comment #2 from Jan Smets jan.sm...@alcatel-lucent.com --- Using -fno-common (while compiling as C), or compiling as C++ works for the unitialized bss example: int testGlobalOutOfBoundsRODATAVar[5]; /* bss : works with -fno-common (compiled

[Bug rtl-optimization/60260] New: MIPS sign extension issue

2014-02-18 Thread jan.sm...@alcatel-lucent.com
Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com GCC 4.8.2 mips-wrs-vxworks -c test.c -o test -Wall -O2 -mabi=32 int main() { volatile unsigned int * ptr; unsigned int end = 0x7fbfff80U; unsigned int * eptr = (unsigned int*)0x8000U

[Bug rtl-optimization/60260] MIPS sign extension issue

2014-02-18 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60260 Jan Smets jan.sm...@alcatel-lucent.com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug middle-end/59338] New: error: position plus size exceeds size of referenced object in BIT_FIELD_REF

2013-11-29 Thread jan.sm...@alcatel-lucent.com
: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com minimal.i: In function 'test': minimal.i:20:6: error: position plus size exceeds size of referenced object in BIT_FIELD_REF void test(void

[Bug other/59132] New: Missing aggressive-loop-optimisation warning

2013-11-14 Thread jan.sm...@alcatel-lucent.com
Component: other Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com #include stdio.h char info = 0; typedef enum { A = 0 } eA; typedef enum { B = 0 } eB; typedef enum { C = 0 } eC; int main (void) { eA a = 0; eB b; eC c[2]; for (a = 1

[Bug middle-end/58970] [4.7/4.8/4.9 Regression] internal compiler error: in get_bit_range, at expr.c:4562

2013-11-11 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58970 --- Comment #30 from Jan Smets jan.sm...@alcatel-lucent.com --- Thanks!

[Bug middle-end/58970] [4.7/4.8/4.9 Regression] internal compiler error: in get_bit_range, at expr.c:4562

2013-11-06 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58970 --- Comment #28 from Jan Smets jan.sm...@alcatel-lucent.com --- Can this be backported to 4.8 please. Thanks

[Bug middle-end/58970] [4.7/4.8/4.9 Regression] internal compiler error: in get_bit_range, at expr.c:4562

2013-11-03 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58970 --- Comment #5 from Jan Smets jan.sm...@alcatel-lucent.com --- Seems to work. Thanks!

[Bug middle-end/58970] New: internal compiler error: in get_bit_range, at expr.c:4562

2013-11-02 Thread jan.sm...@alcatel-lucent.com
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com /tmp/minimal9.i: In function 'function': /tmp/minimal9.i:15:28: internal compiler error: in get_bit_range, at expr.c:4562 pInfo-mode[x].member1 = 0

[Bug middle-end/58970] internal compiler error: in get_bit_range, at expr.c:4562

2013-11-02 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58970 --- Comment #1 from Jan Smets jan.sm...@alcatel-lucent.com --- And compile with -O1 or -O2. Reproducible on x86 and mips.

[Bug ipa/58332] [4.9 Regression] error: inlined_to pointer is set but no predecessors found

2013-09-17 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58332 --- Comment #4 from Jan Smets jan.sm...@alcatel-lucent.com --- Verified

[Bug other/58439] New: ICE verify_cgraph_node failed

2013-09-16 Thread jan.sm...@alcatel-lucent.com
Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Created attachment 30827 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30827action=edit verify_cgraph_node failed file.c:3290:1: error: inlined_to pointer is set but no predecessors found } ^ GetCoreNum

[Bug other/58439] ICE verify_cgraph_node failed

2013-09-16 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58439 --- Comment #1 from Jan Smets jan.sm...@alcatel-lucent.com --- Oh, and compile with -O2

[Bug sanitizer/58411] no_sanitize_undefined function attribute

2013-09-15 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58411 --- Comment #3 from Jan Smets jan.sm...@alcatel-lucent.com --- Eg, these attributes are useful too I think: no_sanitize = disable ALL sanitize checks sanitize - enable ALL sanitize checks no_sanitize_{address,undefined,vla...} = disable

[Bug sanitizer/58411] New: no_sanitize_undefined function attribute

2013-09-13 Thread jan.sm...@alcatel-lucent.com
: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Request for a no_sanitize_undefined attribute

[Bug sanitizer/58413] New: ubsan constant folding

2013-09-13 Thread jan.sm...@alcatel-lucent.com
Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org variable-sized object may not be initialized unsigned short x[128 5

[Bug sanitizer/58420] New: internal compiler error: in ubsan_type_descriptor, at ubsan.c:280

2013-09-13 Thread jan.sm...@alcatel-lucent.com
Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org stl.46

[Bug sanitizer/58420] internal compiler error: in ubsan_type_descriptor, at ubsan.c:280

2013-09-13 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58420 --- Comment #1 from Jan Smets jan.sm...@alcatel-lucent.com --- This may be because of the (not yet committed) patch for ubsan vla bounds checking. http://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg61427.html Probably another one for Marek

[Bug sanitizer/58411] no_sanitize_undefined function attribute

2013-09-13 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58411 --- Comment #2 from Jan Smets jan.sm...@alcatel-lucent.com --- Please also think of the other -fsanitize= options.

[Bug lto/58285] ICE in lto_output_tree, at lto-streamer-out.c:1318

2013-09-03 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58285 --- Comment #3 from Jan Smets jan.sm...@alcatel-lucent.com --- vxworks target : . vs $ in asm names.

[Bug debug/56805] DW_TAG_typedef missing when -fdebug-types-section is used (and -fno-eliminate-unused-debug-types)

2013-09-03 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56805 --- Comment #7 from Jan Smets jan.sm...@alcatel-lucent.com --- Ping

[Bug lto/58285] New: ICE in lto_output_tree, at lto-streamer-out.c:1318

2013-08-30 Thread jan.sm...@alcatel-lucent.com
: lto Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Compile with -flto , must use mips triplet. extern C { extern C { typedef int BOOL; typedef int STATUS; typedef struct slnode { } SL_LIST; extern C { typedef struct

[Bug preprocessor/38990] preprocessing different in g++ -E and regular compiling.

2013-06-07 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38990 Jan Smets jan.sm...@alcatel-lucent.com changed: What|Removed |Added CC||jan.sm...@alcatel

[Bug preprocessor/38990] preprocessing different in g++ -E and regular compiling.

2013-06-07 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38990 --- Comment #4 from Jan Smets jan.sm...@alcatel-lucent.com --- Known to work: GCC 4.6

[Bug other/55793] Compile hog with -gdwarf-4 and -O2 (-fvar-tracking issue)

2013-04-19 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55793 --- Comment #3 from Jan Smets jan.sm...@alcatel-lucent.com 2013-04-19 11:57:36 UTC --- Can't confirm since the patch can not be applied to 4.6. (Even though the branch is dead already..)

[Bug debug/56805] DW_TAG_typedef missing when -fdebug-types-section is used (and -fno-eliminate-unused-debug-types)

2013-04-12 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56805 --- Comment #6 from Jan Smets jan.sm...@alcatel-lucent.com 2013-04-12 09:38:52 UTC --- What if we created a new .debug_types section for the typedef if: 1) -fno-eliminate-unused-debug-types is used 2) a typedef is unused and otherwise

[Bug debug/56805] DW_TAG_typedef missing when -fdebug-types-section is used (and -fno-eliminate-unused-debug-types)

2013-04-02 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56805 --- Comment #3 from Jan Smets jan.sm...@alcatel-lucent.com 2013-04-02 18:11:41 UTC --- For me it's very important. To briefly describe what we do: we have structures that are sent to different platforms with configuration information

[Bug debug/56805] DW_TAG_typedef missing when -fdebug-types-section is used (and -fno-eliminate-unused-debug-types)

2013-04-02 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56805 --- Comment #5 from Jan Smets jan.sm...@alcatel-lucent.com 2013-04-02 21:28:37 UTC --- -gstrict-dwarf does not disable type sections in GCC 4.6, the result is unchanged. With 4.8 the behaviour is what you described. Is it really

[Bug debug/56805] New: DW_AT_typedef missing when -fdebug-types-section is used (and -fno-eliminate-unused-debug-types)

2013-04-01 Thread jan.sm...@alcatel-lucent.com
: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: jan.sm...@alcatel-lucent.com typedef struct { char b[4]; } some_typedef_name; typedef

[Bug debug/56805] DW_AT_typedef missing when -fdebug-types-section is used (and -fno-eliminate-unused-debug-types)

2013-04-01 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56805 --- Comment #1 from Jan Smets jan.sm...@alcatel-lucent.com 2013-04-01 23:33:18 UTC --- And the typedef names should have an entry , regardless of -fdebug-types-section because -fno-eliminate-unused-debug-types is used.

[Bug other/56664] New: internal compiler error: in estimate_function_body_sizes, at ipa-inline.c:1940

2013-03-20 Thread jan.sm...@alcatel-lucent.com
Status: UNCONFIRMED Severity: minor Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: jan.sm...@alcatel-lucent.com perl -e print 'void test(void) { __asm__ volatile ('; print '\.byte

[Bug c/55882] unaligned load/store : incorrect struct offset

2013-01-08 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55882 --- Comment #9 from Jan Smets jan.sm...@alcatel-lucent.com 2013-01-08 21:45:23 UTC --- Patch verified.

[Bug rtl-optimization/54524] [4.6/4.7 Regression] Spurious add on sum of bitshifts (forward-propagate issue)

2013-01-07 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54524 Jan Smets jan.sm...@alcatel-lucent.com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c/55882] unaligned load/store : incorrect struct offset

2013-01-07 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55882 --- Comment #3 from Jan Smets jan.sm...@alcatel-lucent.com 2013-01-07 16:20:32 UTC --- testfunction: testfunction: ... 20: 03c21021 adduv0,s8,v0 20: 03c21021 adduv0,s8

[Bug c/55882] unaligned load/store : incorrect struct offset

2013-01-07 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55882 --- Comment #4 from Jan Smets jan.sm...@alcatel-lucent.com 2013-01-07 16:22:17 UTC --- Created attachment 29099 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29099 testcase-pr55882.c

[Bug c/55882] New: unaligned load/store : incorrect struct offset

2013-01-04 Thread jan.sm...@alcatel-lucent.com
Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: jan.sm...@alcatel-lucent.com void testfunction(somestruct * chip) { unsigned i; for (i = 0; i 4; i++) { { tUint64 mask = ((chip-pp_mask) (0x0020

[Bug c/55882] unaligned load/store : incorrect struct offset

2013-01-04 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55882 Jan Smets jan.sm...@alcatel-lucent.com changed: What|Removed |Added Target||mips

[Bug middle-end/55851] New: ICE in size_binop_loc, at fold-const.c:1385

2013-01-02 Thread jan.sm...@alcatel-lucent.com
Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: jan.sm...@alcatel-lucent.com Created attachment 29074 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29074 testcase Trunk, testcase attached. /tmp/ice.c: In function

[Bug debug/54402] [4.8 Regression] var-tracking does not scale

2012-12-23 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54402 --- Comment #25 from Jan Smets jan.sm...@alcatel-lucent.com 2012-12-24 00:37:18 UTC --- 55793 may be a duplicate, but the testcase is really different.

[Bug other/55793] New: Compile hog with -gdwarf-4 and -O2 (-fvar-tracking issue)

2012-12-22 Thread jan.sm...@alcatel-lucent.com
: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: jan.sm...@alcatel-lucent.com Created attachment 29029 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29029 testcase Following testcase takes

[Bug other/55793] Compile hog with -gdwarf-4 and -O2 (-fvar-tracking issue)

2012-12-22 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55793 --- Comment #1 from Jan Smets jan.sm...@alcatel-lucent.com 2012-12-22 20:44:32 UTC --- 85%+ of the time is spent in var-tracking dataflow. This may just be a duplicate of #54402 but the testcase there is different.

[Bug middle-end/52640] [4.8 Regression] performance bottleneck: gcc/tree.c;value_member

2012-12-11 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52640 --- Comment #19 from Jan Smets jan.sm...@alcatel-lucent.com 2012-12-11 16:55:30 UTC --- Steven's example only contains 10 000 entries. I need to recompile a symbol table of 270.000 entries a dozen times each day. (and so do a lot of other

[Bug rtl-optimization/54524] [4.6/4.7 Regression] Spurious add on sum of bitshifts (forward-propagate issue)

2012-11-03 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54524 --- Comment #9 from Jan Smets jan.sm...@alcatel-lucent.com 2012-11-03 18:25:32 UTC --- Verified. Thanks Andrew. (Should I mark it as Resolved?)

[Bug rtl-optimization/54524] Spurious add on sum of bitshifts (forward-propagate issue)

2012-09-18 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54524 Jan Smets jan.sm...@alcatel-lucent.com changed: What|Removed |Added Severity|normal |major

[Bug rtl-optimization/54524] Spurious add on sum of bitshifts (forward-propagate issue)

2012-09-18 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54524 Jan Smets jan.sm...@alcatel-lucent.com changed: What|Removed |Added Target|mips|mipsisa64-octeon

[Bug rtl-optimization/54524] [4.6/4.7/4.8 Regression] Spurious add on sum of bitshifts (forward-propagate issue)

2012-09-18 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54524 --- Comment #3 from Jan Smets jan.sm...@alcatel-lucent.com 2012-09-18 21:49:21 UTC --- This commit introduced the bug: http://gcc.gnu.org/viewcvs?view=revisionrevision=161655 (or 182cf5a9a415f31df0f9a10e46faed1221484a35 in git)

[Bug rtl-optimization/54524] New: Spurious add on sum of bitshifts

2012-09-08 Thread jan.sm...@alcatel-lucent.com
Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: jan.sm...@alcatel-lucent.com There is an spurious addiua2,a2,1 which causes the result to be incorrect. tUint32 is unsigned long long MIPS O32 GCC 4.6.3 -nostdinc -funsigned-char -fno

[Bug rtl-optimization/54524] Spurious add on sum of bitshifts

2012-09-08 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54524 --- Comment #1 from Jan Smets jan.sm...@alcatel-lucent.com 2012-09-08 13:18:48 UTC --- Created attachment 28152 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28152 testcase The result is correct with -fno-forward-propagate tUint64

[Bug c/53874] New: -Wswitch-enum not properly working with bitfields

2012-07-06 Thread jan.sm...@alcatel-lucent.com
Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: jan.sm...@alcatel-lucent.com typedef enum { A, B, C } tEnum; typedef struct t_A { tEnum my_enum:4; } tA; int test(tA * bla) { switch(bla-my_enum) { default

[Bug c/53874] -Wswitch-enum not properly working with bitfields

2012-07-06 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53874 --- Comment #1 from Jan Smets jan.sm...@alcatel-lucent.com 2012-07-06 13:09:29 UTC --- And if the :4 is removed, then it works as expected.

[Bug c/52640] performance bottleneck: gcc/tree.c;value_member

2012-03-21 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52640 --- Comment #6 from Jan Smets jan.sm...@alcatel-lucent.com 2012-03-21 15:51:22 UTC --- Comment on attachment 26941 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26941 Needs an ASM_OUTPUT_EXTERNAL platform for testing Where does

[Bug middle-end/52640] [4.5/4.6/4.7/4.8 Regression] performance bottleneck: gcc/tree.c;value_member

2012-03-21 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52640 --- Comment #10 from Jan Smets jan.sm...@alcatel-lucent.com 2012-03-21 19:46:31 UTC --- Works. ~13 sec for 243k entries. Still slower than GCC 3.4 but at least better than 80+ seconds.

[Bug c/52640] performance bottleneck: gcc/tree.c;value_member

2012-03-20 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52640 --- Comment #1 from Jan Smets jan.sm...@alcatel-lucent.com 2012-03-20 23:45:27 UTC --- I'd like to note that this code compiles in a few seconds in GCC 3.4. Thanks Neil for making this profile.

[Bug target/47739] gcc 4.4.5 with target powerpc-wrs-vxworks fails to compile

2011-06-08 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47739 Jan Smets jan.sm...@alcatel-lucent.com changed: What|Removed |Added CC||jan.sm...@alcatel

[Bug other/47733] psignal (int, const? char*) in libiberty/strsignal.h

2011-06-01 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47733 Jan Smets jan.sm...@alcatel-lucent.com changed: What|Removed |Added CC||jan.sm...@alcatel