[Bug c/83117] [8 Regression] FAIL: gcc.target/x86_64/abi/ms-sysv/ms-sysv.c (test for excess errors)

2017-11-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83117 --- Comment #7 from rguenther at suse dot de --- On November 26, 2017 8:07:10 AM GMT+01:00, "jakub at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83117 > >--- Comment #6 from Jakub Jelinek --- >The warning is nothing n

[Bug c/83117] [8 Regression] FAIL: gcc.target/x86_64/abi/ms-sysv/ms-sysv.c (test for excess errors)

2017-11-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83117 --- Comment #6 from Jakub Jelinek --- The warning is nothing new, GCC has been warning for that for years. What my patch did is just better optimization, so the compiler can see the UB. Try: extern long do_test_aligned (); static long (*const

[Bug c++/83165] [8 regression] cannot convert ‘GPrivate’ {aka ‘_GPrivate’} to ‘GPrivate*’ {aka ‘_GPrivate*’} in return

2017-11-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83165 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/81851] missing -Wduplicated-branches on if and return statements with no else

2017-11-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81851 Martin Sebor changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug testsuite/83155] [8 regression] test-error-array-bounds.c.exe fail

2017-11-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83155 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Component|jit

[Bug c++/83165] [8 regression] cannot convert ‘GPrivate’ {aka ‘_GPrivate’} to ‘GPrivate*’ {aka ‘_GPrivate*’} in return

2017-11-25 Thread skpgkp1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83165 --- Comment #3 from Sunil Pandey --- Well, this is creduce generated code from clipsmm application build file. https://sourceforge.net/projects/clipsmm/ If you want, I can attach original preprocessed file.

[Bug c++/83165] [8 regression] cannot convert ‘GPrivate’ {aka ‘_GPrivate’} to ‘GPrivate*’ {aka ‘_GPrivate*’} in return

2017-11-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83165 --- Comment #2 from Andrew Pinski --- Note since GPrivate is non dependent type checking can happen at defintion time rather than instaination time.

[Bug c++/83165] [8 regression] cannot convert ‘GPrivate’ {aka ‘_GPrivate’} to ‘GPrivate*’ {aka ‘_GPrivate*’} in return

2017-11-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83165 --- Comment #1 from Marc Glisse --- Could you explain why this code should be accepted, to save time?

[Bug c++/83166] [8 regression] error: type mismatch in pointer diff expression internal compiler error: verify_gimple failed

2017-11-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83166 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/83164] [8 regression] internal compiler error: verify_gimple failed

2017-11-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83164 Marc Glisse changed: What|Removed |Added CC||skpgkp1 at gmail dot com --- Comment #3 fr

[Bug middle-end/83164] [8 regression] internal compiler error: verify_gimple failed

2017-11-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83164 --- Comment #2 from Marc Glisse --- Does it work if you remove the verification || !types_compatible_p (rhs1_type, rhs2_type) from tree-cfg.c? useless_type_conversion_p says that converting a function pointer to char* is useless (b

[Bug c++/83166] New: [8 regression] error: type mismatch in pointer diff expression internal compiler error: verify_gimple failed

2017-11-25 Thread skpgkp1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83166 Bug ID: 83166 Summary: [8 regression] error: type mismatch in pointer diff expression internal compiler error: verify_gimple failed Product: gcc Version: 8.0

[Bug c++/83165] New: [8 regression] cannot convert ‘GPrivate’ {aka ‘_GPrivate’} to ‘GPrivate*’ {aka ‘_GPrivate*’} in return

2017-11-25 Thread skpgkp1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83165 Bug ID: 83165 Summary: [8 regression] cannot convert ‘GPrivate’ {aka ‘_GPrivate’} to ‘GPrivate*’ {aka ‘_GPrivate*’} in return Product: gcc Version: 8.0

[Bug middle-end/83164] [8 regression] internal compiler error: verify_gimple failed

