[Bug c/109619] New: ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in fold_const_call_1, at fold-const-call.cc

2023-04-24 Thread anbu1024.me at gmail dot com via Gcc-bugs
: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ gcc --version gcc (GCC) 13.0.1 20230219 (experimental

[Bug c/109618] New: ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in generic_simplify_CONVERT_EXPR, at generic-match.cc

2023-04-24 Thread anbu1024.me at gmail dot com via Gcc-bugs
Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c int foo() { const unsigned int var_1

[Bug c/109598] New: ICE: tree check: expected array_type, have error_mark in array_ref_low_bound, at tree.cc

2023-04-22 Thread anbu1024.me at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- gcc (GCC) 13.0.1 20230219 snapshot ICEs when compiling the following testcase $ gcc --version gcc (GCC) 13.0.1

[Bug c/109597] New: ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c

2023-04-22 Thread anbu1024.me at gmail dot com via Gcc-bugs
Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- gcc (GCC) 13.0.1 20230219 snapshot ICEs when compiling

[Bug c/101858] New: [12 Regression] ICE: ‘verify_gimple’ failed

2021-08-11 Thread anbu1024.me at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c int foo(a) { if ( a < (int*)(1LL << a)) a = 0; return a; } $

[Bug c/101702] New: [12 Regression] ICE: in handle_argspec_attribute, at c-family/c-attribs.c:3623

2021-07-30 Thread anbu1024.me at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat 44.c double foo(double x[!__builtin_copysignf(~2, 3)]); double bar(double x) { return foo(x

[Bug c/101437] New: [12 Regression] ICE: Segmentation fault signal terminated program cc1

2021-07-13 Thread anbu1024.me at gmail dot com via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c struct s { unsigned int : 1; }; inline static void foo(int x) { struct s this_struct = {.var = x

[Bug c/101365] New: [12 Regression] ICE: in fold_convert_loc, at fold-const.c:243

2021-07-07 Thread anbu1024.me at gmail dot com via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c int var_0; void func_0() { var_0++; } int var_0[] = {1}; $ gcc-sp12 --version gcc

[Bug c/101364] New: [12 Regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_type_promotes_to, at c/c-typeck.c:278

2021-07-07 Thread anbu1024.me at gmail dot com via Gcc-bugs
Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c void fruit(); struct Apple{ int

[Bug c/101314] New: [12 Regression] ICE: in expand_call, at calls.c:4986

2021-07-04 Thread anbu1024.me at gmail dot com via Gcc-bugs
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c struct A { char x[0x]; }; extern void foo(struct A); struct A a; void main(void) { foo(a); } $ gcc-sp12

[Bug c/101313] New: [12 regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in count_type_elements, at expr.c:6273

2021-07-04 Thread anbu1024.me at gmail dot com via Gcc-bugs
Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c struct struct_A { union bar

[Bug c/101285] New: [12 Regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_safe_arg_type_equiv_p, at c/c-typeck.c:5830

2021-07-01 Thread anbu1024.me at gmail dot com via Gcc-bugs
: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat 5b.c extern char b[1]; void foo

[Bug c/101196] New: [12 Regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p

2021-06-24 Thread anbu1024.me at gmail dot com via Gcc-bugs
Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat 37.c extern int var[16]; void foo(int [x]); void bar

[Bug c/101171] [12 Regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:3006

2021-06-23 Thread anbu1024.me at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101171 --- Comment #3 from John X --- (In reply to Richard Biener from comment #1) > Is your GCC 11 compiler checking-enabled? I doubt it is a regression. gcc 11 build command: ``` configure --prefix=install_path --enable-languages=c

[Bug c/101172] New: [12 regression] ICE Segmentation fault

2021-06-22 Thread anbu1024.me at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat 36.c union U { int a[3]; struct { int a : 3; struct this_struct var; } b; }; const union U hello = {.a = {1, 2, 3}}; void foo() { int x = hello.b.a

[Bug c/101171] New: [12 Regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:3006

2021-06-22 Thread anbu1024.me at gmail dot com via Gcc-bugs
Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat 34.c extern void foo(void); int x

[Bug c/98198] New: [11 Regression] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in decl_or_type_attrs

2020-12-08 Thread anbu1024.me at gmail dot com via Gcc-bugs
Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test-6951.c static inline void sub_1

[Bug c/98197] New: [11 Regresson] internal compiler error: Floating point exception

2020-12-08 Thread anbu1024.me at gmail dot com via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c struct struct_0 { char field_0 ; } ; struct struct_0 { struct struct_0 field_1 ; } x[1]; int foo

[Bug c/98195] New: [11 Regression] internal compiler error: Segmentation fault

2020-12-08 Thread anbu1024.me at gmail dot com via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c static _Atomic long double x ; void foo ( void ) { int a , b , c ; x += foo ( x , a , b , c

[Bug c/98194] New: [9/10/11 Regression]internal compiler error: output_operand: invalid use of register 'frame'

2020-12-08 Thread anbu1024.me at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c void sub_0 ( void ) { register int var_0 asm ( "19" ) ; if ( va

[Bug c/96610] New: [11 Regression] ICE: in gimplify_va_arg_expr, at gimplify.c:15150

2020-08-13 Thread anbu1024.me at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c void foo ( ) { int x ; int y[] = 1; __builtin_va_arg ( x, int z

[Bug c/96596] New: [11 Regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in match_builtin_function_types

2020-08-12 Thread anbu1024.me at gmail dot com
Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c void __builtin_abort ( int x

[Bug c/96546] New: [10/11] internal compiler error: in default_conversion

2020-08-09 Thread anbu1024.me at gmail dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c void foo () {} __attribute__ ( ( constructor ( foo ) ) ) void bar () { return 0

[Bug c/96545] New: [10/11] internal compiler error: Segmentation fault

2020-08-09 Thread anbu1024.me at gmail dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c extern char x[]; extern char y[]; extern char z[]; void foo () { __atomic_exchange ( & x , & y , &

[Bug c/95161] New: [10/11 Regression] internal compiler error: in gimplify_expr, at gimplify.c:14609

2020-05-16 Thread anbu1024.me at gmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c unsigned short * x = 0 ; int foo ( void ) { * x = 0 ; } int x [ ] = { 1 , 2 , 3 } $ gcc-11 --version

[Bug c/95145] New: [10/11 Regression]internal compiler error: in analyze_functions, at cgraphunit.c:1380

2020-05-14 Thread anbu1024.me at gmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c void foo ( ) { extern __inline int bar ( ) { } int baz ( ) { return bar

[Bug c/95124] New: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in diag_attr_exclusions, at attribs.c:396

2020-05-14 Thread anbu1024.me at gmail dot com
Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat reduced.c int foo () { x

[Bug c/94968] New: [10 Regression] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:87

2020-05-06 Thread anbu1024.me at gmail dot com
Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c int foo

[Bug c/94966] New: [10 regression] internal compiler error: tree check: expected function_type or method_type, have integer_type in gimplify_call_expr, at gimplify.c:3433

2020-05-06 Thread anbu1024.me at gmail dot com
Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c extern void (*x

[Bug c/94903] New: internal compiler error: in assign_temp, at function.c:982

2020-05-01 Thread anbu1024.me at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat reduced.c extern struct S var ; void foo ( ) { asm volatile ( "" :

[Bug c/94902] New: [10 Regression] internal compiler error: output_operand: invalid use of register 'frame'

2020-05-01 Thread anbu1024.me at gmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat reduced.c void foo ( void ) { register int x asm ( "19" ) ;

[Bug c/94842] New: [8/9/10 Regression] internal compiler error: in gimplify_label_expr, at gimplify.c:2573

2020-04-29 Thread anbu1024.me at gmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c _Atomic float x = 5 ; void foo ( int arg_0 ) { void bar ( float arg_0 [ ( int ) ( x += 2

[Bug c/94780] New: [9/10] internal compiler error: Segmentation fault

2020-04-26 Thread anbu1024.me at gmail dot com
: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat reduced.c _Atomic double x ; void foo ( void ) { x = 1 ; for ( int i = 0 ; i < 1 ; i ++ ) { double y = x /

[Bug c/94755] New: [10 Regression] internal compiler error: Segmentation fault

2020-04-24 Thread anbu1024.me at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat reduced.c extern void foo ( void ) ; void bar ( double x ) { if ( x == __builtin_speculation_safe_value

[Bug c/94731] New: [10 Regression] internal compiler error: in fold_convert_loc, at fold-const.c:2558

2020-04-23 Thread anbu1024.me at gmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat reduced.c int x = - 1 << 0 ; int foo () { switch ( x ) case - 1 << 0 :

[Bug c/94730] New: [10 Regression] internal compiler error: in fold_convert_loc, at fold-const.c:2435

2020-04-23 Thread anbu1024.me at gmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat reduced.c int x , y ; int foo ( ) { x = 0 ; y = 0 ; if (x != 0

[Bug c/94726] New: internal compiler error: in uniform_vector_p, at tree.c:11214

2020-04-22 Thread anbu1024.me at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat reduced.c typedef unsigned int type __attribute__ ( ( vector_size ( 8 ) ) ) ; type a , b; void foo ( void ) { type var

[Bug c/94705] New: [10 Regression] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in diag_attr_exclusions, at attribs.c:396

2020-04-22 Thread anbu1024.me at gmail dot com
Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ gcc-10 --version gcc (GCC

[Bug inline-asm/93160] New: ICE: in expand_expr_addr_expr_1, at expr.c:8070

2020-01-05 Thread anbu1024.me at gmail dot com
: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c extern long unsigned int sub_0 ( const char * ) ; extern void * sub_1 ( long unsigned int ) ; extern int var_0 ; void * var_1 = & v

[Bug c/93072] New: ICE: Segmentation fault

2019-12-25 Thread anbu1024.me at gmail dot com
: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c void foo ( void ) { } static void bar ( void ) { inline void foo ( void ) ; if ( foo == 0

[Bug c/92799] New: ICE: in get, at cgraph.h:1339

2019-12-04 Thread anbu1024.me at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c static void __attribute__ ( ( weakref ( "bar" ) ) ) foo ( void ) { } extern void

[Bug middle-end/92725] New: ICE: Segmentation fault during GIMPLE pass

2019-11-29 Thread anbu1024.me at gmail dot com
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat 0.c int global ; void foo() ; __attribute__((returns_twice)) int bar() ; void baz(int, int); void main ( ) { int x; for ( ; ; ) foo

[Bug inline-asm/92615] New: [8/9/10 Regression] ICE in extract_insn

2019-11-21 Thread anbu1024.me at gmail dot com
-asm Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c void foo ( ) { char bar ; if ( bar ) { volatile int * bar = & bar ; __asm__ ( "cmp $1, %1" : "=@ccng

[Bug middle-end/92478] [8 Regression] ICE: Segmentation fault

2019-11-12 Thread anbu1024.me at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92478 --- Comment #3 from John X --- (In reply to Jakub Jelinek from comment #1) > Started to ICE with r247622, got fixed with r262742. Would the ICE in gcc-8 be fixed?

[Bug middle-end/92478] [8 Regression] ICE: Segmentation fault

2019-11-12 Thread anbu1024.me at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92478 --- Comment #2 from John X --- (In reply to Jakub Jelinek from comment #1) > Started to ICE with r247622, got fixed with r262742. Thanks~

[Bug c/92478] New: [8 Regression] ICE: Segmentation fault

2019-11-12 Thread anbu1024.me at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c void bar ( char * a , unsigned int b ) { static char const array[] = "STRING" ; __builtin_strcpy (a , [b == 0] ); } $ gcc-snapshot7 --versio

[Bug target/92469] ICE: output_operand: invalid use of register 'frame' in 7/8/9/10

2019-11-12 Thread anbu1024.me at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92469 --- Comment #4 from John X --- Sorry, I submitted the same comment twice due to the bad network environment. I don't know how to delete the duplicate one. Any one could help me?

[Bug target/92469] [9/10 Regression] ICE: output_operand: invalid use of register 'frame'

2019-11-12 Thread anbu1024.me at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92469 --- Comment #3 from John X --- Yes, you are right. If we change "19" to "20", it still ICEs for older versions of GCC. $ cat test2.c void foo ( void ) { register int x asm ( "20" ) ; int y = x; } $ gcc-snapshot8 --version gcc

[Bug target/92469] [9/10 Regression] ICE: output_operand: invalid use of register 'frame'

2019-11-12 Thread anbu1024.me at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92469 --- Comment #2 from John X --- Yes, you are right. If we change "19" to "20", it still ICEs for older versions of GCC. $ cat test2.c void foo ( void ) { register int x asm ( "20" ) ; int y = x; } $ gcc-snapshot8 --version gcc

[Bug c/92469] New: [9/10 Regression] ICE: output_operand: invalid use of register 'frame'

2019-11-11 Thread anbu1024.me at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c void foo ( void ) { register int x asm ( "19" ) ; int y = x; } My command line to c

[Bug c/92377] New: [7/8 Regression] ICE: Segmentation fault

2019-11-05 Thread anbu1024.me at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c int foo ( void ) ; int __attribute__ ( ( returns_twice ) ) bar ( void ) ; void baz ( ) { int x ; if ( x > 10 ) exit ( 0 ) ; retur

[Bug inline-asm/92368] New: internal compiler error: Segmentation fault in gcc-7.4.1

2019-11-04 Thread anbu1024.me at gmail dot com
Priority: P3 Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c void foo ( ) { float x ; asm ( "" : : "pir" ( x ) ) ; } My gcc snapshot version $ gc

[Bug c/92355] New: ICE: Segmentation fault crash_signal toplev.c:325

2019-11-04 Thread anbu1024.me at gmail dot com
: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c void foo ( ) { void bar() char str[({ void func(){ int x; } )]; } My gcc-8's snapshot version is gcc-8-20191101 $ gcc-snapshot8 -v Using built

[Bug c/92352] New: ICE in force_constant_size

2019-11-04 Thread anbu1024.me at gmail dot com
: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ gcc-9.2.0 -v Using built-in specs. COLLECT_GCC=/home/tom/Documents/gcc/9.2.0/install/bin/gcc COLLECT_LTO_WRAPPER=/home/tom/Documents/gcc/9.2.0/install/libexec/gcc/x86_64-pc-linux-gnu/9.2.0/lto