2017-11-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83164 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/83164] New: [8 regression] internal compiler error: verify_gimple failed

2017-11-25 Thread gerald at pfeifer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83164 Bug ID: 83164 Summary: [8 regression] internal compiler error: verify_gimple failed Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Pri

[Bug tree-optimization/80776] -Wformat-overflow false positive for %d on integer bounded by __builtin_unreachable

2017-11-25 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80776 --- Comment #3 from Paul Eggert --- (In reply to Richard Biener from comment #1) > Possibly the walk in remove_range_assertions visits the latter before the > former block but in principle we do have code to handle this there. I just ran into th

[Bug rtl-optimization/81553] [7 Regression] ICE in immed_wide_int_const, at emit-rtl.c:607

2017-11-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81553 Jakub Jelinek changed: What|Removed |Added Summary|[7/8 Regression] ICE in |[7 Regression] ICE in

[Bug middle-end/61118] [6/7/8 Regression] Indirect call generated for pthread_cleanup_push with constant cleanup function

2017-11-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61118 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org S

[Bug middle-end/48968] incorrect warning about longjmp/vfork clobbering a local (-W -O2, x86-64)

2017-11-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48968 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org S

[Bug bootstrap/83163] New: bootstrap comparison failure with --enable-languages=all,jit

2017-11-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83163 Bug ID: 83163 Summary: bootstrap comparison failure with --enable-languages=all,jit Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Pri

[Bug target/83156] [8 regression] gcc.target/i386/pr82361-1.c fail

2017-11-25 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83156 --- Comment #3 from Segher Boessenkool --- Hrm, looking for a REG_UNUSED of the dests (instead of of anything) fixes f1 and f2, but not the rest.

[Bug target/83156] [8 regression] gcc.target/i386/pr82361-1.c fail

2017-11-25 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83156 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug jit/64296] link failure of libgccjit.so for "in tree" gmp/mpc/mpfr/isl

2017-11-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64296 Martin Sebor changed: What|Removed |Added Keywords||build Known to fail|6.0

[Bug bootstrap/67137] --enable-languages=jit and --disable-shared

2017-11-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67137 Martin Sebor changed: What|Removed |Added Keywords||build Status|UNCONFIRMED

[Bug rtl-optimization/81553] [7/8 Regression] ICE in immed_wide_int_const, at emit-rtl.c:607

2017-11-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81553 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Sat Nov 25 19:35:47 2017 New Revision: 255150 URL: https://gcc.gnu.org/viewcvs?rev=255150&root=gcc&view=rev Log: PR rtl-optimization/81553 * combine.c (simplify_if_then_el

[Bug rtl-optimization/82488] UBSAN in gcc/expr.c:4098:17: runtime error: signed integer overflow: 0 - -9223372036854775808 cannot be represented in type 'long int'

2017-11-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82488 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug fortran/83152] Possible run time error in derived type i/o

2017-11-25 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83152 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Comment

[Bug c/83117] [8 Regression] FAIL: gcc.target/x86_64/abi/ms-sysv/ms-sysv.c (test for excess errors)

2017-11-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83117 --- Comment #5 from Martin Sebor --- C requires that every function must be declared and called by [an expression of] a compatible type and specifies special rules for the ellipsis and for functions without a prototype. For two function types to

[Bug c++/83161] Feature request: add a builtin for printing structs and classes

2017-11-25 Thread Hi-Angel at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83161 --- Comment #1 from Constantine Kharlamov --- Just another data point I forgot to mention: https://stackoverflow.com/questions/3311182/linux-c-easy-pretty-dump-printout-of-structs-like-in-gdb-from-source-co 7k views. Author of this one went as fa

[Bug middle-end/61118] [6/7/8 Regression] Indirect call generated for pthread_cleanup_push with constant cleanup function

2017-11-25 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61118 --- Comment #14 from Paul Eggert --- Also please see related reports Bug 21161, Bug 48968, Bug 54561, Bug 65041, and Bug 83162. The last-listed one also is a regression, perhaps induced by the fancier optimization in recent GCC versions. I suspec

[Bug middle-end/48968] incorrect warning about longjmp/vfork clobbering a local (-W -O2, x86-64)

2017-11-25 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48968 --- Comment #11 from Paul Eggert --- Also please see related bugs Bug 21161, Bug 54561, Bug 61118, Bug 65041, Bug 83162. Perhaps they should be merged?

[Bug c++/83161] Feature request: add a builtin for printing structs and classes

2017-11-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83161 Andrew Pinski changed: What|Removed |Added Component|other |c++ Severity|normal

[Bug middle-end/21161] "clobbered by longjmp" warning ignores the data flow

2017-11-25 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21161 Paul Eggert changed: What|Removed |Added CC||eggert at gnu dot org --- Comment #5 from

[Bug middle-end/65041] Improve -Wclobbered

2017-11-25 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65041 --- Comment #4 from Paul Eggert --- Also please see Bug 83162, which may be related.

[Bug c/83162] New: x86-64 -Wclobbered issuing more false alarms (regression)

2017-11-25 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83162 Bug ID: 83162 Summary: x86-64 -Wclobbered issuing more false alarms (regression) Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Prio

[Bug other/83161] New: Feature request: add a builtin for printing structs and classes

2017-11-25 Thread Hi-Angel at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83161 Bug ID: 83161 Summary: Feature request: add a builtin for printing structs and classes Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/70773] Profiled sudoku solver slower due to lack of sdiv/udiv

2017-11-25 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70773 --- Comment #22 from PeteVine --- > I don't know what exactly "fixed" this That would be nice to know. This I can say for sure: gcc 7.2.1 20171116 still produces slower profiled code on the target system. I've also discovered, compiling and pr

[Bug libgomp/83159] [8 regression] g++.dg/gomp/declare-simd-1.C fail

2017-11-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83159 --- Comment #1 from Jakub Jelinek --- r255117 should have fixed this already.

[Bug c++/83160] New: [8 regression] lvalue required as unary ‘&’ operand

2017-11-25 Thread skpgkp1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83160 Bug ID: 83160 Summary: [8 regression] lvalue required as unary ‘&’ operand Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug jit/83155] [8 regression] test-error-array-bounds.c.exe fail

2017-11-25 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83155 --- Comment #1 from David Malcolm --- I believe I fixed this in r255082.

[Bug fortran/83153] Possible run time error in derived type io example - 2

2017-11-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83153 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/83152] Possible run time error in derived type i/o

2017-11-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83152 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libgomp/83159] New: [8 regression] g++.dg/gomp/declare-simd-1.C fail

2017-11-25 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83159 Bug ID: 83159 Summary: [8 regression] g++.dg/gomp/declare-simd-1.C fail Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: li

[Bug target/83158] [8 regression] gcc.target/i386/pr78057.c fail

2017-11-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83158 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/83158] New: [8 regression] gcc.target/i386/pr78057.c fail

2017-11-25 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83158 Bug ID: 83158 Summary: [8 regression] gcc.target/i386/pr78057.c fail Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targe

[Bug target/78553] GCC 5.3.0 and 5.4.0 segfault during bootstrap when --enable-vtable-verify is enabled on PowerPC musl

2017-11-25 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78553 Sergei Trofimovich changed: What|Removed |Added CC||slyfox at inbox dot ru --- Comment

[Bug debug/83157] New: [8 regression] gcc.dg/guality/pr41616-1.c fail

2017-11-25 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83157 Bug ID: 83157 Summary: [8 regression] gcc.dg/guality/pr41616-1.c fail Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debu

[Bug c/83117] [8 Regression] FAIL: gcc.target/x86_64/abi/ms-sysv/ms-sysv.c (test for excess errors)

2017-11-25 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83117 Andrey Guskov changed: What|Removed |Added CC||andrey.y.guskov at intel dot com --- Co

[Bug ipa/83125] [8 regression] ICE in edge_badness, at ipa-inline.c:1025

2017-11-25 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83125 Andrey Guskov changed: What|Removed |Added CC||andrey.y.guskov at intel dot com --- Co

[Bug fortran/83154] ICE: associate and coarrays

2017-11-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83154 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/83156] [8 regression] gcc.target/i386/pr82361-1.c fail

2017-11-25 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83156 --- Comment #1 from Andrey Guskov --- gcc.target/i386/pr82361-2.c is also affected: spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/ /source/gcc/testsuite/gcc.target/i386/pr82361-1.c -B/work/x86_64-pc-linux-gnu/./libmpx/ -B/work/x86_64-pc-linux-

[Bug target/83156] New: [8 regression] gcc.target/i386/pr82361-1.c fail

2017-11-25 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83156 Bug ID: 83156 Summary: [8 regression] gcc.target/i386/pr82361-1.c fail Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tar

[Bug ipa/83054] [8 Regression] ICE in operator>, at profile-count.h:823

2017-11-25 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83054 Andrey Guskov changed: What|Removed |Added CC||andrey.y.guskov at intel dot com --- Co

[Bug bootstrap/81033] [8 Regression] Revision r249019 breaks bootstrap on darwin

2017-11-25 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81033 --- Comment #29 from Iain Sandoe --- (In reply to Dominique d'Humieres from comment #28) > Bootstrap is fixed, but the fix did not please to Iain Sandoe. The fix allows bootstrap to proceed, but doesn't solve the underlying problem (which is tha

[Bug jit/83155] New: [8 regression] test-error-array-bounds.c.exe fail

2017-11-25 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83155 Bug ID: 83155 Summary: [8 regression] test-error-array-bounds.c.exe fail Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: j

[Bug c/81851] missing -Wduplicated-branches on if and return statements with no else

2017-11-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81851 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/83154] New: ICE: associate and coarrays

2017-11-25 Thread physiker at toast2 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83154 Bug ID: 83154 Summary: ICE: associate and coarrays Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assig

[Bug fortran/83153] New: Possible run time error in derived type io example - 2

2017-11-25 Thread ian at rhymneyconsulting dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83153 Bug ID: 83153 Summary: Possible run time error in derived type io example - 2 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug fortran/83152] New: Possible run time error in derived type i/o

2017-11-25 Thread ian at rhymneyconsulting dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83152 Bug ID: 83152 Summary: Possible run time error in derived type i/o Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug target/82848] [8 Regression] ICE in expand_expr_real_2, at expr.c:8715

2017-11-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82848 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/83151] Explicit unsigned bitfields are treated as signed ones

2017-11-25 Thread lh_mouse at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83151 --- Comment #4 from Liu Hao --- I do care about these warnings and that is why these warnings are enabled. However the one in the original post seems nothing but false positive to me. I know what the standard says about integer promotion (when

[Bug target/82848] [8 Regression] ICE in expand_expr_real_2, at expr.c:8715

2017-11-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82848 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Sat Nov 25 10:19:16 2017 New Revision: 255148 URL: https://gcc.gnu.org/viewcvs?rev=255148&root=gcc&view=rev Log: PR target/82848 * config/rs6000/rs6000.c (rs6000_gimple_fo

[Bug c/83151] Explicit unsigned bitfields are treated as signed ones

2017-11-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83151 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c/83151] Explicit unsigned bitfields are treated as signed ones

2017-11-25 Thread lh_mouse at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83151 Liu Hao changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/83151] Explicit unsigned bitfields are treated as signed ones

2017-11-25 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83151 --- Comment #1 from Andreas Schwab --- The operand of ~ is promoted to int first, thus the type of the result is also int which is then implicitly converted to unsigned int on return.

[Bug c/83151] New: Explicit unsigned bitfields are treated as signed ones

2017-11-25 Thread lh_mouse at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83151 Bug ID: 83151 Summary: Explicit unsigned bitfields are treated as signed ones Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo